18 #ifndef itkKLMSegmentationBorder_h
19 #define itkKLMSegmentationBorder_h
24 #include "ITKKLMRegionGrowingExport.h"
26 #include "vnl/vnl_math.h"
27 #include "vnl/vnl_vector.h"
43 template<
typename TBorder >
70 double v1 = vnl_math_max(
71 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
72 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
75 double v2 = vnl_math_max(
76 static_cast< double >( rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
77 static_cast< double >( rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
101 double v1 = vnl_math_max(
102 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
103 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
105 double v2 = vnl_math_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.
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.