Skip to content

Commit

Permalink
Added Import FLIR JPG with Default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gtatters committed Jul 15, 2022
1 parent 377e76f commit 186205d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion toolsets/ThermImageJ.ijm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//// Main Features: import, conversion, and transformation of thermal images. ////
//// Requires: exiftool, ffmpeg, perl ////
//// Glenn J. Tattersall ////
//// June, 2022 - Version 2.5 ////
//// July, 2022 - Version 2.7 ////
//// ////
///////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -1184,6 +1184,10 @@ function ConvertImportFLIRJPG(ConvertWithDefault) {

}

if(RawThermalType == "PNG" && ConvertWithDefault == "yes"){
run("Byte Swapper");
}

call("ij.Prefs.set", "imagetemperaturemin.persistent",toString(imagetemperaturemin));
call("ij.Prefs.set", "imagetemperaturemax.persistent",toString(imagetemperaturemax));

Expand Down

0 comments on commit 186205d

Please sign in to comment.