|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectio.loader.load2D.NeighborSkeletonNodes2D
public class NeighborSkeletonNodes2D
Functionalities to examine the neighborhood of skeleton nodes.
| Constructor Summary | |
|---|---|
NeighborSkeletonNodes2D()
|
|
| Method Summary | |
|---|---|
static java.util.List<SkeletonNode> |
getNeighborSkeletonNodes(SkeletonNode sn,
java.awt.image.BufferedImage bimg)
return a list of all neighbor skeleton nodes. |
static boolean |
isEdgeNeighbor(Index i1,
Index i2)
Check if two indices are edge neighbors or not. |
private static boolean |
isSkeleton(int argb)
check if the specified color code is encoding a skeleton node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeighborSkeletonNodes2D()
| Method Detail |
|---|
public static java.util.List<SkeletonNode> getNeighborSkeletonNodes(SkeletonNode sn,
java.awt.image.BufferedImage bimg)
sn - the skeleton node we want the neighbors ofbimg - the image where to look for the neighbors
public static boolean isEdgeNeighbor(Index i1,
Index i2)
i1 - index of the first nodei2 - index of the second node
private static boolean isSkeleton(int argb)
argb - the color to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||