Image Processing spectral frequency.....

Started by raoc...@rediffmail.com January 25, 2011
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
A = imread('myImage.jpg');
band1=A(:,:,1);
band2=A(:,:,2);
band3=A(:,:,3);
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