public abstract class AbstractBlockFilter extends Object implements ij.plugin.filter.ExtendedPlugInFilter, DialogListener
Modifier and Type | Field and Description |
---|---|
protected static int |
blockRadiusX |
protected static int |
blockRadiusY |
protected int |
brx |
protected int |
bry |
protected static int |
flags |
protected ij.process.FloatProcessor[] |
fps |
protected ij.process.ImageProcessor |
pip |
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
AbstractBlockFilter() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
copyParameters() |
boolean |
dialogItemChanged(GenericDialog gd,
AWTEvent e) |
protected abstract String |
dialogTitle() |
protected void |
init(ij.ImagePlus imp) |
protected abstract void |
process(int i) |
void |
run(ij.process.ImageProcessor ip) |
void |
setNPasses(int nPasses) |
int |
setup(String arg,
ij.ImagePlus imp) |
int |
showDialog(ij.ImagePlus imp,
String command,
ij.plugin.filter.PlugInFilterRunner pfr) |
protected void |
toByte(byte[] bytes) |
protected void |
toRGB(int[] rgbs) |
protected void |
toShort(short[] shorts) |
protected static int blockRadiusX
protected static int blockRadiusY
protected int brx
protected int bry
protected static final int flags
protected ij.process.FloatProcessor[] fps
protected ij.process.ImageProcessor pip
protected abstract String dialogTitle()
protected abstract void copyParameters()
protected abstract void process(int i)
protected void init(ij.ImagePlus imp)
protected void toRGB(int[] rgbs)
protected void toByte(byte[] bytes)
protected void toShort(short[] shorts)
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public int showDialog(ij.ImagePlus imp, String command, ij.plugin.filter.PlugInFilterRunner pfr)
showDialog
in interface ij.plugin.filter.ExtendedPlugInFilter
public boolean dialogItemChanged(GenericDialog gd, AWTEvent e)
dialogItemChanged
in interface DialogListener
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
public void setNPasses(int nPasses)
setNPasses
in interface ij.plugin.filter.ExtendedPlugInFilter
Copyright © 2015–2021 Fiji. All rights reserved.