MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / filter

Method filter

ij/src/main/java/ij/plugin/FFT.java:190–200  ·  view source on GitHub ↗

Does frequency domain fitering of the speciified image @param imp The image to be filtered. @param filter The filter, 32-bits (0-1) or 8-bits (0-255) @see #forward @see #multiply @see #inverse

(ImagePlus imp, ImageProcessor filter)

Source from the content-addressed store, hash-verified

188 * @see #inverse
189 */
190 public static void filter(ImagePlus imp, ImageProcessor filter) {
191 Object obj = imp.getProperty("FHT");
192 FHT fht = obj!=null&&(obj instanceof FHT)?(FHT)obj:null;
193 if (fht!=null) {
194 FFT.multiply(imp, filter);
195 return;
196 }
197 ImagePlus imp2 = FFT.forward(imp);
198 FFT.multiply(imp2, filter);
199 imp.setProcessor(FFT.inverse(imp2).getProcessor());
200 }
201
202 /** Version of filter() that accepts an ImagePlus for the filter. */
203 public static void filter(ImagePlus imp, ImagePlus filter) {

Callers 15

readConfigFileFunction · 0.45
logStacktraceCMethod · 0.45
walk2ListMethod · 0.45
getCallerNameMethod · 0.45
LogWindowMethod · 0.45
writeOptionsMethod · 0.45
processorsFromManyHduMethod · 0.45
stepSizeIdMethod · 0.45
getFilesInZipImplMethod · 0.45
queryWithWaylandInfoMethod · 0.45
minMethod · 0.45

Calls 6

multiplyMethod · 0.95
forwardMethod · 0.95
inverseMethod · 0.95
getPropertyMethod · 0.45
setProcessorMethod · 0.45
getProcessorMethod · 0.45

Tested by

no test coverage detected