|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.hiof.imagepr.morphology.StructElement
A StructElement object models a structure element used in morphologic processes.
Morphology| Field Summary | |
protected short[][] |
elementMatrix
|
protected int |
hCenter
|
protected int |
vCenter
|
| Constructor Summary | |
StructElement()
Constructs an empty structure element. |
|
StructElement(short[][] elementMatrix,
int hCenter,
int vCenter)
Constructs a structure element with a given element matrix and center postition. |
|
| Method Summary | |
StructElement |
createReflectStruct()
Creates the reflection of the structure element. |
short[][] |
getElementMatrix()
Gets the element matrix of the structure element. |
int |
getHCenter()
Gets the horizontal coordinate of the center of the structure element. |
int |
getHeight()
Gets the height of the element matrix. |
int |
getVCenter()
Gets the vertical coordinate of the center of the structure element. |
int |
getWidth()
Gets the width of the element matrix. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected short[][] elementMatrix
protected int hCenter
protected int vCenter
| Constructor Detail |
public StructElement()
public StructElement(short[][] elementMatrix,
int hCenter,
int vCenter)
elementMatrix - The element matrix.hCenter - The horizontal position of the center.vCenter - The horizontal position of the center.| Method Detail |
public int getHCenter()
public int getVCenter()
public int getHeight()
public int getWidth()
public short[][] getElementMatrix()
public StructElement createReflectStruct()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||