double psi=camPars.eyesisSubCameras[stationNumber][0].psi; // degrees, rotation (of the sensor) around the optical axis. Positive if camera is rotated clockwise looking to the target
publicintgetSensorWidth(intsubCam){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getSensorWidth(subCam);}// for the future? different sensors
publicintgetSensorHeight(intsubCam){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getSensorHeight(subCam);}// for the future? different sensors
publicintgetDecimateMasks(intsubCam){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getDecimateMasks(subCam);}// for the future? different sensors
publicintgetSensorWidth(){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getSensorWidth();}// for the future? different sensors
publicintgetSensorHeight(){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getSensorHeight();}// for the future? different sensors
publicintgetDecimateMasks(){returnfittingStrategy.distortionCalibrationData.eyesisCameraParameters.getDecimateMasks();}// for the future? different sensors
imp.setProperty("comment_decimation","when decimation use integer divide to find the index, corection values are in non-decimated pixels");
imp.setProperty("distortion_formula","(normalized by distortionRadius in mm) Rdist/R=A8*R^7+A7*R^6+A6*R^5+A5*R^4+A*R^3+B*R^2+C*R+(1-A6-A7-A6-A5-A-B-C)");
gd.addNumericField("Pattern full width",this.patternWidth,1,6,"mm");// pattern full width in mm
gd.addNumericField("Pattern full height",this.patternHeight,1,6,"mm");// pattern full width in mm
gd.addNumericField("Distance between opposite sign nodes",this.patternHalfPeriod,4,8,"mm");// istance between opposite sign nodes in mm
gd.addNumericField("Pattern tilt (clockwise)",this.patternTilt,1,5,"degrees");// pattern tilt (degrees) - U clockwise from X-right (V clockwise from Y-down)
gd.addNumericField("Distance between opposite sign nodes",this.patternHalfPeriod,4,8,"mm");// distance between opposite sign nodes in mm
gd.addNumericField("Pattern tilt (clockwise)",this.patternTilt,3,8,"degrees");// pattern tilt (degrees) - U clockwise from X-right (V clockwise from Y-down)
gd.addNumericField("Average grid RED (1.0 for white)",this.averageRGB[0],3,5,"x");//
gd.addNumericField("Average grid GREEN (1.0 for white)",this.averageRGB[1],3,5,"x");//
gd.addNumericField("Average grid BLUE (1.0 for white)",this.averageRGB[2],3,5,"x");//
gd.addNumericField("Number of sensors (>24 - two groups, 0 - do not change)",this.defaultNumberOfChannels,0);//
gd.addCheckbox("Reset to standard fine pitch pattern",false);
gd.addCheckbox("Reset to standard LWIR pattern",false);
gd.addMessage("Pressing OK will recalculate grid and clear current grid calibration");