ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members

#include <itkRGBGibbsPriorFilter.h>

Detailed Description

template<typename TInputImage, typename TClassifiedImage>
class itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >

The RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images.

The core of the method is based on the minimization of a Gibbsian energy function. This energy function f can be divided into three part:

\[ f = f_1 + f_2 + f_3 \]

where \(f_1\) is related to the object homogeneity, \(f_2\) is related to the boundary smoothness, \(f_3\) is related to the constraint of the observation (or the noise model).

The two force components \(f_1\) and \(f_3\) are minimized by the GradientEnergy method while \(f_2\) is minimized by the GibbsTotalEnergy method.

This filter only works with 3D images.

Examples
Examples/Segmentation/GibbsPriorImageFilter1.cxx.

Definition at line 56 of file itkRGBGibbsPriorFilter.h.

+ Inheritance diagram for itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >:
+ Collaboration diagram for itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >:

Public Types

using ClassifiedImageType = TClassifiedImage
 
using ClassifierType = ImageClassifierBase< TInputImage, TClassifiedImage >
 
using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename TInputImage::IndexType
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageType = TInputImage
 
using InputImageVecType = typename TInputImage::PixelType
 
using InputPixelType = typename TInputImage::PixelType
 
using LabelledImageIndexType = typename TClassifiedImage::IndexType
 
using LabelledImageType = typename TClassifiedImage::Pointer
 
using LabelType = unsigned int
 
using MatrixType = vnl_matrix< double >
 
using Pointer = SmartPointer< Self >
 
using Self = RGBGibbsPriorFilter
 
using Superclass = MRFImageFilter< TInputImage, TClassifiedImage >
 
using TrainingImageType = typename TClassifiedImage::Pointer
 
- Public Types inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
using ClassifierType = ImageClassifierBase< TInputImage, TClassifiedImage >
 
using ConstPointer = SmartPointer< const Self >
 
using IndexValueType = typename LabelledImageIndexType::IndexValueType
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImageFaceListIterator = typename InputImageFaceListType::iterator
 
using InputImageFaceListType = typename InputImageFacesCalculator::FaceListType
 
using InputImageFacesCalculator = NeighborhoodAlgorithm::ImageBoundaryFacesCalculator< TInputImage >
 
using InputImageNeighborhoodIterator = ConstNeighborhoodIterator< TInputImage >
 
using InputImageNeighborhoodRadiusType = typename InputImageNeighborhoodIterator::RadiusType
 
using InputImagePixelType = typename TInputImage::PixelType
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageRegionConstIterator = ImageRegionConstIterator< TInputImage >
 
using InputImageRegionIterator = ImageRegionIterator< TInputImage >
 
using InputImageRegionType = typename TInputImage::RegionType
 
using InputImageType = TInputImage
 
using LabelledImageFaceListIterator = typename LabelledImageFaceListType::iterator
 
using LabelledImageFaceListType = typename LabelledImageFacesCalculator::FaceListType
 
using LabelledImageFacesCalculator = NeighborhoodAlgorithm::ImageBoundaryFacesCalculator< TClassifiedImage >
 
using LabelledImageIndexType = typename TClassifiedImage::IndexType
 
using LabelledImageNeighborhoodIterator = NeighborhoodIterator< TClassifiedImage >
 
using LabelledImageNeighborhoodRadiusType = typename LabelledImageNeighborhoodIterator::RadiusType
 
using LabelledImageOffsetType = typename TClassifiedImage::OffsetType
 
using LabelledImagePixelType = typename TClassifiedImage::PixelType
 
using LabelledImagePointer = typename TClassifiedImage::Pointer
 
using LabelledImageRegionIterator = ImageRegionIterator< TClassifiedImage >
 
using LabelledImageRegionType = typename TClassifiedImage::RegionType
 
using MRFStopEnum = MRFImageFilterEnums::MRFStop
 
using NeighborhoodRadiusType = typename TInputImage::SizeType
 
using Pointer = SmartPointer< Self >
 
using Self = MRFImageFilter
 
using SizeType = typename TInputImage::SizeType
 
using Superclass = ImageToImageFilter< TInputImage, TClassifiedImage >
 
using TrainingImagePixelType = typename TClassifiedImage::PixelType
 
using TrainingImagePointer = typename TClassifiedImage::Pointer
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
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 Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TClassifiedImage >
 
- Public Types inherited from itk::ImageSource< TClassifiedImage >
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 = TClassifiedImage
 
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 unsigned int GetBoundaryGradient () const
 
LabelledImageType GetLabelledImage ()
 
unsigned int GetMaximumNumberOfIterations () const override
 
unsigned int GetNumberOfClasses () const override
 
virtual double GetObjectThreshold () const
 
virtual IndexType GetStartPoint () const
 
 itkOverrideGetNameOfClassMacro (RGBGibbsPriorFilter)
 
virtual void SetBoundaryGradient (unsigned int _arg)
 
void SetClassifier (typename ClassifierType::Pointer ptrToClassifier)
 
void SetLabelledImage (LabelledImageType image)
 
virtual void SetObjectThreshold (double _arg)
 
virtual void SetStartPoint (IndexType _arg)
 
virtual void SetTrainingImage (TrainingImageType _arg)
 
virtual TrainingImageType GetTrainingImage () const
 
void SetNumberOfClasses (const unsigned int numberOfClasses) override
 
void SetMaximumNumberOfIterations (const unsigned int numberOfIterations) override
 
virtual void SetClusterSize (unsigned int _arg)
 
virtual unsigned int GetClusterSize () const
 
virtual void SetObjectLabel (LabelType _arg)
 
virtual LabelType GetObjectLabel () const
 
virtual void SetCliqueWeight_1 (double _arg)
 
virtual double GetCliqueWeight_1 () const
 
virtual void SetCliqueWeight_2 (double _arg)
 
virtual double GetCliqueWeight_2 () const
 
virtual void SetCliqueWeight_3 (double _arg)
 
virtual double GetCliqueWeight_3 () const
 
virtual void SetCliqueWeight_4 (double _arg)
 
virtual double GetCliqueWeight_4 () const
 
virtual void SetCliqueWeight_5 (double _arg)
 
virtual double GetCliqueWeight_5 () const
 
virtual void SetCliqueWeight_6 (double _arg)
 
virtual double GetCliqueWeight_6 () const
 
- Public Member Functions inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
virtual std::vector< double > GetMRFNeighborhoodWeight ()
 
const NeighborhoodRadiusType GetNeighborhoodRadius () const
 
virtual const unsigned int & GetNumberOfIterations () const
 
virtual const MRFStopEnumGetStopCondition () const
 
 itkOverrideGetNameOfClassMacro (MRFImageFilter)
 
void SetClassifier (typename ClassifierType::Pointer ptrToClassifier)
 
virtual void SetMRFNeighborhoodWeight (std::vector< double > betaMatrix)
 
void SetNeighborhoodRadius (const NeighborhoodRadiusType &)
 
void SetNeighborhoodRadius (const SizeValueType *radiusArray)
 
void SetNeighborhoodRadius (const SizeValueType)
 
virtual void SetErrorTolerance (double _arg)
 
virtual double GetErrorTolerance () const
 
virtual void SetSmoothingFactor (double _arg)
 
virtual double GetSmoothingFactor () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
 itkOverrideGetNameOfClassMacro (ImageToImageFilter)
 
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< TClassifiedImage >
OutputImageTypeGetOutput (unsigned int idx)
 
 itkOverrideGetNameOfClassMacro (ImageSource)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
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 AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
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)
 
 itkOverrideGetNameOfClassMacro (ProcessObject)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
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 SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- 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
 
