NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
This class takes as input 2 input images, and outputs the registration force. More...
Protected Member Functions | |
RegistrationForceFilter () | |
~RegistrationForceFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | BeforeThreadedGenerateData () |
virtual void | AfterThreadedGenerateData () |
Protected Attributes | |
MetricPointer | m_Metric |
bool | m_ScaleToSizeOfVoxelAxis |
InputImagePixelType | m_FixedUpperPixelValue |
InputImagePixelType | m_FixedLowerPixelValue |
InputImagePixelType | m_MovingUpperPixelValue |
InputImagePixelType | m_MovingLowerPixelValue |
const FixedImageMaskType * | m_FixedImageMask |
bool | m_IsSymmetric |
JacobianImageType::Pointer | m_FixedImageTransformJacobian |
JacobianImageType::Pointer | m_MovingImageTransformJacobian |
This class takes as input 2 input images, and outputs the registration force.
All input images are expected to have the same template parameters and have the same size and origin. The output is a vector image, of the same size as the input image, where each pixel is a vector with as many components as image dimensions. ie. you put in 2 images, the fixed image, and the moving image resampled into the same coordinate system as the fixed. Each input image is a scalar image. Lets say that are 2D images of 256 x 256 pixels. The output is 256 x 256 of type vector 2D.
typedef SmartPointer<const Self> itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::ConstPointer |
typedef SpatialObject< Dimension > itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::FixedImageMaskType |
typedef MetricType::HistogramFrequencyType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramFrequencyType |
typedef MetricType::HistogramIteratorType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramIteratorType |
typedef MetricType::HistogramMeasurementVectorType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramMeasurementVectorType |
typedef MetricType::HistogramPointer itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramPointer |
typedef MetricType::HistogramSizeType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramSizeType |
typedef MetricType::HistogramType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::HistogramType |
typedef InputImageType::PixelType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::InputImagePixelType |
typedef Superclass::InputImageType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::InputImageType |
typedef Image<double, TFixedImage::ImageDimension> itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::JacobianImageType |
typedef TScalarType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::MeasureType |
typedef MetricType::Pointer itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::MetricPointer |
typedef HistogramSimilarityMeasure<TFixedImage, TMovingImage> itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::MetricType |
This can be refactored later if necessary, and moved to a derived class.
typedef TScalarType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::OutputDataType |
Standard typedefs.
typedef Image< OutputPixelType, itkGetStaticConstMacro(Dimension) > itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::OutputImageType |
typedef Vector< OutputDataType, itkGetStaticConstMacro(Dimension) > itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::OutputPixelType |
typedef SmartPointer<Self> itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::Pointer |
typedef Superclass::InputImageRegionType itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::RegionType |
typedef RegistrationForceFilter itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::Self |
Standard "Self" typedef.
typedef ImageToImageFilter<TFixedImage, Image< Vector< TScalarType, TFixedImage::ImageDimension>, TFixedImage::ImageDimension> > itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::Superclass |
|
protected |
|
inlineprotected |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented in itk::ParzenWindowNMIDerivativeForceGenerator< TFixedImage, TMovingImage, TScalarType, TDeformationScalar >, itk::LocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >, itk::NMILocalHistogramDerivativeForceFilter< TFixedImage, TMovingImage, TScalar >, itk::SSDRegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >, and itk::CrossCorrelationDerivativeForceFilter< TFixedImage, TMovingImage, TScalarType >.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
TFixedImage::ImageDimension | |||
) |
Get the number of dimensions we are working in.
|
protected |
|
inlinevirtual |
Set the fixed image at position 0.
|
inlinevirtual |
Set fixed image mask.
|
inlinevirtual |
Set m_FixedImageTransformJacobian.
|
virtual |
Set/Get the FixedUpperPixelValue.
|
virtual |
Set/Get the FixedUpperPixelValue.
|
virtual |
Set/Get.
|
virtual |
Set/Get the Metric.
|
inlinevirtual |
Set m_MovingImageTransformJacobian.
|
virtual |
Set/Get the MovingUpperPixelValue.
|
virtual |
Set/Get the MovingUpperPixelValue.
|
virtual |
We set the input images by number.
|
virtual |
Set/Get the ScaleToSizeOfVoxelAxis flag. Subclasses or clients decide what to do with it.
|
inlinevirtual |
Set the transformed moving image at position 1.
|
inlinevirtual |
Set the un-transformed moving image at position 2.
void itk::RegistrationForceFilter< TFixedImage, TMovingImage, TScalarType >::WriteForceImage | ( | std::string | filename | ) |
Mainly for debugging, write image to file.
|
protected |
Fixed image mask.
|
protected |
Jacobian of the fixed image transform.
|
protected |
So we can mask out intensities to generate zero force.
|
protected |
So we can mask out intensities to generate zero force.
|
protected |
Symmetric?
|
protected |
We need this to calculate entropies, so it should be a histogram based one.
|
protected |
Jacobian of the moving image transform.
|
protected |
So we can mask out intensities to generate zero force.
|
protected |
So we can mask out intensities to generate zero force.
|
protected |
Multiply force by size of voxels.