18 #ifndef __itkKLMSegmentationBorder_h
19 #define __itkKLMSegmentationBorder_h
25 #include "vnl/vnl_math.h"
26 #include "vnl/vnl_vector.h"
41 template<
class TBorder >
68 double v1 = vnl_math_max(
69 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
70 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
73 double v2 = vnl_math_max(
74 static_cast< double >( rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
75 static_cast< double >( rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
99 double v1 = vnl_math_max(
100 static_cast< double >(
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
101 static_cast< double >(
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
103 double v2 = vnl_math_max(
104 static_cast< double >( rhs->
m_Pointer->GetRegion1()->GetRegionBorderSize() ),
105 static_cast< double >( rhs->
m_Pointer->GetRegion2()->GetRegionBorderSize() ) );
166 itkSetMacro(Lambda,
double);
167 itkGetConstReferenceMacro(Lambda,
double);
171 void EvaluateLambda();
174 void PrintBorderInfo();
184 void PrintSelf(std::ostream & os,
Indent indent)
const;
188 void operator=(
const Self &);