LightObject::Pointer CreateAnother () const override
 
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
 
 itkOverrideGetNameOfClassMacro (Object)
 
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
 
 itkVirtualGetNameOfClassMacro (LightObject)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- 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 ImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
static constexpr unsigned int ClassifiedImageDimension = TClassifiedImage::ImageDimension
 
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TClassifiedImage >
static constexpr unsigned int OutputImageDimension
 

Protected Member Functions

void Allocate ()
 
virtual void ApplyGibbsLabeller ()
 
virtual void ApplyGPImageFilter ()
 
void GenerateData () override
 
void MinimizeFunctional () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 RGBGibbsPriorFilter ()
 
 ~RGBGibbsPriorFilter () override=default
 
- Protected Member Functions inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
void Allocate ()
 
virtual void ApplyMRFImageFilter ()
 
virtual void DoNeighborhoodOperation (const InputImageNeighborhoodIterator &imageIter, LabelledImageNeighborhoodIterator &labelledIter, LabelStatusImageNeighborhoodIterator &labelStatusIter)
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 MRFImageFilter ()
 
 ~MRFImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~ImageToImageFilter () override=default
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TClassifiedImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
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
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- 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 ()
 

Private Types

using InputImageSizeType = typename TInputImage::SizeType
 

Private Member Functions

void GenerateMediumImage ()
 
double GibbsEnergy (unsigned int i, unsigned int k, unsigned int k1)
 
void GibbsTotalEnergy (int i)
 
void GreyScalarBoundary (LabelledImageIndexType Index3D)
 
unsigned int LabelRegion (int i, int l, int change)
 
void RegionEraser ()
 
int Sim (int a, int b)
 

Private Attributes

unsigned int m_BoundaryGradient { 7 }
 
double m_BoundaryWeight { 1 }
 
ClassifierType::Pointer m_ClassifierPtr {}
 
double m_CliqueWeight_1 { 0.0 }
 
double m_CliqueWeight_2 { 0.0 }
 
double m_CliqueWeight_3 { 0.0 }
 
double m_CliqueWeight_4 { 0.0 }
 
double m_CliqueWeight_5 { 0.0 }
 
double m_CliqueWeight_6 { 0.0 }
 
unsigned int m_ClusterSize { 10 }
 
double m_GibbsPriorWeight { 1 }
 
unsigned int m_ImageDepth { 0 }
 
unsigned int m_ImageHeight { 0 }
 
unsigned int m_ImageWidth { 0 }
 
InputImageConstPointer m_InputImage {}
 
LabelledImageType m_LabelledImage {}
 
std::unique_ptr< LabelType[]> m_LabelStatus { nullptr }
 
InputPixelType m_LowPoint {}
 
unsigned int m_MaximumNumberOfIterations { 10 }
 
InputImagePointer m_MediumImage {}
 
unsigned int m_NumberOfClasses { 0 }
 
LabelType m_ObjectLabel { 1 }
 
double m_ObjectThreshold { 5.0 }
 
int m_RecursiveNumber { 0 }
 
std::unique_ptr< unsigned short[]> m_Region { nullptr }
 
std::unique_ptr< unsigned short[]> m_RegionCount { nullptr }
 
IndexType m_StartPoint {}
 
int m_StartRadius { 10 }
 
unsigned int m_Temp { 0 }
 
TrainingImageType m_TrainingImage {}
 
unsigned int m_VecDim { 0 }
 

Additional Inherited Members

- Protected Types inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
using LabelStatusImageIterator = ImageRegionIterator< LabelStatusImageType >
 
using LabelStatusImageNeighborhoodIterator = NeighborhoodIterator< LabelStatusImageType >
 
using LabelStatusImagePointer = typename LabelStatusImageType::Pointer
 
using LabelStatusImageType = Image< int, Self::InputImageDimension >
 
using LabelStatusIndexType = typename LabelStatusImageType::IndexType
 
