How do i map the temperature for the colors ,i.e RGB respectively from a Falsely colored image ( my own code using for loops) ?
7 ビュー (過去 30 日間)
古いコメントを表示
I have UINT16 image from a tau2 camera. The variation in the pixel values(adjacent) of the sample images is less, hence the image appears to be black. I convert the image matrix to a grayscale image and then apply false coloring . Now i want to map the colors to temperatures , assuming red to be the hottest region , how do i do the same ?
0 件のコメント
回答 (1 件)
Neil Guertin
2018 年 5 月 16 日
You can change the colors in the figure by using a different colormap. A list of built in colormaps are available in our documentation here: https://www.mathworks.com/help/matlab/ref/colormap.html?s_tid=srchtitle#buc3wsn-1-map
You can create your own colormap by using the Colormap Editor: https://www.mathworks.com/help/matlab/ref/colormapeditor.html
You can also create a colormap manually by building an Nx3 array of values in the range 0 to 1.
参考
カテゴリ
Help Center および File Exchange で Red についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!