converting a thermal image to graylevel
Show older comments
i have a thermal image of human face ,how to convert this image in graylevel?
11 Comments
Rik
on 9 Apr 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
on 9 Apr 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
on 9 Apr 2019
Adam
on 9 Apr 2019
Well, again, you haven't given any information as to what you actually have. That is a plot, not data.
monika SINGH
on 9 Apr 2019
KSSV
on 9 Apr 2019
RGB image will be three dimensional matrix. Gray image will be one dimensional matrix.. Read about rgb2gray.
Rik
on 9 Apr 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
on 9 Apr 2019
Edited: monika SINGH
on 9 Apr 2019
Adam
on 9 Apr 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
on 9 Apr 2019
Rik
on 9 Apr 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.
Answers (0)
Categories
Find more on Display Image 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!