Commit 723693ce authored by Andrey Filippov's avatar Andrey Filippov

Add LWIR gap size organizer parameter

parent 4bbf80f0
......@@ -113,6 +113,7 @@ public class CalibrationIllustrationParameters {
public double inter_gap = 1.0; // seconds between series
public int seq_len = 0; // sequence length
public boolean two_level_dirs = true;
public int max_lwir_gap = 0; // tolerated short-gap size, 0 - disabled
......
......@@ -49,6 +49,8 @@ public class FootageOrganize {
gd.addCheckbox ("Ignore scenes with partial LWIR channels", illustrationParameters.isCaptures_all_lwir(), "Skip scenes where not all or none LWIR channels are available");
gd.addCheckbox ("Ignore scenes with partial EO channels", illustrationParameters.isCaptures_all_eo(), "Skip scenes where not all or none EO channels are available");
gd.addCheckbox ("Ignore partial scenes", illustrationParameters.isCaptures_all(), "Skip scenes where not all (20) images are present");
gd.addNumericField("Maximal LWIR gap size", illustrationParameters.max_lwir_gap, 0, 4, "scenes",
"Reserved for short-gap tolerance in LWIR scene organization. 0 disables it");
gd.addCheckbox ("*** Check me to proceed with files ! ***", false,
"Just a safety measure. Select correct link/move/copy mode and available disk space. Some files will not be processed (e.g.incomplete scenes)");
......@@ -69,6 +71,7 @@ public class FootageOrganize {
illustrationParameters.setCaptures_all_lwir(gd.getNextBoolean());
illustrationParameters.setCaptures_all_eo(gd.getNextBoolean());
illustrationParameters.setCaptures_all(gd.getNextBoolean());
illustrationParameters.max_lwir_gap = (int) gd.getNextNumber();
boolean safety_OK = gd.getNextBoolean();
if (!safety_OK) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment