18 #ifndef itkKLMSegmentationBorder_h
19 #define itkKLMSegmentationBorder_h
24 #include "ITKKLMRegionGrowingExport.h"
26 #include "vnl/vnl_math.h"
27 #include "vnl/vnl_vector.h"
42 template<
typename TBorder >
69 double v1 = vnl_math_max(
70 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
71 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
74 double v2 = vnl_math_max(
75 static_cast< double >( rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
76 static_cast< double >( rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
100 double v1 = vnl_math_max(
101 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
102 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
104 double v2 = vnl_math_max(
105 static_cast< double >( rhs->
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
106 static_cast< double >( rhs->
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
167 itkSetMacro(Lambda,
double);
168 itkGetConstReferenceMacro(Lambda,
double);
172 void EvaluateLambda();
175 void PrintBorderInfo();
185 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
189 void operator=(
const Self &);
Base class for KLMSegmentationRegion object.
Light weight base class for most itk classes.
SegmentationBorder Superclass
KLMSegmentationRegion * m_Region1
bool operator>(const KLMDynamicBorderArray< TBorder > &rhs) const
SmartPointer< const Self > ConstPointer
bool operator>(const KLMDynamicBorderArray< TBorder > *rhs) const
SmartPointer< Self > Pointer
KLMSegmentationRegion * m_Region2
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.