Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef __itkShortestPathCostFunction_h
13 #define __itkShortestPathCostFunction_h
15 #include "itkObject.h"
16 #include "itkObjectFactory.h"
17 #include "itkShapedNeighborhoodIterator.h"
22 template <
class TInputImageType>
42 typedef typename TInputImageType::PixelType
PixelType;
43 typedef typename TInputImageType::IndexType
IndexType;
46 itkSetConstObjectMacro(
Image, TInputImageType);
66 void PrintSelf(std::ostream &os, Indent indent)
const override;
72 void operator=(
const Self &);
77 #include "itkShortestPathCostFunction.txx"
ShortestPathCostFunction Self
ShapedNeighborhoodIterator< TInputImageType > ShapedNeighborhoodIteratorType
SmartPointer< Self > Pointer
virtual void Initialize()=0
void PrintSelf(std::ostream &os, Indent indent) const override
virtual double GetCost(IndexType p1, IndexType p2)=0
~ShortestPathCostFunction() override
void SetStartIndex(const IndexType &index)
TInputImageType ImageType
virtual double GetMinCost()=0
TInputImageType::PixelType PixelType
ImageConstPointer m_Image
TInputImageType::IndexType IndexType
TInputImageType::ConstPointer ImageConstPointer
ShortestPathCostFunction()
void SetEndIndex(const IndexType &index)
TInputImageType::Pointer ImagePointer
SmartPointer< const Self > ConstPointer