SuPReMo  0.1.1
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MoCoReconWeightedAverage Class Reference

#include <MoCoReconWeightedAverage.h>

Inheritance diagram for MoCoReconWeightedAverage:
Inheritance graph
[legend]
Collaboration diagram for MoCoReconWeightedAverage:
Collaboration graph
[legend]

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< CorrespondenceModelcorrespondenceModel
 Pointer to the correspondence model. More...
 
std::shared_ptr< ImageAcquisitionimageAcquisition
 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...
 

Detailed Description

Class implementing the weighted averaging motion-compensated image reconstruction.

Constructor & Destructor Documentation

◆ MoCoReconWeightedAverage()

MoCoReconWeightedAverage::MoCoReconWeightedAverage ( )

Constructor

◆ ~MoCoReconWeightedAverage()

MoCoReconWeightedAverage::~MoCoReconWeightedAverage ( )
virtual

Destructor

Member Function Documentation

◆ AllocateWeightsImageForReconstruction()

void MoCoReconWeightedAverage::AllocateWeightsImageForReconstruction ( )
private

Allocate the memory holding the weights image

◆ ClearWeightsImageForReconstruction()

void MoCoReconWeightedAverage::ClearWeightsImageForReconstruction ( )
private

Clean up the weights image

◆ Update()

void MoCoReconWeightedAverage::Update ( )
virtual

Calculate the motion-compensated image reconstruction

Implements MoCoRecon.

Member Data Documentation

◆ weightsImageForReconstruction

nifti_image* MoCoReconWeightedAverage::weightsImageForReconstruction
private

The weights image.


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