System.out.print(String.format("Tiles per quadrants :[%d, %d, %d, %d], tiles at infinity %d",pq[0],pq[1],pq[2],pq[3],num_inf));
System.out.println(String.format("Tiles per quadrants :[%d, %d, %d, %d], tiles at infinity %d",pq[0],pq[1],pq[2],pq[3],num_inf));
}
}
if(per_quad[1]<min_per_quadrant){
if(per_quad[1]<min_per_quadrant){
if(debugLevel>-20){
if(debugLevel>-20){
System.out.print(String.format("Too few tiles in quadrants :[%d, %d, %d, %d], minimum for the second worst is %d",pq[0],pq[1],pq[2],pq[3],min_per_quadrant));
System.out.println(String.format("Too few tiles in quadrants :[%d, %d, %d, %d], minimum for the second worst is %d",pq[0],pq[1],pq[2],pq[3],min_per_quadrant));
}
}
returnnull;
returnnull;
}
}
if(num_inf<min_inf){
if(num_inf<min_inf){
if(debugLevel>-20){
if(debugLevel>-20){
System.out.print(String.format("Too few tiles at infinity: %d minimum is %d",num_inf,min_inf));
System.out.println(String.format("Too few tiles at infinity: %d minimum is %d",num_inf,min_inf));
}
}
returnnull;
returnnull;
}
}
...
@@ -2810,19 +2810,19 @@ B = |+dy0 -dy1 -2*dy3 |
...
@@ -2810,19 +2810,19 @@ B = |+dy0 -dy1 -2*dy3 |
Arrays.sort(per_quad);
Arrays.sort(per_quad);
if(per_quad[1]<min_per_quadrant){
if(per_quad[1]<min_per_quadrant){
if(debugLevel>-20){
if(debugLevel>-20){
System.out.print(String.format("Too few tiles in quadrants :[%d, %d, %d, %d], minimum for the second worst is %d",pq[0],pq[1],pq[2],pq[3],min_per_quadrant));
System.out.println(String.format("Too few tiles in quadrants :[%d, %d, %d, %d], minimum for the second worst is %d",pq[0],pq[1],pq[2],pq[3],min_per_quadrant));
}
}
returnnull;
returnnull;
}
}
if(num_inf<min_inf){
if(num_inf<min_inf){
if(debugLevel>-20){
if(debugLevel>-20){
System.out.print(String.format("Too few tiles at infinity (<%4f): %d minimum is %d",inf_max_disparity,num_inf,min_inf));
System.out.println(String.format("Too few tiles at infinity (<%4f): %d minimum is %d",inf_max_disparity,num_inf,min_inf));
}
}
returnnull;
returnnull;
}
}
if(debugLevel>-20){
if(debugLevel>-20){
System.out.print(String.format("Tiles per quadrants :[%d, %d, %d, %d], tiles at infinity %d",pq[0],pq[1],pq[2],pq[3],num_inf));
System.out.println(String.format("Tiles per quadrants :[%d, %d, %d, %d], tiles at infinity %d",pq[0],pq[1],pq[2],pq[3],num_inf));