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

Before adding BLUE_SKY to DSI_MAIN

parent 8ee61ae6
...@@ -847,6 +847,7 @@ public class QuadCLT extends QuadCLTCPU { ...@@ -847,6 +847,7 @@ public class QuadCLT extends QuadCLTCPU {
final int num_refines, // 2 final int num_refines, // 2
final int min_good, // minimal number of "good" pixels 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, int threadsMax,
final boolean debug) final boolean debug)
{ {
...@@ -861,6 +862,11 @@ public class QuadCLT extends QuadCLTCPU { ...@@ -861,6 +862,11 @@ public class QuadCLT extends QuadCLTCPU {
disparity_ref[i] = Double.NaN; 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( ImagePlus img_ref = renderGPUFromDSI(
-1, // final int sensor_mask, -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