How to display a grayscale Depth image in a colofull way ?

3 views (last 30 days)
such that : instead of ranging the colors from black to white as the intensity varies from 0 to 255 we change the color from blue to red, including all other colors as the intensity ranges from 0 to 255, thanks in advance.

Answers (2)

Walter Roberson
Walter Roberson on 27 Jan 2014
colormap(jet(256))

Image Analyst
Image Analyst on 27 Jan 2014
Walter's code should do it. This may also interest you: http://www.mathworks.com/matlabcentral/fileexchange/35452-finddepressions

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!