ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkRGBGibbsPriorFilter.h>
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 minized by the GibbsTotalEnergy method.
This filter only works with 3D images.
Definition at line 47 of file itkRGBGibbsPriorFilter.h.
Public Types | |
typedef TClassifiedImage | ClassifiedImageType |
typedef ImageClassifierBase < TInputImage, TClassifiedImage > | ClassifierType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef Superclass::IndexValueType | IndexValueType |
typedef TInputImage::ConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef TInputImage::Pointer | InputImagePointer |
typedef Superclass::InputImageRegionConstIterator | InputImageRegionConstIterator |
typedef Superclass::InputImageRegionIterator | InputImageRegionIterator |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputImageVecType |
typedef TInputImage::PixelType | InputPixelType |
typedef TClassifiedImage::IndexType | LabelledImageIndexType |
typedef Superclass::LabelledImagePixelType | LabelledImagePixelType |
typedef Superclass::LabelledImageRegionIterator | LabelledImageRegionIterator |
typedef TClassifiedImage::Pointer | LabelledImageType |
typedef unsigned int | LabelType |
typedef vnl_matrix< double > | MatrixType |
typedef SmartPointer< Self > | Pointer |
typedef RGBGibbsPriorFilter | Self |
typedef MRFImageFilter < TInputImage, TClassifiedImage > | Superclass |
typedef TClassifiedImage::Pointer | TrainingImageType |
Public Types inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage > | |
typedef ImageClassifierBase < TInputImage, TClassifiedImage > | ClassifierType |
typedef SmartPointer< const Self > | ConstPointer |
typedef LabelledImageIndexType::IndexValueType | IndexValueType |
typedef TInputImage::ConstPointer | InputImageConstPointer |
typedef InputImageFaceListType::iterator | InputImageFaceListIterator |
typedef InputImageFacesCalculator::FaceListType | InputImageFaceListType |
typedef NeighborhoodAlgorithm::ImageBoundaryFacesCalculator < TInputImage > | InputImageFacesCalculator |
typedef ConstNeighborhoodIterator < TInputImage > | InputImageNeighborhoodIterator |
typedef InputImageNeighborhoodIterator::RadiusType | InputImageNeighborhoodRadiusType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::Pointer | InputImagePointer |
typedef ImageRegionConstIterator < TInputImage > | InputImageRegionConstIterator |
typedef ImageRegionIterator < TInputImage > | InputImageRegionIterator |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef LabelledImageFaceListType::iterator | LabelledImageFaceListIterator |
typedef LabelledImageFacesCalculator::FaceListType | LabelledImageFaceListType |
typedef NeighborhoodAlgorithm::ImageBoundaryFacesCalculator < TClassifiedImage > | LabelledImageFacesCalculator |
typedef TClassifiedImage::IndexType | LabelledImageIndexType |
typedef NeighborhoodIterator < TClassifiedImage > | LabelledImageNeighborhoodIterator |
typedef LabelledImageNeighborhoodIterator::RadiusType | LabelledImageNeighborhoodRadiusType |
typedef TClassifiedImage::OffsetType | LabelledImageOffsetType |
typedef TClassifiedImage::PixelType | LabelledImagePixelType |
typedef TClassifiedImage::Pointer | LabelledImagePointer |
typedef ImageRegionIterator < TClassifiedImage > | LabelledImageRegionIterator |
typedef TClassifiedImage::RegionType | LabelledImageRegionType |
typedef TInputImage::SizeType | NeighborhoodRadiusType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef SmartPointer< Self > | Pointer |
typedef MRFImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
enum | StopConditionType { MaximumNumberOfIterations = 1, ErrorTolerance } |
typedef ImageToImageFilter < TInputImage, TClassifiedImage > | Superclass |
typedef TClassifiedImage::PixelType | TrainingImagePixelType |
typedef TClassifiedImage::Pointer | TrainingImagePointer |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource < TClassifiedImage > | Superclass |
Public Types inherited from itk::ImageSource< TClassifiedImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TClassifiedImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
LabelledImageType | GetLabelledImage () |
virtual unsigned int | GetMaximumNumberOfIterations () const override |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNumberOfClasses () const override |
virtual void | SetBoundaryGradient (unsigned int _arg) |
void | SetClassifier (typename ClassifierType::Pointer ptrToClassifier) |
virtual void | SetClusterSize (unsigned int _arg) |
void | SetLabelledImage (LabelledImageType LabelledImage) |
virtual void | SetObjectLabel (LabelType _arg) |
virtual void | SetObjectThreshold (double _arg) |
virtual void | SetStartPoint (IndexType _arg) |
void | SetTrainingImage (TrainingImageType image) |
virtual void | SetNumberOfClasses (const unsigned int numberOfClasses) override |
virtual void | SetMaximumNumberOfIterations (const unsigned int numberOfIterations) override |
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 StopConditionType & | GetStopCondition () const |
void | SetClassifier (typename ClassifierType::Pointer ptrToClassifier) |
virtual void | SetMRFNeighborhoodWeight (std::vector< double > BetaMatrix) |
void | SetNeighborhoodRadius (const NeighborhoodRadiusType &) |
void | SetNeighborhoodRadius (const SizeValueType) |
void | SetNeighborhoodRadius (const SizeValueType *radiusArray) |
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 InputImageType * | GetInput () const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () override |
virtual void | PopFrontInput () override |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
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 > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput () |
const OutputImageType * | GetOutput () const |
virtual void | GraftOutput (DataObject *output) |
virtual ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override |
virtual 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 () |
MultiThreaderType * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
DataObjectPointerArray | GetOutputs () |
virtual const float & | GetProgress () const |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual void | PrepareOutputs () |
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) |
void | SetProgress (float progress) |
virtual void | SetReleaseDataFlag (bool flag) |
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 | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
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::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::MRFImageFilter< TInputImage, TClassifiedImage > | |
static const unsigned int | ClassifiedImageDimension = TClassifiedImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TClassifiedImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TClassifiedImage > | |
static const unsigned int | OutputImageDimension |
Private Types | |
typedef TInputImage::SizeType | InputImageSizeType |
Private Member Functions | |
double | GibbsEnergy (unsigned int i, unsigned int k, unsigned int k1) |
void | GibbsTotalEnergy (int i) |
void | operator= (const Self &) |
RGBGibbsPriorFilter (const Self &) | |
Private Attributes | |
ClassifierType::Pointer | m_ClassifierPtr |
unsigned int | m_ImageDepth |
unsigned int | m_ImageHeight |
double | m_ObjectThreshold |
typedef TClassifiedImage itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ClassifiedImageType |
Type definitions for the training image.
Definition at line 80 of file itkRGBGibbsPriorFilter.h.
typedef ImageClassifierBase< TInputImage, TClassifiedImage > itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ClassifierType |
Type definitions for classifier to be used for the MRF lavbelling.
Definition at line 96 of file itkRGBGibbsPriorFilter.h.
typedef SmartPointer< const Self > itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ConstPointer |
Definition at line 55 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage::IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::IndexType |
Definition at line 100 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::IndexValueType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::IndexValueType |
Definition at line 69 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage::ConstPointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageConstPointer |
Definition at line 74 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::InputImagePixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImagePixelType |
Types from superclass.
Definition at line 61 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImagePointer |
Definition at line 73 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::InputImageRegionConstIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageRegionConstIterator |
Definition at line 65 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::InputImageRegionIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageRegionIterator |
Definition at line 66 of file itkRGBGibbsPriorFilter.h.
|
private |
Definition at line 216 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageType |
A smart pointer to the input image type.
Definition at line 72 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage::PixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageVecType |
The type of input pixel.
Definition at line 99 of file itkRGBGibbsPriorFilter.h.
typedef TInputImage::PixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputPixelType |
Type definition for the input image pixel type.
Definition at line 77 of file itkRGBGibbsPriorFilter.h.
typedef TClassifiedImage::IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageIndexType |
Type definition for the classified image index type.
Definition at line 88 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::LabelledImagePixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImagePixelType |
Definition at line 68 of file itkRGBGibbsPriorFilter.h.
typedef Superclass::LabelledImageRegionIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageRegionIterator |
Definition at line 67 of file itkRGBGibbsPriorFilter.h.
typedef TClassifiedImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageType |
Type definitions for the labelled image. It is derived from the training image.
Definition at line 85 of file itkRGBGibbsPriorFilter.h.
typedef unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelType |
Type used as identifier for the Labels
Definition at line 93 of file itkRGBGibbsPriorFilter.h.
typedef vnl_matrix< double > itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::MatrixType |
Specify the type of matrix to use.
Definition at line 181 of file itkRGBGibbsPriorFilter.h.
typedef SmartPointer< Self > itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Pointer |
Definition at line 54 of file itkRGBGibbsPriorFilter.h.
typedef RGBGibbsPriorFilter itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Self |
Standard "Self" typedef.
Definition at line 52 of file itkRGBGibbsPriorFilter.h.
typedef MRFImageFilter< TInputImage, TClassifiedImage > itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Superclass |
Definition at line 53 of file itkRGBGibbsPriorFilter.h.
typedef TClassifiedImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::TrainingImageType |
Definition at line 81 of file itkRGBGibbsPriorFilter.h.
|
protected |
|
overrideprotected |
|
private |
|
protectedvirtual |
|
protectedvirtual |
|
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 >.
|
overrideprotectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
inline |
Get the labelled image.
Definition at line 109 of file itkRGBGibbsPriorFilter.h.
|
inlineoverridevirtual |
Get the number of iterations of the Iterated Conditional Mode (ICM) algorithm.
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
Definition at line 148 of file itkRGBGibbsPriorFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
|
inlineoverridevirtual |
Get the Number of classes.
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
Definition at line 128 of file itkRGBGibbsPriorFilter.h.
|
private |
calculate the energy in each cluster.
|
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 boundayr 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.
|
overrideprotectedvirtual |
allocate memory space for the filter.
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
|
static |
Method for creation through the object factory.
|
private |
|
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 >.
|
virtual |
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetClassifier | ( | typename ClassifierType::Pointer | ptrToClassifier | ) |
Set the pointer to the classifer being used.
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
set and get the value for Clique weights
|
virtual |
Set the threshold for the object size.
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetLabelledImage | ( | LabelledImageType | LabelledImage | ) |
Set the labelled image.
|
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 135 of file itkRGBGibbsPriorFilter.h.
|
inlineoverridevirtual |
Set the Number of classes.
Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.
Definition at line 116 of file itkRGBGibbsPriorFilter.h.
|
virtual |
Set the label for the object region.
|
virtual |
|
virtual |
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetTrainingImage | ( | TrainingImageType | image | ) |
Set the image required for training type classifiers.
|
static |
Extract the input image dimension.
Definition at line 161 of file itkRGBGibbsPriorFilter.h.
|
private |
the input image to train the filter. output the number of class need to be classified.number of the iteration.
Definition at line 232 of file itkRGBGibbsPriorFilter.h.
|
private |
Definition at line 256 of file itkRGBGibbsPriorFilter.h.
|
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 255 of file itkRGBGibbsPriorFilter.h.
|
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 308 of file itkRGBGibbsPriorFilter.h.