ANIMA  4.0
Namespaces | Functions
animaVectorImagePatchStatistics.h File Reference
#include <itkVectorImage.h>
#include "animaVectorImagePatchStatistics.hxx"
+ Include dependency graph for animaVectorImagePatchStatistics.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 anima
 

Functions

template<class T1 , class T2 , unsigned int Dimension>
void anima::computeAverageLocalCovariance (vnl_matrix< T2 > &resVariance, itk::VectorImage< T1, Dimension > *inputImage, itk::Image< unsigned char, Dimension > *maskImage, const itk::ImageRegion< Dimension > &averagingRegion, int localNeighborhood)
 Noise estimation for a patch of a vector image. More...
 
template<class T1 , class T2 , unsigned int Dimension>
unsigned int anima::computePatchMeanAndCovariance (const itk::VectorImage< T1, Dimension > *inputImage, const itk::ImageRegion< Dimension > &patchRegion, itk::VariableLengthVector< T2 > &patchMean, vnl_matrix< T2 > &patchCov)
 Computes the average and covariance matrix from a patch of a vector image. More...
 
template<class T >
double anima::VectorCovarianceTest (vnl_matrix< T > &logRefPatchCov, vnl_matrix< T > &movingPatchCov)
 Test if covariance matrices are different (returns distance) More...
 
template<class T >
double anima::VectorMeansTest (itk::VariableLengthVector< T > &refPatchMean, itk::VariableLengthVector< T > &movingPatchMean, const unsigned int &refPatchNumElts, const unsigned int &movingPatchNumElts, vnl_matrix< T > &refPatchCov, vnl_matrix< T > &movingPatchCov)
 Test if vector means are different (returns distance) More...