Color Histogram and Color Cloud

3 次查看(过去 30 天)
Shrikanth
Shrikanth 2015-11-13
Hi
I have obtained Color histogram of Color image by dividing image in 3 parts and plotting histogram of each part separately. After overlapping these 3 parts, I am getting Color histogram. Can anyone please provide me code for drawing Color Histogram as shown in attached image?
In attached image, circle drawn in "img.jpg" has produced "hist.jpg".
With Minimum distance classifier, I have extracted color features of various images and trained dataset to display temperature of input image.
How I can modify same for displaying temperature of single pixel?
  1 个评论
Image Analyst
Image Analyst 2015-11-13
That is not a color image - it's an indexed image - so there are not 3 color channels. What do you want? Do you want a histogram where you can control the color of every bar?
By the way, a true color image would either have 3 1-D histograms (one from each color channel), OR would be a 3-D histogram (scatterplot) showing the full color gamut, where the XYZ axes are R, G, and B and there is a dot/marker at every (R,G,B) location in 3-D space.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by