18 #ifndef itkKLMSegmentationBorder_h
19 #define itkKLMSegmentationBorder_h
24 #include "ITKKLMRegionGrowingExport.h"
26 #include "vnl/vnl_vector.h"
42 template <
typename TBorder>
70 const double v1 = std::max(static_cast<double>(
m_Pointer->GetRegion1()->GetRegionBorderSize()),
71 static_cast<double>(
m_Pointer->GetRegion2()->GetRegionBorderSize()));
74 const double v2 = std::max(static_cast<double>(rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize()),
75 static_cast<double>(rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize()));
100 double v1 = std::max(static_cast<double>(
m_Pointer->GetRegion1()->GetRegionBorderSize()),
101 static_cast<double>(
m_Pointer->GetRegion2()->GetRegionBorderSize()));
103 double v2 = std::max(static_cast<double>(rhs->
m_Pointer->GetRegion1()->GetRegionBorderSize()),
104 static_cast<double>(rhs->
m_Pointer->GetRegion2()->GetRegionBorderSize()));
173 itkSetMacro(Lambda,
double);
174 itkGetConstReferenceMacro(Lambda,
double);
194 PrintSelf(std::ostream & os,
Indent indent)
const override;