ANIMA
4.0
|
#include <animaNonLocalPatchBaseSearcher.h>
Public Types | |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::RegionType | ImageRegionType |
typedef ImageType::IndexType | IndexType |
typedef ImageType::PixelType | PixelType |
typedef ImageType::SizeType | SizeType |
Public Member Functions | |
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 void | ComputeComparisonProperties (unsigned int index, ImageRegionType &movingPatch) |
virtual void | ComputeInputProperties (const IndexType &refIndex, ImageRegionType &refPatch) |
virtual double | ComputeWeightValue (unsigned int index, ImageRegionType &refPatch, ImageRegionType &movingPatch)=0 |
virtual bool | TestPatchConformity (unsigned int index, const IndexType &refIndex, const IndexType &movingIndex)=0 |
Abstract class for non local patch matching. May be used to search in multiple images if the concrete class does support it. Does not compute weights and samples for central voxels as these would always get a weight of 1. Instead, it is the developer task to implement it in his filter
Definition at line 15 of file animaNonLocalPatchBaseSearcher.h.
typedef ImageType::Pointer anima::NonLocalPatchBaseSearcher< ImageType >::ImagePointer |
Definition at line 21 of file animaNonLocalPatchBaseSearcher.h.
typedef ImageType::RegionType anima::NonLocalPatchBaseSearcher< ImageType >::ImageRegionType |
Definition at line 20 of file animaNonLocalPatchBaseSearcher.h.
typedef ImageType::IndexType anima::NonLocalPatchBaseSearcher< ImageType >::IndexType |
Definition at line 18 of file animaNonLocalPatchBaseSearcher.h.
typedef ImageType::PixelType anima::NonLocalPatchBaseSearcher< ImageType >::PixelType |
Definition at line 22 of file animaNonLocalPatchBaseSearcher.h.
typedef ImageType::SizeType anima::NonLocalPatchBaseSearcher< ImageType >::SizeType |
Definition at line 19 of file animaNonLocalPatchBaseSearcher.h.
anima::NonLocalPatchBaseSearcher< ImageType >::NonLocalPatchBaseSearcher | ( | ) |
Definition at line 12 of file animaNonLocalPatchBaseSearcher.hxx.
|
inlinevirtual |
Definition at line 25 of file animaNonLocalPatchBaseSearcher.h.
|
inlineprotectedvirtual |
Definition at line 45 of file animaNonLocalPatchBaseSearcher.h.
|
inlineprotectedvirtual |
Definition at line 44 of file animaNonLocalPatchBaseSearcher.h.
|
protectedpure virtual |
Implemented in anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >, and anima::NonLocalT2DistributionPatchSearcher< ImageType, DataImageType >.
Referenced by anima::NonLocalPatchBaseSearcher< itk::VectorImage< ImageScalarType, DataImageType::ImageDimension > >::ComputeComparisonProperties().
ImageType * anima::NonLocalPatchBaseSearcher< ImageType >::GetComparisonImage | ( | unsigned int | index | ) |
Definition at line 33 of file animaNonLocalPatchBaseSearcher.hxx.
Referenced by anima::NonLocalPatchBaseSearcher< itk::VectorImage< ImageScalarType, DataImageType::ImageDimension > >::SetInputImage().
|
virtual |
|
virtual |
anima::NonLocalPatchBaseSearcher< ImageType >::itkGetObjectMacro | ( | InputImage | , |
ImageType | |||
) |
|
inline |
Definition at line 32 of file animaNonLocalPatchBaseSearcher.h.
|
inline |
Definition at line 29 of file animaNonLocalPatchBaseSearcher.h.
|
inline |
|
inline |
Definition at line 28 of file animaNonLocalPatchBaseSearcher.h.
|
inline |
Definition at line 30 of file animaNonLocalPatchBaseSearcher.h.
|
protectedpure virtual |
Implemented in anima::NonLocalMeansPatchSearcher< ImageType, DataImageType >, and anima::NonLocalT2DistributionPatchSearcher< ImageType, DataImageType >.
Referenced by anima::NonLocalPatchBaseSearcher< itk::VectorImage< ImageScalarType, DataImageType::ImageDimension > >::ComputeComparisonProperties().
void anima::NonLocalPatchBaseSearcher< ImageType >::UpdateAtPosition | ( | const IndexType & | dataIndex | ) |