MATLAB: How can i observe a 3 dimensional matrix(hdr) using pcolor command

image acquisitionimage analysisimage processing

I have with me,
file={'img1.jpg','img2.jpg','img3.jpg','img4.jpg','img5.jpg'};
hdr = makehdr(file);
hdr is 1728x2592x3 single matrix
I want to display this image file in pseudocolor.
my aim is to get the light intensity values. What shall i do?
Thank you

Best Answer

image(rgb2gray(hdr));
colormap(gray(256))
Related Question