SuPReMo
0.1.1
|
#include <MoCoReconWeightedAverage.h>
Public Member Functions | |
MoCoReconWeightedAverage () | |
virtual | ~MoCoReconWeightedAverage () |
void | Update () |
Public Member Functions inherited from MoCoRecon | |
MoCoRecon () | |
virtual | ~MoCoRecon () |
void | SetCorrespondenceModel (const std::shared_ptr< CorrespondenceModel > &correspondenceModelIn) |
void | SetImageAcquisition (const std::shared_ptr< ImageAcquisition > &imageAcquisitionIn) |
void | SetSurrogateSignals (const SurrogateSignalType &surrSignalsIn) |
void | SetDynamicImages (const std::vector< nifti_image * > &dynamicImagesIn) |
void | SetReconstructionGeometryImage (nifti_image *reconstructionGeometryImageIn) |
virtual void | Update ()=0 |
nifti_image * | GetReconstructedImage () |
bool | GetRepeatedUpdateChangesMCR () |
void | CopyReconstructedImageContentsToImage (nifti_image *destinationImage) |
Private Member Functions | |
void | AllocateWeightsImageForReconstruction () |
void | ClearWeightsImageForReconstruction () |
Private Attributes | |
nifti_image * | weightsImageForReconstruction |
The weights image. More... | |
Additional Inherited Members | |
Public Types inherited from MoCoRecon | |
typedef float | PrecisionType |
typedef std::vector< std::vector< PrecisionType > > | SurrogateSignalType |
Protected Member Functions inherited from MoCoRecon | |
void | AllocateReconstructedImage () |
void | ClearReconstructedImage () |
Protected Attributes inherited from MoCoRecon | |
std::shared_ptr< CorrespondenceModel > | correspondenceModel |
Pointer to the correspondence model. More... | |
std::shared_ptr< ImageAcquisition > | imageAcquisition |
Pointer to the image acquisition opbject. More... | |
SurrogateSignalType | surrogateSignals |
Vector holding the surrogate signals. More... | |
std::vector< nifti_image * > | dynamicImages |
Vector holding the dynamic images. More... | |
size_t | numberOfDynamicImages |
The number of the dynamic images - will be derived from the vector dynamicImages. More... | |
nifti_image * | reconstructionGeometryImage |
Pointer to the image that defines the reconstruction geometry, think of it as a reference image. More... | |
nifti_image * | reconstructedImage |
Pointer to the reconstructed image. More... | |
PrecisionType | paddingValue |
The padding value used if no data available to reconstruct an image intensity value. More... | |
bool | repeatedUpdateChangesMCRImage |
Indicates wether a repeated call of the update function cahgnes the MCR result. More... | |
Class implementing the weighted averaging motion-compensated image reconstruction.
MoCoReconWeightedAverage::MoCoReconWeightedAverage | ( | ) |
Constructor
|
virtual |
Destructor
|
private |
Allocate the memory holding the weights image
|
private |
Clean up the weights image
|
virtual |
Calculate the motion-compensated image reconstruction
Implements MoCoRecon.
|
private |
The weights image.