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...
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ImageReconstructionMetric () | |
virtual | ~ImageReconstructionMetric () |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
std::string | fileOutputCurrentEstimate |
std::string | suffixOutputCurrentEstimate |
ForwardAndBackProjectionDifferenceFilterPointerType | m_FwdAndBackProjDiffFilter |
The filter to perform the forward and back-projection. More... | |
Class to compute the difference between a reconstruction estimate and the target set of 2D projection images.
This is essentially the ForwardAndBackProjectionDifferenceFilter repackaged as an ITK cost function.
typedef SmartPointer<const Self> itk::ImageReconstructionMetric< IntensityType >::ConstPointer |
typedef SingleValuedCostFunction::DerivativeType itk::ImageReconstructionMetric< IntensityType >::DerivativeType |
typedef ForwardAndBackProjectionDifferenceFilterType::Pointer itk::ImageReconstructionMetric< IntensityType >::ForwardAndBackProjectionDifferenceFilterPointerType |
typedef itk::ForwardAndBackProjectionDifferenceFilter<IntensityType> itk::ImageReconstructionMetric< IntensityType >::ForwardAndBackProjectionDifferenceFilterType |
Some convenient typedefs. The ImageToImageFilter to perform the forward and back-projection
typedef ForwardAndBackProjectionDifferenceFilterType::InputProjectionVolumePointer itk::ImageReconstructionMetric< IntensityType >::InputProjectionVolumePointer |
typedef ForwardAndBackProjectionDifferenceFilterType::InputProjectionVolumeType itk::ImageReconstructionMetric< IntensityType >::InputProjectionVolumeType |
typedef ForwardAndBackProjectionDifferenceFilterType::InputVolumePointer itk::ImageReconstructionMetric< IntensityType >::InputVolumePointer |
typedef ForwardAndBackProjectionDifferenceFilterType::InputVolumeType itk::ImageReconstructionMetric< IntensityType >::InputVolumeType |
typedef SingleValuedCostFunction::MeasureType itk::ImageReconstructionMetric< IntensityType >::MeasureType |
typedef ForwardAndBackProjectionDifferenceFilterType::OutputBackProjectedDifferencesPointer itk::ImageReconstructionMetric< IntensityType >::OutputBackProjectedDifferencesPointer |
typedef ForwardAndBackProjectionDifferenceFilterType::OutputBackProjectedDifferencesType itk::ImageReconstructionMetric< IntensityType >::OutputBackProjectedDifferencesType |
typedef SingleValuedCostFunction::ParametersType itk::ImageReconstructionMetric< IntensityType >::ParametersType |
Type of the parameters.
typedef SmartPointer<Self> itk::ImageReconstructionMetric< IntensityType >::Pointer |
typedef ForwardAndBackProjectionDifferenceFilterType::ProjectionGeometryPointer itk::ImageReconstructionMetric< IntensityType >::ProjectionGeometryPointer |
typedef ForwardAndBackProjectionDifferenceFilterType::ProjectionGeometryType itk::ImageReconstructionMetric< IntensityType >::ProjectionGeometryType |
typedef ImageReconstructionMetric itk::ImageReconstructionMetric< IntensityType >::Self |
Standard class typedefs.
typedef SingleValuedCostFunction itk::ImageReconstructionMetric< IntensityType >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
virtual |
Run-time type information (and related methods).
|
overridevirtual |
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().
|
override |
Return the number of parameters required by the Transform
|
inline |
Get the 3D reconstructed volume.
|
overridevirtual |
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().
|
overridevirtual |
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.
|
overrideprotected |
void itk::ImageReconstructionMetric< IntensityType >::SetDerivativesAddress | ( | const DerivativeType & | derivatives | ) | const |
Assign to 'derivatives' the address of the reconstruction volume estimate voxel intensities.
void itk::ImageReconstructionMetric< IntensityType >::SetInputProjectionVolume | ( | InputProjectionVolumeType * | im2D | ) |
Set the input 3D volume of projection image.
void itk::ImageReconstructionMetric< IntensityType >::SetInputVolume | ( | InputVolumeType * | im3D | ) |
Set the 3D reconstruction estimate volume input.
|
inline |
Specify a filename to save the current reconstruction estimate at each iteration
|
inline |
Specify a filename suffix to save the current reconstruction estimate at each iteration
void itk::ImageReconstructionMetric< IntensityType >::SetParameters | ( | const ParametersType & | parameters | ) | const |
Set the parameters, i.e. intensities of the reconstruction estimate.
void itk::ImageReconstructionMetric< IntensityType >::SetParametersAddress | ( | const ParametersType & | parameters | ) | const |
Assign to 'parameters' the address of the reconstruction volume estimate voxel intensities.
void itk::ImageReconstructionMetric< IntensityType >::SetProjectionGeometry | ( | ProjectionGeometryType * | projGeometry | ) |
Set the projection geometry.
|
protected |
Filename to optionally save the current iteration of the reconstruction estimate to
|
protected |
The filter to perform the forward and back-projection.
|
protected |
Suffix of filename to optionally save the current iteration of the reconstruction estimate to