using LabelStatusRegionType = typename LabelStatusImageType::RegionType
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Static Protected Member Functions inherited from itk::ImageSource< TClassifiedImage >
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< TClassifiedImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ClassifiedImageType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ClassifiedImageType = TClassifiedImage

Type definitions for the training image.

Definition at line 90 of file itkRGBGibbsPriorFilter.h.

◆ ClassifierType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ClassifierType = ImageClassifierBase<TInputImage, TClassifiedImage>

Type definitions for classifier to be used for the MRF labeling.

Definition at line 106 of file itkRGBGibbsPriorFilter.h.

◆ ConstPointer

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ConstPointer = SmartPointer<const Self>

Definition at line 65 of file itkRGBGibbsPriorFilter.h.

◆ IndexType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::IndexType = typename TInputImage::IndexType

Definition at line 110 of file itkRGBGibbsPriorFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageConstPointer = typename TInputImage::ConstPointer

Definition at line 84 of file itkRGBGibbsPriorFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImagePointer = typename TInputImage::Pointer

Definition at line 83 of file itkRGBGibbsPriorFilter.h.

◆ InputImageSizeType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageSizeType = typename TInputImage::SizeType
private

Definition at line 246 of file itkRGBGibbsPriorFilter.h.

◆ InputImageType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageType = TInputImage

A smart pointer to the input image type.

Definition at line 82 of file itkRGBGibbsPriorFilter.h.

◆ InputImageVecType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageVecType = typename TInputImage::PixelType

Input pixel type.

Definition at line 109 of file itkRGBGibbsPriorFilter.h.

◆ InputPixelType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputPixelType = typename TInputImage::PixelType

Type definition for the input image pixel type.

Definition at line 87 of file itkRGBGibbsPriorFilter.h.

◆ LabelledImageIndexType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageIndexType = typename TClassifiedImage::IndexType

Type definition for the classified image index type.

Definition at line 98 of file itkRGBGibbsPriorFilter.h.

◆ LabelledImageType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageType = typename TClassifiedImage::Pointer

Type definitions for the labelled image. Derived from the training image.

Definition at line 95 of file itkRGBGibbsPriorFilter.h.

◆ LabelType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelType = unsigned int

Type used as identifier for the labels.

Warning
-1 cannot be used as the identifier for unlabeled pixels the NumericTraits<>::max() value is used for indicating unlabeled pixels

Definition at line 103 of file itkRGBGibbsPriorFilter.h.

◆ MatrixType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::MatrixType = vnl_matrix<double>

Type of matrix to use.

Definition at line 212 of file itkRGBGibbsPriorFilter.h.

◆ Pointer

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Pointer = SmartPointer<Self>

Definition at line 64 of file itkRGBGibbsPriorFilter.h.

◆ Self

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Self = RGBGibbsPriorFilter

Standard "Self" type alias.

Definition at line 62 of file itkRGBGibbsPriorFilter.h.

◆ Superclass

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Superclass = MRFImageFilter<TInputImage, TClassifiedImage>

Definition at line 63 of file itkRGBGibbsPriorFilter.h.

◆ TrainingImageType

template<typename TInputImage , typename TClassifiedImage >
using itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::TrainingImageType = typename TClassifiedImage::Pointer

Definition at line 91 of file itkRGBGibbsPriorFilter.h.

Constructor & Destructor Documentation

◆ RGBGibbsPriorFilter()

template<typename TInputImage , typename TClassifiedImage >
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::RGBGibbsPriorFilter ( )
protected

◆ ~RGBGibbsPriorFilter()

template<typename TInputImage , typename TClassifiedImage >
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::~RGBGibbsPriorFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ Allocate()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Allocate ( )
protected

Allocate memory for classified image pixel status.

◆ ApplyGibbsLabeller()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ApplyGibbsLabeller ( )
protectedvirtual

◆ ApplyGPImageFilter()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ApplyGPImageFilter ( )
protectedvirtual

◆ GenerateData()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GenerateData ( )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

◆ GenerateMediumImage()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GenerateMediumImage ( )
private

Create the intermediate image.

◆ GetBoundaryGradient()

template<typename TInputImage , typename TClassifiedImage >
virtual unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetBoundaryGradient ( ) const
virtual

◆ GetCliqueWeight_1()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_1 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetCliqueWeight_2()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_2 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetCliqueWeight_3()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_3 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetCliqueWeight_4()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_4 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetCliqueWeight_5()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_5 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetCliqueWeight_6()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_6 ( ) const
virtual

Set/Get the value for clique weights.

◆ GetClusterSize()

template<typename TInputImage , typename TClassifiedImage >
virtual unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetClusterSize ( ) const
virtual

Set/Get the threshold for the object size.

◆ GetLabelledImage()

template<typename TInputImage , typename TClassifiedImage >
LabelledImageType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetLabelledImage ( )
inline

Get the labelled image.

Definition at line 123 of file itkRGBGibbsPriorFilter.h.

◆ GetMaximumNumberOfIterations()

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetMaximumNumberOfIterations ( ) const
inlineoverridevirtual

Get the number of iterations of the Iterated Conditional Mode (ICM) algorithm.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 169 of file itkRGBGibbsPriorFilter.h.

◆ GetNumberOfClasses()

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetNumberOfClasses ( ) const
inlineoverridevirtual

Get the number of classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 147 of file itkRGBGibbsPriorFilter.h.

◆ GetObjectLabel()

template<typename TInputImage , typename TClassifiedImage >
virtual LabelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetObjectLabel ( ) const
virtual

Set/Get the label for the object region.

◆ GetObjectThreshold()

template<typename TInputImage , typename TClassifiedImage >
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetObjectThreshold ( ) const
virtual

◆ GetStartPoint()

template<typename TInputImage , typename TClassifiedImage >
virtual IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetStartPoint ( ) const
virtual

◆ GetTrainingImage()

template<typename TInputImage , typename TClassifiedImage >
virtual TrainingImageType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetTrainingImage ( ) const
virtual

Set/Get the image required for training type classifiers.

◆ GibbsEnergy()

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GibbsEnergy ( unsigned int  i,
unsigned int  k,
unsigned int  k1 
)
private

Calculate the energy in each cluster.

◆ GibbsTotalEnergy()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GibbsTotalEnergy ( int  i)
private

Minimize the local characteristic \(f_2\) term in the energy function. Calculates \(H_2\).

◆ GreyScalarBoundary()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GreyScalarBoundary ( LabelledImageIndexType  Index3D)
private

Smooth the image in piecewise fashion. Calculates \(H_1\).

◆ itkOverrideGetNameOfClassMacro()

template<typename TInputImage , typename TClassifiedImage >
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::itkOverrideGetNameOfClassMacro ( RGBGibbsPriorFilter< TInputImage, TClassifiedImage >  )

Run-time type information (and related methods).

◆ LabelRegion()

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelRegion ( int  i,
int  l,
int  change 
)
private

Label a region.

◆ MinimizeFunctional()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::MinimizeFunctional ( )
overrideprotectedvirtual

Minimize the functional to be used.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

◆ New()

template<typename TInputImage , typename TClassifiedImage >
static Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

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

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

◆ RegionEraser()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::RegionEraser ( )
private

Erase small regions. Removes the tiny bias inside the object region.

◆ SetBoundaryGradient()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetBoundaryGradient ( unsigned int  _arg)
virtual

◆ SetClassifier()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetClassifier ( typename ClassifierType::Pointer  ptrToClassifier)

Set the classifier.

◆ SetCliqueWeight_1()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_1 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetCliqueWeight_2()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_2 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetCliqueWeight_3()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_3 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetCliqueWeight_4()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_4 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetCliqueWeight_5()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_5 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetCliqueWeight_6()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_6 ( double  _arg)
virtual

