|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectio.loader.load3D.NeighborSkeletonNodes3D
public class NeighborSkeletonNodes3D
Additional functionalities to check the neighborhood of skeleton nodes.
| Constructor Summary | |
|---|---|
NeighborSkeletonNodes3D()
|
|
| Method Summary | |
|---|---|
static java.util.List<SkeletonNode> |
getNeighborSkeletonNodes(SkeletonNode sn,
int[][][] thinningcube,
double widthDim,
double heightDim,
double depthDim)
Get a list of all skeleton neighbor nodes for the specified node by checking the 3x3x3 neighborhood of this voxel and creating a new skeleton node for each skeleton voxel found. |
static boolean |
isEdgeNeighbor(SkeletonNode n1,
SkeletonNode n2)
Check if two skeleton nodes are edge-connected. |
static boolean |
isSurfaceNeighbor(SkeletonNode n1,
SkeletonNode n2)
Check if two skeleton nodes are surface connected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeighborSkeletonNodes3D()
| Method Detail |
|---|
public static boolean isEdgeNeighbor(SkeletonNode n1,
SkeletonNode n2)
n1 - the first skeleton noden2 - the second skeleton node
public static boolean isSurfaceNeighbor(SkeletonNode n1,
SkeletonNode n2)
n1 - the first skeleton noden2 - the second skeleton node
public static java.util.List<SkeletonNode> getNeighborSkeletonNodes(SkeletonNode sn,
int[][][] thinningcube,
double widthDim,
double heightDim,
double depthDim)
sn - the skeleton node for which we want to find the skeleton
neighbor nodes forthinningcube - the 3D volume where to search the nodeswidthDim - the x dimension for the voxel in the 3D volume. This is needed
to compute the real coordinates in case the voxels are not
cubic.heightDim - the y dimension for the voxel in the 3D volume. This is needed
to compute the real coordinates in case the voxels are not
cubic.depthDim - the z dimension for the voxel in the 3D volume. This is needed
to compute the real coordinates in case the voxels are not
cubic.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||