|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlugInFilter
ImageJ plugins that process an image should implement this interface.
Field Summary | |
---|---|
static int |
DOES_16
Set this flag if the filter handles 16-bit images. |
static int |
DOES_32
Set this flag if the filter handles float images. |
static int |
DOES_8C
Set this flag if the filter handles 8-bit indexed color images. |
static int |
DOES_8G
Set this flag if the filter handles 8-bit grayscale images. |
static int |
DOES_ALL
Set this flag if the filter handles all types of images. |
static int |
DOES_RGB
Set this flag if the filter handles RGB images. |
static int |
DOES_STACKS
Set this flag if the filter wants its run() method to be called for all the slices in a stack. |
static int |
DONE
Set this flag if the filter does not want its run method called. |
static int |
NO_CHANGES
Set this flag if the filter makes no changes to the pixel data and does not require undo. |
static int |
NO_IMAGE_REQUIRED
Set this flag if the filter does not require that an image be open. |
static int |
NO_UNDO
Set this flag if the filter does not require undo. |
static int |
ROI_REQUIRED
Set this flag if the filter requires an ROI. |
static int |
STACK_REQUIRED
Set this flag if the filter requires a stack. |
static int |
SUPPORTS_MASKING
Set this flag if the filter wants ImageJ, for non-rectangular ROIs, to restore that part of the image that's inside the bounding rectangle but outside of the ROI. |
Method Summary | |
---|---|
void |
run(ImageProcessor ip)
Filters use this method to process the image. |
int |
setup(java.lang.String arg,
ImagePlus imp)
This method is called once when the filter is loaded. |
Field Detail |
---|
static final int DOES_8G
static final int DOES_8C
static final int DOES_16
static final int DOES_32
static final int DOES_RGB
static final int DOES_ALL
static final int DOES_STACKS
static final int SUPPORTS_MASKING
static final int NO_CHANGES
static final int NO_UNDO
static final int NO_IMAGE_REQUIRED
static final int ROI_REQUIRED
static final int STACK_REQUIRED
static final int DONE
Method Detail |
---|
int setup(java.lang.String arg, ImagePlus imp)
void run(ImageProcessor ip)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |