|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.imageutil.PixelAreaHandler
public class PixelAreaHandler
Run a PixelHanler in a given area using ImageJ.
This class was the beginning of SLImage, the image abstraction from ImageJ.
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. |
void |
handlePixelArea(PixelHandler ph,
java.awt.Rectangle rectangle)
Handle a pixel with a color and a coordinate. |
void |
setImage(SLImage image)
Should only be implemented if the PixelHandler needs to know what image it is using. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SLImage _image
Constructor Detail |
---|
public PixelAreaHandler(SLImage image)
public PixelAreaHandler(java.lang.String dir, java.lang.String fileName, java.lang.String fileFormat)
Method Detail |
---|
public void handlePixelArea(PixelHandler ph, java.awt.Rectangle rectangle)
public void handlePixelArea(PixelHandler ph, int x, int y, int width, int height)
public void handleAllPixels(PixelHandler ph)
public void setImage(SLImage image)
HasSLImage
setImage
in interface HasSLImage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |