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

#include <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 IndexValueType = typename Superclass::IndexValueType
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImagePixelType = typename Superclass::InputImagePixelType
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageRegionConstIterator = typename Superclass::InputImageRegionConstIterator
 
using InputImageRegionIterator = typename Superclass::InputImageRegionIterator
 
using InputImageType = TInputImage
 
using InputImageVecType = typename TInputImage::PixelType
 
using InputPixelType = typename TInputImage::PixelType
 
using LabelledImageIndexType = typename TClassifiedImage::IndexType
 
using LabelledImagePixelType = typename Superclass::LabelledImagePixelType
 
using LabelledImageRegionIterator = typename Superclass::LabelledImageRegionIterator
 
using LabelledImageType = typename TClassifiedImage::Pointer
 
using LabelType = unsigned int
 
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 NeighborhoodRadiusType = typename TInputImage::SizeType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
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
 
using MRFStopEnum = MRFImageFilterEnums::MRFStop
 
- 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 OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
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 ::itk::LightObject::Pointer CreateAnother () const
 
LabelledImageType GetLabelledImage ()
 
virtual const char * GetNameOfClass () const
 
void SetClassifier (typename ClassifierType::Pointer ptrToClassifier)
 
void SetLabelledImage (LabelledImageType image)
 
void SetTrainingImage (TrainingImageType image)
 
- Public Member Functions inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
void SetClassifier (typename ClassifierType::Pointer ptrToClassifier)
 
virtual void SetErrorTolerance (double _arg)
 
virtual double GetErrorTolerance () const
 
virtual void SetSmoothingFactor (double _arg)
 
virtual double GetSmoothingFactor () const
 
void SetNeighborhoodRadius (const NeighborhoodRadiusType &)
 
void SetNeighborhoodRadius (const SizeValueType)
 
void SetNeighborhoodRadius (const SizeValueType *radiusArray)
 
const NeighborhoodRadiusType GetNeighborhoodRadius () const
 
virtual void SetMRFNeighborhoodWeight (std::vector< double > betaMatrix)
 
virtual std::vector< double > GetMRFNeighborhoodWeight ()
 
virtual const MRFStopEnumGetStopCondition () const
 
virtual const unsigned int & GetNumberOfIterations () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
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< TClassifiedImage >
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::MRFImageFilter< TInputImage, TClassifiedImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
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 ()
 
using MatrixType = vnl_matrix< double >
 
using InputImageSizeType = typename TInputImage::SizeType
 
static constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
ClassifierType::Pointer m_ClassifierPtr
 
unsigned int m_ImageHeight { 0 }
 
unsigned int m_ImageDepth { 0 }
 
int unsigned int void void void double m_ObjectThreshold { 5.0 }
 
void SetNumberOfClasses (const unsigned int numberOfClasses) override
 
unsigned int GetNumberOfClasses () const override
 
void SetMaximumNumberOfIterations (const unsigned int numberOfIterations) override
 
unsigned int GetMaximumNumberOfIterations () const override
 
virtual void SetClusterSize (unsigned int _arg)
 
virtual void SetObjectLabel (LabelType _arg)
 
virtual void SetStartPoint (IndexType _arg)
 
virtual void SetBoundaryGradient (unsigned int _arg)
 
virtual void SetObjectThreshold (double _arg)
 
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
 
 RGBGibbsPriorFilter ()
 
 ~RGBGibbsPriorFilter () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void void MinimizeFunctional () override
 
void GenerateData () override
 
virtual void ApplyGibbsLabeller ()
 
virtual void ApplyGPImageFilter ()
 
void GibbsTotalEnergy (int i)
 
double GibbsEnergy (unsigned int i, unsigned int k, unsigned int k1)
 

Additional Inherited Members

- 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 Types inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
using LabelStatusImageType = Image< int, Self::InputImageDimension >
 
using LabelStatusIndexType = typename LabelStatusImageType::IndexType
 
using LabelStatusRegionType = typename LabelStatusImageType::RegionType
 
using LabelStatusImagePointer = typename LabelStatusImageType::Pointer
 
using LabelStatusImageIterator = ImageRegionIterator< LabelStatusImageType >
 
using LabelStatusImageNeighborhoodIterator = NeighborhoodIterator< LabelStatusImageType >
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Protected Member Functions inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage >
 MRFImageFilter ()
 
 ~MRFImageFilter () override=default
 
void Allocate ()
 
virtual void ApplyMRFImageFilter ()
 
virtual void DoNeighborhoodOperation (const InputImageNeighborhoodIterator &imageIter, LabelledImageNeighborhoodIterator &labelledIter, LabelStatusImageNeighborhoodIterator &labelStatusIter)
 
void GenerateInputRequestedRegion () override
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateOutputInformation () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage >
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () ITKv5_CONST override
 
void GenerateInputRequestedRegion () override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
- Protected Member Functions inherited from itk::ImageSource< TClassifiedImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void GenerateData () override
 
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 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< 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
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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; 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 48 of file itkRGBGibbsPriorFilter.h.

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 83 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 99 of file itkRGBGibbsPriorFilter.h.

◆ ConstPointer

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

Definition at line 58 of file itkRGBGibbsPriorFilter.h.

◆ IndexType

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

Definition at line 103 of file itkRGBGibbsPriorFilter.h.

◆ IndexValueType

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

Definition at line 72 of file itkRGBGibbsPriorFilter.h.

◆ InputImageConstPointer

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

Definition at line 77 of file itkRGBGibbsPriorFilter.h.

◆ InputImagePixelType

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

Types from superclass.

Definition at line 67 of file itkRGBGibbsPriorFilter.h.

◆ InputImagePointer

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

Definition at line 76 of file itkRGBGibbsPriorFilter.h.

◆ InputImageRegionConstIterator

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

Definition at line 68 of file itkRGBGibbsPriorFilter.h.

◆ InputImageRegionIterator

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

Definition at line 69 of file itkRGBGibbsPriorFilter.h.

◆ InputImageSizeType

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

Specify the type of matrix to use.

Definition at line 230 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 75 of file itkRGBGibbsPriorFilter.h.

◆ InputImageVecType

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

The type of input pixel.

Definition at line 102 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 80 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 91 of file itkRGBGibbsPriorFilter.h.

◆ LabelledImagePixelType

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

Definition at line 71 of file itkRGBGibbsPriorFilter.h.

◆ LabelledImageRegionIterator

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

Definition at line 70 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. It is derived from the training image.

Definition at line 88 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 96 of file itkRGBGibbsPriorFilter.h.

◆ MatrixType

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

Specify the type of matrix to use.

Definition at line 197 of file itkRGBGibbsPriorFilter.h.

◆ Pointer

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

Definition at line 57 of file itkRGBGibbsPriorFilter.h.

◆ Self

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

Standard "Self" type alias.

Definition at line 55 of file itkRGBGibbsPriorFilter.h.

◆ Superclass

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

Definition at line 56 of file itkRGBGibbsPriorFilter.h.

◆ TrainingImageType

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

Definition at line 84 of file itkRGBGibbsPriorFilter.h.

Constructor & Destructor Documentation

◆ RGBGibbsPriorFilter()

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

Specify the type of matrix to use.

◆ ~RGBGibbsPriorFilter()

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

Specify the type of matrix to use.

Member Function Documentation

◆ ApplyGibbsLabeller()

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

Specify the type of matrix to use.

◆ ApplyGPImageFilter()

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

Specify the type of matrix to use.

◆ CreateAnother()

template<typename TInputImage , typename TClassifiedImage >
virtual::itk::LightObject::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::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::MRFImageFilter< TInputImage, TClassifiedImage >.

◆ GenerateData()

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

Specify the type of matrix to use.

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

◆ GetCliqueWeight_1()

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

Specify the type of matrix to use.

◆ GetCliqueWeight_2()

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

Specify the type of matrix to use.

◆ GetCliqueWeight_3()

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

Specify the type of matrix to use.

◆ GetCliqueWeight_4()

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

Specify the type of matrix to use.

◆ GetCliqueWeight_5()

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

Specify the type of matrix to use.

◆ GetCliqueWeight_6()

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

Specify the type of matrix to use.

◆ GetLabelledImage()

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

Get the labelled image.

Definition at line 115 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 161 of file itkRGBGibbsPriorFilter.h.

◆ GetNameOfClass()

template<typename TInputImage , typename TClassifiedImage >
virtual const char* itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

◆ 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 139 of file itkRGBGibbsPriorFilter.h.

◆ 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

region size smaller than the threshold will be erased. the label for object region. the channel number in the image. the point give lowest value of H-1 in neighbor. for region erase. for region erase. weights for different clique configuration. weight for cliques that v/h smooth boundary weight for clique that has an intermadiate smooth boundary weight for clique that has a diagonal smooth boundary weight for clique consists only object pixels weight for clique consists only background pixels weight for clique other than these calculate H_2.

◆ MinimizeFunctional()

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

allocate memory space for the filter.

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

Specify the type of matrix to use.

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

◆ SetBoundaryGradient()

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

Specify the type of matrix to use.

◆ SetClassifier()

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

Set the pointer to the classifier being used.

◆ SetCliqueWeight_1()

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

set and get the value for Clique weights

◆ SetCliqueWeight_2()

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

Specify the type of matrix to use.

◆ SetCliqueWeight_3()

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

Specify the type of matrix to use.

◆ SetCliqueWeight_4()

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

Specify the type of matrix to use.

◆ SetCliqueWeight_5()

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

Specify the type of matrix to use.

◆ SetCliqueWeight_6()

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

Specify the type of matrix to use.

◆ SetClusterSize()

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

Set 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 147 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 126 of file itkRGBGibbsPriorFilter.h.

◆ SetObjectLabel()

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

Set the label for the object region.

◆ SetObjectThreshold()

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

Specify the type of matrix to use.

◆ SetStartPoint()

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

Specify the type of matrix to use.

◆ SetTrainingImage()

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

Set the image required for training type classifiers.

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 173 of file itkRGBGibbsPriorFilter.h.

◆ m_ClassifierPtr

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

the input image to train the filter. output the number of class need to be classified. number of the iteration.

Definition at line 246 of file itkRGBGibbsPriorFilter.h.

◆ m_ImageDepth

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

Specify the type of matrix to use.

Definition at line 270 of file itkRGBGibbsPriorFilter.h.

◆ m_ImageHeight

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

the threshold for the existence of a boundary. weight for H_1 weight for H_2 define the start region of the object. number of SA iterations. array for the state of each pixel. the medium image to store intermedium result for SA algo. the seed of object image size.

Definition at line 269 of file itkRGBGibbsPriorFilter.h.

◆ m_ObjectThreshold

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

method to return 1 when a equal to b. help to erase the small region. erase the small region. create the intermedium image. calculate H_1.

Definition at line 329 of file itkRGBGibbsPriorFilter.h.


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