finaldoublecentroid_radius=clt_parameters.imp.centroid_radius;// final double centroid_radius, // 0 - use all tile, >0 - cosine window around local max
finalintn_recenter=clt_parameters.imp.n_recenter;// when cosine window, re-center window this many times
...
...
@@ -552,6 +564,7 @@ public class StructureFromMotion {
double[]interscene_ref_disparity=null;// keep null to use old single-scene disparity for interscene matching
for (int i = 0; i < interscene_ref_disparity.length; i++) {
if (Double.isNaN(dls[1][i])) {
...
...
@@ -559,6 +572,7 @@ public class StructureFromMotion {
}
}
}
*/
}
if(interscene_ref_disparity==null){
...
...
@@ -614,10 +628,19 @@ public class StructureFromMotion {
range_disparity_offset,// final double range_disparity_offset, // disparity at actual infinity // clt_parameters.imp.range_disparity_offset ; final double mb_max_gain,
corr_fz_inter,// final double corr_fz_inter,
use_neibs,// final boolean use_neibs,
centroid_radius,// final double centroid_radius, // 0 - use all tile, >0 - cosine window around local max
neib_too_strong,// final double neib_too_strong,
centroid_radius,// final double centroid_radius, // 0 - use all tile, >0 - cosine window around local max
n_recenter,// final int n_recenter, // when cosine window, re-center window this many times
finaldoublecentroid_radius=clt_parameters.imp.centroid_radius;// final double centroid_radius, // 0 - use all tile, >0 - cosine window around local max
finalintn_recenter=clt_parameters.imp.n_recenter;// when cosine window, re-center window this many times
clt_parameters,// final CLTParameters clt_parameters,
ref_scene,// final QuadCLT ref_scene,
ref_disparity,// final double [] ref_disparity,
ref_xyzatr,// final double[][] ref_xyzatr, // new double[num_pairs][2][][]; // 2 scenes
ref_xyzatr_dt,// final double[][] ref_xyzatr_dt, // new double[num_pairs][2][][];// 2 scenes
scene_pairs_sets[nset],// final QuadCLT[][] scene_pairs,
scenes_xyzatr_sets[nset],// final double[][][][] scenes_xyzatr, // new double[num_pairs][2][][]; // 2 scenes
scenes_xyzatr_dt_sets[nset],// final double[][][][] scenes_xyzatr_dt, // new double[num_pairs][2][][];// 2 scenes
mb_max_gain,// final double mb_max_gain,
range_disparity_offset,// final double range_disparity_offset, // disparity at actual infinity // clt_parameters.imp.range_disparity_offset ; final double mb_max_gain,
corr_fz_inter,// final double corr_fz_inter,
use_neibs,// final boolean use_neibs,
neib_too_strong,// final double neib_too_strong,
centroid_radius,// final double centroid_radius, // 0 - use all tile, >0 - cosine window around local max
n_recenter,// final int n_recenter, // when cosine window, re-center window this many times