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

3 ビュー (過去 30 日間)
texas instruments
texas instruments 2014 年 1 月 27 日
回答済み: Image Analyst 2014 年 1 月 27 日
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 Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by