Commit b759e500 authored by Andrey Filippov's avatar Andrey Filippov

reduced debug output

parent 1784f2af
...@@ -413,10 +413,7 @@ public class EyesisCorrections { ...@@ -413,10 +413,7 @@ public class EyesisCorrections {
int [] channels={correctionsParameters.getChannelFromSourceTiff(correctionsParameters.getSourcePaths()[nFile])}; int [] channels={correctionsParameters.getChannelFromSourceTiff(correctionsParameters.getSourcePaths()[nFile])};
if (correctionsParameters.isJP4()){ if (correctionsParameters.isJP4()){
int subCamera= channels[0]- correctionsParameters.firstSubCamera; // to match those in the sensor files int subCamera= channels[0]- correctionsParameters.firstSubCamera; // to match those in the sensor files
System.out.println("++++++++++ Calling this.pixelMapping.channelsForSubCamera("+subCamera+")");
channels=this.pixelMapping.channelsForSubCamera(subCamera); channels=this.pixelMapping.channelsForSubCamera(subCamera);
} else {
System.out.println("++++++++++ Not a JP4 subcamera "+(channels[0]-correctionsParameters.firstSubCamera)+"!");
} }
if (channels!=null) { if (channels!=null) {
......
...@@ -183,11 +183,10 @@ public class PixelMapping { ...@@ -183,11 +183,10 @@ public class PixelMapping {
return (o1.x>o2.x)? 1:((o1.x < o2.x)?-1:(o1.y > o2.y)? 1:((o1.y < o2.y)?-1:0)); return (o1.x>o2.x)? 1:((o1.x < o2.x)?-1:(o1.y > o2.y)? 1:((o1.y < o2.y)?-1:0));
} }
}); });
for (int i=0; i<cam_port_arr.length;i++){ // for (int i=0; i<cam_port_arr.length;i++){
System.out.println("----- physical camera #"+cam_port_arr[i].x+", sensor_port="+cam_port_arr[i].y); // System.out.println("----- physical camera #"+cam_port_arr[i].x+", sensor_port="+cam_port_arr[i].y);
} // }
System.out.println("----- This ("+subCamera+") physical camera #"+cam_port_arr[subCamera].x+", sensor_port="+cam_port_arr[subCamera].y); System.out.println("----- This filename subcamera "+subCamera+": physical camera "+cam_port_arr[subCamera].x+", sensor_port "+cam_port_arr[subCamera].y);
if (subCamera >= cam_port_arr.length) { if (subCamera >= cam_port_arr.length) {
System.out.println("Error: Subcamera "+subCamera+" > that total namera of sensor ports in the system = "+cam_port_arr.length); System.out.println("Error: Subcamera "+subCamera+" > that total namera of sensor ports in the system = "+cam_port_arr.length);
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment