18 #ifndef itkKLMSegmentationBorder_h 19 #define itkKLMSegmentationBorder_h 24 #include "ITKKLMRegionGrowingExport.h" 27 #include "vnl/vnl_vector.h" 43 template<
typename TBorder >
71 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
72 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
76 static_cast< double >( rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
77 static_cast< double >( rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
101 double v1 = std::max(
102 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
103 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
105 double v2 = std::max(
106 static_cast< double >( rhs->
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
107 static_cast< double >( rhs->
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
168 itkSetMacro(Lambda,
double);
169 itkGetConstReferenceMacro(Lambda,
double);
173 void EvaluateLambda();
176 void PrintBorderInfo();
186 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
190 void operator=(const Self &) ITK_DELETE_FUNCTION;
Base class for KLMSegmentationRegion object.
SegmentationBorder Superclass
bool operator>(const KLMDynamicBorderArray< TBorder > &rhs) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< const Self > ConstPointer
bool ExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Return the result of an exact comparison between two scalar values of potetially different types...
bool operator>(const KLMDynamicBorderArray< TBorder > *rhs) const
SmartPointer< Self > Pointer
Base class for KLMSegmentationBorder object.
KLMSegmentationBorder Self
Control indentation during Print() invocation.
Base class for SegmentationBorder object.
Object maintaining a reference to a list of borders associated with a region.