ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFastMarchingUpwindGradientImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | SetDimension = Superclass::SetDimension |
Static Public Attributes inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage > | |
static const unsigned int | SpeedImageDimension = SpeedImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TLevelSet > |
Private Member Functions | |
FastMarchingUpwindGradientImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_GenerateGradientImage |
GradientImagePointer | m_GradientImage |
SizeValueType | m_NumberOfTargets |
NodeContainerPointer | m_ReachedTargetPoints |
double | m_TargetOffset |
NodeContainerPointer | m_TargetPoints |
int | m_TargetReachedMode |
double | m_TargetValue |
Additional Inherited Members | |
Protected Types inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage > | |
Protected Types inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Protected Attributes inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage > | |
OutputRegionType | m_BufferedRegion |
LevelSetIndexType | m_LastIndex |
LevelSetIndexType | m_StartIndex |
Generates the upwind gradient field of fast marching arrival times.
This filter adds some extra functionality to its base class. While the solution T(x) of the Eikonal equation is being generated by the base class with the fast marching method, the filter generates the upwind gradient vectors of T(x), storing them in an image.
Since the Eikonal equation generates the arrival times of a wave travelling at a given speed, the generated gradient vectors can be interpreted as the slowness (1/velocity) vectors of the front (the quantity inside the modulus operator in the Eikonal equation).
Gradient vectors are computed using upwind finite differences, that is, information only propagates from points where the wavefront has already passed. This is consistent with how the fast marching method works.
One more extra feature is the possibility to define a set of Target points where the propagation stops. This can be used to avoid computing the Eikonal solution for the whole domain. The front can be stopped either when one Target point is reached or all Target points are reached. The propagation can stop after a time TargetOffset has passed since the stop condition is met. This way the solution is computed a bit downstream the Target points, so that the level sets of T(x) corresponding to the Target are smooth.
Definition at line 61 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::AxisNodeType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::AxisNodeType |
Definition at line 85 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef SmartPointer< const Self > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::ConstPointer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 69 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef GradientImageType::Pointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientImagePointer |
GradientImagePointer typedef support.
Definition at line 126 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Image< GradientPixelType, itkGetStaticConstMacro(SetDimension) > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientImageType |
GradientImage typedef support.
Definition at line 123 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef CovariantVector< PixelType, itkGetStaticConstMacro(SetDimension) > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientPixelType |
GradientPixel typedef support.
Definition at line 119 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::IndexType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::IndexType |
Index typedef support.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 90 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::LabelImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LabelImageType |
LabelImage typedef support.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 83 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::LevelSetImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetImageType |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 80 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::LevelSetIndexType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetIndexType |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 92 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::LevelSetPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetPointer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 81 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::LevelSetType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetType |
Inherited typedefs.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 75 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::NodeContainer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeContainer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 87 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeContainerPointer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 88 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::NodeType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeType |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 86 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::OutputSpacingType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::OutputSpacingType |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 91 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::PixelType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::PixelType |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 84 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef SmartPointer< Self > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Pointer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 68 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::OutputPointType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::PointType |
Definition at line 94 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef FastMarchingUpwindGradientImageFilter itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Self |
Standard class typdedefs.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 66 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::SpeedImageConstPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SpeedImageConstPointer |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 82 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef Superclass::SpeedImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SpeedImageType |
SpeedImage typedef support.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 79 of file itkFastMarchingUpwindGradientImageFilter.h.
typedef FastMarchingImageFilter< TLevelSet, TSpeedImage > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Superclass |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 67 of file itkFastMarchingUpwindGradientImageFilter.h.
anonymous enum |
Definition at line 177 of file itkFastMarchingUpwindGradientImageFilter.h.
|
protected |
End concept checking
|
inlineprotected |
End concept checking
Definition at line 195 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
|
protectedvirtual |
|
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::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
protectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
virtual |
Get the GenerateGradientImage flag.
|
virtual |
Get the GenerateGradientImage flag.
|
virtual |
Get the GenerateGradientImage flag.
|
inline |
Get the gradient image.
Definition at line 129 of file itkFastMarchingUpwindGradientImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
virtual |
Get the number of targets.
|
inline |
Get the container of Reached Target Points.
Definition at line 114 of file itkFastMarchingUpwindGradientImageFilter.h.
|
virtual |
Get the TargetOffset ivar.
|
inline |
Get the container of Target Points.
Definition at line 110 of file itkFastMarchingUpwindGradientImageFilter.h.
|
virtual |
Choose whether the front must stop when the first target has been reached or all targets have been reached.
|
virtual |
Get the arrival time corresponding to the last reached target. If TargetReachedMode is set to NoTargets, TargetValue contains the last (aka largest) Eikonal solution value generated.
|
protectedvirtual |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
virtual |
Set the GenerateGradientImage flag. Instrument the algorithm to generate the gradient of the Eikonal equation solution while fast marching.
|
virtual |
Set how long (in terms of arrival times) after targets are reached the front must stop. This is useful to ensure that the level set of target arrival time is smooth.
|
inline |
Set the container of Target Points. If a target point is reached, the propagation stops. Trial points are represented as a VectorContainer of LevelSetNodes.
Definition at line 102 of file itkFastMarchingUpwindGradientImageFilter.h.
|
virtual |
Choose whether the front must stop when the first target has been reached or all targets have been reached.
|
inline |
Definition at line 165 of file itkFastMarchingUpwindGradientImageFilter.h.
|
inline |
Choose whether the front must stop when the first target has been reached or all targets have been reached.
Definition at line 154 of file itkFastMarchingUpwindGradientImageFilter.h.
|
inline |
Choose whether the front must stop when the first target has been reached or all targets have been reached.
Definition at line 156 of file itkFastMarchingUpwindGradientImageFilter.h.
|
inline |
Choose whether the front must stop when the first target has been reached or all targets have been reached.
Definition at line 158 of file itkFastMarchingUpwindGradientImageFilter.h.
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::typedef | ( | Concept::DivisionOperators< typename TLevelSet::PixelType, double > | ) |
Begin concept checking This class requires LevelSetDoubleDivisionOperatorsCheck in the form of ( Concept::DivisionOperators< typename TLevelSet::PixelType, double > )
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::typedef | ( | Concept::DivisionAndAssignOperators< typename TLevelSet::PixelType, double > | ) |
This class requires LevelSetDoubleDivisionAndAssignOperatorsCheck in the form of ( Concept::DivisionAndAssignOperators< typename TLevelSet::PixelType, double > )
|
protectedvirtual |
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
|
private |
Definition at line 222 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 220 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 230 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 218 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 224 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 217 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 226 of file itkFastMarchingUpwindGradientImageFilter.h.
|
private |
Definition at line 228 of file itkFastMarchingUpwindGradientImageFilter.h.
|
static |
The dimension of the level set.
Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.
Definition at line 97 of file itkFastMarchingUpwindGradientImageFilter.h.