org.shapelogic.imageutil
Interface ImageOperation

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
IParticleCounter
All Known Implementing Classes:
BaseImageOperation, BaseMaxDistanceVectorizer, BaseParticleCounter, BaseVectorizer, ColorParticleAnalyzer, ColorParticleAnalyzer_, ColorParticleAnalyzerIJ, DigitStreamVectorizer_, DirectionBasedVectorizer, DirectionBasedVectorizer_, DistanceBasedColorHypothesisFinder, LineVectorizer, MaxDistanceVectorizer, ParticleCounter, ParticleCounter_, PixelHandlerOperation, RGBColorParticleAnalyzer_, RGBColorParticleAnalyzerIJ, SegmentCounter, ShortLineBasedVectorizer, StreamVectorizer, StreamVectorizer_, StreamVectorizerIJ

public interface ImageOperation
extends java.lang.Runnable

Modifies a image. An abstraction of ImageJ's PlugInFilter.
Used for a thin wrapper around PlugInFilter or a class that will do the same for BufferedImages.

Author:
Sami Badawi

Method Summary
 GuiWrapper getGuiWrapper()
           
 SLImage getImage()
          How to get the SLImage in run().
 KeyValueParser getKeyValueParser()
           
 int getSetupReturnValue()
           
 boolean isImageValid()
           
 void setArg(java.lang.String arg)
           
 void setGuiWrapper(GuiWrapper guiWrapper)
          If you want the object to write to a GUI, set a GUIWrapper.
 void setKeyValueParser(KeyValueParser keyValueParser)
           
 void setSetupReturnValue(int setupReturnValue)
           
 int setup(java.lang.String arg, SLImage imp)
          Equivalent of setup in PlugInFilter.
 java.lang.String showAbout()
           
 void showMessage(java.lang.String title, java.lang.String text)
          This wrapper only implement displaying a simple text string.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

getImage

SLImage getImage()
How to get the SLImage in run().


setup

int setup(java.lang.String arg,
          SLImage imp)
Equivalent of setup in PlugInFilter.


showMessage

void showMessage(java.lang.String title,
                 java.lang.String text)
This wrapper only implement displaying a simple text string.


showAbout

java.lang.String showAbout()

setGuiWrapper

void setGuiWrapper(GuiWrapper guiWrapper)
If you want the object to write to a GUI, set a GUIWrapper.


getGuiWrapper

GuiWrapper getGuiWrapper()

isImageValid

boolean isImageValid()

getSetupReturnValue

int getSetupReturnValue()

setSetupReturnValue

void setSetupReturnValue(int setupReturnValue)

getKeyValueParser

KeyValueParser getKeyValueParser()

setKeyValueParser

void setKeyValueParser(KeyValueParser keyValueParser)

setArg

void setArg(java.lang.String arg)


Copyright © 2009. All Rights Reserved.