ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members

#include <itkKLMRegionGrowImageFilter.h>

+ Inheritance diagram for itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >:

Public Types

using BorderType = KLMSegmentationBorder
 
using ConstPointer = SmartPointer< const Self >
 
using GridSizeType = typename Superclass::GridSizeType
 
using InputImageConstIterator = ImageRegionConstIterator< TInputImage >
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImageIndexType = typename TInputImage::IndexType
 
using InputImageIterator = ImageRegionIterator< TInputImage >
 
using InputImagePixelType = typename TInputImage::PixelType
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageType = TInputImage
 
using InputImageVectorType = typename TInputImage::PixelType::VectorType
 
using InputRegionType = typename TInputImage::RegionType
 
using KLMSegmentationBorderArrayPtr = KLMDynamicBorderArray< BorderType >
 
using LabelImageIndexType = typename LabelImageType::IndexType
 
using LabelImageIterator = ImageRegionIterator< LabelImageType >
 
using LabelImagePixelType = typename LabelImageType::PixelType
 
using LabelImagePointer = typename LabelImageType::Pointer
 
using LabelImageType = Image< RegionLabelType, Self::LabelImageDimension >
 
using MeanRegionIntensityType = vnl_vector< double >
 
using OutputImageIndexType = typename TOutputImage::IndexType
 
using OutputImageIterator = ImageRegionIterator< TOutputImage >
 
using OutputImagePixelType = typename TOutputImage::PixelType
 
using OutputImagePointer = typename TOutputImage::Pointer
 
using OutputImageType = TOutputImage
 
using OutputImageVectorType = typename TOutputImage::PixelType::VectorType
 
using Pointer = SmartPointer< Self >
 
using RegionLabelType = typename KLMSegmentationRegion::RegionLabelType
 
using Self = KLMRegionGrowImageFilter
 
using Superclass = RegionGrowImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::RegionGrowImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using GridSizeType = typename TInputImage::SizeType
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImagePixelType = typename TInputImage::PixelType
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename TOutputImage::PixelType
 
using OutputImagePointer = typename TOutputImage::Pointer
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = RegionGrowImageFilter
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TOutputImage >
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::RegionGrowImageFilter< TInputImage, TOutputImage >
virtual void SetGridSize (GridSizeType _arg)
 
virtual const GridSizeTypeGetGridSize () const
 
virtual void SetMaximumNumberOfRegions (unsigned int _arg)
 
virtual const unsigned int & GetMaximumNumberOfRegions () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int InputImageVectorDimension = InputImagePixelType::Dimension
 
static constexpr RegionLabelType LabelImageDimension = InputImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
static constexpr unsigned int OutputImageVectorDimension = OutputImagePixelType::Dimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
using InputImageSizeType = typename TInputImage::SizeType
 
using KLMSegmentationRegionPtr = typename KLMSegmentationRegion::Pointer
 
using KLMSegmentationBorderPtr = typename KLMSegmentationBorder::Pointer
 
double m_MaximumLambda { 1000 }
 
unsigned int m_NumberOfRegions { 0 }
 
double m_InternalLambda { 0 }
 
unsigned int m_InitialNumberOfRegions { 0 }
 
double m_TotalBorderLength { 0.0 }
 
std::vector< KLMSegmentationRegionPtrm_RegionsPointer
 
std::vector< KLMSegmentationBorderPtrm_BordersPointer
 
std::vector< KLMSegmentationBorderArrayPtrm_BordersDynamicPointer
 
KLMSegmentationBorderArrayPtrm_BorderCandidate { nullptr }
 
MeanRegionIntensityType m_InitialRegionMean
 
double m_InitialRegionArea { 0 }
 
virtual void SetMaximumLambda (double _arg)
 
virtual const double & GetMaximumLambda () const
 
virtual void SetNumberOfRegions (unsigned int _arg)
 
virtual const unsigned int & GetNumberOfRegions () const
 
LabelImagePointer GetLabelledImage ()
 
void PrintAlgorithmRegionStats ()
 
void PrintAlgorithmBorderStats ()
 
 KLMRegionGrowImageFilter ()
 
 ~KLMRegionGrowImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void ApplyRegionGrowImageFilter () override
 
void MergeRegions () override
 
virtual void GenerateOutputImage ()
 
void ApplyKLM ()
 
void InitializeKLM ()
 
LabelImagePointer GenerateLabelledImage (LabelImageType *labelImagePtr)
 
virtual void InitializeRegionParameters (InputRegionType region)
 
