Public Member Functions | Protected Member Functions | List of all members
mirtk::HistogramMatching< TVoxel > Class Template Reference

#include <HistogramMatching.h>

Inheritance diagram for mirtk::HistogramMatching< TVoxel >:
Inheritance graph
Collaboration diagram for mirtk::HistogramMatching< TVoxel >:
Collaboration graph

Public Member Functions

 HistogramMatching ()
 Constructor.
 
virtual void Run ()
 Run filter on entire image.
 
- Public Member Functions inherited from mirtk::ImageToImage< TVoxel >
 ImageToImage ()
 Constructor.
 
virtual bool RequiresBuffering () const
 
virtual double Run (int, int, int, int=0)
 Run filter on single voxel.
 
virtual ~ImageToImage ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
virtual const char * NameOfClass () const =0
 Get name of class, which this object is an instance of.
 
virtual ParameterList Parameter () const
 Get parameter name/value pairs.
 
bool Parameter (const ParameterList &)
 Set parameters from name/value pairs.
 
virtual bool Set (const char *name, const char *value)
 
virtual ~Object ()
 Destructor.
 

Protected Member Functions

virtual void Initialize ()
 
- Protected Member Functions inherited from mirtk::ImageToImage< TVoxel >
virtual void Finalize ()
 
void Initialize (bool)
 
 mirtkAggregateMacro (ImageType, Buffer)
 Buffer.
 
 mirtkPublicAggregateMacro (const ImageType, Input)
 Input image for filter.
 
 mirtkPublicAggregateMacro (ImageType, Output)
 Output image for filter.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 

Additional Inherited Members

- Public Types inherited from mirtk::ImageToImage< TVoxel >
typedef GenericImage< VoxelTypeImageType
 Input/output image type.
 
typedef TVoxel VoxelType
 Input/output image voxel type.
 
- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

template<class TVoxel>
class mirtk::HistogramMatching< TVoxel >

Match histogram of image to match distribution of reference image

Nyul, L.G., Udupa, J.K., Xuan Zhang, "New variants of a method of MRI scale standardization", IEEE TMI, vol.19, no.2, pp.143-150, Feb. 2000 (http://dx.doi.org/10.1109/42.836373)

Note
Source code adapted from an implementation by Vladimir Fonov in EZminc (https://github.com/vfonov/EZminc)
Only the foreground intensities of the input images are considered.

Definition at line 38 of file HistogramMatching.h.

Member Function Documentation

§ Initialize()

template<class TVoxel >
virtual void mirtk::HistogramMatching< TVoxel >::Initialize ( )
protectedvirtual

Initialize the filter. This function must be called by any derived filter class to perform some initialize tasks.

Reimplemented from mirtk::ImageToImage< TVoxel >.


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