how can I start coding CBIR using color histogram

조회 수: 1 (최근 30일)
shima said
shima said 2013년 5월 27일
이동: DGM 2023년 2월 20일
Hi all
I need help in how could I make a simple CBIR system using histogram technique
from where i should start
  댓글 수: 3
Image Analyst
Image Analyst 2021년 5월 13일
@Ragini Gaikwad, this is not a comment for @shima said on regarding his 8 year old question on CBIR. This is a new question, so please start your own thread.
Ragini Gaikwad
Ragini Gaikwad 2021년 5월 14일
sorry for that..it was a mistake

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 5월 27일
You mean like this: http://labs.tineye.com/multicolr/ ?
Just try taking the mean of each color channel and have that be your feature vector that you save along with each image's record in your data base.
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
% Get means.
meanRed = mean2(redChannel);
meanGreen = mean2(greenChannel);
meanBlue = mean2(blueChannel);
Then, for a desired color that you want to find in your database, search all records in the database for those whose mean colors are close enough to your desired color and return them.
  댓글 수: 5
shima said
shima said 2013년 6월 14일
이동: DGM 2023년 2월 20일
sorry , I didn't get what u meant both of you after I stort Euclidean distance or find the lowest what should I do i stuck there couldanyone to hlep me to write that in matlab
Image Analyst
Image Analyst 2013년 6월 15일
이동: DGM 2023년 2월 20일
The square root of the sum of the squares of the distances:
euclideanDistances = sqrt(sum((featureVector1 - featureVector2))^2));
or something like that.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by