// TODO: now works for small offsets. Maybe add re-calculate int argmax for each pair? xcenter is still needed to subtract Add switch? (small/large correction)
// TODO: now works for small offsets. Maybe add re-calculate int argmax for each pair? xcenter is still needed to subtract Add switch? (small/large correction)
clt_parameters.corr_magic_scale,// double magic_coeff, // still not understood coefficent that reduces reported disparity value. Seems to be around 8.5
clt_parameters.corr_magic_scale,// double magic_coeff, // still not understood coefficent that reduces reported disparity value. Seems to be around 8.5
debugLevel+(clt_parameters.fine_dbg?1:0));// int debugLevel)
debugLevel+(clt_parameters.fine_dbg?1:0));// int debugLevel)
if(debugLevel>-1){
if((new_corr!=null)&&(debugLevel>-1)){
System.out.println("process_infinity_corr(): ready to apply infinity correction");
System.out.println("process_infinity_corr(): ready to apply infinity correction");