18#ifndef itkKLMRegionGrowImageFilter_h
19#define itkKLMRegionGrowImageFilter_h
163template <
typename TInputImage,
typename TOutputImage>
267 itkSetMacro(MaximumLambda,
double);
268 itkGetConstReferenceMacro(MaximumLambda,
double);
272 itkSetMacro(NumberOfRegions,
unsigned int);
273 itkGetConstReferenceMacro(NumberOfRegions,
unsigned int);
290#if defined(THIS_CONCEPT_FAILS_ON_GCC)
386#ifndef ITK_MANUAL_INSTANTIATION
387# include "itkKLMRegionGrowImageFilter.hxx"
Base class for all data objects in ITK.
A multi-dimensional iterator templated over image type that walks a region of pixels.
A multi-dimensional iterator templated over image type that walks a region of pixels.
Templated n-dimensional image class.
RegionLabelType PixelType
SmartPointer< Self > Pointer
Index< VImageDimension > IndexType
Control indentation during Print() invocation.
Object maintaining a reference to a list of borders associated with a region.
static constexpr unsigned int OutputImageVectorDimension
unsigned int m_InitialNumberOfRegions
void ApplyRegionGrowImageFilter() override
Image< RegionLabelType, Self::LabelImageDimension > LabelImageType
KLMRegionGrowImageFilter Self
typename TInputImage::Pointer InputImagePointer
typename TOutputImage::IndexType OutputImageIndexType
typename KLMSegmentationRegion::RegionLabelType RegionLabelType
SmartPointer< const Self > ConstPointer
typename TOutputImage::Pointer OutputImagePointer
typename TInputImage::ConstPointer InputImageConstPointer
TInputImage InputImageType
typename TInputImage::IndexType InputImageIndexType
KLMRegionGrowImageFilter()
ImageRegionIterator< TInputImage > InputImageIterator
void PrintAlgorithmRegionStats()
virtual void GenerateOutputImage()
void GenerateInputRequestedRegion() override
LabelImagePointer GenerateLabelledImage(LabelImageType *labelImagePtr)
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void InitializeRegionParameters(InputRegionType region)
void GenerateData() override
virtual void ResolveRegions()
double m_TotalBorderLength
~KLMRegionGrowImageFilter() override=default
MeanRegionIntensityType m_InitialRegionMean
std::vector< KLMSegmentationRegionPtr > m_RegionsPointer
static constexpr unsigned int OutputImageDimension
void EnlargeOutputRequestedRegion(DataObject *) override
std::vector< KLMSegmentationBorderPtr > m_BordersPointer
ImageRegionIterator< TOutputImage > OutputImageIterator
typename KLMSegmentationBorder::Pointer KLMSegmentationBorderPtr
typename TInputImage::PixelType::VectorType InputImageVectorType
static constexpr unsigned int InputImageVectorDimension
typename TInputImage::SizeType InputImageSizeType
TOutputImage OutputImageType
ImageRegionIterator< LabelImageType > LabelImageIterator
void MergeRegions() override
static constexpr RegionLabelType LabelImageDimension
typename TOutputImage::PixelType OutputImagePixelType
typename LabelImageType::Pointer LabelImagePointer
RegionGrowImageFilter< TInputImage, TOutputImage > Superclass
typename TInputImage::RegionType InputRegionType
double m_InitialRegionArea
vnl_vector< double > MeanRegionIntensityType
KLMDynamicBorderArray< BorderType > KLMSegmentationBorderArrayPtr
typename LabelImageType::IndexType LabelImageIndexType
static constexpr unsigned int InputImageDimension
void PrintAlgorithmBorderStats()
typename LabelImageType::PixelType LabelImagePixelType
std::vector< KLMSegmentationBorderArrayPtr > m_BordersDynamicPointer
ImageRegionConstIterator< TInputImage > InputImageConstIterator
KLMSegmentationBorderArrayPtr * m_BorderCandidate
typename TOutputImage::PixelType::VectorType OutputImageVectorType
unsigned int m_NumberOfRegions
KLMSegmentationBorder BorderType
typename TInputImage::PixelType InputImagePixelType
LabelImagePointer GetLabelledImage()
typename KLMSegmentationRegion::Pointer KLMSegmentationRegionPtr
Base class for KLMSegmentationBorder object.
SmartPointer< Self > Pointer
Superclass::RegionLabelType RegionLabelType
SmartPointer< Self > Pointer
typename TInputImage::SizeType GridSizeType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....