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

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

回答(2 个)

Walter Roberson
Walter Roberson 2014-1-27
colormap(jet(256))

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

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by