Reply by raoc...@rediffmail.com February 27, 20112011-02-27
I understand but how am I supposed to know which wavelength it corresponds to?

I wanted to know if there are any commands for getting image pixel - spectral response in MATLAB.
>An RGB image has 3 bands. I can decompose the image into 3 images corresponding to the 3 bands. I wanted to test my code for images having multiple bands.
>Thank you
Reply by hamide ghalebi January 26, 20112011-01-26
A = imread('myImage.jpg');
band1=A(:,:,1);
band2=A(:,:,2);
band3=A(:,:,3);
Reply by raoc...@rediffmail.com January 25, 20112011-01-25
I wanted to know if there are any commands for getting image pixel - spectral response in MATLAB.
An RGB image has 3 bands. I can decompose the image into 3 images corresponding to the 3 bands. I wanted to test my code for images having multiple bands.
Thank you