NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to compute the difference between a reconstruction estimate and the target set of 2D projection images. More...
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetInputVolume (InputVolumeType *im3D) |
Set the 3D reconstruction estimate volume input. More... | |
void | SetInputProjectionVolumeOne (InputProjectionVolumeType *im2DNumberOne) |
Set the input 3D volume of projection image (Two sets of projection images, e.g., y_1 and y_2) More... | |
void | SetInputProjectionVolumeTwo (InputProjectionVolumeType *im2DNumberTwo) |
void | SetProjectionGeometry (ProjectionGeometryType *projGeometry) |
Set the projection geometry. More... | |
unsigned int | GetNumberOfParameters (void) const |
const InputVolumeType * | GetReconstructedVolume (void) |
Get the 3D reconstructed volume. More... | |
void | SetParametersAddress (const ParametersType ¶meters) const |
void | SetDerivativesAddress (const DerivativeType &derivatives) const |
void | SetParameters (const ParametersType ¶meters) const |
void | Initialise (void) |
virtual void | GetValueAndDerivative (const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const |
virtual MeasureType | GetValue (const ParametersType ¶meters) const |
virtual void | GetDerivative (const ParametersType ¶meters, DerivativeType &derivative) const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
SimultaneousReconstructionRegistrationMetric () | |
virtual | ~SimultaneousReconstructionRegistrationMetric () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
ForwardProjectionWithAffineTransformDifferenceFilterPointerType | m_FwdAndBackProjDiffFilter |
Create and store the Euler affine transform matrix. More... | |
Class to compute the difference between a reconstruction estimate and the target set of 2D projection images.
This is essentially the ForwardProjectionWithAffineTransformDifferenceFilter repackaged as an ITK cost function.
typedef SmartPointer<const Self> itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::ConstPointer |
typedef SingleValuedCostFunction::DerivativeType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::DerivativeType |
typedef itk::ForwardProjectionWithAffineTransformDifferenceFilter<IntensityType> itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::ForwardProjectionWithAffineTransformDifferenceFilterType |
Some convenient typedefs. The ImageToImageFilter to perform the forward and back-projection
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::InputProjectionVolumePointer itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::InputProjectionVolumePointer |
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::InputProjectionVolumeType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::InputProjectionVolumeType |
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::InputVolumePointer itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::InputVolumePointer |
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::InputVolumeType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::InputVolumeType |
typedef SingleValuedCostFunction::MeasureType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::MeasureType |
typedef SingleValuedCostFunction::ParametersType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::ParametersType |
Type of the parameters.
typedef SmartPointer<Self> itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::Pointer |
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::ProjectionGeometryPointer itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::ProjectionGeometryPointer |
typedef ForwardProjectionWithAffineTransformDifferenceFilterType::ProjectionGeometryType itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::ProjectionGeometryType |
typedef SimultaneousReconstructionRegistrationMetric itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::Self |
Standard class typedefs.
typedef SingleValuedCostFunction itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
virtual |
Run-time type information (and related methods).
|
virtual |
This method returns the derivative of the cost function corresponding to the specified parameters. This method set to protected to test whether the optimizer only ever calls GetValueAndDerivative() which case we can get away without performing the forward and back-projections for both GetValue() and GetDerivative().
unsigned int itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::GetNumberOfParameters | ( | void | ) | const |
Return the number of parameters required by the Transform
|
inline |
Get the 3D reconstructed volume.
|
virtual |
This method returns the value of the cost function corresponding to the specified parameters. This method set to protected to test whether the optimizer only ever calls GetValueAndDerivative() which case we can get away without performing the forward and back-projections for both GetValue() and GetDerivative().
|
virtual |
This method returns the value and derivative of the cost function corresponding to the specified parameters
|
inline |
Initialise the metric
|
static |
Method for creation through the object factory.
|
protected |
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetDerivativesAddress | ( | const DerivativeType & | derivatives | ) | const |
Assign to 'derivatives' the address of the reconstruction volume estimate voxel intensities.
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetInputProjectionVolumeOne | ( | InputProjectionVolumeType * | im2DNumberOne | ) |
Set the input 3D volume of projection image (Two sets of projection images, e.g., y_1 and y_2)
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetInputProjectionVolumeTwo | ( | InputProjectionVolumeType * | im2DNumberTwo | ) |
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetInputVolume | ( | InputVolumeType * | im3D | ) |
Set the 3D reconstruction estimate volume input.
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetParameters | ( | const ParametersType & | parameters | ) | const |
Set the parameters, i.e. intensities of the reconstruction estimate.
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetParametersAddress | ( | const ParametersType & | parameters | ) | const |
Assign to 'parameters' the address of the reconstruction volume estimate voxel intensities.
void itk::SimultaneousReconstructionRegistrationMetric< IntensityType >::SetProjectionGeometry | ( | ProjectionGeometryType * | projGeometry | ) |
Set the projection geometry.
|
protected |
Create and store the Euler affine transform matrix.