|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkAnnulusOperator_h
19 #define itkAnnulusOperator_h
71 template <
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;
244 GenerateCoefficients()
override;
248 Fill(
const CoefficientVector & coeff)
override;
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"
Virtual class that defines a common interface to all neighborhood operator subtypes.
A NeighborhoodOperator for performing a matched filtering with an annulus (two concentric circles,...
void SetSpacing(SpacingType &s)
TPixel GetAnnulusValue() const
ImageBaseType::SizeType SizeType
double GetInnerRadius() const
bool GetBrightCenter() const
Control indentation during Print() invocation.
void SetBrightCenter(bool b)
void SetInnerRadius(double r)
bool GetNormalize() const
TPixel GetInteriorValue() const
void SetNormalize(bool b)
void SetExteriorValue(TPixel v)
Define additional traits for native types such as int or float.
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.
double GetThickness() const
void SetThickness(double t)
const SpacingType & GetSpacing() const
TPixel GetExteriorValue() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void SetInteriorValue(TPixel v)
void PrintSelf(std::ostream &os, Indent indent) const override
void SetAnnulusValue(TPixel v)