18 #ifndef itkImplicitManifoldNormalVectorFilter_h
19 #define itkImplicitManifoldNormalVectorFilter_h
72 template<
typename TInputImage,
typename TSparseOutputImage >
96 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
117 using RadiusType =
typename FiniteDifferenceFunctionType::RadiusType;
122 itkSetMacro(MaxIteration,
unsigned int);
123 itkGetConstMacro(MaxIteration,
unsigned int);
130 itkSetMacro(UnsharpMaskingFlag,
bool);
131 itkGetConstMacro(UnsharpMaskingFlag,
bool);
138 void PrintSelf(std::ostream & os,
Indent indent)
const override;
141 void Initialize()
override;
144 void SetNormalBand();
159 if ( this->GetElapsedIterations() == m_MaxIteration )
174 return ( data / ( m_MinVectorNorm + data.GetNorm() ) );
180 void PostProcessOutput()
override;
204 unsigned long m_Indicator[Self::ImageDimension];
212 #ifndef ITK_MANUAL_INSTANTIATION
213 #include "itkImplicitManifoldNormalVectorFilter.hxx"
unsigned int m_MaxIteration
NormalFunctionType * m_NormalFunction
Light weight base class for most itk classes.
typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
This class defines the common functionality for Sparse Image neighborhoods of unit vectors...
This class implements the filter for computing the normal vectors from a scalar implicit function (i...
typename Superclass::NodeDataType NormalVectorType
NodeValueType m_UnsharpMaskingWeight
bool m_UnsharpMaskingFlag
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
RadiusType m_ManifoldRadius
NodeValueType m_IsoLevelLow
NormalVectorType DataConstraint(const NormalVectorType &data) const override
typename Superclass::IndexType IndexType
void CopyInputToOutput() override
NodeValueType m_DimConst2
typename Superclass::NodeListType NodeListType
ImageBaseType::IndexType IndexType
This class implements a multi-threaded base class for Image to SparseImage finite difference processe...
typename Superclass::SparseOutputImageType SparseOutputImageType
Control indentation during Print() invocation.
typename Superclass::NodeValueType NodeValueType
typename Superclass::OutputNodeType NormalBandNodeType
typename Superclass::InputImageType InputImageType
NodeValueType m_MinVectorNorm
typename FiniteDifferenceFunctionType::RadiusType RadiusType