Commit 07ab125e authored by Andrey Filippov's avatar Andrey Filippov
Browse files

more on bypassing missing kernels

parent d457b908
Loading
Loading
Loading
Loading
+15 −11
Original line number Original line Diff line number Diff line
@@ -10710,9 +10710,9 @@ if (MORE_BUTTONS) {
*/
*/
					// tanRad[0]/=(focusMeasurementParameters.subdiv/2); // to sesnor pixels
					// tanRad[0]/=(focusMeasurementParameters.subdiv/2); // to sesnor pixels
					// tanRad[1]/=(focusMeasurementParameters.subdiv/2);
					// tanRad[1]/=(focusMeasurementParameters.subdiv/2);
					double [][]quadCoeff=null;
					try {
					double [][]quadCoeff=matchSimulatedPattern.approximatePSFQuadratic(
						quadCoeff=matchSimulatedPattern.approximatePSFQuadratic(
								psf[i][j][color],     // PSF function, square array, nominally positive
								psf[i][j][color],     // PSF function, square array, nominally positive
								focusMeasurementParameters.psf_cutoffEnergy,     // fraction of energy in the pixels to be used
								focusMeasurementParameters.psf_cutoffEnergy,     // fraction of energy in the pixels to be used
								focusMeasurementParameters.psf_cutoffLevel,      // minimal level as a fraction of maximal
								focusMeasurementParameters.psf_cutoffLevel,      // minimal level as a fraction of maximal
@@ -10721,6 +10721,10 @@ if (MORE_BUTTONS) {
								0.1, //maskCutOff,
								0.1, //maskCutOff,
								debugLevel-2, // debug level
								debugLevel-2, // debug level
								i+":"+j+"["+color+"]"); //	   String        title) {    // prefix used for debug images
								i+":"+j+"["+color+"]"); //	   String        title) {    // prefix used for debug images
					} catch (Exception e) {
						System.out.println("Failed to get approximatePSFQuadratic(...) for i="+i+", j="+j);
						continue;
					}
/*
/*
 *  f(x,y)=A*x^2+B*y^2+C*x*y+D*x+E*y+F
 *  f(x,y)=A*x^2+B*y^2+C*x*y+D*x+E*y+F
 *  
 *  
+1 −1

File changed.

Contains only whitespace changes.