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

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2013-11-8
编辑:Walter Roberson 2013-11-8
image(rgb2gray(hdr));
colormap(gray(256))
  5 个评论
Walter Roberson
Walter Roberson 2013-11-18
It would be more like a calibration curve, not a single factor.
Whether the values are linearly proportional to the radiance or the light falling on the scene is going to depend on what kind of detector you are using. It is not uncommon for detectors to go non-linear at the extreme ends, usually with increased sensitivity in low low light and decreased sensitivity in bright light.
Nithya
Nithya 2013-11-19
编辑:Nithya 2013-11-19
Camera response curve will also work in this regard right. Thankyou for your help

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by