virtual void ResolveRegions ()
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Protected Member Functions inherited from itk::RegionGrowImageFilter< TInputImage, TOutputImage >
 RegionGrowImageFilter ()
 
 ~RegionGrowImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void VerifyInputInformation () ITKv5_CONST override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >

Base class for a region growing object that performs energy-based region growing for multiband images.

itkKLMRegionGrowImageFilter is the base class for the KLMRegionGrowImageFilter objects. This object performs energy-based region growing for multiband images. Since this is based on G. Koepfler,C. Lopez and J. M. Morel's work described below, the acronym KLM is added at the end of the object name.

The ApplyRegionGrowImageFilter() function implements the segmentation algorithm that partitions the input image into non-overlapping regions by minimizing an energy functional which trades off the similarity of regions against the length of their shared boundary. The heart of the process relies on the MergeRegion() method that calls a private function to perform the merging of region based on the piecewise constant KLM algorithm for region merging. For extensibility purposes, the MergeRegion() function is made virtual. Extensions can be made possible using function overloading or overriding the virtual function in a derived class. It starts by breaking the image into many small regions and fitting the regions to a polynomial model. The algorithm iteratively merges into one region the two adjoining regions which are most alike in terms of the specified polynomial model given the length of the border between the two regions. Internally, the energy functional is evaluated using a Lagrangian parameter called lambda which is also called the scale parameter as it controls the coarseness of the segmentation where a small value of lambda corresponds to a finer segmentation with more regions and a large value corresponds to a coarse segmentation with fewer regions. Since the algorithm grows regions by merging like regions, the internal value of lambda increases as the number of regions decreases.

The user can stop the merging of regions using the SetMaximumNumberOfRegions() and SetMaximumLambda() functions. The SetMaximumNumberOfRegions() function is publicly inherited from its base class and internally sets the m_MaximumNumberOfRegions parameter. The SetMaximumLambda() function sets the m_MaximumLambda parameter. If the number of regions in the image is equal to m_MaximumNumberOfRegions or if the internal energy functional becomes greater than m_MaximumLambda, then the merging iterations will stop. Note that a larger energy function value for m_MaximumLambda will result in fewer boundaries and fewer regions, while a smaller value for m_MaximumLambda will result in more boundaries and more regions. To have m_MaximumNumberOfRegions control exactly the number of output regions, m_MaximumLamda should be set to a very large number. To have m_MaximumLambda control exactly the number of output regions, m_MaximumNumberOfRegions should be set to 2. As a default value, m_MaximumLambda is set to 1000 and m_MaximumNumberOfRegions is set to 2.

Currently implementation puts equal weight to the multichannel values. In future improvements we plan to allow the user to control the weights associated with each individual channels.

It is templated over the type of input and output image. This object supports data handling of multiband images. The object accepts images in vector format, where each pixel is a vector and each element of the vector corresponds to an entry from 1 particular band of a multiband dataset. We expect the user to provide the input to the routine in vector format. A single band image is treated as a vector image with a single element for every vector.

This algorithm implementation takes a multiband image stored in vector format as input and produces two outputs. Using the ImageToImageFilter, the piecewise constant approximation image is the output calculated using the process update mechanism. The second output, i.e., the image with the region labels (segmentation image) is returned at users request by calling GetLabelledImage() function. This function returns a reference to the labelled image determined using the KLM algorithm. The algorithm supports 2D and 3D data sets only. The input image dimensions must be exact multiples of the user specified gridsizes. Appropriate padding must be performed by the user if any image which are not multiples of the gridsizes are used.

