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 件のコメント

Image Analyst
Image Analyst 2014 年 4 月 28 日
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?
Image Analyst
Image Analyst 2014 年 4 月 28 日
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.
hamed abdulaziz
hamed abdulaziz 2014 年 4 月 28 日
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.
hamed abdulaziz
hamed abdulaziz 2014 年 4 月 28 日
Note: I will attach it as an answer; because I don't know how to attach files in the comment.
Image Analyst
Image Analyst 2014 年 4 月 28 日
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

1 件のコメント

hamed abdulaziz
hamed abdulaziz 2014 年 4 月 28 日
Could you answer me or need more details about the question?

サインインしてコメントする。

カテゴリ

質問済み:

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