Comparing two histogaras and color the similar bins

Hi, I used imhist(I, n) function for calculating color histograms for two colored images,after that I want o color the similar bins in two images,could anyone guide me how to to do that?thank you

댓글 수: 7

How many histograms do you have? 6? Three for each image (one per color channel)? And what makes bins "similar"?
hamed abdulaziz
hamed abdulaziz 2014년 4월 28일
편집: hamed abdulaziz 2014년 4월 28일
I've divided each image to patches of size 16*16 pixels to create visual words ,then I calculated histograms for two images that have the common similar patches ,now and I think what makes bins "similar" is their color,do you accept me?could you guide me in Matlab code lines.
By the way please,I want to attach the example figure that I found in some articles,how can I do that?
Not sure what you want to do. Okay, you can get 3 histograms for each of the 16 by 16 pixel tiles. But I still don't know what you want to do with those. Let's just assume you took the mean and standard deviation of each histogram. Okay, then what? Let's even say that tile #10 on image #1 has the same mean and same standard deviation as tile #42 on image #2. Okay, but then what???? If you're devising your own algorithm, you must know what you want to do. If you're following some published algorithm, then your reference article will tell you what to do. But I certainly don't know what to do.
O.K.,sir I will attach the paper that I followed and I think you will give me the best answer as I know always.thanks in advance.
Note: I will attach it as an answer; because I don't know how to attach files in the comment.
Sorry, as per the FAQ, I'm not going to have time to read and understand this 21 page paper for you, even though it looks interesting. Good luck though.
hamed abdulaziz
hamed abdulaziz 2014년 4월 28일
편집: hamed abdulaziz 2014년 4월 28일
O.K.,that is your right,I will attach the figure from paper,also as an answer

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

답변 (1개)

hamed abdulaziz
hamed abdulaziz 2014년 4월 28일

0 개 추천

O.K.,that is your right,I will attach the figure from the paper

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2014년 4월 28일

댓글:

2014년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by