18#ifndef itkKLMSegmentationBorder_h
19#define itkKLMSegmentationBorder_h
24#include "ITKKLMRegionGrowingExport.h"
26#include "vnl/vnl_vector.h"
42template <
typename TBorder>
69 const double v1 = std::max(
static_cast<double>(
m_Pointer->GetRegion1()->GetRegionBorderSize()),
70 static_cast<double>(
m_Pointer->GetRegion2()->GetRegionBorderSize()));
72 const double v2 = std::max(
static_cast<double>(rhs.
m_Pointer->GetRegion1()->GetRegionBorderSize()),
73 static_cast<double>(rhs.
m_Pointer->GetRegion2()->GetRegionBorderSize()));
96 double v1 = std::max(
static_cast<double>(
m_Pointer->GetRegion1()->GetRegionBorderSize()),
97 static_cast<double>(
m_Pointer->GetRegion2()->GetRegionBorderSize()));
99 double v2 = std::max(
static_cast<double>(rhs->
m_Pointer->GetRegion1()->GetRegionBorderSize()),
100 static_cast<double>(rhs->
m_Pointer->GetRegion2()->GetRegionBorderSize()));
168 itkSetMacro(Lambda,
double);
169 itkGetConstReferenceMacro(Lambda,
double);
Control indentation during Print() invocation.
Object maintaining a reference to a list of borders associated with a region.
bool operator>(const KLMDynamicBorderArray< TBorder > *rhs) const
bool operator>(const KLMDynamicBorderArray< TBorder > &rhs) const
KLMSegmentationBorder Self
KLMSegmentationRegion * m_Region2
void SetRegion2(KLMSegmentationRegion *Region2)
KLMSegmentationRegion * GetRegion2()
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
KLMSegmentationRegion * m_Region1
~KLMSegmentationBorder() override
KLMSegmentationRegion * GetRegion1()
SegmentationBorder Superclass
void SetRegion1(KLMSegmentationRegion *Region1)
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for KLMSegmentationRegion object.
Implements transparent reference counting.
bool ExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Return the result of an exact comparison between two scalar values of potentially different types.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....