Classify image by histogram

1 Ansicht (letzte 30 Tage)
warinthorn Kiadti
warinthorn Kiadti am 1 Mär. 2012
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

Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by