Showing different value in image with different color in Matlab
I am working in Matlab 2009. I have a array (say test) like:
0 0 0 0
1.2 1.2 1.4 1.6
1.2 1.3 1.3 1.7
This array actually represents a Image after performing few operations.
I want the same values to be represented in one color. Say all pixels
corresponding to value 1.2 should be represented in red color (while using
imshow function).
How can this be done? Please help
No comments:
Post a Comment