For more information about the algorithm, see G. Koepfler, C. Lopez and J. M. Morel, `‘A Multiscale Algorithm for Image Segmentation by Variational Method,’' {SIAM Journal of Numerical Analysis}, vol. 31, pp. 282-299, 1994.

Algorithm details:

This function segments a two-dimensional input image into non-overlapping atomic regions $ O_i, i=1,2,\ldots,N $, where $ N $ is the total number of region, by minimizing the following energy functional (also known as the simplified Mumford and Shah functional): $ E(u,K)=\int_{\Omega-K}||u(r,c)-g(r,c)||^2{d{\Omega}}+\lambda\cdot{L(K)} $, where $ \Omega $ denotes the domain of an image, $ g(r,c) $ is the input image, and $ u(r,c) $ is an approximation of $ g(r,c) $. Furthermore, $ u(r,c) $ is defined to be piecewise constant in regions $ O_i $. If $ \partial O_i $ represents the boundary of the region, $ K=\bigcup_{i=1}^N\partial{O_i} $ denotes the set of all region boundaries and $ L(K) $ is the total length of the boundaries. The parameter $ \lambda $ controls the coarseness of the segmentation (i.e. a larger $ \lambda $ will result in fewer boundaries).

Starting with small, piecewise-constant initial regions the algorithm iteratively merges the two adjacent regions $ O_i $ and $ O_j $ which most decrease the energy functional. In other words, the merging criterion is based on the difference between the current energy $ E(u,K) $ and the energy that would result after a merge, $ E(\hat{u},K-\partial(O_i,O_j)) $, where $ \hat{u} $ is the piecewise constant approximation of the input image $ g $, and $ \partial(O_i,O_j) $ is the common boundary between region $ O_i $ and $ O_j $. It can be shown that $ E(u,K)-E(\hat{u},K-\partial(O_i,O_j))= \lambda\cdot{L(\partial(O_i,O_j))}- {\frac{(|O_i| \cdot |O_j|)}{(|O_i|+|O_j|)}} \|c_i-c_j\|^2 $.

Once two regions are merged the following update equations are used to calculated the constant approximation of the new region:

$ c_{i,j} = \frac{(c_i |O_i| + c_j |O_j|)}{(|O_i| + |O_j|)} $.

Again, the merging of regions continues until the desired number of regions has been reached or until the desired coarseness (specified by the scale parameter $ \lambda $) has been reached.

The two outputs are possible to derive from the object: (1) u, the piecewise constant approximation (mean of the regions) to the input image set; This is currently generated by the process object pipeline and the (2) the labelled regions in the input image set is generated by the GetLabelledImage() function.

Definition at line 167 of file itkKLMRegionGrowImageFilter.h.

Member Typedef Documentation

◆ BorderType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::BorderType = KLMSegmentationBorder

Type definition for the smart border type.

Definition at line 262 of file itkKLMRegionGrowImageFilter.h.

◆ ConstPointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 176 of file itkKLMRegionGrowImageFilter.h.

◆ GridSizeType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GridSizeType = typename Superclass::GridSizeType

Type definition for the input grid size type used to create initial atomic regions.

Definition at line 210 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageConstIterator

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageConstIterator = ImageRegionConstIterator<TInputImage>

Definition at line 203 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename TInputImage::ConstPointer

Definition at line 187 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageIndexType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageIndexType = typename TInputImage::IndexType

Type definition for the input image index type.

Definition at line 199 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageIterator

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageIterator = ImageRegionIterator<TInputImage>

Type definition for the image iterators to be used.

Definition at line 202 of file itkKLMRegionGrowImageFilter.h.

◆ InputImagePixelType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename TInputImage::PixelType

Type definition for the input image pixel type.

Definition at line 190 of file itkKLMRegionGrowImageFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename TInputImage::Pointer

Definition at line 186 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageSizeType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageSizeType = typename TInputImage::SizeType
private

Local variables.

Definition at line 370 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage

Type definition for the input image.

Definition at line 185 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageVectorType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageVectorType = typename TInputImage::PixelType::VectorType

Type definition for the input image pixel vector type.

Definition at line 193 of file itkKLMRegionGrowImageFilter.h.

◆ InputRegionType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputRegionType = typename TInputImage::RegionType

Type definition for the image region type.

Definition at line 206 of file itkKLMRegionGrowImageFilter.h.

◆ KLMSegmentationBorderArrayPtr

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::KLMSegmentationBorderArrayPtr = KLMDynamicBorderArray<BorderType>

Type definition for the smart border pointers object.

Definition at line 265 of file itkKLMRegionGrowImageFilter.h.

◆ KLMSegmentationBorderPtr

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::KLMSegmentationBorderPtr = typename KLMSegmentationBorder::Pointer
private

Local variables.

Definition at line 372 of file itkKLMRegionGrowImageFilter.h.

◆ KLMSegmentationRegionPtr

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::KLMSegmentationRegionPtr = typename KLMSegmentationRegion::Pointer
private

Local variables.

Definition at line 371 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImageIndexType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImageIndexType = typename LabelImageType::IndexType

Type definition for the labelled image index type.

Definition at line 253 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImageIterator

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImageIterator = ImageRegionIterator<LabelImageType>

Type definition for the labelled image iterators.

Definition at line 256 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImagePixelType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImagePixelType = typename LabelImageType::PixelType

Type definition for the labelled image pixel type.

Definition at line 250 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImagePointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImagePointer = typename LabelImageType::Pointer

Type definition for the labelled image pointer.

Definition at line 247 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImageType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImageType = Image<RegionLabelType, Self::LabelImageDimension>

Type definition for the labelled image pixel type.

Definition at line 244 of file itkKLMRegionGrowImageFilter.h.

◆ MeanRegionIntensityType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::MeanRegionIntensityType = vnl_vector<double>

Storage type for the mean region intensity.

Definition at line 259 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageIndexType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageIndexType = typename TOutputImage::IndexType

Type definition for the output image index type.

Definition at line 232 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageIterator

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageIterator = ImageRegionIterator<TOutputImage>

Type definition for the output image iterators.

Definition at line 235 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImagePixelType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename TOutputImage::PixelType

Type definition for the output image pixel type.

Definition at line 223 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImagePointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename TOutputImage::Pointer

Definition at line 214 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage

Type definition for the output image.

Definition at line 213 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageVectorType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageVectorType = typename TOutputImage::PixelType::VectorType

Type definition for the output image pixel vector type.

Definition at line 226 of file itkKLMRegionGrowImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self>

Definition at line 175 of file itkKLMRegionGrowImageFilter.h.

◆ RegionLabelType

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::RegionLabelType = typename KLMSegmentationRegion::RegionLabelType

type definition for the region label type.

Definition at line 238 of file itkKLMRegionGrowImageFilter.h.

◆ Self

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::Self = KLMRegionGrowImageFilter

Standard class type aliases.

Definition at line 173 of file itkKLMRegionGrowImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TOutputImage >
using itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::Superclass = RegionGrowImageFilter<TInputImage, TOutputImage>

Definition at line 174 of file itkKLMRegionGrowImageFilter.h.

Constructor & Destructor Documentation

◆ KLMRegionGrowImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::KLMRegionGrowImageFilter ( )
protected

Local variables.

◆ ~KLMRegionGrowImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::~KLMRegionGrowImageFilter ( )
overrideprotecteddefault

Local variables.

Member Function Documentation

◆ ApplyKLM()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::ApplyKLM ( )
protected

Function that calls the KLM region growing algorithm.

◆ ApplyRegionGrowImageFilter()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::ApplyRegionGrowImageFilter ( )
overrideprotectedvirtual

This is the interface function that calls the specific algorithm implementation of region growing.

Implements itk::RegionGrowImageFilter< TInputImage, TOutputImage >.

◆ CreateAnother()

template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ EnlargeOutputRequestedRegion()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject )
overrideprotectedvirtual

KLMRegionGrowImageFilter will produce all of the output. Therefore it must provide an implementation of EnlargeOutputRequestedRegion().

See also
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

◆ GenerateData()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

Standard pipeline method.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateInputRequestedRegion()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

KLMRegionGrowImageFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().

See also
ProcessObject::GenerateInputRequestedRegion().

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

◆ GenerateLabelledImage()

template<typename TInputImage , typename TOutputImage >
LabelImagePointer itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GenerateLabelledImage ( LabelImageType labelImagePtr)
protected

Generate the labelled image.

◆ GenerateOutputImage()

template<typename TInputImage , typename TOutputImage >
virtual void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GenerateOutputImage ( )
protectedvirtual

Generate output approximated image.

◆ GetLabelledImage()

template<typename TInputImage , typename TOutputImage >
LabelImagePointer itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GetLabelledImage ( )

Generate labelled image.

◆ GetMaximumLambda()

template<typename TInputImage , typename TOutputImage >
virtual const double& itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GetMaximumLambda ( ) const
virtual

Local variables.

◆ GetNameOfClass()

template<typename TInputImage , typename TOutputImage >
virtual const char* itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::RegionGrowImageFilter< TInputImage, TOutputImage >.

◆ GetNumberOfRegions()

template<typename TInputImage , typename TOutputImage >
virtual const unsigned int& itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::GetNumberOfRegions ( ) const
virtual

Local variables.

◆ InitializeKLM()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InitializeKLM ( )
protected

Initialize the RegionGrowImageFilter algorithm.

◆ InitializeRegionParameters()

template<typename TInputImage , typename TOutputImage >
virtual void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InitializeRegionParameters ( InputRegionType  region)
protectedvirtual

Calculate the statistics representing the region. In this case we compute the mean region intensity and the area of the initial N-dimensional rectangular area. This is the function that can be overriden in order to enable a different statistical representation for region initialization.

◆ MergeRegions()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::MergeRegions ( )
overrideprotectedvirtual

Function to merge two regions. The smaller label is always assigned to the new region. This is consistent with the connected components algorithm.

Implements itk::RegionGrowImageFilter< TInputImage, TOutputImage >.

◆ New()

template<typename TInputImage , typename TOutputImage >
static Pointer itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ PrintAlgorithmBorderStats()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::PrintAlgorithmBorderStats ( )

Function that prints all the border information.

◆ PrintAlgorithmRegionStats()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::PrintAlgorithmRegionStats ( )

Function that prints all the region information.

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage >
void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Local variables.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

◆ ResolveRegions()

template<typename TInputImage , typename TOutputImage >
virtual void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::ResolveRegions ( )
protectedvirtual

Function to resolve the region labels to be consecutively ordered. Each initial atomic region is given a new label and the aggregrate region area and mean intensity.

◆ SetMaximumLambda()

template<typename TInputImage , typename TOutputImage >
virtual void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::SetMaximumLambda ( double  _arg)
virtual

Set/Get the desired threshold parameter for lambda. See itkSegmentationBorder documentation for details regarding this parameter.

◆ SetNumberOfRegions()

template<typename TInputImage , typename TOutputImage >
virtual void itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::SetNumberOfRegions ( unsigned int  _arg)
virtual

Set/Get the desired number of regions.

Member Data Documentation

◆ InputImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
staticconstexpr

InputImageDimension enumeration.

Definition at line 217 of file itkKLMRegionGrowImageFilter.h.

◆ InputImageVectorDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::InputImageVectorDimension = InputImagePixelType::Dimension
staticconstexpr

InputImageVectorDimension enumeration.

Definition at line 196 of file itkKLMRegionGrowImageFilter.h.

◆ LabelImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr RegionLabelType itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::LabelImageDimension = InputImageDimension
staticconstexpr

The dimension of the labelled image.

Definition at line 241 of file itkKLMRegionGrowImageFilter.h.

◆ m_BorderCandidate

template<typename TInputImage , typename TOutputImage >
KLMSegmentationBorderArrayPtr* itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_BorderCandidate { nullptr }
private

Local variables.

Definition at line 386 of file itkKLMRegionGrowImageFilter.h.

◆ m_BordersDynamicPointer

template<typename TInputImage , typename TOutputImage >
std::vector<KLMSegmentationBorderArrayPtr> itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_BordersDynamicPointer
private

Local variables.

Definition at line 385 of file itkKLMRegionGrowImageFilter.h.

◆ m_BordersPointer

template<typename TInputImage , typename TOutputImage >
std::vector<KLMSegmentationBorderPtr> itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_BordersPointer
private

Local variables.

Definition at line 384 of file itkKLMRegionGrowImageFilter.h.

◆ m_InitialNumberOfRegions

template<typename TInputImage , typename TOutputImage >
unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_InitialNumberOfRegions { 0 }
private

Local variables.

Definition at line 380 of file itkKLMRegionGrowImageFilter.h.

◆ m_InitialRegionArea

template<typename TInputImage , typename TOutputImage >
double itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_InitialRegionArea { 0 }
private

Local variables.

Definition at line 389 of file itkKLMRegionGrowImageFilter.h.

◆ m_InitialRegionMean

template<typename TInputImage , typename TOutputImage >
MeanRegionIntensityType itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_InitialRegionMean
private

Local variables.

Definition at line 388 of file itkKLMRegionGrowImageFilter.h.

◆ m_InternalLambda

template<typename TInputImage , typename TOutputImage >
double itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_InternalLambda { 0 }
private

Local variables.

Definition at line 379 of file itkKLMRegionGrowImageFilter.h.

◆ m_MaximumLambda

template<typename TInputImage , typename TOutputImage >
double itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_MaximumLambda { 1000 }
private

Local variables.

Definition at line 374 of file itkKLMRegionGrowImageFilter.h.

◆ m_NumberOfRegions

template<typename TInputImage , typename TOutputImage >
unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_NumberOfRegions { 0 }
private

Local variables.

Definition at line 375 of file itkKLMRegionGrowImageFilter.h.

◆ m_RegionsPointer

template<typename TInputImage , typename TOutputImage >
std::vector<KLMSegmentationRegionPtr> itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_RegionsPointer
private

Local variables.

Definition at line 383 of file itkKLMRegionGrowImageFilter.h.

◆ m_TotalBorderLength

template<typename TInputImage , typename TOutputImage >
double itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::m_TotalBorderLength { 0.0 }
private

Local variables.

Definition at line 381 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
staticconstexpr

OutputImageDimension enumeration.

Definition at line 220 of file itkKLMRegionGrowImageFilter.h.

◆ OutputImageVectorDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >::OutputImageVectorDimension = OutputImagePixelType::Dimension
staticconstexpr

OutputImageVectorDimension enumeration.

Definition at line 229 of file itkKLMRegionGrowImageFilter.h.


The documentation for this class was generated from the following file: