How do i map the temperature for the colors ,i.e RGB respectively from a Falsely colored image ( my own code using for loops) ?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Neil Guertin
el 16 de Mayo de 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.
Ver también
Categorías
Más información sobre Colormaps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!