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