/** Performs a convolution operation using the specified kernel. */ public void convolve(float[] kernel, int kernelWidth, int kernelHeight) { snapshot(); new ij.plugin.filter.Convolver().convolve(this, kernel, kernelWidth, kernelHeight); }
/** Performs a convolution operation using the specified kernel. */ public void convolve(float[] kernel, int kernelWidth, int kernelHeight) { snapshot(); new ij.plugin.filter.Convolver().convolve(this, kernel, kernelWidth, kernelHeight); }
mask = new FloatProcessor( ip.getWidth(), ip.getHeight(), image.getAlphaRaster().getPixels( 0, 0, ip.getWidth(), ip.getHeight(), pixels ), null ); maskTransformed = new FloatProcessor( ip.getWidth(), ip.getHeight() ); maskTransformed.snapshot();
fp.setSliceNumber(ip.getSliceNumber()); if (thread.isInterrupted()) return; // interrupt processing for preview? if ((flags&PlugInFilter.SNAPSHOT)!=0) fp.snapshot(); if (doStack) IJ.showProgress(pass/(double)nPasses); processChannelUsingThreads(fp);
fp.setSliceNumber(ip.getSliceNumber()); if (thread.isInterrupted()) return; // interrupt processing for preview? if ((flags&PlugInFilter.SNAPSHOT)!=0) fp.snapshot(); if (doStack) IJ.showProgress(pass/(double)nPasses); processChannelUsingThreads(fp);
fp.setSliceNumber(ip.getSliceNumber()); if (thread.isInterrupted()) return; // interrupt processing for preview? if ((flags&PlugInFilter.SNAPSHOT)!=0) fp.snapshot(); if (doStack) IJ.showProgress(pass/(double)nPasses); ((PlugInFilter)theFilter).run(fp);
fp.setSliceNumber(ip.getSliceNumber()); if (thread.isInterrupted()) return; // interrupt processing for preview? if ((flags&PlugInFilter.SNAPSHOT)!=0) fp.snapshot(); if (doStack) IJ.showProgress(pass/(double)nPasses); ((PlugInFilter)theFilter).run(fp);
fp = ip.toFloat(channelNumber, fp); if ((ip instanceof FloatProcessor) && !calledAsPlugin && !createBackground) fp.snapshot(); //float images need a snapshot to subtract if (useParaboloid) slidingParaboloidFloatBackground(fp, (float)radius, invert, doPresmooth, correctCorners);
fp = ip.toFloat(channelNumber, fp); if ((ip instanceof FloatProcessor) && !calledAsPlugin && !createBackground) fp.snapshot(); //float images need a snapshot to subtract if (useParaboloid) slidingParaboloidFloatBackground(fp, (float)radius, invert, doPresmooth, correctCorners);