geometry.object
Class SkeletonObject

java.lang.Object
  extended by geometry.object.SkeletonObject

public class SkeletonObject
extends java.lang.Object

data structure to hold some meta information about skeletons, like distance map, width, height,...


Field Summary
private  int depth
          only used in 3D, always 0 for 2D
private  Dimensions dimensions
          the dimensions for each pixel/voxel in this skeleton object
private  DistanceMap distancemap
          the object's distance map
private  int height
          the input images' height
private  SkeletonGraph sgraph
          the skeleton's skeleton graph
private  java.lang.Object shape
          holding information about the object's shape
private  Skeleton skeleton
          the skeleton itself
private  int width
          the input images' width
 
Constructor Summary
SkeletonObject()
           
 
Method Summary
 int getDepth()
           
 Dimensions getDimensions()
           
 DistanceMap getDistanceMap()
          returns the distance map.
 int getHeight()
          get the height of the input image, used for example for visualization.
 java.lang.Object getShape()
           
 Skeleton getSkeleton()
          Get the skeleton belonging to this object.
 SkeletonGraph getSkeletonGraph()
           
 int getWidth()
          get the width of the input image, used for example for visualization.
 void setDepth(int depth)
           
 void setDimensions(Dimensions dimensions)
           
 void setDistanceMap(DistanceMap distanceMap)
          set the distance map.
 void setHeight(int height)
          set the height of the input image, used for example for visualization.
 void setShape(java.lang.Object shape)
           
 void setSkeleton(Skeleton skeleton)
          set the skeleton belonging to this object.
 void setSkeletonGraph(SkeletonGraph sgraph)
           
 void setWidth(int width)
          set the width of the input image, used for example for visualization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distancemap

private DistanceMap distancemap
the object's distance map


height

private int height
the input images' height


shape

private java.lang.Object shape
holding information about the object's shape


skeleton

private Skeleton skeleton
the skeleton itself


width

private int width
the input images' width


depth

private int depth
only used in 3D, always 0 for 2D


dimensions

private Dimensions dimensions
the dimensions for each pixel/voxel in this skeleton object


sgraph

private SkeletonGraph sgraph
the skeleton's skeleton graph

Constructor Detail

SkeletonObject

public SkeletonObject()
Method Detail

getSkeletonGraph

public SkeletonGraph getSkeletonGraph()
Returns:
the sgraph

setSkeletonGraph

public void setSkeletonGraph(SkeletonGraph sgraph)
Parameters:
sgraph - the sgraph to set

getDepth

public int getDepth()
Returns:
the depth

setDepth

public void setDepth(int depth)
Parameters:
depth - the depth to set

getDistanceMap

public DistanceMap getDistanceMap()
returns the distance map. for each index [x][y] in the map, the distance for the pixel at position (x,y) in the input image to the contour of the object is stored.

Returns:
the distanceMap

getHeight

public int getHeight()
get the height of the input image, used for example for visualization.

Returns:
the input image's height

getSkeleton

public Skeleton getSkeleton()
Get the skeleton belonging to this object.

Returns:
this object's skeleton

getWidth

public int getWidth()
get the width of the input image, used for example for visualization.

Returns:
the input image's width

getShape

public java.lang.Object getShape()
Returns:
the shape

setShape

public void setShape(java.lang.Object shape)
Parameters:
shape - the shape to set

setDistanceMap

public void setDistanceMap(DistanceMap distanceMap)
set the distance map. for each index [x][y] in the map, the distance for the pixel at position (x,y) in the input image to the contour of the object is stored.

Parameters:
distanceMap - the distanceMap to set

setHeight

public void setHeight(int height)
set the height of the input image, used for example for visualization.

Parameters:
height - the input image's height

setSkeleton

public void setSkeleton(Skeleton skeleton)
set the skeleton belonging to this object.

Parameters:
skeleton - the skeleton to set

setWidth

public void setWidth(int width)
set the width of the input image, used for example for visualization.

Parameters:
width - the width to set

setDimensions

public void setDimensions(Dimensions dimensions)
Parameters:
dimensions - the dimensions to set

getDimensions

public Dimensions getDimensions()
Returns:
the dimensions