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() ) );
171 itkSetMacro(Lambda,
double);
172 itkGetConstReferenceMacro(Lambda,
double);
176 void EvaluateLambda();
179 void PrintBorderInfo();
189 void PrintSelf(std::ostream & os,
Indent indent)
const override;
Base class for KLMSegmentationRegion object.
Light weight base class for most itk classes.
KLMSegmentationRegion * m_Region1
bool operator>(const KLMDynamicBorderArray< TBorder > &rhs) const
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
KLMSegmentationRegion * m_Region2
Base class for KLMSegmentationBorder object.
Control indentation during Print() invocation.
Base class for SegmentationBorder object.
Object maintaining a reference to a list of borders associated with a region.
class ITK_FORWARD_EXPORT KLMSegmentationBorder