Set/Get the value for clique weights.

◆ SetClusterSize()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetClusterSize ( unsigned int  _arg)
virtual

Set/Get the threshold for the object size.

◆ SetLabelledImage()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetLabelledImage ( LabelledImageType  image)

Set the labelled image.

◆ SetMaximumNumberOfIterations()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetMaximumNumberOfIterations ( const unsigned int  numberOfIterations)
inlineoverridevirtual

Set/Get the number of iteration of the Iterated Conditional Mode (ICM) algorithm. A default value is set at 50 iterations.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 155 of file itkRGBGibbsPriorFilter.h.

◆ SetNumberOfClasses()

template<typename TInputImage , typename TClassifiedImage >
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetNumberOfClasses ( const unsigned int  numberOfClasses)
inlineoverridevirtual

Set the number of classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 134 of file itkRGBGibbsPriorFilter.h.

◆ SetObjectLabel()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetObjectLabel ( LabelType  _arg)
virtual

Set/Get the label for the object region.

◆ SetObjectThreshold()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetObjectThreshold ( double  _arg)
virtual

◆ SetStartPoint()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetStartPoint ( IndexType  _arg)
virtual

◆ SetTrainingImage()

template<typename TInputImage , typename TClassifiedImage >
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetTrainingImage ( TrainingImageType  _arg)
virtual

Set/Get the image required for training type classifiers.

◆ Sim()

template<typename TInputImage , typename TClassifiedImage >
int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Sim ( int  a,
int  b 
)
private

Check if the values are identical.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TClassifiedImage >
constexpr unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

Extract the input image dimension.

Definition at line 185 of file itkRGBGibbsPriorFilter.h.

◆ m_BoundaryGradient

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_BoundaryGradient { 7 }
private

Threshold for the existence of a boundary.

Definition at line 266 of file itkRGBGibbsPriorFilter.h.

◆ m_BoundaryWeight

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_BoundaryWeight { 1 }
private

Weight for \(H_1\).

Definition at line 269 of file itkRGBGibbsPriorFilter.h.

◆ m_ClassifierPtr

template<typename TInputImage , typename TClassifiedImage >
ClassifierType::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ClassifierPtr {}
private

Definition at line 263 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_1

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_1 { 0.0 }
private

Weight for cliques that v/h smooth boundary.

Definition at line 322 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_2

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_2 { 0.0 }
private

Weight for clique that has an intermediate smooth boundary.

Definition at line 325 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_3

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_3 { 0.0 }
private

Weight for clique that has a diagonal smooth boundary.

Definition at line 328 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_4

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_4 { 0.0 }
private

Weight for clique consists only object pixels.

Definition at line 331 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_5

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_5 { 0.0 }
private

Weight for clique consists only background pixels.

Definition at line 334 of file itkRGBGibbsPriorFilter.h.

◆ m_CliqueWeight_6

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_CliqueWeight_6 { 0.0 }
private

Weight for other cliques.

Definition at line 337 of file itkRGBGibbsPriorFilter.h.

◆ m_ClusterSize

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ClusterSize { 10 }
private

Region sizes smaller than this threshold value will be erased.

Definition at line 302 of file itkRGBGibbsPriorFilter.h.

◆ m_GibbsPriorWeight

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_GibbsPriorWeight { 1 }
private

Weight for \(H_2\).

Definition at line 272 of file itkRGBGibbsPriorFilter.h.

◆ m_ImageDepth

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ImageDepth { 0 }
private

Image depth.

Definition at line 299 of file itkRGBGibbsPriorFilter.h.

◆ m_ImageHeight

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ImageHeight { 0 }
private

Image height.

Definition at line 296 of file itkRGBGibbsPriorFilter.h.

◆ m_ImageWidth

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ImageWidth { 0 }
private

Image width.

