NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar > Class Template Referenceabstract
Inheritance diagram for itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >:
Inheritance graph
[legend]
Collaboration diagram for itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >:
Collaboration graph
[legend]

Public Types

typedef
LocalHistogramDerivativeForceFilter 
Self
 
typedef
RegistrationForceFilter
< TFixedImage, TMovingImage,
TScalar > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::OutputPixelType OutputPixelType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef
OutputImageType::SpacingType 
OutputImageSpacingType
 
typedef Superclass::InputImageType InputImageType
 
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
 
- Public Types inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalar >
typedef RegistrationForceFilter Self
 
typedef ImageToImageFilter
< TFixedImage, Image< Vector
< TScalar,
TFixedImage::ImageDimension >
, TFixedImage::ImageDimension > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TScalar 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 TScalar 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)
 
- Public Member Functions inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalar >
 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)
 

Protected Member Functions

 LocalHistogramDerivativeForceFilter ()
 
 ~LocalHistogramDerivativeForceFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual MeasureType ComputeForcePerVoxel (double totalFrequency, double jointEntropy, double fixedImageEntropy, double movingImageEntropy, double transformedMovingImageMinusHistogramIndexJointFrequency, double transformedMovingImagePlusHistogramIndexJointFrequency, double transformedMovingImageMinusHistogramIndexFrequency, double transformedMovingImagePlusHistogramIndexFrequency) const =0
 
- Protected Member Functions inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalar >
 RegistrationForceFilter ()
 
 ~RegistrationForceFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 

Additional Inherited Members

- Protected Attributes inherited from itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalar >
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
 

Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TScalar >
typedef SmartPointer<const Self> itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::ConstPointer
template<class TFixedImage , class TMovingImage , class TScalar >
typedef HistogramType::ConstPointer itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramConstPointer
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramFrequencyType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramFrequencyType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramIteratorType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramIteratorType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramMeasurementVectorType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramMeasurementVectorType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramPointer itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramPointer
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramSizeType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramSizeType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::HistogramType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::HistogramType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::InputImageType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::InputImageType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::MeasureType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::MeasureType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::MetricPointer itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::MetricPointer
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::MetricType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::MetricType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef OutputImageType::SpacingType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::OutputImageSpacingType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::OutputImageType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::OutputImageType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::OutputPixelType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::OutputPixelType

Standard typedefs.

template<class TFixedImage , class TMovingImage , class TScalar >
typedef SmartPointer<Self> itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::Pointer
template<class TFixedImage , class TMovingImage , class TScalar >
typedef Superclass::InputImageRegionType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::RegionType
template<class TFixedImage , class TMovingImage , class TScalar >
typedef LocalHistogramDerivativeForceFilter itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::Self

Standard "Self" typedef.

template<class TFixedImage , class TMovingImage , class TScalar >
typedef RegistrationForceFilter<TFixedImage, TMovingImage, TScalar> itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::Superclass

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TScalar >
itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::LocalHistogramDerivativeForceFilter ( )
protected
template<class TFixedImage , class TMovingImage , class TScalar >
itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::~LocalHistogramDerivativeForceFilter ( )
inlineprotected

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TScalar >
virtual MeasureType itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::ComputeForcePerVoxel ( double  totalFrequency,
double  jointEntropy,
double  fixedImageEntropy,
double  movingImageEntropy,
double  transformedMovingImageMinusHistogramIndexJointFrequency,
double  transformedMovingImagePlusHistogramIndexJointFrequency,
double  transformedMovingImageMinusHistogramIndexFrequency,
double  transformedMovingImagePlusHistogramIndexFrequency 
) const
protectedpure virtual

Override this to supply the algorithm to compute the registration force per voxel.

Parameters
doubletotalFrequency Total frequency in the histogram.
doublejointEntropy Joint entropy H_AB.
doublefixedImageEntropy Marginal entropy of the fixed image H_A.
doublemovingImageEntropy Marginal entropy of the moving image H_B.
doubletransformedMovingImageMinusHistogramIndexJointFrequency Joint frequency of the histogram bin in the minus position Freq_mr
doubletransformedMovingImagePlusHistogramIndexJointFrequency Joint frequency of the histogram bin in the positive position Freq_mt
doubletransformedMovingImageMinusHistogramIndexFrequency Frequency of the histogram bin in the minus position Freq_r.
doubletransformedMovingImagePlusHistogramIndexFrequency Frequency of the histogram bin in the positive position Freq_t.
Returns
the registration force using with your algorithm.

Implemented in itk::NMILocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >.

template<class TFixedImage , class TMovingImage , class TScalar >
virtual const char* itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::GetClassName ( ) const
virtual
template<class TFixedImage , class TMovingImage , class TScalar >
itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
TFixedImage::ImageDimension   
)

Get the number of dimensions we are working in.

template<class TFixedImage , class TMovingImage , class TScalar >
void itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TFixedImage , class TMovingImage , class TScalar >
virtual void itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >::ThreadedGenerateData ( const RegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

The "In The Money" method.


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