threadsMax,// final int threadsMax, // int threadsMax,
threadsMax,// final int threadsMax, // int threadsMax,
updateStatus,// final boolean updateStatus,
updateStatus,// final boolean updateStatus,
debugLevel);// final int debugLevel)
debugLevel);// final int debugLevel)
}else{
if(debugLevel>-3){
System.out.println("Blue Sky is available, reusing it, no need for updating photometrics");
}
}
}
}
}
}
}
...
@@ -4245,7 +4193,8 @@ public class OpticalFlow {
...
@@ -4245,7 +4193,8 @@ public class OpticalFlow {
intphoto_offs_set=clt_parameters.photo_offs_set;// 0; // 0 - keep weighted offset average, 1 - balance result image, 2 - set weighted average to specific value
intphoto_offs_set=clt_parameters.photo_offs_set;// 0; // 0 - keep weighted offset average, 1 - balance result image, 2 - set weighted average to specific value
doublephoto_offs=clt_parameters.photo_offs;// 21946; // weighted average offset target value, if photo_offs_set (and not photo_offs_balance)
doublephoto_offs=clt_parameters.photo_offs;// 21946; // weighted average offset target value, if photo_offs_set (and not photo_offs_balance)
booleanphoto_debug=clt_parameters.photo_debug;// false; // Generate images and text
booleanphoto_debug=clt_parameters.photo_debug;// false; // Generate images and text
boolean[]ref_blue_sky=quadCLTs[ref_index].getBlueSky();// null; // turn off "lma" in the ML output
// boolean [] ref_blue_sky = quadCLTs[ref_index].getBlueSky(); // null; // turn off "lma" in the ML output
double[]ref_double_blue_sky=quadCLTs[ref_index].getDoubleBlueSky();// null; // turn off "lma" in the ML output