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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Neil Guertin
am 16 Mai 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.
Siehe auch
Kategorien
Mehr zu Red finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!