converting a thermal image to graylevel
이전 댓글 표시
i have a thermal image of human face ,how to convert this image in graylevel?
댓글 수: 11
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
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
2019년 4월 9일
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
2019년 4월 9일
KSSV
2019년 4월 9일
RGB image will be three dimensional matrix. Gray image will be one dimensional matrix.. Read about rgb2gray.
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
2019년 4월 9일
편집: monika SINGH
2019년 4월 9일
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
2019년 4월 9일
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에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!