org.shapelogic.imageutil
Class PixelAreaHandler

java.lang.Object
  extended by org.shapelogic.imageutil.PixelAreaHandler

public class PixelAreaHandler
extends java.lang.Object

Run a PixelHanler in a given area using ImageJ.
This class was the beginning of SLImage, the image abstraction from ImageJ.

Author:
Sami Badawi

Field Summary
protected  SLImage _image
           
 
Constructor Summary
PixelAreaHandler(SLImage image)
           
PixelAreaHandler(java.lang.String dir, java.lang.String fileName, java.lang.String fileFormat)
          Currently this work with ImageJ images.
 
Method Summary
 void handleAllPixels(PixelHandler ph)
          Handle all the pixels in an image.
This should maybe be changed to work with ROI.
 void handlePixelArea(PixelHandler ph, int x, int y, int width, int height)
          Handle a pixel with a color and a coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_image

protected SLImage _image
Constructor Detail

PixelAreaHandler

public PixelAreaHandler(SLImage image)

PixelAreaHandler

public PixelAreaHandler(java.lang.String dir,
                        java.lang.String fileName,
                        java.lang.String fileFormat)
Currently this work with ImageJ images.

Method Detail

handlePixelArea

public void handlePixelArea(PixelHandler ph,
                            int x,
                            int y,
                            int width,
                            int height)
Handle a pixel with a color and a coordinate.


handleAllPixels

public void handleAllPixels(PixelHandler ph)
Handle all the pixels in an image.
This should maybe be changed to work with ROI.



Copyright © 2008. All Rights Reserved.