Classify image by histogram
1 view (last 30 days)
Show older comments
Hi, I am new for Matlab. I need your help , How to write the code in Matlab.
If I have one histogram graph, for example <http://tinypic.com/view.php?pic=ka05tc&s=5>. I would like to classes pixeles by range of intensity distribution (0-255). The we fill pixeles in each range by different colours back into the image. If intensity number 0-50, I want these all pixel to be Red. If intensity number 51-100, I want these all pixel to be Green. If intensity number 101-150, I want these all pixel to be Blue. If intensity number 151-200, I want these all pixel to be Yellow. If intensity number 201-255, I want these all pixel to be pink.
The final image will consist of these 5 colours.
Many Thank Warin
0 Comments
Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!