converting a thermal image to graylevel

i have a thermal image of human face ,how to convert this image in graylevel?

11 comentarios

Rik
Rik el 9 de Abr. de 2019
What do you mean? Since a temperature map is already single valued, you could argue that it already is graylevel. What do you want to do with the gray image? Maybe that will help clarifying what it is you need to do.
Adam
Adam el 9 de Abr. de 2019
You have it where though? In what form? That is a plotted image with a colourmap, it isn't raw data. The fact it has a colourmap suggests it is already underlying greyscale data.
monika  SINGH
monika SINGH el 9 de Abr. de 2019
so is this a graylevel image?
Adam
Adam el 9 de Abr. de 2019
Well, again, you haven't given any information as to what you actually have. That is a plot, not data.
monika  SINGH
monika SINGH el 9 de Abr. de 2019
make it simle ,sir please tell me is there any differnce between rgb image and thermal image??
and if there is so what is code for getting a graylevel image or rgb image from thermal image??
KSSV
KSSV el 9 de Abr. de 2019
RGB image will be three dimensional matrix. Gray image will be one dimensional matrix.. Read about rgb2gray.
Rik
Rik el 9 de Abr. de 2019
Ok, I'll make my question simple. What do you have and what do you want?
A thermal image is generally displayed as a color image, but it is usually an indexed image, meaning that there is a colormap that determines what temperature value should result in what color.
monika  SINGH
monika SINGH el 9 de Abr. de 2019
Editada: monika SINGH el 9 de Abr. de 2019
sir i am asking about difference in thermal image and rgb?
Adam
Adam el 9 de Abr. de 2019
You keep asking the same question without answering any of our requests for information!
You must have actual data, not just a screenshot. Tell us what that data is. What size is it? is it (n*m*3) or just n*m?
monika  SINGH
monika SINGH el 9 de Abr. de 2019
n*m*3
Rik
Rik el 9 de Abr. de 2019
Then you have an RGB image. You need to find out the colormap that was used to convert temperature to color so you can revert that process and get a n*m array.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Display Image en Centro de ayuda y File Exchange.

Preguntada:

el 9 de Abr. de 2019

Comentada:

Rik
el 9 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by