ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkDijkstraImageGeodesicPath Class Reference

vtkDijkstraImageGeodesicPath - Dijkstra algorithm to compute the graph geodesic. More...

Inheritance diagram for Kitware.VTK.vtkDijkstraImageGeodesicPath:
[legend]
Collaboration diagram for Kitware.VTK.vtkDijkstraImageGeodesicPath:
[legend]

List of all members.

Public Member Functions

 vtkDijkstraImageGeodesicPath (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkDijkstraImageGeodesicPath ()
 Instantiate the class.
virtual double GetCurvatureWeight ()
 Curvature cost weight.
virtual double GetCurvatureWeightMaxValue ()
 Curvature cost weight.
virtual double GetCurvatureWeightMinValue ()
 Curvature cost weight.
virtual double GetEdgeLengthWeight ()
 Edge length cost weight.
virtual double GetImageWeight ()
 Image cost weight.
vtkImageData GetInputAsImageData ()
 Specify the image object which is used as a cost function.
override int IsA (string type)
 Standard methids for printing and determining type information.
new vtkDijkstraImageGeodesicPath NewInstance ()
 Standard methids for printing and determining type information.
virtual void SetCurvatureWeight (double _arg)
 Curvature cost weight.
void SetEdgeLengthWeight (double arg0)
 Edge length cost weight.
void SetImageWeight (double arg0)
 Image cost weight.
new void SetInput (vtkDataObject arg0)
 Specify the image object which is used as a cost function.

Static Public Member Functions

static new
vtkDijkstraImageGeodesicPath 
New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Standard methids for printing and determining type information.
static new
vtkDijkstraImageGeodesicPath 
SafeDownCast (vtkObjectBase o)
 Standard methids for printing and determining type information.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkDijkstraImageGeodesicPath"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "28vtkDijkstraImageGeodesicPath"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkDijkstraImageGeodesicPath_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkDijkstraImageGeodesicPath_GetCurvatureWeight_01 (HandleRef pThis)
static internal double vtkDijkstraImageGeodesicPath_GetCurvatureWeightMaxValue_02 (HandleRef pThis)
static internal double vtkDijkstraImageGeodesicPath_GetCurvatureWeightMinValue_03 (HandleRef pThis)
static internal double vtkDijkstraImageGeodesicPath_GetEdgeLengthWeight_04 (HandleRef pThis)
static internal double vtkDijkstraImageGeodesicPath_GetImageWeight_05 (HandleRef pThis)
static internal IntPtr vtkDijkstraImageGeodesicPath_GetInputAsImageData_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDijkstraImageGeodesicPath_IsA_07 (HandleRef pThis, string type)
static internal int vtkDijkstraImageGeodesicPath_IsTypeOf_08 (string type)
static internal IntPtr vtkDijkstraImageGeodesicPath_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkDijkstraImageGeodesicPath_SafeDownCast_11 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDijkstraImageGeodesicPath_SetCurvatureWeight_12 (HandleRef pThis, double _arg)
static internal void vtkDijkstraImageGeodesicPath_SetEdgeLengthWeight_13 (HandleRef pThis, double arg0)
static internal void vtkDijkstraImageGeodesicPath_SetImageWeight_14 (HandleRef pThis, double arg0)
static internal void vtkDijkstraImageGeodesicPath_SetInput_15 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkDijkstraImageGeodesicPath ()
 Automatically generated type registration mechanics.

Detailed Description

vtkDijkstraImageGeodesicPath - Dijkstra algorithm to compute the graph geodesic.

Description Takes as input a polyline and an image representing a 2D cost function and performs a single source shortest path calculation. Dijkstra's algorithm is used. The implementation is similar to the one described in Introduction to Algorithms (Second Edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Cliff Stein, published by MIT Press and McGraw-Hill. Some minor enhancement are added though. All vertices are not pushed on the heap at start, instead a front set is maintained. The heap is implemented as a binary heap. The output of the filter is a set of lines describing the shortest path from StartVertex to EndVertex. See parent class vtkDijkstraGraphGeodesicPath for the implementation.

Caveats The input cost image must have only VTK_PIXEL cells: i.e., a 2D image or slice of a 3D volume. A cost function for a gray scale image might be generated by the following pipeline: vtkImageData->vtkImageGradientMagnitude->vtkImageShiftScale wherein the gradient magnitude image is inverted so that strong edges have low cost value. Costs in moving from a vertex v to a vertex u are calculated using a weighted additive sheme: cost = Iw*f(I) + Ew*f(u,v) + Cw*f(t,u,v) where Iw is the weight associated with f(I): the normalized image cost, Ew is the weight associated with f(u,v): the normalized distance between vertices u and v, and Cw is the weight associated with f(t,u,v): the normalized curvature calculated from the vertex t which precedes vertex u, and vertices u and v. All weights range from 0 to 1.

Thanks The class was contributed by Dean Inglis.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Instantiate the class.


Member Function Documentation

override void Kitware.VTK.vtkDijkstraImageGeodesicPath.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

Curvature cost weight.

Curvature cost weight.

Curvature cost weight.

Edge length cost weight.

Image cost weight.

Specify the image object which is used as a cost function.

Here is the call graph for this function:

override int Kitware.VTK.vtkDijkstraImageGeodesicPath.IsA ( string  type) [virtual]

Standard methids for printing and determining type information.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

static new int Kitware.VTK.vtkDijkstraImageGeodesicPath.IsTypeOf ( string  type) [static]

Standard methids for printing and determining type information.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

Standard methids for printing and determining type information.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

Standard methids for printing and determining type information.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkDijkstraImageGeodesicPath.SetCurvatureWeight ( double  _arg) [virtual]

Curvature cost weight.

Edge length cost weight.

Image cost weight.

Specify the image object which is used as a cost function.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

static internal IntPtr Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_GetInputAsImageData_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_IsA_07 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_NewInstance_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_SafeDownCast_11 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_SetCurvatureWeight_12 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_SetEdgeLengthWeight_13 ( HandleRef  pThis,
double  arg0 
) [private]
static internal void Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_SetImageWeight_14 ( HandleRef  pThis,
double  arg0 
) [private]
static internal void Kitware.VTK.vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_SetInput_15 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkDijkstraImageGeodesicPath.MRClassNameKey = "28vtkDijkstraImageGeodesicPath" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.

new const string Kitware.VTK.vtkDijkstraImageGeodesicPath.MRFullTypeName = "Kitware.VTK.vtkDijkstraImageGeodesicPath"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDijkstraGraphGeodesicPath.


The documentation for this class was generated from the following file: