org.shapelogic.imageutil
Class PlugInFilterAdapter

java.lang.Object
  extended by org.shapelogic.imageutil.PlugInFilterAdapter
All Implemented Interfaces:
ij.plugin.filter.PlugInFilter
Direct Known Subclasses:
ColorHypothesisFinder_, ColorReplacerSL, LineVectorizer_, MaxDistanceVectorizer_, SBSegment_

public class PlugInFilterAdapter
extends java.lang.Object
implements ij.plugin.filter.PlugInFilter

Adapter from SLImageFilter to PlugInFilter.

Author:
Sami Badawi

Field Summary
protected  ImageOperation _imageOperation
           
 
Fields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
 
Constructor Summary
PlugInFilterAdapter(ImageOperation imageOperation)
           
 
Method Summary
 ImageOperation getImageOperation()
           
 void run(ij.process.ImageProcessor ip)
           
 int setup(java.lang.String arg, ij.ImagePlus imp)
          Default is that if the input image is null show the about dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_imageOperation

protected ImageOperation _imageOperation
Constructor Detail

PlugInFilterAdapter

public PlugInFilterAdapter(ImageOperation imageOperation)
Method Detail

run

public void run(ij.process.ImageProcessor ip)
Specified by:
run in interface ij.plugin.filter.PlugInFilter

setup

public int setup(java.lang.String arg,
                 ij.ImagePlus imp)
Default is that if the input image is null show the about dialog.

Specified by:
setup in interface ij.plugin.filter.PlugInFilter

getImageOperation

public ImageOperation getImageOperation()


Copyright © 2009. All Rights Reserved.