필터 지우기
필터 지우기

Mapping of temperature values on ROI of image

조회 수: 3 (최근 30일)
Qazi  Arbab Ahmed
Qazi Arbab Ahmed 2016년 12월 20일
댓글: Qazi Arbab Ahmed 2016년 12월 26일
I had to find the required temperature values from my ROI in a thermal video. I extracted some frames and extracted the region of interested that is still in the form of pixels. Now I want to map temperature values to that ROI from my excel file that is basically extracted from the same frame. After that I have to test whether the values are exactly from the region of interest or not? Any idea about that or any example. Waiting for you kind response. Thanks

채택된 답변

Image Analyst
Image Analyst 2016년 12월 22일
  댓글 수: 15
Image Analyst
Image Analyst 2016년 12월 26일
The file didn't run because you swapped x and y.
Qazi  Arbab Ahmed
Qazi Arbab Ahmed 2016년 12월 26일
please tell me how can I make video as per time from these frames. Thanks

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

추가 답변 (1개)

Image Analyst
Image Analyst 2016년 12월 20일
Like I said in your duplicate post:
Not exactly sure what " Now I want to map temperature values to that ROI from my excel file that is basically extracted from the same frame" means but if your ROI is a binary image mask, you can do
thermalImage(mask) = someValue;
To see if some value is in your ROI, you can do this:
pixelsInROI = thermalImage(mask);
if max(pixelsInROI == someValue) == 1
% someValue is the value of at least one of the pixels.
else
% someValue is NOT the value of at least one of the pixels.
end
  댓글 수: 7
Image Analyst
Image Analyst 2016년 12월 22일
편집: Image Analyst 2016년 12월 22일
Don't you have the original image? I don't want a screenshot with all that junk. Can't your camera save/export just the image only and not all that other unneeded stuff?
Qazi  Arbab Ahmed
Qazi Arbab Ahmed 2016년 12월 22일
Thanks for code. My region of interest in this frame is a die. The Camera gives the .irdx video from which I exported .avi Video and then exported frames. I can extract a .bmp image that is the same that I sent you. There isn't any option to export certain region directly from camera software. But I have an option to select the region of Interest to see the temperature values and I can also see the pixel position from where I can get the X and Y coordinates. The temperature values in excel also exported from frame that I sent you, could also be used to find the region of Interest. Can I extract region of interest from the values in excel without any image? Is it possible to draw image from these values of region of interest and then plot w.r.t time to get video? Thanks again

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

Community Treasure Hunt

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

Start Hunting!

Translated by