org.shapelogic.imageutil
Interface ImageOperation

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
IParticleCounter
All Known Implementing Classes:
BaseImageOperation, BaseMaxDistanceVectorizer, BaseParticleCounter, BaseVectorizer, DirectionBasedVectorizer, DirectionBasedVectorizer_, DistanceBasedColorHypothesisFinder, LineVectorizer, MaxDistanceVectorizer, ParticleCounter, SegmentCounter, ShortLineBasedVectorizer, StreamVectorizer

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().
 int getSetupReturnValue()
           
 boolean isImageValid()
           
 void setGuiWrapper(GuiWrapper guiWrapper)
          If you want the object to write to a GUI, set a GUIWrapper.
 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)


Copyright © 2008. All Rights Reserved.