converting a thermal image to graylevel

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

댓글 수: 11

Rik
Rik 2019년 4월 9일
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 2019년 4월 9일
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 2019년 4월 9일
so is this a graylevel image?
Adam
Adam 2019년 4월 9일
Well, again, you haven't given any information as to what you actually have. That is a plot, not data.
monika  SINGH
monika SINGH 2019년 4월 9일
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 2019년 4월 9일
RGB image will be three dimensional matrix. Gray image will be one dimensional matrix.. Read about rgb2gray.
Rik
Rik 2019년 4월 9일
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 2019년 4월 9일
편집: monika SINGH 2019년 4월 9일
sir i am asking about difference in thermal image and rgb?
Adam
Adam 2019년 4월 9일
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 2019년 4월 9일
n*m*3
Rik
Rik 2019년 4월 9일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Blue에 대해 자세히 알아보기

질문:

2019년 4월 9일

댓글:

Rik
2019년 4월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by