ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpeedFunctionToPathFilter.h>
Extracts a path from a speed function between a start point and end point, which also passes near the given way points.
This filter propagates a number of Fast Marching fronts using the given speed image to facilitate the path extraction. For each end- and way-point, a Fast Marching arrival function is computed. The minimal path is extracted for each segment and concatenated to obtain the total path between the start- and end-points, while passing near the given way-points.
The user must provide the following:
A cost function optimizer may also be provided. If an optimizer is not given, a RegularStepGradientDescentOptimizer is created with default settings. Other suitable optimizers include GradientDescentOptimizer and IterateNeighborhoodOptimizer. See itkArrivalFunctionToPathFilter.h for more details.
This filter is based on the methods described in: [1] J. Sethian. Level Set Methods and Fast Marching Methods, chapter 20. Cambridge Press, 2nd edition, 1999. [2] J. Andrews and J. Sethian. Fast marching methods for the continuous traveling salesman problem. Proceedings of the National Academy of Sciences (PNAS), 104(4):1118 1123, 2007.
Definition at line 66 of file itkSpeedFunctionToPathFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PathSource< TOutputPath > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath > | |
static const unsigned int | InputImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageToPathFilter< TInputImage, TOutputPath > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
Protected Attributes | |
InputImagePointer | m_CurrentArrivalFunction |
std::vector< typename PathInformationType::Pointer > | m_Information |
Protected Attributes inherited from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath > | |
CostFunctionType::Pointer | m_CostFunction |
unsigned int | m_CurrentOutput |
OptimizerType::Pointer | m_Optimizer |
std::vector< PointType > | m_PointList |
OptimizerType::MeasureType | m_TerminationValue |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::ConstPointer |
Definition at line 74 of file itkSpeedFunctionToPathFilter.h.
typedef Superclass::ContinuousIndexType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::ContinuousIndexType |
Some convenient typedefs.
Definition at line 99 of file itkSpeedFunctionToPathFilter.h.
typedef Superclass::CostFunctionType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::CostFunctionType |
Definition at line 102 of file itkSpeedFunctionToPathFilter.h.
typedef Superclass::IndexType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::IndexType |
Definition at line 100 of file itkSpeedFunctionToPathFilter.h.
typedef InputImageType::ConstPointer itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::InputImageConstPointer |
Definition at line 89 of file itkSpeedFunctionToPathFilter.h.
typedef InputImageType::PixelType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::InputImagePixelType |
Definition at line 91 of file itkSpeedFunctionToPathFilter.h.
typedef InputImageType::Pointer itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::InputImagePointer |
Definition at line 88 of file itkSpeedFunctionToPathFilter.h.
typedef InputImageType::RegionType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::InputImageRegionType |
Definition at line 90 of file itkSpeedFunctionToPathFilter.h.
typedef TInputImage itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::InputImageType |
Some image typedefs.
Definition at line 87 of file itkSpeedFunctionToPathFilter.h.
typedef Superclass::OptimizerType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::OptimizerType |
Definition at line 103 of file itkSpeedFunctionToPathFilter.h.
typedef OutputPathType::ConstPointer itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::OutputPathConstPointer |
Definition at line 96 of file itkSpeedFunctionToPathFilter.h.
typedef OutputPathType::Pointer itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::OutputPathPointer |
Definition at line 95 of file itkSpeedFunctionToPathFilter.h.
typedef TOutputPath itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::OutputPathType |
Some path typedefs.
Definition at line 94 of file itkSpeedFunctionToPathFilter.h.
typedef SpeedFunctionPathInformation<PointType> itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::PathInformationType |
Path information typedef.
Definition at line 106 of file itkSpeedFunctionToPathFilter.h.
typedef SmartPointer<Self> itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::Pointer |
Definition at line 73 of file itkSpeedFunctionToPathFilter.h.
typedef Superclass::PointType itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::PointType |
Definition at line 101 of file itkSpeedFunctionToPathFilter.h.
typedef SpeedFunctionToPathFilter itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::Self |
Standard class typedefs.
Definition at line 71 of file itkSpeedFunctionToPathFilter.h.
typedef ArrivalFunctionToPathFilter<TInputImage,TOutputPath> itk::SpeedFunctionToPathFilter< TInputImage, TOutputPath >::Superclass |
Definition at line 72 of file itkSpeedFunctionToPathFilter.h.
|
protected |
|
protected |
|
inlineoverridevirtual |
Override superclass behaviour. Warning: AddPathEndPoint() is not valid for this filter. This method is provided by the superclass, however it is not used by this subclass. Use AddPathInfo() instead.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
Definition at line 121 of file itkSpeedFunctionToPathFilter.h.
|
inline |
Add a path information object to process. At least one PathInfo object must be added before processing.
Definition at line 137 of file itkSpeedFunctionToPathFilter.h.
|
inlineoverridevirtual |
Override superclass behaviour. Warning: ClearPathEndPoints() is not valid for this filter. This method is provided by the superclass, however it is not used by this subclass. Use ClearPathInfo() instead.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
Definition at line 130 of file itkSpeedFunctionToPathFilter.h.
|
inline |
Clear the list of path information objects.
Definition at line 143 of file itkSpeedFunctionToPathFilter.h.
|
overrideprotectedvirtual |
Compute the arrival function from which to extract the path.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
overridevirtual |
Handle optimizer iteration events.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
overrideprotectedvirtual |
Implemention of algorithm.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
overrideprotectedvirtual |
Override handling of optimizer iteration events to accomodate way points.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
overrideprotectedvirtual |
Get the number of paths which the user has instructed to extracted.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
|
inlineoverridevirtual |
Override superclass behaviour. Warning: SetPathEndPoint() is not valid for this filter. This method is provided by the superclass, however it is not used by this subclass. Use AddPathInfo() instead.
Reimplemented from itk::ArrivalFunctionToPathFilter< TInputImage, TOutputPath >.
Definition at line 112 of file itkSpeedFunctionToPathFilter.h.
|
static |
ImageDimension constants
Definition at line 84 of file itkSpeedFunctionToPathFilter.h.
|
protected |
Definition at line 169 of file itkSpeedFunctionToPathFilter.h.
|
protected |
Definition at line 168 of file itkSpeedFunctionToPathFilter.h.