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 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Neil Guertin
on 16 May 2018
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.
See Also
Categories
Find more on Red 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!