Mapping of temperature values on ROI of image
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 20 Dez. 2016
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 Kommentare
Qazi Arbab Ahmed
am 21 Dez. 2016
Bearbeitet: Qazi Arbab Ahmed
am 21 Dez. 2016
Qazi Arbab Ahmed
am 21 Dez. 2016
Qazi Arbab Ahmed
am 22 Dez. 2016
Image Analyst
am 22 Dez. 2016
Somehow you need to map your ROI values in your Excel file to pixels on the image. Now, I don't know if your ROI files are just a rectangle with a top row, bottom row, left column and right column (in which case you can use indexing), or if they are an irregularly-shaped region (in which case you'll need to use poly2mask). Perhaps if you attach one frame and the workbook (and tell me what cells in the workbook represent the ROI), I may be able to help.
Qazi Arbab Ahmed
am 22 Dez. 2016
Bearbeitet: Qazi Arbab Ahmed
am 22 Dez. 2016
Image Analyst
am 22 Dez. 2016
Bearbeitet: Image Analyst
am 22 Dez. 2016
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?
This link might interest you: http://www.mathworks.com/matlabcentral/answers/316839-how-to-detect-the-hottest-spot-in-a-thermal-video#comment_413976
Qazi Arbab Ahmed
am 22 Dez. 2016
Kategorien
Mehr zu ROI-Based Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
