// proceed only if CM correlation result is non-null // for compatibility with old code we need it to run regardless of the strength of the normal correlation
// proceed only if CM correlation result is non-null // for compatibility with old code we need it to run regardless of the strength of the normal correlation
if(corr_stat!=null){
if(corr_stat!=null){
// skipping DISPARITY_VARIATIONS_INDEX - it was not used
// skipping DISPARITY_VARIATIONS_INDEX - it was not used
...
@@ -716,9 +800,8 @@ public class ImageDtt extends ImageDttCPU {
...
@@ -716,9 +800,8 @@ public class ImageDtt extends ImageDttCPU {
// debug new LMA correlations
// debug new LMA correlations
if(debugTile){
if(debugTile){
System.out.println("Will run new LMA for tileX="+tileX+", tileY="+tileY+"\n\n\n*** Disabled fro the GPU ***\n\n\n");
System.out.println("Will run new LMA for tileX="+tileX+", tileY="+tileY+"\n\n\n*** Disabled fro the GPU ***\n\n\n");
// temporarily disabling for the GPU
// temporarily disabling for the GPU (can be restored as disp_dist is available)
// proceed only if CM correlation result is non-null // for compatibility with old code we need it to run regardless of the strength of the normal correlation
// proceed only if CM correlation result is non-null // for compatibility with old code we need it to run regardless of the strength of the normal correlation