This class implements ImageJ's wand (tracing) tool.
Definition at line 8 of file Wand.java.
Constructs a Wand object from an ImageProcessor.
Definition at line 28 of file Wand.java.
| void autoOutline |
( |
int |
startX, |
|
|
int |
startY |
|
) |
| |
|
inline |
Traces the boundary of an area of uniform color, where 'startX' and 'startY' are somewhere inside the area. The boundary points are stored in the public xpoints and ypoints fields. A 16 entry lookup table is used to determine the direction at each step of the tracing process.
Definition at line 121 of file Wand.java.
| void autoOutline |
( |
int |
startX, |
|
|
int |
startY, |
|
|
double |
lower, |
|
|
double |
upper |
|
) |
| |
|
inline |
Traces an object defined by lower and upper threshold values. The boundary points are stored in the public xpoints and ypoints fields.
Definition at line 143 of file Wand.java.
| void autoOutline |
( |
int |
startX, |
|
|
int |
startY, |
|
|
int |
lower, |
|
|
int |
upper |
|
) |
| |
|
inline |
This is a variation of autoOutline that uses int threshold arguments.
Definition at line 167 of file Wand.java.
The number of points in the generated outline.
Definition at line 12 of file Wand.java.
| int [] xpoints = new int[maxPoints] |
The x-coordinates of the points in the outline.
Definition at line 15 of file Wand.java.
| int [] ypoints = new int[maxPoints] |
The y-coordinates of the points in the outline.
Definition at line 17 of file Wand.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/fudge/image_editor/src/ij/gui/Wand.java