// new parameters for expanding/blurring sensor distortions and photometrics
if((parMask&0x1000000)!=0)gd.addMessage("Parameters for extrapolating sensors distortions and vignetting to the frame edges (2020)");
if((parMask&0x1000000)!=0)gd.addNumericField("Center fraction (of half-height) used for orthogonal Gaussian blur",this.center_fract,2,6,"");
if((parMask&0x1000000)!=0)gd.addNumericField("Transition fraction (of half-height) between center ortho and peripheral polar extrapolatioon",this.transit_fract,2,6,"");
if((parMask&0x1000000)!=0)gd.addNumericField("Radial and ortho (central) Gaussian sigma (fraction of half-height)",this.gaus_rad,2,6,"");
if((parMask&0x1000000)!=0)gd.addNumericField("Maximal high-frequency error to remove from the second pass (for distortions)",this.max_diff_err_geom,2,6,"");
if((parMask&0x1000000)!=0)gd.addNumericField("Maximal high-frequency error to remove from the second pass (for vignetting)",this.max_diff_err_photo,2,6,"");
/// if ((parMask&0x80000) !=0) gd.addNumericField("Extrapolation effective radius (doubling sigma in tangential direction)", this.sensorTangentialRadius, 2,6,"fraction of full image radius");
/// if ((parMask&0x80000) !=0) gd.addNumericField("Extrapolation half-square side for polynomial approximation", this.sensorScanDistance, 0,3,"sensor pixels");
/// if ((parMask&0x80000) !=0) gd.addNumericField("Extrapolation half-square side for extrapolation", this.sensorResultDistance, 0,3,"sensor pixels");
/// if ((parMask&0x80000) !=0) gd.addNumericField("Extrapolation polynomial degree", this.sensorInterpolationDegree, 0,1,"");
if((parMask&0x100000)!=0)gd.addNumericField("Fitting series number (to select images), negative - use all enabled images (eo -> lwir)",this.flatFieldSerNumber,0);
if((parMask&0x100000)!=0)gd.addNumericField("Reference station number (unity target brightness) (eo -> lwir)",this.flatFieldReferenceStation,0);
if((parMask&0x100000)!=0)gd.addCheckbox("Show result mask",this.flatFieldShowResult);
if((parMask&0x100000)!=0)gd.addCheckbox("Apply pattern flat field and mask",this.flatFieldApplyResult);
if((parMask&0x100000)!=0)gd.addCheckbox("Use interpolation for sensor correction",this.flatFieldUseInterpolate);
if((parMask&0x100000)!=0)gd.addNumericField("Suspect occlusion only if grid is missing in the area where sensor mask is above this threshold",100.0*this.flatFieldMaskThresholdOcclusion,3,7,"%");
/// if ((parMask & 2) !=0) gd.addNumericField("Threshold alpha (discard pixels with mask below that value)", this.alphaThreshold,3);
/// if ((parMask &0x8000) !=0) gd.addNumericField("Fat zero for color trasfer functions", this.fatZero,3);
/// if ((parMask & 4) !=0) gd.addNumericField("Fitting radius for extrapolation, Gaussian weight function sigma (in non-decimated pixels) ", this.extrapolationSigma,3);
/// if ((parMask & 8) !=0) gd.addNumericField("Fitting scan half-size of the square, in multiples of Fitting Radius", this.extrapolationKSigma,3);
/// if ((parMask & 0x10) !=0) gd.addCheckbox ("Apply smoothing to the correction results", this.smoothCorrection);
/// if ((parMask & 0x20) !=0) gd.addNumericField("Smoothing sigma, in non-decimated pixels", this.smoothSigma,3);
if((parMask&0x10000)!=0)gd.addNumericField("Show individual residuals for image number (<0 - all images)",this.showIndividualNumber,0);
if((parMask&0x1000)!=0)gd.addCheckbox("Correct patetrn grid node locations in 3d (false - in 2d only)",this.grid3DCorrection);
if((parMask&0x1000)!=0)gd.addCheckbox("Rotate final 3d pattern correction (?)",this.rotateCorrection);
if((parMask&0x20000)!=0)gd.addNumericField("Maximal Z-axis correction (if more will fall back to 2d correction algorithm)",this.grid3DMaximalZCorr,1,3,"mm");
if((parMask&0x20000)!=0)gd.addCheckbox("Use Z-variations of the pattern for different stations",this.useVariations);
if((parMask&0x20000)!=0)gd.addNumericField("Penalty for different Z for the same target nodes for different stations",100.0*this.variationPenalty,3,7,"%");
if((parMask&0x20000)!=0)gd.addCheckbox("Keep X and Y pattern correction, adjust only Z",this.fixXY);
if((parMask&0x20000)!=0)gd.addCheckbox("Reset previous Z variations before calculating the new one",this.resetVariations);
if((parMask&0x20000)!=0)gd.addCheckbox("Do not fall back to 2-d calculation if 3d fails",this.noFallBack);
if(large!=null)gd.addCheckbox("Copy all parameters from the main sensors (large), ignore other filedsr",false);