clt_parameters.img_dtt,// final ImageDttParameters imgdtt_params, // Now just extra correlation parameters, later will include, most others
clt_parameters.img_dtt,// final ImageDttParameters imgdtt_params, // Now just extra correlation parameters, later will include, most others
1,// final int macro_scale, // to correlate tile data instead of the pixel data: 1 - pixels, 8 - tiles
1,// final int macro_scale, // to correlate tile data instead of the pixel data: 1 - pixels, 8 - tiles
...
@@ -9867,7 +9879,7 @@ public class QuadCLTCPU {
...
@@ -9867,7 +9879,7 @@ public class QuadCLTCPU {
saturation_imp,// boolean [][] saturation_imp, // (near) saturated pixels or null
saturation_imp,// boolean [][] saturation_imp, // (near) saturated pixels or null
// correlation results - final and partial
// correlation results - final and partial
clt_corr_combo,// [tp.tilesY][tp.tilesX][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
clt_corr_combo,// [tp.tilesY][tp.tilesX][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
null,// clt_corr_partial, // [tp.tilesY][tp.tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
clt_corr_partial,// null, // clt_corr_partial, // [tp.tilesY][tp.tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
null,// [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
null,// [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
// Use it with disparity_maps[scan_step]? clt_mismatch, // [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
// Use it with disparity_maps[scan_step]? clt_mismatch, // [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
disparity_map,// [12][tp.tilesY * tp.tilesX]
disparity_map,// [12][tp.tilesY * tp.tilesX]
...
@@ -9897,7 +9909,7 @@ public class QuadCLTCPU {
...
@@ -9897,7 +9909,7 @@ public class QuadCLTCPU {
null,// final GeometryCorrection geometryCorrection_main, // if not null correct this camera (aux) to the coordinates of the main
null,// final GeometryCorrection geometryCorrection_main, // if not null correct this camera (aux) to the coordinates of the main
clt_kernels,// final double [][][][][][] clt_kernels, // [channel_in_quad][color][tileY][tileX][band][pixel] , size should match image (have 1 tile around)
clt_kernels,// final double [][][][][][] clt_kernels, // [channel_in_quad][color][tileY][tileX][band][pixel] , size should match image (have 1 tile around)
clt_parameters.kernel_step,
clt_parameters.kernel_step,
/// image_dtt.transform_size,
/// image_dtt.transform_size,
clt_parameters.clt_window,
clt_parameters.clt_window,
shiftXY,//
shiftXY,//
disparity_corr,// final double disparity_corr, // disparity at infinity
disparity_corr,// final double disparity_corr, // disparity at infinity
...
@@ -9920,6 +9932,32 @@ public class QuadCLTCPU {
...
@@ -9920,6 +9932,32 @@ public class QuadCLTCPU {
scan_rslt.is_measured=true;
scan_rslt.is_measured=true;
scan_rslt.is_combo=false;
scan_rslt.is_combo=false;
scan_rslt.resetProcessed();
scan_rslt.resetProcessed();
if(clt_corr_partial!=null){// only to debug matching gpu/cpu