Commit a0c4b513 authored by Andrey Filippov's avatar Andrey Filippov

bug fixes in multiple scene fitting

parent f62718b1
...@@ -434,7 +434,7 @@ public class ErsCorrection extends GeometryCorrection { ...@@ -434,7 +434,7 @@ public class ErsCorrection extends GeometryCorrection {
this.xyz = xyz; this.xyz = xyz;
this.atr = atr; this.atr = atr;
this.ers_xyz_dt = ers_xyz_dt; this.ers_xyz_dt = ers_xyz_dt;
this.ers_atr_dt = ers_xyz_dt; this.ers_atr_dt = ers_atr_dt;
this.ers_xyz_d2t = new double[3]; this.ers_xyz_d2t = new double[3];
this.ers_atr_d2t = new double[3]; this.ers_atr_d2t = new double[3];
} }
...@@ -774,6 +774,16 @@ public class ErsCorrection extends GeometryCorrection { ...@@ -774,6 +774,16 @@ public class ErsCorrection extends GeometryCorrection {
setupERS(); setupERS();
} }
public void printVectors(
double [] xyz,
double [] atr)
{
if (xyz != null) printAngle(" XYZ",xyz);
if (atr != null) printAngle(" ATR",atr);
printAngle( "ERS XYZ_dt",ers_wxyz_center_dt);
printAngle( "ERS ATR_dt",ers_watr_center_dt);
}
public void setupERS() public void setupERS()
{ {
double ers_sign = 1.0; // -1.0; // invert all corrections to opposite? double ers_sign = 1.0; // -1.0; // invert all corrections to opposite?
......
...@@ -58,7 +58,6 @@ public class GeometryCorrection { ...@@ -58,7 +58,6 @@ public class GeometryCorrection {
public int debugLevel = 0; public int debugLevel = 0;
public double line_time = 26.5E-6; // duration of sensor scan line (for ERS) Wrong, 36.38us (change and re-run ERS public double line_time = 26.5E-6; // duration of sensor scan line (for ERS) Wrong, 36.38us (change and re-run ERS
public int pixelCorrectionWidth=2592; // virtual camera center is at (pixelCorrectionWidth/2, pixelCorrectionHeight/2) public int pixelCorrectionWidth=2592; // virtual camera center is at (pixelCorrectionWidth/2, pixelCorrectionHeight/2)
public int pixelCorrectionHeight=1936; public int pixelCorrectionHeight=1936;
......
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