ANIMA  4.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
anima::NonLocalMeansPatchSearcher< ImageType, DataImageType > Class Template Reference

#include <animaNonLocalMeansPatchSearcher.h>

+ Inheritance diagram for anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >:
+ Collaboration diagram for anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >:

Public Types

typedef DataImageType::Pointer DataImagePointer
 
typedef Superclass::ImageRegionType ImageRegionType
 
typedef Superclass::IndexType IndexType
 
typedef anima::NonLocalPatchBaseSearcher< ImageType > Superclass
 
- Public Types inherited from anima::NonLocalPatchBaseSearcher< ImageType >
typedef ImageType::Pointer ImagePointer
 
typedef ImageType::RegionType ImageRegionType
 
typedef ImageType::IndexType IndexType
 
typedef ImageType::PixelType PixelType
 
typedef ImageType::SizeType SizeType
 

Public Member Functions

 NonLocalMeansPatchSearcher ()
 
void SetBetaParameter (double arg)
 
void SetMeanImage (DataImageType *arg)
 
void SetMeanMinThreshold (double arg)
 
void SetNoiseCovariance (double arg)
 
void SetVarImage (DataImageType *arg)
 
void SetVarMinThreshold (double arg)
 
virtual ~NonLocalMeansPatchSearcher ()
 
- Public Member Functions inherited from anima::NonLocalPatchBaseSearcher< ImageType >
ImageType * GetComparisonImage (unsigned int index)
 
virtual const std::vector< PixelType > & GetDatabaseSamples () const
 
virtual const std::vector< double > & GetDatabaseWeights () const
 
 itkGetObjectMacro (InputImage, ImageType) void AddComparisonImage(ImageType *arg)
 
 NonLocalPatchBaseSearcher ()
 
void SetInputImage (ImageType *arg)
 
void SetMaxAbsDisp (unsigned int arg)
 
void SetPatchHalfSize (unsigned int arg)
 
void SetSearchStepSize (unsigned int arg)
 
void SetWeightThreshold (double arg)
 
void UpdateAtPosition (const IndexType &dataIndex)
 
virtual ~NonLocalPatchBaseSearcher ()
 

Protected Member Functions

virtual double ComputeWeightValue (unsigned int index, ImageRegionType &refPatch, ImageRegionType &movingPatch)
 
virtual bool TestPatchConformity (unsigned int index, const IndexType &refIndex, const IndexType &movingIndex)
 
- Protected Member Functions inherited from anima::NonLocalPatchBaseSearcher< ImageType >
virtual void ComputeComparisonProperties (unsigned int index, ImageRegionType &movingPatch)
 
virtual void ComputeInputProperties (const IndexType &refIndex, ImageRegionType &refPatch)
 

Detailed Description

template<class ImageType, class DataImageType>
class anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >

Non local means patch searcher: computes actual patch matches weights and conformity. Supports only one comparison image that is the same as the input

Definition at line 13 of file animaNonLocalMeansPatchSearcher.h.

Member Typedef Documentation

◆ DataImagePointer

template<class ImageType , class DataImageType >
typedef DataImageType::Pointer anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::DataImagePointer

Definition at line 16 of file animaNonLocalMeansPatchSearcher.h.

◆ ImageRegionType

template<class ImageType , class DataImageType >
typedef Superclass::ImageRegionType anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::ImageRegionType

Definition at line 18 of file animaNonLocalMeansPatchSearcher.h.

◆ IndexType

template<class ImageType , class DataImageType >
typedef Superclass::IndexType anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::IndexType

Definition at line 19 of file animaNonLocalMeansPatchSearcher.h.

◆ Superclass

template<class ImageType , class DataImageType >
typedef anima::NonLocalPatchBaseSearcher<ImageType> anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::Superclass

Definition at line 17 of file animaNonLocalMeansPatchSearcher.h.

Constructor & Destructor Documentation

◆ NonLocalMeansPatchSearcher()

template<class ImageType , class DataImageType >
anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::NonLocalMeansPatchSearcher ( )

Definition at line 9 of file animaNonLocalMeansPatchSearcher.hxx.

◆ ~NonLocalMeansPatchSearcher()

template<class ImageType , class DataImageType >
virtual anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::~NonLocalMeansPatchSearcher ( )
inlinevirtual

Definition at line 22 of file animaNonLocalMeansPatchSearcher.h.

Member Function Documentation

◆ ComputeWeightValue()

template<class ImageType , class DataImageType >
double anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::ComputeWeightValue ( unsigned int  index,
ImageRegionType refPatch,
ImageRegionType movingPatch 
)
protectedvirtual

◆ SetBetaParameter()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetBetaParameter ( double  arg)
inline

Definition at line 24 of file animaNonLocalMeansPatchSearcher.h.

◆ SetMeanImage()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetMeanImage ( DataImageType *  arg)
inline

Definition at line 29 of file animaNonLocalMeansPatchSearcher.h.

◆ SetMeanMinThreshold()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetMeanMinThreshold ( double  arg)
inline

Definition at line 26 of file animaNonLocalMeansPatchSearcher.h.

◆ SetNoiseCovariance()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetNoiseCovariance ( double  arg)
inline

Definition at line 25 of file animaNonLocalMeansPatchSearcher.h.

◆ SetVarImage()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetVarImage ( DataImageType *  arg)
inline

◆ SetVarMinThreshold()

template<class ImageType , class DataImageType >
void anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::SetVarMinThreshold ( double  arg)
inline

Definition at line 27 of file animaNonLocalMeansPatchSearcher.h.

◆ TestPatchConformity()

template<class ImageType , class DataImageType >
bool anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >::TestPatchConformity ( unsigned int  index,
const IndexType refIndex,
const IndexType movingIndex 
)
protectedvirtual

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