Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I convert ats file to radiometric images? #17

Open
monajalal opened this issue Jul 29, 2020 · 3 comments
Open

How can I convert ats file to radiometric images? #17

monajalal opened this issue Jul 29, 2020 · 3 comments

Comments

@monajalal
Copy link

I have video captures from FLIR SC8000 camera and I used ResearchIR to capture ats files. I now need to convert them to radiometric images/videos. How can I do so using your package?

@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jul 29, 2020

Hi, flirpy doesn't support ats files at the moment. It's mostly written for current camera cores. You could try the FLIR File SDK, but I've not tried it. I also have no idea where to download it, the doc page doesn't provide a link.

http://flir.custhelp.com/app/answers/detail/a_id/3000/~/which-sdk-should-i-use%3F

Can you use ResearchIR to export your data? I would be surprised if it couldn't do the radiometric conversion for you.

@monajalal
Copy link
Author

@jveitchmichaelis thanks a lot for your prompt response. I am new to ResearchIR. I will go to lab and check that out. Could you please let me know what file format I should save the raw data to and what file format I should use for lossless video for accessing radiometric data?

Is your library independent of which FLIR thermal camera I will use? I am interested to know if I could use your code for SC8000 camera that I have.

@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jul 29, 2020

Lossless video is always going to be difficult because there are few codecs that support lossless 16-bit. This is essentially why FLIR has several proprietary formats like SEQ, ATS, etc. Your best bet is to not use video at all for radiometric data and just store the individual frames as 16-bit TIFFs - ResearchIR should be able to do that. SEQ, for example, is just a stack of TIFF images with metadata. I guess ATS is similar. For example our typical ML workflow is to capture drone video with a FLIR Duo, then split with flirpy into 16-bit TIFFs for labeling using deeplabel (which can handle the dynamic range).

https://flir.custhelp.com/app/answers/detail/a_id/2372/related/1

But you might need the higher tier version of ResearchIR to export?

Is your library independent of which FLIR thermal camera I will use? I am interested to know if I could use your code for SC8000 camera that I have.

Unfortunately, no. All the cameras require different drivers for communication and image readout, so I can only support cameras that I have access to (e.g. the Tau, Lepton and Boson).

The SC8000 is now discontinued, but I think you can probably control it with the Atlas SDK: https://flir.custhelp.com/app/answers/detail/a_id/1275

That's at least free, but you'd have to write your own code for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants