WVgreens,// wave vectors (same units as the pixels array)
patternDetectParameters.corrRingWidth,// ring (around r=0.5 dist to opposite corr) width
// patternDetectParameters.corrRingWidth, // ring (around r=0.5 dist to opposite corr) width
0.1,// contrastSelectSigma
0.5,// contrastAverageSigma
0.0,// x0, // center coordinates
0.0,//y0,
title);// title base for optional plots names
...
...
@@ -18951,10 +18961,10 @@ use the result to create a rejectiobn mask - if the energy was high, (multiplica
gd.addNumericField("Minimal pattern correlation contrast",patternDetectParameters.minCorrContrast,3);//5.0; // Discrimination threshold between good and bad pattern correleation
gd.addNumericField("Minimal pattern grid period (<=0.0 - do not check)",patternDetectParameters.minGridPeriod,2,5,"pix");
gd.addNumericField("Maximal pattern grid period (<=0.0 - do not check)",patternDetectParameters.maxGridPeriod,2,5,"pix");
// 0.0, // minGridPeriod
// 0.0 // maxGridPeriod
gd.addMessage("----- debug -----");
gd.addNumericField("Debug grid near pixel X",patternDetectParameters.debugX,1,6,"pix");
gd.addNumericField("Debug grid near pixel X",patternDetectParameters.debugY,1,6,"pix");
gd.addNumericField("Debug grid nodes at this distance of (x,Y) - <0 - no debug",patternDetectParameters.debugRadius,1,5,"pix");
gd.showDialog();
if(gd.wasCanceled())returnfalse;
...
...
@@ -18971,6 +18981,9 @@ use the result to create a rejectiobn mask - if the energy was high, (multiplica
gd.addNumericField("Correlation minimal contrast for initial search:",distortionParameters.correlationMinInitialContrast,3);
gd.addNumericField("Decrease contrast of cells that are too close to the border to be processed in rifinement pass",distortionParameters.scaleFirstPassContrast,3);
gd.addNumericField("Gaussian sigma to select correlation centers (fraction of UV period), 0.1",distortionParameters.contrastSelectSigma,3);
gd.addNumericField("Gaussian sigma to average correlation variations (as contrast reference), 0.5",distortionParameters.contrastAverageSigma,3);