gtatters / ThermImageJ

ImageJ functions and macros for working with thermal image files
Other
44 stars 6 forks source link

import Flir mp4 #2

Closed oseynnes closed 4 years ago

oseynnes commented 4 years ago

Describe the bug When trying to import a Flir mp4 file using "import Flir sequence" I get an error message: Error:
Index (-1) is outside of the 0-655 range in line 1830: PR1 = parseFloat ( substring ( flirvals , indexOf ( flirvals , ":" , indexOf ( flirvals , "Planck R1" ) <)> + 1 , index...

It is perhaps not the right way to open the file?

To Reproduce Steps to reproduce the behavior:

  1. Go to 'File'
  2. Click on 'import FLIR SEQ'
  3. Select mp4 file
  4. See error

Expected behavior Opening the mp4 file containing a video acquired with a Flir T840

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

gtatters commented 4 years ago

A FLIR mp4 file is not a radiometric file and thus import flir SEQ simply will not work. Double check your settings on the camera to make sure you are capturing radiometric video files.

oseynnes commented 4 years ago

Ok. Sorry for the confusion and thank you for the fast reply!

Le 10 mars 2020 à 11:43, Glenn Tattersall notifications@github.com a écrit :



A FLIR mp4 file is not a radiometric file and thus import flir SEQ simply will not work. Double check your settings on the camera to make sure you are capturing radiometric video files.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gtatters/ThermImageJ/issues/2?email_source=notifications&email_token=AKUEPUOSUSBO57JKTE6BVQDRGYKTPA5CNFSM4LE3WZA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOK4XCY#issuecomment-597019531, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKUEPULXL5DDPPQYA2JJX2DRGYKTPANCNFSM4LE3WZAQ.

gtatters commented 4 years ago

sorry about that. anyhow, I couldn't add functionality for mp4 files since they are compressed, colourised videos and lack the calibration constant information to do any of the calculations in my functions. You might be able to import the mp4 using the ffpmeg plugin included with FIJI, but that will still be a colour video and you'd need to translate that to temperature using customised solutions.