itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage > Class Template Reference

Implements comparison between two DiffusionTensor3D images. More...

#include <itkDifferenceDiffusionTensor3DImageFilter.h>

Inheritance diagram for itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >:
ImageToImageFilter

List of all members.

Public Types

typedef NumericTraits
< RealType >::AccumulateType 
AccumulateType
typedef SmartPointer< const SelfConstPointer
typedef std::vector
< std::vector< double > > 
DoubleVectorType
typedef TInputImage InputImageType
typedef InputImageType::PixelType InputPixelType
typedef itk::Matrix< double, 3, 3 > MatrixType
typedef itk::MetaDataObject
< DoubleVectorType
MetaDataDoubleVectorType
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef NumericTraits
< OutputPixelType >::RealType 
RealType
typedef
DifferenceDiffusionTensor3DImageFilter 
Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

 itkGetConstMacro (NumberOfPixelsWithDifferences, unsigned long)
 itkGetConstMacro (TotalDifference, AccumulateType)
 itkGetConstMacro (MeanDifference, RealType)
 itkGetConstMacro (IgnoreBoundaryPixels, bool)
 itkGetConstMacro (DifferenceThreshold, OutputPixelType)
 itkGetConstMacro (ToleranceRadius, int)
 itkNewMacro (Self)
 itkSetMacro (IgnoreBoundaryPixels, bool)
 itkSetMacro (DifferenceThreshold, OutputPixelType)
 itkSetMacro (ToleranceRadius, int)
 itkTypeMacro (DifferenceDiffusionTensor3DImageFilter, ImageToImageFilter)
virtual void SetTestInput (const InputImageType *testImage)
virtual void SetValidInput (const InputImageType *validImage)

Protected Member Functions

void AfterThreadedGenerateData ()
InputPixelType ApplyMeasurementFrameToTensor (InputPixelType tensor, const MatrixType &measurementFrame)
void BeforeThreadedGenerateData ()
 DifferenceDiffusionTensor3DImageFilter ()
MatrixType GetMetaDataDictionary (const InputImageType *image)
void PrintSelf (std::ostream &os, Indent indent) const
void ThreadedGenerateData (const OutputImageRegionType &threadRegion, int threadId)
virtual ~DifferenceDiffusionTensor3DImageFilter ()

Protected Attributes

OutputPixelType m_DifferenceThreshold
RealType m_MeanDifference
unsigned long m_NumberOfPixelsWithDifferences
Array< AccumulateTypem_ThreadDifferenceSum
Array< unsigned long > m_ThreadNumberOfPixels
int m_ToleranceRadius
AccumulateType m_TotalDifference
MatrixType measurementFrameTest
MatrixType measurementFrameValid

Private Member Functions

 DifferenceDiffusionTensor3DImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

bool m_IgnoreBoundaryPixels

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >

Implements comparison between two DiffusionTensor3D images.

This filter is used by the testing system to compute the difference between a valid DiffusionTensor3D image and a DiffusionTensor3D image produced by the test. The comparison value is computed by visiting all the pixels in the baseline images and comparing their values with the pixel values in the neighborhood of the homologous pixel in the other image. At one voxel, it adds the absolute value of the difference between the different components of the diffusion tensor. It compares the sum to a threshold set by the developper


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef NumericTraits<RealType>::AccumulateType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::AccumulateType
template<class TInputImage , class TOutputImage >
typedef SmartPointer<const Self> itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef std::vector< std::vector< double > > itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::DoubleVectorType
template<class TInputImage , class TOutputImage >
typedef TInputImage itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::InputImageType

