|
ITK
5.2.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>>
102 return m_InnerRadius;
150 this->SetNormalize(
true);
155 this->SetNormalize(
false);
169 return m_BrightCenter;
174 this->SetBrightCenter(
true);
179 this->SetBrightCenter(
false);
195 return m_InteriorValue;
205 return m_AnnulusValue;
215 return m_ExteriorValue;
223 os << i <<
"AnnulusOperator { this=" <<
this <<
", m_InnerRadius = " << m_InnerRadius
224 <<
", m_Thickness = " << m_Thickness <<
", m_Spacing = " << m_Spacing <<
", m_Normalize = " << m_Normalize
225 <<
", m_BrightCenter = " << m_BrightCenter <<
", m_InteriorValue = " << m_InteriorValue
226 <<
", m_ExteriorValue = " << m_ExteriorValue <<
"}" << std::endl;
239 GenerateCoefficients()
override;
246 double m_InnerRadius{ 1.0 };
247 double m_Thickness{ 1.0 };
248 bool m_Normalize{
false };
249 bool m_BrightCenter{
false };
257 #ifndef ITK_MANUAL_INSTANTIATION
258 # include "itkAnnulusOperator.hxx"
Indent GetNextIndent() const
typename Superclass::PixelType PixelType
Virtual class that defines a common interface to all neighborhood operator subtypes.
typename Superclass::OffsetType OffsetType
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
typename Superclass::CoefficientVector CoefficientVector
Control indentation during Print() invocation.
typename Superclass::SizeType SizeType
void SetBrightCenter(bool b)
void SetInnerRadius(double r)
bool GetNormalize() const
TPixel GetInteriorValue() const
void SetNormalize(bool b)
void SetExteriorValue(TPixel v)
void PrintSelf(std::ostream &os, Indent i) const override
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 SetAnnulusValue(TPixel v)
std::vector< PixelRealType > CoefficientVector