thermal sdk output file is unreadable
CompletedHi. I have installed the DJI linux thermal SDK. When I run any sample command from their documents, it runs without any error and creates a .raw file. But, no software is able to open this .raw file! they all complain " Unsupported file format or not RAW file"!
Could someone direct me on how to open these files?
thanks
-
Hi. Thank you for your reply. Here is the command that I use:
./dji_irp -s ../../../../dataset/H20T/DJI_0001_R.JPG -a extract -o extract.raw
and here is the output I get:
IRP API version number : 0x13
DIRP API magic version : d4c7dea
R-JPEG file path : ../../../../dataset/H20T/DJI_0001_R.JPG
R-JPEG version information
R-JPEG version : 0x1
header version : 0x103
curve LUT version : 0x1
R-JPEG resolution size
image width : 640
image height : 512
Run action 0
Save image file as : extract.raw
Test done with return code 0The extract.raw file is created and looking at the output, I don't see any error! But I cannot open and view the extract.raw file. I have tried to open it with ratherapy, digikam and darktable.
Here is the output I get after using darktable to open the extract.raw file (> darktable extract.raw)
[exiv2 dt_exif_read] /home/mahmud/Downloads/utility/bin/linux/release_x64/extract.raw: /home/mahmud/Downloads/
utility/bin/linux/release_x64/extract.raw: The file contains data of an unknown image type
[rawspeed] (extract.raw) virtual std::unique_ptr<rawspeed::RawDecoder> rawspeed::RawParser::getDecoder(const r
awspeed::CameraMetaData*), line 91: No decoder found. Sorry.
[exiv2 dt_exif_get_thumbnail] /home/mahmud/Downloads/utility/bin/linux/release_x64/extract.raw: /home/mahmud/D
ownloads/utility/bin/linux/release_x64/extract.raw: The file contains data of an unknown image type
[temperature] failed to read camera white balance information from `extract.raw'!
[exiv2 dt_exif_get_thumbnail] /home/mahmud/Downloads/utility/bin/linux/release_x64/measure.raw: /home/mahmud/D
ownloads/utility/bin/linux/release_x64/measure.raw: The file contains data of an unknown image type
[exiv2 dt_exif_get_thumbnail] /home/mahmud/Downloads/utility/bin/linux/release_x64/measure3.raw: /home/mahmud/
Downloads/utility/bin/linux/release_x64/measure3.raw: The file contains data of an unknown image type
[rawspeed] (measure.raw) virtual std::unique_ptr<rawspeed::RawDecoder> rawspeed::RawParser::getDecoder(const r
awspeed::CameraMetaData*), line 91: No decoder found. Sorry.
[rawspeed] (measure3.raw) virtual std::unique_ptr<rawspeed::RawDecoder> rawspeed::RawParser::getDecoder(const
rawspeed::CameraMetaData*), line 91: No decoder found. Sorry.
[dt_imageio_export_with_flags] mipmap allocation for `unused' failed
[temperature] failed to read camera white balance information from `measure.raw'!
[dt_imageio_export_with_flags] mipmap allocation for `unused' failed
[temperature] failed to read camera white balance information from `measure3.raw'!
[dt_imageio_export_with_flags] mipmap allocation for `unused' failedWhat is this imageJ plugin you mentioned in your comment? Is it software or a plugin for another software?
-
1. If you are using the -extract command, that is fine. 2. imageJ wiki: https://en.wikipedia.org/wiki/ImageJ
Please sign in to leave a comment.
Comments
3 comments