@@ -2840,7 +2840,7 @@ Schema::space_fill_correlate(const int_t seed_gid,
28402840 const float stereo_x = local_field_value (neigh_id,SUBSET_COORDINATES_X_FS) + cross_u;
28412841 const float stereo_y = local_field_value (neigh_id,SUBSET_COORDINATES_Y_FS) + cross_v;
28422842 const float dist = (std::abs (a*stereo_x+b*stereo_y+c)/std::sqrt (a*a+b*b));
2843- DEBUG_MSG (" Schema::initialize_cross_correlation (): epipolar error for neighbor " << i << " gid " << neigh_gid << " : " << dist);
2843+ DEBUG_MSG (" Schema::space_fill_correlate (): epipolar error for neighbor " << i << " gid " << neigh_gid << " : " << dist);
28442844 if (dist>epi_error_tol){
28452845 local_field_value (neigh_id,SIGMA_FS) = -1.0 ;
28462846 DEBUG_MSG (" Schema::space_fill_correlate(): subset " << neigh_gid << " failed epipolar distance threshold, epipolar dist: " << dist);
@@ -2878,7 +2878,7 @@ Schema::initialize_cross_correlation(Teuchos::RCP<Triangulation> tri,
28782878 local_field_value (i,EPI_C_FS) = lines.at <float >(i,2 );
28792879 }
28802880 const float feature_epi_dist_tol = 0 .5f ;
2881- const float epi_dist_tol = 0 .1f ;
2881+ const float epi_dist_tol = 0 .5f ;
28822882 DEBUG_MSG (" Schema::initialize_cross_correlation(): feature epi dist tol: " << feature_epi_dist_tol);
28832883 DEBUG_MSG (" Schema::initialize_cross_correlation(): epi dist tol: " << epi_dist_tol);
28842884 DEBUG_MSG (" Schema::initialize_cross_correlation(): done computing subset epipolar coefficients" );
@@ -3148,7 +3148,7 @@ Schema::initialize_cross_correlation(Teuchos::RCP<Triangulation> tri,
31483148 Teuchos::RCP<Local_Shape_Function> shape_function = Teuchos::rcp (new Affine_Shape_Function (true ,true ,true ));
31493149 Teuchos::RCP<Objective> obj = Teuchos::rcp (new Objective_ZNSSD (this ,this_proc_gid_order_[i]));
31503150 shape_function->insert_motion (u,v);
3151- Status_Flag corr_status = obj->computeUpdateRobust (shape_function,num_iterations);
3151+ Status_Flag corr_status = obj->computeUpdateFast (shape_function,num_iterations);
31523152
31533153 // check the sigma values and status flag
31543154 scalar_t noise_std_dev = 0.0 ;
0 commit comments