Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
BoxFilter Class Reference
Inheritance diagram for BoxFilter:
PlugInFilter

Public Member Functions

int setup (String arg, ImagePlus imp)
 
void run (ImageProcessor ip)
 
void convertBack (ImageProcessor ip2, ImageProcessor ip, int type)
 
void blurRGB (ImageProcessor ip, int boxw, int boxh)
 

Additional Inherited Members

- Data Fields inherited from PlugInFilter
int DOES_8G = 1
 
int DOES_8C = 2
 
int DOES_16 = 4
 
int DOES_32 = 8
 
int DOES_RGB = 16
 
int DOES_ALL = DOES_8G+DOES_8C+DOES_16+DOES_32+DOES_RGB
 
int DOES_STACKS = 32
 
int SUPPORTS_MASKING = 64
 
int NO_CHANGES = 128
 
int NO_UNDO = 256
 
int NO_IMAGE_REQUIRED = 512
 
int ROI_REQUIRED = 1024
 
int STACK_REQUIRED = 2048
 
int DONE = 4096
 

Detailed Description

This plugin implements the Process/Filters/Blur command. It uses the box filter

algorithm described at "http://www.gamasutra.com/features/20010209/evans_01.htm". This algorithm's speed is independent of kernel size. It takes the same time to blur an image no matter how much blurring is required.

Definition at line 12 of file BoxFilter.java.

Member Function Documentation

void run ( ImageProcessor  ip)
inline

Filters use this method to process the image. If the SUPPORTS_STACKS flag was set, it is called for each slice in a stack. ImageJ will lock the image before calling this method and unlock it when the filter is finished.

Implements PlugInFilter.

Definition at line 41 of file BoxFilter.java.

int setup ( String  arg,
ImagePlus  imp 
)
inline

This method is called once when the filter is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. 'imp' is the currently active image. This method should return a flag word that specifies the filters capabilities.

Implements PlugInFilter.

Definition at line 26 of file BoxFilter.java.


The documentation for this class was generated from the following file: