NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar > Class Template Reference

This class takes as input 2 input images, and outputs the registration force using Marc's Parzen window approach. (reference to follow). More...

Inheritance diagram for itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >:
Inheritance graph
[legend]
Collaboration diagram for itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >:
Collaboration graph
[legend]

Public Types

typedef
ParzenWindowNMIDerivativeForceGenerator 
Self
 
typedef
RegistrationForceFilter
< TFixedImage, TMovingImage,
TDeformationScalar > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::OutputDataType OutputDataType
 
typedef Superclass::OutputPixelType OutputPixelType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef
OutputImageType::SpacingType 
OutputImageSpacingType
 
typedef Superclass::InputImageType InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef
Superclass::InputImageRegionType 
RegionType
 
typedef Superclass::MetricType MetricType
 
typedef Superclass::MetricPointer MetricPointer
 
typedef Superclass::HistogramType HistogramType
 
typedef
Superclass::HistogramPointer 
HistogramPointer
 
typedef
Superclass::HistogramSizeType 
HistogramSizeType
 
typedef
Superclass::HistogramMeasurementVectorType 
HistogramMeasurementVectorType
 
typedef
Superclass::HistogramFrequencyType 
HistogramFrequencyType
 
typedef
Superclass::HistogramIteratorType 
HistogramIteratorType
 
typedef HistogramType::ConstPointer HistogramConstPointer
 
typedef Superclass::MeasureType MeasureType
 
typedef
LinearlyInterpolatedDerivativeFilter
< TFixedImage, TMovingImage,
TScalarType,
TDeformationScalar > 
ScalarImageGradientFilterType
 
typedef
ScalarImageGradientFilterType::Pointer 
ScalarImageGradientFilterPointer
 
- Public Types inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >
typedef RegistrationForceFilter Self
 
typedef ImageToImageFilter
< TFixedImage, Image< Vector
< TDeformationScalar,
TFixedImage::ImageDimension >
, TFixedImage::ImageDimension > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TDeformationScalar OutputDataType
 
typedef Vector< OutputDataType,
itkGetStaticConstMacro(Dimension) > 
OutputPixelType
 
typedef Image< OutputPixelType,
itkGetStaticConstMacro(Dimension) > 
OutputImageType
 
typedef Superclass::InputImageType InputImageType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
Superclass::InputImageRegionType 
RegionType
 
typedef TDeformationScalar MeasureType
 
typedef
HistogramSimilarityMeasure
< TFixedImage, TMovingImage > 
MetricType
 
typedef MetricType::Pointer MetricPointer
 
typedef MetricType::HistogramType HistogramType
 
typedef
MetricType::HistogramPointer 
HistogramPointer
 
typedef
MetricType::HistogramSizeType 
HistogramSizeType
 
typedef
MetricType::HistogramMeasurementVectorType 
HistogramMeasurementVectorType
 
typedef
MetricType::HistogramFrequencyType 
HistogramFrequencyType
 
typedef
MetricType::HistogramIteratorType 
HistogramIteratorType
 
typedef SpatialObject< DimensionFixedImageMaskType
 
typedef Image< double,
TFixedImage::ImageDimension > 
JacobianImageType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, TFixedImage::ImageDimension)
 
virtual void SetScalarImageGradientFilter (ScalarImageGradientFilterType *_arg)
 
virtual const
ScalarImageGradientFilterType
GetScalarImageGradientFilter ()
 
- Public Member Functions inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >
 itkStaticConstMacro (Dimension, unsigned int, TFixedImage::ImageDimension)
 
virtual void SetFixedImage (const InputImageType *image)
 
virtual void SetTransformedMovingImage (const InputImageType *image)
 
virtual void SetUnTransformedMovingImage (const InputImageType *image)
 
virtual void SetNthInput (unsigned int idx, const InputImageType *)
 
virtual void SetMetric (MetricType *_arg)
 
virtual MetricTypeGetMetric ()
 
virtual void SetScaleToSizeOfVoxelAxis (bool _arg)
 
virtual bool GetScaleToSizeOfVoxelAxis ()
 
virtual void SetFixedUpperPixelValue (InputImagePixelType _arg)
 
virtual InputImagePixelType GetFixedUpperPixelValue ()
 
virtual void SetFixedLowerPixelValue (InputImagePixelType _arg)
 
virtual InputImagePixelType GetFixedLowerPixelValue ()
 
virtual void SetMovingUpperPixelValue (InputImagePixelType _arg)
 
virtual InputImagePixelType GetMovingUpperPixelValue ()
 
virtual void SetMovingLowerPixelValue (InputImagePixelType _arg)
 
virtual InputImagePixelType GetMovingLowerPixelValue ()
 
virtual void SetIsSymmetric (bool _arg)
 
virtual bool GetIsSymmetric ()
 
virtual void SetFixedImageMask (const FixedImageMaskType *fixedImageMask)
 
void WriteForceImage (std::string filename)
 
virtual void SetFixedImageTransformJacobian (typename JacobianImageType::Pointer jacobian)
 
virtual void SetMovingImageTransformJacobian (typename JacobianImageType::Pointer jacobian)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ParzenWindowNMIDerivativeForceGenerator ()
 
 ~ParzenWindowNMIDerivativeForceGenerator ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId)
 
- Protected Member Functions inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >
 RegistrationForceFilter ()
 
 ~RegistrationForceFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void AfterThreadedGenerateData ()
 

Protected Attributes

ScalarImageGradientFilterPointer m_ScalarImageGradientFilter
 
- Protected Attributes inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >
MetricPointer m_Metric
 
bool m_ScaleToSizeOfVoxelAxis
 
InputImagePixelType m_FixedUpperPixelValue
 
InputImagePixelType m_FixedLowerPixelValue
 
InputImagePixelType m_MovingUpperPixelValue
 
InputImagePixelType m_MovingLowerPixelValue
 
const FixedImageMaskTypem_FixedImageMask
 
bool m_IsSymmetric
 
JacobianImageType::Pointer m_FixedImageTransformJacobian
 
JacobianImageType::Pointer m_MovingImageTransformJacobian
 

Detailed Description

template<class TFixedImage, class TMovingImage, class TScalarType, class TDeformationScalar>
class itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >

This class takes as input 2 input images, and outputs the registration force using Marc's Parzen window approach. (reference to follow).

As of 20090126, this is a bit of a simple implementation, as we assume that the image has the same number of intensity values as the histogram has bins. So you MUST rescale your image image to fit the histogram first.

See also
RegistrationForceFilter NMILocalHistogramDerivativeForceFilter.

Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef SmartPointer<const Self> itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::ConstPointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef HistogramType::ConstPointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramConstPointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramFrequencyType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramFrequencyType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramIteratorType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramIteratorType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramMeasurementVectorType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramMeasurementVectorType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramPointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramPointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramSizeType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramSizeType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::HistogramType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::HistogramType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::InputImageType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::InputImageType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef InputImageType::PixelType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::InputPixelType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::MeasureType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::MeasureType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::MetricPointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::MetricPointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::MetricType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::MetricType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::OutputDataType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::OutputDataType

Standard typedefs.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef OutputImageType::SpacingType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::OutputImageSpacingType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::OutputImageType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::OutputImageType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::OutputPixelType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::OutputPixelType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef SmartPointer<Self> itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::Pointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef Superclass::InputImageRegionType itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::RegionType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef ScalarImageGradientFilterType::Pointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::ScalarImageGradientFilterPointer
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef LinearlyInterpolatedDerivativeFilter<TFixedImage, TMovingImage, TScalarType, TDeformationScalar> itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::ScalarImageGradientFilterType
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef ParzenWindowNMIDerivativeForceGenerator itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::Self

Standard "Self" typedef.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
typedef RegistrationForceFilter<TFixedImage, TMovingImage, TDeformationScalar> itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::Superclass

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::ParzenWindowNMIDerivativeForceGenerator ( )
protected
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::~ParzenWindowNMIDerivativeForceGenerator ( )
inlineprotected

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
virtual void itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::BeforeThreadedGenerateData ( )
protectedvirtual

This gets called before ThreadedGenerateData.

Reimplemented from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
virtual const char* itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TDeformationScalar >.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
virtual const ScalarImageGradientFilterType* itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::GetScalarImageGradientFilter ( )
virtual

Get a pointer to the ScalarImageGradientFilter.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
TFixedImage::ImageDimension   
)

Get the number of dimensions we are working in.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
static Pointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
void itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
virtual void itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::SetScalarImageGradientFilter ( ScalarImageGradientFilterType _arg)
virtual

Connect the ScalarImageGradientFilter.

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
virtual void itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::ThreadedGenerateData ( const RegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

The "In The Money" method.

Member Data Documentation

template<class TFixedImage , class TMovingImage , class TScalarType , class TDeformationScalar >
ScalarImageGradientFilterPointer itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >::m_ScalarImageGradientFilter
protected

Calculate gradient of input image (transformed moving image).


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