18#ifndef itkAnnulusOperator_h
19#define itkAnnulusOperator_h
71template <
typename TPixel,
unsigned int TDimension = 2,
typename TAllocator = NeighborhoodAllocator<TPixel>>
103 return m_InnerRadius;
151 this->SetNormalize(
true);
156 this->SetNormalize(
false);
170 return m_BrightCenter;
175 this->SetBrightCenter(
true);
180 this->SetBrightCenter(
false);
196 return m_InteriorValue;
206 return m_AnnulusValue;
216 return m_ExteriorValue;
223 Superclass::PrintSelf(os, indent);
225 os << indent <<
"InnerRadius: " << m_InnerRadius << std::endl;
226 os << indent <<
"Thickness: " << m_Thickness << std::endl;
227 os << indent <<
"Normalize: " << m_Normalize << std::endl;
228 os << indent <<
"BrightCenter: " << m_BrightCenter << std::endl;
240 using typename Superclass::CoefficientVector;
251 double m_InnerRadius{ 1.0 };
252 double m_Thickness{ 1.0 };
253 bool m_Normalize{
false };
254 bool m_BrightCenter{
false };
262#ifndef ITK_MANUAL_INSTANTIATION
263# include "itkAnnulusOperator.hxx"
A NeighborhoodOperator for performing a matched filtering with an annulus (two concentric circles,...
const SpacingType & GetSpacing() const
double GetThickness() const
void PrintSelf(std::ostream &os, Indent indent) const override
void SetSpacing(SpacingType &s)
CoefficientVector GenerateCoefficients() override
TPixel GetInteriorValue() const
void SetExteriorValue(TPixel v)
void Fill(const CoefficientVector &coeff) override
void SetNormalize(bool b)
bool GetNormalize() const
TPixel GetAnnulusValue() const
void SetInnerRadius(double r)
void SetAnnulusValue(TPixel v)
void SetInteriorValue(TPixel v)
TPixel GetExteriorValue() const
double GetInnerRadius() const
typename std::vector< PixelRealType > CoefficientVector
void SetThickness(double t)
bool GetBrightCenter() const
void SetBrightCenter(bool b)
Control indentation during Print() invocation.
Virtual class that defines a common interface to all neighborhood operator subtypes.
Define additional traits for native types such as int or float.
A templated class holding a n-Dimensional vector.
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....