18#ifndef itkKLMSegmentationBorder_h
19#define itkKLMSegmentationBorder_h
24#include "ITKKLMRegionGrowingExport.h"
26#include "vnl/vnl_vector.h"
42template <
typename TBorder>
70 double v1 = std::max(
static_cast<double>(
m_Pointer->GetRegion1()->GetRegionBorderSize()),
71 static_cast<double>(
m_Pointer->GetRegion2()->GetRegionBorderSize()));
74 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);
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
Base class for KLMSegmentationBorder object.
void SetRegion2(KLMSegmentationRegion *Region2)
KLMSegmentationRegion * GetRegion2()
~KLMSegmentationBorder() override
KLMSegmentationRegion * GetRegion1()
void SetRegion1(KLMSegmentationRegion *Region1)
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for KLMSegmentationRegion object.
Light weight base class for most itk classes.
Base class for SegmentationBorder object.
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....
class ITK_FORWARD_EXPORT KLMSegmentationBorder