17 #ifndef itkArrivalFunctionToPathFilter_h
18 #define itkArrivalFunctionToPathFilter_h
41 template <
class TFilter>
72 if( ! itk::IterationEvent().CheckEvent( &event ) )
142 template <
class TInputImage,
175 static constexpr
unsigned int InputImageDimension = InputImageType::ImageDimension;
201 virtual void SetPathEndPoint(
const PointType & point );
204 virtual void AddPathEndPoint(
const PointType & point );
207 virtual void ClearPathEndPoints();
222 void PrintSelf(std::ostream& os,
Indent indent)
const override;
225 void GenerateInputRequestedRegion()
override;
228 void GenerateData(
void)
override;
231 virtual unsigned int GetNumberOfPathsToExtract( )
const;
249 #ifndef ITK_MANUAL_INSTANTIATION
250 #include "itkArrivalFunctionToPathFilter.hxx"
This class is a cost function which queries an underlying image for the single value.
OptimizerType::Pointer m_Optimizer
TInputImage InputImageType
Represent a path of line segments through ND Space.
Light weight base class for most itk classes.
typename OutputPathType::ConstPointer OutputPathConstPointer
void Execute(itk::Object *caller, const itk::EventObject &event) override
Represent a n-dimensional index in a n-dimensional image.
Extracts a path from a Fast Marching arrival function.
A command to listen for Optimizer Iteration events.
typename InputImageType::Pointer InputImagePointer
typename OutputPathType::Pointer OutputPathPointer
This class is a base for the Optimization methods that optimize a single valued function.
CostFunctionType::Pointer m_CostFunction
Base class for filters that take an image as input and produce an path as output. ...
Implement a gradient descent optimizer.
~ArrivalFunctionToPathCommand() override
std::vector< PointType > PointsContainerType
TOutputPath OutputPathType
typename InputImageType::PixelType InputImagePixelType
Generic representation for an optimization method.
int Execute(int argc, char *argv[])
typename InputImageType::RegionType InputImageRegionType
Abstraction of the Events used to communicating among filters and with GUIs.
OptimizerType::MeasureType m_TerminationValue
FilterType::Pointer m_Filter
A templated class holding a point in n-Dimensional image space.
typename InputImageType::ConstPointer InputImageConstPointer
ArrivalFunctionToPathCommand()
CostFunctionType::MeasureType MeasureType
Control indentation during Print() invocation.
class ITK_FORWARD_EXPORT Command
Base class for most ITK classes.
ImageBaseType::RegionType RegionType
A templated class holding a geometric point in n-Dimensional space.
Superclass for callback/observer methods.
void Execute(const itk::Object *object, const itk::EventObject &event) override
std::vector< PointsContainerType > m_PointList
unsigned int m_CurrentOutput