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 198 virtual void Initialize(LevelSetImageType *) ITK_OVERRIDE;
203 const SpeedImageType *, LevelSetImageType *) ITK_OVERRIDE;
206 const LevelSetImageType *output,
207 const LabelImageType *labelImage,
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
~FastMarchingUpwindGradientImageFilter()
NodeContainerPointer m_ReachedTargetPoints
GradientImagePointer m_GradientImage
Superclass::NodeContainerPointer NodeContainerPointer
LevelSetImageType::IndexType LevelSetIndexType
FastMarchingUpwindGradientImageFilter()
Superclass::IndexType IndexType
TSpeedImage SpeedImageType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SizeValueType m_NumberOfTargets
FastMarchingUpwindGradientImageFilter Self
Superclass::PixelType PixelType
unsigned long SizeValueType
void PrintSelf(std::ostream &os, Indent indent) const override
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)
void operator=(const Self &) ITK_DELETE_FUNCTION
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
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.
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)