thermal images processing || Need help! :)

조회 수: 9 (최근 30일)
Hszcz
Hszcz 2013년 5월 28일
댓글: Image Analyst 2016년 10월 6일
Hello, recently struggling with a problem that concerns the thermal images which are visualized tumors. Now, I would like to somehow show the images only place showing the changes that are characterized by an intense red color (the higher the temperature the more "intense red" point image). I would like to make it look like so that they retain their spot color intensity, while the rest of the image that has been turned into gray. Another idea is a thresholding the image to show me the "white" such sites, and only those (thresholding of the appropriate range?), Then the program consisted of areas of that field. Welcome suggestions as to the algorithm itself, as well as to use a feature, and a great pleasure to accept some pieces of code :) For any help in advance thank you very much.

답변 (3개)

Matt Kindig
Matt Kindig 2013년 5월 28일
편집: Matt Kindig 2013년 5월 28일
Here's an example of an approach that might work:
X= imread('coins.png'); %sample indexed image
BW = (X > 100); %convert to black/white
L = bwlabel(BW); %segment image
Mask = (L==2); %isolate one coin
RGB = ind2rgb(X, jet(256)); %convert to RGB image
RGB = int8(255*RGB);
Gray = ind2gray(X, gray(256)); %convert to grayscale image
Gray = cat(3, Gray, Gray, Gray);
[ii,jj] = ind2sub( size(Mask), find(Mask));
kk = repmat(1:3, size(ii));
kk = sub2ind( size(RGB), repmat(ii,3,1), repmat(jj,3,1), kk(:)); %get indices of RGB image
Gray(kk) = RGB(kk); %assign pixels in mask to RGB
imshow(Gray); %one coin in color, all else in grayscale
  댓글 수: 1
Hszcz
Hszcz 2013년 5월 30일
Hi! Thanks for your response. I tried used this code to my images but i can`t extract area of the more intensive red colour on my picture. Could you also help me in this matter?

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


Image Analyst
Image Analyst 2013년 5월 30일
Do you have access to the original data? Or are you stuck with the pseudocolored version? If you have the original data, which you should have, then just change the colormap. If you're stuck with the pseudocolored version, contact your source and tell them you don't want or need that processed image and to give you the original image.
  댓글 수: 6
Julie Ann Serrano
Julie Ann Serrano 2016년 10월 5일
Hi. Can you guys help me? What we're going to do is to capture the thermal image of a plant and relate the temperature to its water status. My first concern: Can you give me some recommendations on how can I measure the temperature of the plant itself using the Grayscale of the thermal image?By using Matlab? What exactly are the considerations and parameters involved? I heard there has supposed to be some sort of mapping. I can't fully understand. Can you pls explain this to me? Your answer will be very much appreciated. Thank you so much. :)
Image Analyst
Image Analyst 2016년 10월 6일
I assume you're doing it assuming evaporative cooling. You'll need to make a calibration standard by measuring plants of known water content at standardized temperature and humidity conditions and build a model, essentially a curve of water vs. gray level.

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


suki
suki 2014년 8월 25일
hey... am doing project on thermal image processing.... for medical images i need to how to write coding from dat image.. thank u

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by