thermal images processing || Need help! :)

2 次查看(过去 30 天)
Hszcz
Hszcz 2013-5-28
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 中查找有关 Red 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by