MATLAB: How to analyze a pseudo-color image by matlab

dataimageimage analysis

Hello, masters, I need to analyze a pseudo-color image with matlab.This is the image: <http://s1151.photobucket.com/albums/o628/sevenshuixina/?action=view&current=000003.jpg> It's a photo of laser spot. I want to know the intensity of a pixel from its color. In other words, I want to make sure the grayscale or intensity of a pixel by its color. Then I will draw a 3D image of intensity-coordinate distribution. How can I do these? Please, help me! Thanks!!!
EDIT DES: embedded image

Best Answer

This cannot be done unless you are given the color map.
If you are given the color map, then use ind2rgb() to create an rgb image, then rgb2gray(), and surf() the result.