publicvoidgenerateExtractFilterMovingTargets(// move parameters to clt_parameters
finalbooleanvideo_pass,// if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
finalbooleanbatch_mode,
finalfloat[][]fpixels,
double[][][]target_sequence,// non-overlap only if consider marked stronger tiles
finalintdebugLevel){
generateExtractFilterMovingTargets(// move parameters to clt_parameters
clt_parameters,// CLTParameters clt_parameters,
video_pass,// final boolean video_pass, // if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
batch_mode,// final boolean batch_mode,
parentCLT,//QuadCLT parentCLT, //
fpixels,// final float [][] fpixels,
target_sequence,// double [][][] target_sequence, // non-overlap only if consider marked stronger tiles
this,// CuasMotion cuasMotion,
uasLogReader,// UasLogReader uasLogReader,
scene_titles,// String [] scene_titles, // recreate slice_titles from scene titles?
slice_titles,// String [] slice_titles,
debugLevel);// final int debugLevel)
}
publicstaticvoidgenerateExtractFilterMovingTargets(// move parameters to clt_parameters
CLTParametersclt_parameters,
finalbooleanvideo_pass,// if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
...
...
@@ -7365,6 +7423,22 @@ public class CuasMotion {
returnimp;
}
publicfloat[][]temporalUnsharpMask(
finalbooleanbatch_mode,
float[][]fpixels,
finalintdebugLevel){
returntemporalUnsharpMask(
clt_parameters,// CLTParameters clt_parameters,
batch_mode,// final boolean batch_mode,
parentCLT,// QuadCLT parentCLT, //
fpixels,// float [][] fpixels,
this,// final CuasMotion cuasMotion,
scene_titles,// String [] scene_titles, // recreate slice_titles from scene titles?
debugLevel);// final int debugLevel) {
}
publicstaticfloat[][]temporalUnsharpMask(
CLTParametersclt_parameters,
finalbooleanbatch_mode,
...
...
@@ -7372,7 +7446,6 @@ public class CuasMotion {
float[][]fpixels,
finalCuasMotioncuasMotion,
String[]scene_titles,// recreate slice_titles from scene titles?
double[][][]motion_sequence,// starts with just motion-based, then adds other fields (single target per tile)
finalCuasMotioncuasMotion,
...
...
@@ -9189,6 +9294,7 @@ public class CuasMotion {
num_bad);// int [] num_bad)
}
@Deprecated
publicstaticvoidprocessMovingTargetsMulti(
CLTParametersclt_parameters,
finalbooleanbatch_mode,
...
...
@@ -9199,7 +9305,9 @@ public class CuasMotion {
finalintdebugLevel){
CuasMotioncuasMotion=newCuasMotion(
clt_parameters,// CLTParameters clt_parameters,
scene_titles,// String [] scene_titles,
parentCLT,// QuadCLT parentCLT,
uasLogReader,// UasLogReader uasLogReader,
debugLevel);// int debugLevel)
intstart_frame=0;
...
...
@@ -9353,6 +9461,8 @@ public class CuasMotion {
}
}
cuasMotion.setTargets(targets_nonconflict);
generateExtractFilterMovingTargets(// move parameters to clt_parameters
clt_parameters,// CLTParameters clt_parameters,
false,// final boolean video_pass, // if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
booleanclean_video=clt_parameters.imp.cuas_clean_video;//true;// save video without any debug information for targets, output in TIFF files. False - same output for video and TIFFs
targets_fast,// final double [][][][] targets_fast, // will only process non-nulls here
targets_slow,// final double [][][][] targets_slow,
slow_score);// final double scale_slow){ // if >0, limit number of best results to add
sortMultiTargets(
targets_good_multi,// final double [][][][] target_multi,
true);// final boolean trim_nulls) { // trim null targets
targets_nonconflict=resolveTargetsConflictsMulti(
batch_mode,// boolean batch_mode,
fpixels,// float [][] fpixels,
targets_good_multi,// double [][][][] targets_good_multi, // all targets, including conflicting
debugLevel);// final int debugLevel)
}
setTargets(targets_nonconflict);
generateExtractFilterMovingTargets(// move parameters to clt_parameters
false,// final boolean video_pass, // if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
batch_mode,// final boolean batch_mode,
fpixels,// final float [][] fpixels,
targets_nonconflict,// final double [][][] vf_sequence, // center tiles (not extended), null /non-null only
debugLevel);// final int debugLevel)
if(clean_video){
generateExtractFilterMovingTargets(// move parameters to clt_parameters
true,// final boolean video_pass, // if clt_parameters.cuas_clean_video=true, video_pass=0 - output TIFFS, but no video. If video_pass==1 - only video with no debug
batch_mode,// final boolean batch_mode,
fpixels,// final float [][] fpixels,
targets_nonconflict,// final double [][][] vf_sequence, // center tiles (not extended), null /non-null only