Some convenient typedefs.

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::InputPixelType
template<class TInputImage , class TOutputImage >
typedef itk::Matrix< double , 3 , 3 > itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::MatrixType
template<class TInputImage , class TOutputImage >
typedef itk::MetaDataObject< DoubleVectorType > itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::MetaDataDoubleVectorType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::OutputImageRegionType
template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::OutputImageType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::OutputPixelType
template<class TInputImage , class TOutputImage >
typedef SmartPointer<Self> itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef NumericTraits<OutputPixelType>::RealType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::RealType
template<class TInputImage , class TOutputImage >
typedef DifferenceDiffusionTensor3DImageFilter itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::DifferenceDiffusionTensor3DImageFilter (  )  [protected]
template<class TInputImage , class TOutputImage >
virtual itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::~DifferenceDiffusionTensor3DImageFilter (  )  [inline, protected, virtual]
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::DifferenceDiffusionTensor3DImageFilter ( const Self  )  [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::AfterThreadedGenerateData (  )  [protected]
template<class TInputImage , class TOutputImage >
InputPixelType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::ApplyMeasurementFrameToTensor ( InputPixelType  tensor,
const MatrixType measurementFrame 
) [protected]
template<class TInputImage , class TOutputImage >
void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData (  )  [protected]
template<class TInputImage , class TOutputImage >
MatrixType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::GetMetaDataDictionary ( const InputImageType image  )  [protected]
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( NumberOfPixelsWithDifferences  ,
unsigned  long 
)
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( TotalDifference  ,
AccumulateType   
)
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( MeanDifference  ,
RealType   
)

Get parameters of the difference image after execution.

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( IgnoreBoundaryPixels  ,
bool   
)
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( DifferenceThreshold  ,
OutputPixelType   
)
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkGetConstMacro ( ToleranceRadius  ,
int   
)
template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkNewMacro ( Self   ) 

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkSetMacro ( IgnoreBoundaryPixels  ,
bool   
)

Set/Get ignore boundary pixels. Useful when resampling may have introduced difference pixel values along the image edge Default = false

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkSetMacro ( DifferenceThreshold  ,
OutputPixelType   
)

Set/Get the minimum threshold for pixels to be different. Default is 0.

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkSetMacro ( ToleranceRadius  ,
int   
)

Set/Get the maximum distance away to look for a matching pixel. Default is 0.

template<class TInputImage , class TOutputImage >
itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::itkTypeMacro ( DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >  ,
ImageToImageFilter   
)

Run-time type information (and related methods).

template<class TInputImage , class TOutputImage >
void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::operator= ( const Self  )  [private]
template<class TInputImage , class TOutputImage >
void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]
template<class TInputImage , class TOutputImage >
virtual void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::SetTestInput ( const InputImageType testImage  )  [virtual]

Set the test image input. This will be input 1.

template<class TInputImage , class TOutputImage >
virtual void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::SetValidInput ( const InputImageType validImage  )  [virtual]

Set the valid image input. This will be input 0.

template<class TInputImage , class TOutputImage >
void itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType threadRegion,
int  threadId 
) [protected]

DifferenceImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"

See also:
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

Member Data Documentation

template<class TInputImage , class TOutputImage >
OutputPixelType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_DifferenceThreshold [protected]
template<class TInputImage , class TOutputImage >
bool itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_IgnoreBoundaryPixels [private]
template<class TInputImage , class TOutputImage >
RealType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_MeanDifference [protected]
template<class TInputImage , class TOutputImage >
unsigned long itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_NumberOfPixelsWithDifferences [protected]
template<class TInputImage , class TOutputImage >
Array<AccumulateType> itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_ThreadDifferenceSum [protected]
template<class TInputImage , class TOutputImage >
Array<unsigned long> itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_ThreadNumberOfPixels [protected]
template<class TInputImage , class TOutputImage >
int itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_ToleranceRadius [protected]
template<class TInputImage , class TOutputImage >
AccumulateType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::m_TotalDifference [protected]
template<class TInputImage , class TOutputImage >
MatrixType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::measurementFrameTest [protected]
template<class TInputImage , class TOutputImage >
MatrixType itk::DifferenceDiffusionTensor3DImageFilter< TInputImage, TOutputImage >::measurementFrameValid [protected]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1