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() ) );
169 itkSetMacro(Lambda,
double);
170 itkGetConstReferenceMacro(Lambda,
double);
174 void EvaluateLambda();
177 void PrintBorderInfo();
187 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
Base class for KLMSegmentationRegion object.
Light weight base class for most itk classes.
SegmentationBorder Superclass
bool operator>(const KLMDynamicBorderArray< TBorder > &rhs) const
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.
class ITK_FORWARD_EXPORT KLMSegmentationBorder