18 #ifndef itkFastMarchingUpwindGradientImageFilter_h
19 #define itkFastMarchingUpwindGradientImageFilter_h
60 typename TSpeedImage = Image< float, TLevelSet ::ImageDimension > >
134 itkSetMacro(GenerateGradientImage,
bool);
137 itkGetConstReferenceMacro(GenerateGradientImage,
bool);
138 itkBooleanMacro(GenerateGradientImage);
144 itkSetMacro(TargetOffset,
double);
147 itkGetConstReferenceMacro(TargetOffset,
double);
152 itkSetMacro(TargetReachedMode,
int);
153 itkGetConstReferenceMacro(TargetReachedMode,
int);
175 itkGetConstReferenceMacro(TargetValue,
double);
184 #ifdef ITK_USE_CONCEPT_CHECKING
212 void operator=(const
Self &) ITK_DELETE_FUNCTION;
231 #ifndef ITK_MANUAL_INSTANTIATION
232 #include "itkFastMarchingUpwindGradientImageFilter.hxx"
NodeContainerPointer m_TargetPoints
LevelSetType::PixelType PixelType
SpeedImageType::ConstPointer SpeedImageConstPointer
void SetTargetReachedModeToNoTargets()
Superclass::AxisNodeType AxisNodeType
FastMarchingImageFilter< TLevelSet, TSpeedImage > Superclass
Light weight base class for most itk classes.
~FastMarchingUpwindGradientImageFilter()
NodeContainerPointer m_ReachedTargetPoints
GradientImagePointer m_GradientImage
Superclass::NodeContainerPointer NodeContainerPointer
LevelSetImageType::IndexType LevelSetIndexType
FastMarchingUpwindGradientImageFilter()
Superclass::IndexType IndexType
TSpeedImage SpeedImageType
SizeValueType m_NumberOfTargets
FastMarchingUpwindGradientImageFilter Self
Superclass::PixelType PixelType
unsigned long SizeValueType
Superclass::LevelSetIndexType LevelSetIndexType
NodeContainerPointer GetTargetPoints()
Superclass::LevelSetImageType LevelSetImageType
virtual void Initialize(LevelSetImageType *) override
void SetTargetReachedModeToSomeTargets(SizeValueType numberOfTargets)
Superclass::NodeContainer NodeContainer
SmartPointer< const Self > ConstPointer
LevelSetImageType::SpacingType OutputSpacingType
Image< GradientPixelType, itkGetStaticConstMacro(SetDimension) > GradientImageType
bool m_GenerateGradientImage
Image< unsigned char, itkGetStaticConstMacro(SetDimension) > LabelImageType
Superclass::LabelImageType LabelImageType
Superclass::OutputPointType PointType
virtual void ComputeGradient(const IndexType &index, const LevelSetImageType *output, const LabelImageType *labelImage, GradientImageType *gradientImage)
Superclass::LevelSetPointer LevelSetPointer
LevelSetTypeDefault< TLevelSet > LevelSetType
LevelSetType::NodeContainer NodeContainer
void SetTargetReachedModeToOneTarget()
GradientImageType::Pointer GradientImagePointer
virtual void Modified() const
Generates the upwind gradient field of fast marching arrival times.
void SetTargetReachedModeToAllTargets()
LevelSetType::LevelSetPointer LevelSetPointer
CovariantVector< PixelType, itkGetStaticConstMacro(SetDimension) > GradientPixelType
Superclass::SpeedImageConstPointer SpeedImageConstPointer
Superclass::OutputSpacingType OutputSpacingType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
LevelSetType::LevelSetImageType LevelSetImageType
Superclass::LevelSetType LevelSetType
static const unsigned int SetDimension
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
LevelSetImageType::PointType OutputPointType
Superclass::SpeedImageType SpeedImageType
NodeContainerPointer GetReachedTargetPoints()
Solve an Eikonal equation using Fast Marching.
LevelSetType::NodeType NodeType
void GenerateData() override
virtual void SetTargetReachedMode(int _arg)
#define itkConceptMacro(name, concept)
A templated class holding a n-Dimensional covariant vector.
void PrintSelf(std::ostream &os, Indent indent) const override
static const unsigned int SetDimension
Index< itkGetStaticConstMacro(SetDimension) > IndexType
GradientImagePointer GetGradientImage() const
virtual void UpdateNeighbors(const IndexType &index, const SpeedImageType *, LevelSetImageType *) override
Superclass::NodeType NodeType
Templated n-dimensional image class.
void SetTargetPoints(NodeContainer *points)