Commit 270fcbc6 authored by Andrey Filippov's avatar Andrey Filippov

Before adding BLUE_SKY to DSI_MAIN

parent 8ee61ae6
......@@ -846,7 +846,8 @@ public class QuadCLT extends QuadCLTCPU {
final double photo_offs, // 21946; // weighted average offset target value, if photo_offs_set (and not photo_offs_balance)
final int num_refines, // 2
final int min_good, // minimal number of "good" pixels
final double [][] combo_dsn_final, // double [][] combo_dsn_final, // dls,
final double [][] combo_dsn_final, // double [][] combo_dsn_final, // dls,
final boolean[] blue_sky,
int threadsMax,
final boolean debug)
{
......@@ -861,6 +862,11 @@ public class QuadCLT extends QuadCLTCPU {
disparity_ref[i] = Double.NaN;
}
}
if (blue_sky != null) {
for (int i = 0; i < blue_sky.length; i++) if (blue_sky[i]) {
disparity_ref[i] = 0.0;
}
}
ImagePlus img_ref = renderGPUFromDSI(
-1, // final int sensor_mask,
......
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