Definition at line 293 of file itkRGBGibbsPriorFilter.h.

◆ m_InputImage

template<typename TInputImage , typename TClassifiedImage >
InputImageConstPointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_InputImage {}
private

Input.

Definition at line 249 of file itkRGBGibbsPriorFilter.h.

◆ m_LabelledImage

template<typename TInputImage , typename TClassifiedImage >
LabelledImageType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_LabelledImage {}
private

Output.

Definition at line 255 of file itkRGBGibbsPriorFilter.h.

◆ m_LabelStatus

template<typename TInputImage , typename TClassifiedImage >
std::unique_ptr<LabelType[]> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_LabelStatus { nullptr }
private

Array to store the state of each pixel.

Definition at line 281 of file itkRGBGibbsPriorFilter.h.

◆ m_LowPoint

template<typename TInputImage , typename TClassifiedImage >
InputPixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_LowPoint {}
private

Point giving lowest value of \(H_1\) in neighborhood.

Definition at line 311 of file itkRGBGibbsPriorFilter.h.

◆ m_MaximumNumberOfIterations

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_MaximumNumberOfIterations { 10 }
private

Maximum number of iterations.

Definition at line 261 of file itkRGBGibbsPriorFilter.h.

◆ m_MediumImage

template<typename TInputImage , typename TClassifiedImage >
InputImagePointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_MediumImage {}
private

Intermediate result image.

Definition at line 284 of file itkRGBGibbsPriorFilter.h.

◆ m_NumberOfClasses

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_NumberOfClasses { 0 }
private

Number of classes that need to be classified.

Definition at line 258 of file itkRGBGibbsPriorFilter.h.

◆ m_ObjectLabel

template<typename TInputImage , typename TClassifiedImage >
LabelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ObjectLabel { 1 }
private

Label for object region.

Definition at line 305 of file itkRGBGibbsPriorFilter.h.

◆ m_ObjectThreshold

template<typename TInputImage , typename TClassifiedImage >
double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_ObjectThreshold { 5.0 }
private

Definition at line 370 of file itkRGBGibbsPriorFilter.h.

◆ m_RecursiveNumber

template<typename TInputImage , typename TClassifiedImage >
int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_RecursiveNumber { 0 }
private

Number of SA iterations.

Definition at line 278 of file itkRGBGibbsPriorFilter.h.

◆ m_Region

template<typename TInputImage , typename TClassifiedImage >
std::unique_ptr<unsigned short[]> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_Region { nullptr }
private

Used for erasing regions.

Definition at line 314 of file itkRGBGibbsPriorFilter.h.

◆ m_RegionCount

template<typename TInputImage , typename TClassifiedImage >
std::unique_ptr<unsigned short[]> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_RegionCount { nullptr }
private

Used for erasing regions.

Definition at line 317 of file itkRGBGibbsPriorFilter.h.

◆ m_StartPoint

template<typename TInputImage , typename TClassifiedImage >
IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_StartPoint {}
private

Seed.

Definition at line 290 of file itkRGBGibbsPriorFilter.h.

◆ m_StartRadius

template<typename TInputImage , typename TClassifiedImage >
int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_StartRadius { 10 }
private

Start region of the object.

Definition at line 275 of file itkRGBGibbsPriorFilter.h.

◆ m_Temp

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_Temp { 0 }
private

Used by the SA algorithm.

Definition at line 287 of file itkRGBGibbsPriorFilter.h.

◆ m_TrainingImage

template<typename TInputImage , typename TClassifiedImage >
TrainingImageType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_TrainingImage {}
private

Image to train the filter.

Definition at line 252 of file itkRGBGibbsPriorFilter.h.

◆ m_VecDim

template<typename TInputImage , typename TClassifiedImage >
unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::m_VecDim { 0 }
private

Number of channels in the image.

Definition at line 308 of file itkRGBGibbsPriorFilter.h.


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