CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
Public Member Functions | Public Attributes | Private Attributes | List of all members
oImageSpace Class Reference

This class holds all the matrices in the image domain that can be used in the algorithm: image, forward-image, correction, additional image, sensitivity image. More...

#include <oImageSpace.hh>

Collaboration diagram for oImageSpace:
Collaboration graph

Public Member Functions

 oImageSpace ()
 oImageSpace constructor. Initialize the member variables to their default values. More...
 
 ~oImageSpace ()
 oImageSpace destructor. More...
 
void InstantiateImage ()
 Allocate memory for the main image matrices. More...
 
void DeallocateImage ()
 Free memory for the main image matrices. More...
 
void InstantiateForwardImage ()
 Allocate memory for the forward image matrices. More...
 
void DeallocateForwardImage ()
 Free memory for the forward image matrices. More...
 
void InstantiateBackwardImageFromDynamicBasis (int a_nbBackwardImages)
 
void DeallocateBackwardImageFromDynamicBasis ()
 Free memory for the backward image matrices. More...
 
void InstantiateBackwardImageFromDynamicBins ()
 Allocate memory for the backward image matrices and initialize them. More...
 
void DeallocateBackwardImageFromDynamicBins ()
 Free memory of the backward image matrices. More...
 
void InstantiateSensitivityImage (const string &a_pathToSensitivityImage)
 
void DeallocateSensitivityImage ()
 Free memory for the sensitivity image matrices. More...
 
FLTNBAllocateMiscellaneousImage ()
 Allocate a new miscellaneous image on m2p_miscellaneousImages and return the pointer to this image. More...
 
void DeallocateMiscellaneousImage ()
 Deallocate all allocated miscellaneous images. More...
 
int InitMultiModalImage (const vector< string > &a_pathToMultiModalImage)
 
void DeallocateMultiModalImage ()
 Free memory for the multimodal image. More...
 
int InitMaskImage (const string &a_pathToImage)
 
void DeallocateMaskImage ()
 Free memory for the mask image. More...
 
void InstantiateOutputImage ()
 Instanciate Image matrices dedicated to output writing on disk. More...
 
void InstantiateRefImagesForDeformation ()
 Allocate memory for the buffer sensitivity image required for image-based deformation. This function is called from the Deformation Manager. More...
 
void InstantiateVisitedVoxelsImage ()
 Memory allocation and initialization for the image matrix containing binary information regarding which 3D voxels have been visited during the projection steps. More...
 
void DeallocateRefImagesForDeformation ()
 Free memory for the buffer sensitivity image required for image-based deformation. This function is called from the Deformation Manager. More...
 
void DeallocateOutputImage ()
 Free memory for the Image matrices dedicated to output writing on disk. More...
 
void DeallocateVisitedVoxelsImage ()
 Free memory for the image matrix containing binary information regarding which 3D voxels have been visited during the projection steps. More...
 
int InitImage (const string &a_pathToInitialImage, FLTNB a_value)
 
void InitBackwardImage ()
 Initialize each voxel of the backward images to 0, also for sensitivity if not loaded (estimated on the fly). More...
 
int InitSensitivityImage (const string &a_pathToSensitivityImage)
 
void InitRefImagesForDeformation ()
 
int LoadInitialImage (const string &a_pathToImage)
 
void ComputeOutputImage ()
 
int ApplyOutputFOVMasking ()
 Mask the outside of the transaxial FOV based on the m_fovOutPercent. More...
 
int ApplyOutputMaskImage ()
 Mask the outside of the provided input mask image. More...
 
int ApplyMaskToSensitivity ()
 Apply the mask to the sensitivity image (only for the first thread, the image must be reduced beforehand) More...
 
int ApplyOutputFlip ()
 Just flip the output image. More...
 
int SaveOutputImage (int a_iteration, int a_subset=-1)
 
int SaveOutputBasisCoefficientImage (int a_iteration, int a_subset=-1)
 
void SaveDebugImage (const string &a_name)
 
int SaveSensitivityImage (const string &a_pathToSensitivityImage)
 
void PrepareForwardImage ()
 Copy current image matrix in the forward-image buffer matrix. More...
 
void Reduce ()
 Merge parallel results into the matrix of the backward image matrix of the first thread. Also for MPI. More...
 
void CleanNeverVisitedVoxels ()
 Based on the visitedVoxelsImage, clean the never visited voxels in the image. This function must be called at the end of each iteration. More...
 
void LMS_InstantiateImage ()
 Allocate memory for the main image matrices (for list-mode sensitivity generation) More...
 
void LMS_InstantiateForwardImage ()
 Allocate memory for the forward image matrices (for list-mode sensitivity generation) More...
 
void LMS_InstantiateSensitivityImage ()
 Allocate memory for the sensitivity image matrices (for list-mode sensitivity generation) More...
 
void LMS_DeallocateImage ()
 Free memory for the main image matrices (for list-mode sensitivity generation) More...
 
void LMS_DeallocateForwardImage ()
 Free memory for the forward image matrices (for list-mode sensitivity generation) More...
 
void LMS_DeallocateSensitivityImage ()
 Free memory for the sensitivity image matrices (for list-mode sensitivity generation) More...
 
void LMS_DeallocateAttenuationImage ()
 Free memory for the Attenuation image matrices (for analytical projection or list-mode sensitivity generation) More...
 
int InitAttenuationImage (const string &a_pathToAtnImage)
 
void LMS_CopyAtnToImage ()
 Copy the attenuation image contained in the 'm2p_attenuation' matrix inside the m2p_image matrix. More...
 
void LMS_CopyAtnToForwardImage (bool a_use1stMotion, bool a_use2ndMotion)
 
void LMS_CopyBackwardToSensitivity ()
 
void LMS_PrepareForwardImage ()
 Copy current image in forward-image buffer (for list-mode sensitivity generation) More...
 
void ReduceBackwardImage (int a_imageIndex, int a_timeIndex, int a_respIndex, int a_cardIndex)
 
int ApplyMaskToBackwardImage (int a_imageIndex, int a_timeIndex, int a_respIndex, int a_cardIndex)
 
int LMS_SaveSensitivityImage (const string &a_pathToSensitivityImage, oDeformationManager *ap_DeformationManager)
 
void PROJ_InstantiateProjectionImage (int a_nbProjs, int a_nbPixels)
 
void PROJ_DeallocateProjectionImage (int a_nbProjs)
 
int PROJ_InitImage (const string &a_pathToInitialImage)
 
int PROJ_LoadInitialImage (const string &a_pathToImage)
 
int PROJ_SaveProjectionImage ()
 Save an image of the projected data (for analytic projection) More...
 
void SetVerbose (int a_verboseLevel)
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
int GetNbBackwardImages ()
 
bool IsLoadedSensitivity ()
 
bool IsLoadedMultiModal ()
 
bool IsLoadedMask ()
 
bool Checked ()
 Simply check that the image dimensions and verbosity has been set. More...
 
int GetNbMiscellaneousImages ()
 
 oImageSpace ()
 oImageSpace constructor. Initialize the member variables to their default values. More...
 
 ~oImageSpace ()
 oImageSpace destructor. More...
 
void InstantiateImage ()
 
void DeallocateImage ()
 
void InstantiateForwardImage ()
 
void DeallocateForwardImage ()
 
void InstantiateBackwardImageFromDynamicBasis (int a_nbBackwardImages)
 
void DeallocateBackwardImageFromDynamicBasis ()
 
void InstantiateBackwardImageFromDynamicBins ()
 
void DeallocateBackwardImageFromDynamicBins ()
 
void InstantiateSensitivityImage (const string &a_pathToSensitivityImage)
 
void DeallocateSensitivityImage ()
 
FLTNBAllocateMiscellaneousImage ()
 
void DeallocateMiscellaneousImage ()
 
int InitMultiModalImage (const vector< string > &a_pathToMultiModalImage)
 
void DeallocateMultiModalImage ()
 
int InitMaskImage (const string &a_pathToImage)
 
void DeallocateMaskImage ()
 
void InstantiateOutputImage ()
 
void InstantiateRefImagesForDeformation ()
 
void InstantiateVisitedVoxelsImage ()
 
void DeallocateRefImagesForDeformation ()
 
void DeallocateOutputImage ()
 
void DeallocateVisitedVoxelsImage ()
 
int InitImage (const string &a_pathToInitialImage, FLTNB a_value)
 
void InitBackwardImage ()
 
int InitSensitivityImage (const string &a_pathToSensitivityImage)
 
void InitRefImagesForDeformation ()
 
int LoadInitialImage (const string &a_pathToImage)
 
void ComputeOutputImage ()
 
int ApplyOutputFOVMasking ()
 
int ApplyOutputMaskImage ()
 
int ApplyMaskToSensitivity ()
 
int ApplyOutputFlip ()
 
int SaveOutputImage (int a_iteration, int a_subset=-1)
 
int SaveOutputBasisCoefficientImage (int a_iteration, int a_subset=-1)
 
void SaveDebugImage (const string &a_name)
 
int SaveSensitivityImage (const string &a_pathToSensitivityImage)
 
void PrepareForwardImage ()
 
void Reduce ()
 
void CleanNeverVisitedVoxels ()
 
void LMS_InstantiateImage ()
 
void LMS_InstantiateForwardImage ()
 
void LMS_InstantiateSensitivityImage ()
 
void LMS_DeallocateImage ()
 
void LMS_DeallocateForwardImage ()
 
void LMS_DeallocateSensitivityImage ()
 
void LMS_DeallocateAttenuationImage ()
 
int InitAttenuationImage (const string &a_pathToAtnImage)
 
int InitAttenuationImage (FLTNB a_value)
 
void LMS_CopyAtnToImage ()
 
void LMS_CopyAtnToForwardImage (bool a_use1stMotion, bool a_use2ndMotion)
 
void LMS_CopyBackwardToSensitivity ()
 
void LMS_PrepareForwardImage ()
 
void ReduceBackwardImage (int a_imageIndex, int a_timeIndex, int a_respIndex, int a_cardIndex)
 
int ApplyMaskToBackwardImage (int a_imageIndex, int a_timeIndex, int a_respIndex, int a_cardIndex)
 
int LMS_SaveSensitivityImage (const string &a_pathToSensitivityImage, oDeformationManager *ap_DeformationManager)
 
void PROJ_InstantiateProjectionImage (int a_nbProjs, int a_nbPixels)
 
void PROJ_DeallocateProjectionImage (int a_nbProjs)
 
int PROJ_InitImage (const string &a_pathToInitialImage)
 
int PROJ_LoadInitialImage (const string &a_pathToImage)
 
int PROJ_SaveProjectionImage ()
 
void SetVerbose (int a_verboseLevel)
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
int GetNbBackwardImages ()
 
bool IsLoadedSensitivity ()
 
bool IsLoadedMultiModal ()
 
bool IsLoadedMask ()
 
bool Checked ()
 
int GetNbMiscellaneousImages ()
 

Public Attributes

FLTNB **** m4p_image
 
FLTNB **** m4p_forwardImage
 
FLTNB ****** m6p_backwardImage
 
FLTNB ***** m5p_sensitivity
 
FLTNB ** m2p_multiModalImage
 
FLTNBmp_maskImage
 
FLTNBmp_visitedVoxelsImage
 
FLTNB ** m2p_miscellaneousImage
 
FLTNB **** m4p_attenuation
 
FLTNB **** m4p_outputImage
 
FLTNB **** m4p_refDynForwardImage
 
FLTNB ***** m5p_refDynBackwardImage
 
FLTNB **** m4p_refDynSensitivityImage
 
FLTNB ** m2p_projectionImage
 

Private Attributes

oImageDimensionsAndQuantificationmp_ID
 
int m_verbose
 
bool m_loadedSensitivity
 
bool m_loadedMultiModal
 
bool m_loadedMask
 
int m_nbBackwardImages
 
int m_nbMiscellaneousImages
 

Detailed Description

This class holds all the matrices in the image domain that can be used in the algorithm: image, forward-image, correction, additional image, sensitivity image.

Image matrices are public and can be directly accessed from each classes.
It also includes many functions for initializating, reseting, or deforming the images.
Mandatory Reconstruction image matrices :
Image: 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels
ForwardImage: 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels
BackwardImage: 6 pointers: 1: number of images (for optimizer), 2: threads, 3: dynamic frames, 4: respiratory gates, 5: cardiac gates, 6: 3D voxels
SensitivityImage: 5 pointers: 1: threads, 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels
OutputImage: 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels
VisitedVoxelsImage: 1 pointer: 1: 3D voxels
Optional Reconstruction image matrices :
MultiModalImage: 5 pointers: 1: number of multimodal images, 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels
DefTmpBackwardImage: 6 pointers: 1: number of images (for optimizer), 2: threads, 3: dynamic frames, 4: respiratory gates, 5: cardiac gates, 6: 3D voxels
DefTmpSensitivityImage: 5 pointers: 1: threads, 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels
Projection image matrices :
Attenuation: 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels:
ProjectionImage: 2 pointers: 1: number of projections, 2: 2D pixels

Definition at line 38 of file code/include/image/oImageSpace.hh.

Constructor & Destructor Documentation

◆ oImageSpace() [1/2]

oImageSpace::oImageSpace ( )

oImageSpace constructor. Initialize the member variables to their default values.

Definition at line 16 of file code/src/image/oImageSpace.cc.

◆ ~oImageSpace() [1/2]

oImageSpace::~oImageSpace ( )

oImageSpace destructor.

Definition at line 47 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:

◆ oImageSpace() [2/2]

oImageSpace::oImageSpace ( )

oImageSpace constructor. Initialize the member variables to their default values.

◆ ~oImageSpace() [2/2]

oImageSpace::~oImageSpace ( )

oImageSpace destructor.

Member Function Documentation

◆ AllocateMiscellaneousImage() [1/2]

FLTNB * oImageSpace::AllocateMiscellaneousImage ( )

Allocate a new miscellaneous image on m2p_miscellaneousImages and return the pointer to this image.

Returns
The pointer to the newly allocated image

Definition at line 505 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AllocateMiscellaneousImage() [2/2]

FLTNB* oImageSpace::AllocateMiscellaneousImage ( )

◆ ApplyMaskToBackwardImage() [1/2]

int oImageSpace::ApplyMaskToBackwardImage ( int  a_imageIndex,
int  a_timeIndex,
int  a_respIndex,
int  a_cardIndex 
)

Definition at line 1954 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ApplyMaskToBackwardImage() [2/2]

int oImageSpace::ApplyMaskToBackwardImage ( int  a_imageIndex,
int  a_timeIndex,
int  a_respIndex,
int  a_cardIndex 
)

◆ ApplyMaskToSensitivity() [1/2]

int oImageSpace::ApplyMaskToSensitivity ( )

Apply the mask to the sensitivity image (only for the first thread, the image must be reduced beforehand)

Do this on m5p_sensitivityImage

Definition at line 1916 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ApplyMaskToSensitivity() [2/2]

int oImageSpace::ApplyMaskToSensitivity ( )

◆ ApplyOutputFlip() [1/2]

int oImageSpace::ApplyOutputFlip ( )

Just flip the output image.

Do this on m4p_outputImage

Definition at line 1591 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ApplyOutputFlip() [2/2]

int oImageSpace::ApplyOutputFlip ( )

◆ ApplyOutputFOVMasking() [1/2]

int oImageSpace::ApplyOutputFOVMasking ( )

◆ ApplyOutputFOVMasking() [2/2]

int oImageSpace::ApplyOutputFOVMasking ( )

Mask the outside of the transaxial FOV based on the m_fovOutPercent.

Do this on m4p_outputImage

Definition at line 1744 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ApplyOutputMaskImage() [1/2]

int oImageSpace::ApplyOutputMaskImage ( )

◆ ApplyOutputMaskImage() [2/2]

int oImageSpace::ApplyOutputMaskImage ( )

Mask the outside of the provided input mask image.

Do this on m4p_outputImage

Definition at line 1880 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Checked() [1/2]

oImageSpace::Checked ( )
inline

Simply check that the image dimensions and verbosity has been set.

Returns
true if image dimensions and verbosity are set

Definition at line 631 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ Checked() [2/2]

bool oImageSpace::Checked ( )
inline

Definition at line 638 of file include/image/oImageSpace.hh.

◆ CleanNeverVisitedVoxels() [1/2]

void oImageSpace::CleanNeverVisitedVoxels ( )

Based on the visitedVoxelsImage, clean the never visited voxels in the image. This function must be called at the end of each iteration.

Definition at line 2258 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CleanNeverVisitedVoxels() [2/2]

void oImageSpace::CleanNeverVisitedVoxels ( )

◆ ComputeOutputImage() [1/2]

void oImageSpace::ComputeOutputImage ( )

◆ ComputeOutputImage() [2/2]

void oImageSpace::ComputeOutputImage ( )

Definition at line 1533 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateBackwardImageFromDynamicBasis() [1/2]

void oImageSpace::DeallocateBackwardImageFromDynamicBasis ( )

◆ DeallocateBackwardImageFromDynamicBasis() [2/2]

void oImageSpace::DeallocateBackwardImageFromDynamicBasis ( )

Free memory for the backward image matrices.

The dimensions are taken from the dynamic basis (number of time basis, respiratory and cardiac basis functions, as opposed to the number of frames/gates)

Definition at line 242 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateBackwardImageFromDynamicBins() [1/2]

void oImageSpace::DeallocateBackwardImageFromDynamicBins ( )

◆ DeallocateBackwardImageFromDynamicBins() [2/2]

void oImageSpace::DeallocateBackwardImageFromDynamicBins ( )

Free memory of the backward image matrices.

The dimensions are taken from the dynamic bins (number of times frames, respiratory and cardiac gates, as opposed to the number of basis functions)

Definition at line 321 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateForwardImage() [1/2]

void oImageSpace::DeallocateForwardImage ( )

◆ DeallocateForwardImage() [2/2]

void oImageSpace::DeallocateForwardImage ( )

Free memory for the forward image matrices.

The dimensions are taken from the dynamic basis (number of time basis, respiratory and cardiac basis functions, as opposed to the number of frames/gates)

Definition at line 163 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateImage() [1/2]

void oImageSpace::DeallocateImage ( )

Free memory for the main image matrices.

Definition at line 94 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateImage() [2/2]

void oImageSpace::DeallocateImage ( )

◆ DeallocateMaskImage() [1/2]

void oImageSpace::DeallocateMaskImage ( )

Free memory for the mask image.

Definition at line 689 of file code/src/image/oImageSpace.cc.

Here is the caller graph for this function:

◆ DeallocateMaskImage() [2/2]

void oImageSpace::DeallocateMaskImage ( )

◆ DeallocateMiscellaneousImage() [1/2]

void oImageSpace::DeallocateMiscellaneousImage ( )

◆ DeallocateMiscellaneousImage() [2/2]

void oImageSpace::DeallocateMiscellaneousImage ( )

Deallocate all allocated miscellaneous images.

Definition at line 535 of file code/src/image/oImageSpace.cc.

Here is the caller graph for this function:

◆ DeallocateMultiModalImage() [1/2]

void oImageSpace::DeallocateMultiModalImage ( )

◆ DeallocateMultiModalImage() [2/2]

void oImageSpace::DeallocateMultiModalImage ( )

Free memory for the multimodal image.

Definition at line 629 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateOutputImage() [1/2]

void oImageSpace::DeallocateOutputImage ( )

Free memory for the Image matrices dedicated to output writing on disk.

Definition at line 765 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateOutputImage() [2/2]

void oImageSpace::DeallocateOutputImage ( )

◆ DeallocateRefImagesForDeformation() [1/2]

void oImageSpace::DeallocateRefImagesForDeformation ( )

Free memory for the buffer sensitivity image required for image-based deformation. This function is called from the Deformation Manager.

Definition at line 957 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateRefImagesForDeformation() [2/2]

void oImageSpace::DeallocateRefImagesForDeformation ( )

◆ DeallocateSensitivityImage() [1/2]

void oImageSpace::DeallocateSensitivityImage ( )

◆ DeallocateSensitivityImage() [2/2]

void oImageSpace::DeallocateSensitivityImage ( )

Free memory for the sensitivity image matrices.

Sensitivity image deallocation depends on the reconstruction mode (multithreaded in histogram but not in list-mode)

Definition at line 439 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeallocateVisitedVoxelsImage() [1/2]

void oImageSpace::DeallocateVisitedVoxelsImage ( )

Free memory for the image matrix containing binary information regarding which 3D voxels have been visited during the projection steps.

Definition at line 570 of file code/src/image/oImageSpace.cc.

Here is the caller graph for this function:

◆ DeallocateVisitedVoxelsImage() [2/2]

void oImageSpace::DeallocateVisitedVoxelsImage ( )

◆ GetNbBackwardImages() [1/2]

oImageSpace::GetNbBackwardImages ( )
inline
Returns
the number of backward images required for the selected optimizer

Definition at line 607 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ GetNbBackwardImages() [2/2]

int oImageSpace::GetNbBackwardImages ( )
inline

Definition at line 614 of file include/image/oImageSpace.hh.

◆ GetNbMiscellaneousImages() [1/2]

oImageSpace::GetNbMiscellaneousImages ( )
inline
Returns
The number of allocated miscellaneous images

Definition at line 637 of file code/include/image/oImageSpace.hh.

◆ GetNbMiscellaneousImages() [2/2]

int oImageSpace::GetNbMiscellaneousImages ( )
inline

Definition at line 644 of file include/image/oImageSpace.hh.

◆ InitAttenuationImage() [1/3]

int oImageSpace::InitAttenuationImage ( const string &  a_pathToAtnImage)

Definition at line 1113 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitAttenuationImage() [2/3]

int oImageSpace::InitAttenuationImage ( const string &  a_pathToAtnImage)

◆ InitAttenuationImage() [3/3]

int oImageSpace::InitAttenuationImage ( FLTNB  a_value)

Definition at line 1211 of file src/image/oImageSpace.cc.

◆ InitBackwardImage() [1/2]

void oImageSpace::InitBackwardImage ( )

◆ InitBackwardImage() [2/2]

void oImageSpace::InitBackwardImage ( )

Initialize each voxel of the backward images to 0, also for sensitivity if not loaded (estimated on the fly).

Definition at line 1342 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitImage() [1/2]

int oImageSpace::InitImage ( const string &  a_pathToInitialImage,
FLTNB  a_value 
)

◆ InitImage() [2/2]

int oImageSpace::InitImage ( const string &  a_pathToInitialImage,
FLTNB  a_value 
)

Definition at line 1222 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitMaskImage() [1/2]

int oImageSpace::InitMaskImage ( const string &  a_pathToImage)

◆ InitMaskImage() [2/2]

int oImageSpace::InitMaskImage ( const string &  a_pathToImage)

Definition at line 648 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitMultiModalImage() [1/2]

int oImageSpace::InitMultiModalImage ( const vector< string > &  a_pathToMultiModalImage)

◆ InitMultiModalImage() [2/2]

int oImageSpace::InitMultiModalImage ( const vector< string > &  a_pathToMultiModalImage)

Definition at line 582 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitRefImagesForDeformation() [1/2]

void oImageSpace::InitRefImagesForDeformation ( )

◆ InitRefImagesForDeformation() [2/2]

void oImageSpace::InitRefImagesForDeformation ( )

Definition at line 1464 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitSensitivityImage() [1/2]

int oImageSpace::InitSensitivityImage ( const string &  a_pathToSensitivityImage)

◆ InitSensitivityImage() [2/2]

int oImageSpace::InitSensitivityImage ( const string &  a_pathToSensitivityImage)

Definition at line 1394 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateBackwardImageFromDynamicBasis() [1/2]

void oImageSpace::InstantiateBackwardImageFromDynamicBasis ( int  a_nbBackwardImages)

◆ InstantiateBackwardImageFromDynamicBasis() [2/2]

void oImageSpace::InstantiateBackwardImageFromDynamicBasis ( int  a_nbBackwardImages)

Definition at line 197 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateBackwardImageFromDynamicBins() [1/2]

void oImageSpace::InstantiateBackwardImageFromDynamicBins ( )

◆ InstantiateBackwardImageFromDynamicBins() [2/2]

void oImageSpace::InstantiateBackwardImageFromDynamicBins ( )

Allocate memory for the backward image matrices and initialize them.

The dimensions are taken from the dynamic bins (number of times frames, respiratory and cardiac gates, as opposed to the number of basis functions)

Definition at line 285 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateForwardImage() [1/2]

void oImageSpace::InstantiateForwardImage ( )

◆ InstantiateForwardImage() [2/2]

void oImageSpace::InstantiateForwardImage ( )

Allocate memory for the forward image matrices.

The dimensions are taken from the dynamic basis (number of time basis, respiratory and cardiac basis functions, as opposed to the number of frames/gates)

Definition at line 127 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateImage() [1/2]

void oImageSpace::InstantiateImage ( )

Allocate memory for the main image matrices.

Definition at line 58 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateImage() [2/2]

void oImageSpace::InstantiateImage ( )

◆ InstantiateOutputImage() [1/2]

void oImageSpace::InstantiateOutputImage ( )

Instanciate Image matrices dedicated to output writing on disk.

Compute output image using the m4p_image matrix and the time/respiratory/cardiac basis functions. Store the result in the m4p_outputImage matrix.

Additionnal output image matrix is needed if the reconstruction uses intrinsic temporal basis functions In this case, the image matrices are defined in the temporal image basis functions space, therefore requiring an additional step to recover the images in the regular image-space. If no intrinsic temporal basis functions are used, m4p_outputImage just refers to the address of the image matrix containing the regular image.

If time/respiratory/cardiac basis functions have not been initialized, this function has no effect.

Definition at line 718 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateOutputImage() [2/2]

void oImageSpace::InstantiateOutputImage ( )

◆ InstantiateRefImagesForDeformation() [1/2]

void oImageSpace::InstantiateRefImagesForDeformation ( )

Allocate memory for the buffer sensitivity image required for image-based deformation. This function is called from the Deformation Manager.

Definition at line 845 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateRefImagesForDeformation() [2/2]

void oImageSpace::InstantiateRefImagesForDeformation ( )

◆ InstantiateSensitivityImage() [1/2]

void oImageSpace::InstantiateSensitivityImage ( const string &  a_pathToSensitivityImage)

Definition at line 364 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateSensitivityImage() [2/2]

void oImageSpace::InstantiateSensitivityImage ( const string &  a_pathToSensitivityImage)

◆ InstantiateVisitedVoxelsImage() [1/2]

void oImageSpace::InstantiateVisitedVoxelsImage ( )

Memory allocation and initialization for the image matrix containing binary information regarding which 3D voxels have been visited during the projection steps.

Definition at line 558 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateVisitedVoxelsImage() [2/2]

void oImageSpace::InstantiateVisitedVoxelsImage ( )

◆ IsLoadedMask() [1/2]

oImageSpace::IsLoadedMask ( )
inline
Returns
boolean indicating if a mask image has been loaded (true) or not (false)

Definition at line 624 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ IsLoadedMask() [2/2]

bool oImageSpace::IsLoadedMask ( )
inline

Definition at line 631 of file include/image/oImageSpace.hh.

◆ IsLoadedMultiModal() [1/2]

oImageSpace::IsLoadedMultiModal ( )
inline
Returns
boolean indicating if one or several multimodal images have been loaded (true) or not (false)

Definition at line 618 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ IsLoadedMultiModal() [2/2]

bool oImageSpace::IsLoadedMultiModal ( )
inline

Definition at line 625 of file include/image/oImageSpace.hh.

◆ IsLoadedSensitivity() [1/2]

oImageSpace::IsLoadedSensitivity ( )
inline
Returns
boolean indicating if the sensitivity is preloaded for the reconstruction (true) or computed on the fly (false)

Definition at line 613 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ IsLoadedSensitivity() [2/2]

bool oImageSpace::IsLoadedSensitivity ( )
inline

Definition at line 620 of file include/image/oImageSpace.hh.

◆ LMS_CopyAtnToForwardImage() [1/2]

void oImageSpace::LMS_CopyAtnToForwardImage ( bool  a_use1stMotion,
bool  a_use2ndMotion 
)

Definition at line 2525 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_CopyAtnToForwardImage() [2/2]

void oImageSpace::LMS_CopyAtnToForwardImage ( bool  a_use1stMotion,
bool  a_use2ndMotion 
)

◆ LMS_CopyAtnToImage() [1/2]

void oImageSpace::LMS_CopyAtnToImage ( )

Copy the attenuation image contained in the 'm2p_attenuation' matrix inside the m2p_image matrix.

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2490 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_CopyAtnToImage() [2/2]

void oImageSpace::LMS_CopyAtnToImage ( )

◆ LMS_CopyBackwardToSensitivity() [1/2]

void oImageSpace::LMS_CopyBackwardToSensitivity ( )

Definition at line 2562 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_CopyBackwardToSensitivity() [2/2]

void oImageSpace::LMS_CopyBackwardToSensitivity ( )

◆ LMS_DeallocateAttenuationImage() [1/2]

void oImageSpace::LMS_DeallocateAttenuationImage ( )

Free memory for the Attenuation image matrices (for analytical projection or list-mode sensitivity generation)

Definition at line 1083 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_DeallocateAttenuationImage() [2/2]

void oImageSpace::LMS_DeallocateAttenuationImage ( )

◆ LMS_DeallocateForwardImage() [1/2]

void oImageSpace::LMS_DeallocateForwardImage ( )

Free memory for the forward image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2394 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_DeallocateForwardImage() [2/2]

void oImageSpace::LMS_DeallocateForwardImage ( )

◆ LMS_DeallocateImage() [1/2]

void oImageSpace::LMS_DeallocateImage ( )

Free memory for the main image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2329 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_DeallocateImage() [2/2]

void oImageSpace::LMS_DeallocateImage ( )

◆ LMS_DeallocateSensitivityImage() [1/2]

void oImageSpace::LMS_DeallocateSensitivityImage ( )

◆ LMS_DeallocateSensitivityImage() [2/2]

void oImageSpace::LMS_DeallocateSensitivityImage ( )

Free memory for the sensitivity image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2456 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_InstantiateForwardImage() [1/2]

void oImageSpace::LMS_InstantiateForwardImage ( )

◆ LMS_InstantiateForwardImage() [2/2]

void oImageSpace::LMS_InstantiateForwardImage ( )

Allocate memory for the forward image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2360 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_InstantiateImage() [1/2]

void oImageSpace::LMS_InstantiateImage ( )

Allocate memory for the main image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2297 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_InstantiateImage() [2/2]

void oImageSpace::LMS_InstantiateImage ( )

◆ LMS_InstantiateSensitivityImage() [1/2]

void oImageSpace::LMS_InstantiateSensitivityImage ( )

Allocate memory for the sensitivity image matrices (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2426 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_InstantiateSensitivityImage() [2/2]

void oImageSpace::LMS_InstantiateSensitivityImage ( )

◆ LMS_PrepareForwardImage() [1/2]

void oImageSpace::LMS_PrepareForwardImage ( )

Copy current image in forward-image buffer (for list-mode sensitivity generation)

This function is dedicated to list-mode sensitivity (LMS) generation.

Definition at line 2582 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_PrepareForwardImage() [2/2]

void oImageSpace::LMS_PrepareForwardImage ( )

◆ LMS_SaveSensitivityImage() [1/2]

int oImageSpace::LMS_SaveSensitivityImage ( const string &  a_pathToSensitivityImage,
oDeformationManager ap_DeformationManager 
)

Definition at line 2650 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LMS_SaveSensitivityImage() [2/2]

int oImageSpace::LMS_SaveSensitivityImage ( const string &  a_pathToSensitivityImage,
oDeformationManager ap_DeformationManager 
)

◆ LoadInitialImage() [1/2]

int oImageSpace::LoadInitialImage ( const string &  a_pathToImage)

◆ LoadInitialImage() [2/2]

int oImageSpace::LoadInitialImage ( const string &  a_pathToImage)

Definition at line 1304 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrepareForwardImage() [1/2]

void oImageSpace::PrepareForwardImage ( )

Copy current image matrix in the forward-image buffer matrix.

Definition at line 2118 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrepareForwardImage() [2/2]

void oImageSpace::PrepareForwardImage ( )

◆ PROJ_DeallocateProjectionImage() [1/2]

void oImageSpace::PROJ_DeallocateProjectionImage ( int  a_nbProjs)

Definition at line 2810 of file code/src/image/oImageSpace.cc.

Here is the caller graph for this function:

◆ PROJ_DeallocateProjectionImage() [2/2]

void oImageSpace::PROJ_DeallocateProjectionImage ( int  a_nbProjs)

◆ PROJ_InitImage() [1/2]

int oImageSpace::PROJ_InitImage ( const string &  a_pathToInitialImage)

Definition at line 2836 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PROJ_InitImage() [2/2]

int oImageSpace::PROJ_InitImage ( const string &  a_pathToInitialImage)

◆ PROJ_InstantiateProjectionImage() [1/2]

void oImageSpace::PROJ_InstantiateProjectionImage ( int  a_nbProjs,
int  a_nbPixels 
)

Definition at line 2782 of file code/src/image/oImageSpace.cc.

Here is the caller graph for this function:

◆ PROJ_InstantiateProjectionImage() [2/2]

void oImageSpace::PROJ_InstantiateProjectionImage ( int  a_nbProjs,
int  a_nbPixels 
)

◆ PROJ_LoadInitialImage() [1/2]

int oImageSpace::PROJ_LoadInitialImage ( const string &  a_pathToImage)

Definition at line 2871 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PROJ_LoadInitialImage() [2/2]

int oImageSpace::PROJ_LoadInitialImage ( const string &  a_pathToImage)

◆ PROJ_SaveProjectionImage() [1/2]

int oImageSpace::PROJ_SaveProjectionImage ( )

Save an image of the projected data (for analytic projection)

Returns
0 if success, positive value otherwise
Returns
0 if success, positive value otherwise

Definition at line 2912 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PROJ_SaveProjectionImage() [2/2]

int oImageSpace::PROJ_SaveProjectionImage ( )

◆ Reduce() [1/2]

void oImageSpace::Reduce ( )

Merge parallel results into the matrix of the backward image matrix of the first thread. Also for MPI.

Definition at line 2141 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reduce() [2/2]

void oImageSpace::Reduce ( )

◆ ReduceBackwardImage() [1/2]

void oImageSpace::ReduceBackwardImage ( int  a_imageIndex,
int  a_timeIndex,
int  a_respIndex,
int  a_cardIndex 
)

Definition at line 2601 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceBackwardImage() [2/2]

void oImageSpace::ReduceBackwardImage ( int  a_imageIndex,
int  a_timeIndex,
int  a_respIndex,
int  a_cardIndex 
)

◆ SaveDebugImage() [1/2]

void oImageSpace::SaveDebugImage ( const string &  a_name)

Definition at line 2085 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveDebugImage() [2/2]

void oImageSpace::SaveDebugImage ( const string &  a_name)

◆ SaveOutputBasisCoefficientImage() [1/2]

int oImageSpace::SaveOutputBasisCoefficientImage ( int  a_iteration,
int  a_subset = -1 
)

Definition at line 2039 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveOutputBasisCoefficientImage() [2/2]

int oImageSpace::SaveOutputBasisCoefficientImage ( int  a_iteration,
int  a_subset = -1 
)

◆ SaveOutputImage() [1/2]

int oImageSpace::SaveOutputImage ( int  a_iteration,
int  a_subset = -1 
)

Definition at line 1998 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveOutputImage() [2/2]

int oImageSpace::SaveOutputImage ( int  a_iteration,
int  a_subset = -1 
)

◆ SaveSensitivityImage() [1/2]

int oImageSpace::SaveSensitivityImage ( const string &  a_pathToSensitivityImage)

Definition at line 2753 of file code/src/image/oImageSpace.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveSensitivityImage() [2/2]

int oImageSpace::SaveSensitivityImage ( const string &  a_pathToSensitivityImage)

◆ SetImageDimensionsAndQuantification() [1/2]

void oImageSpace::SetImageDimensionsAndQuantification ( oImageDimensionsAndQuantification ap_ImageDimensionsAndQuantification)
inline

Definition at line 601 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ SetImageDimensionsAndQuantification() [2/2]

void oImageSpace::SetImageDimensionsAndQuantification ( oImageDimensionsAndQuantification ap_ImageDimensionsAndQuantification)
inline

Definition at line 608 of file include/image/oImageSpace.hh.

◆ SetVerbose() [1/2]

void oImageSpace::SetVerbose ( int  a_verboseLevel)
inline

Definition at line 594 of file code/include/image/oImageSpace.hh.

Here is the caller graph for this function:

◆ SetVerbose() [2/2]

void oImageSpace::SetVerbose ( int  a_verboseLevel)
inline

Definition at line 601 of file include/image/oImageSpace.hh.

Member Data Documentation

◆ m2p_miscellaneousImage

FLTNB ** oImageSpace::m2p_miscellaneousImage

A bunch of images that can be allocated on demand using the AllocateMiscellaneousImage() function which return a pointer to the newly created image. They can thus be used anywhere in the code for any purpose.

Definition at line 103 of file code/include/image/oImageSpace.hh.

◆ m2p_multiModalImage

FLTNB ** oImageSpace::m2p_multiModalImage

Dynamic array for multimodal images to be used in reconstruction, containing a 2-vectors voxellized image matrix. 2 pointers: 1: number of multimodal images 2: 3D voxels

Definition at line 90 of file code/include/image/oImageSpace.hh.

◆ m2p_projectionImage

FLTNB ** oImageSpace::m2p_projectionImage

Dynamic array for a projection image (currently dedicated to SPECT analytical projection), containing a 2-vectors voxellized image matrix Required in the case the reconstruction uses intrinsic temporal basis functions. In any other case, m4p_outputImage just refers to the address of the image matrix containing the regular image. 2 pointers: 1: number of projections 2: 2D pixels

Definition at line 152 of file code/include/image/oImageSpace.hh.

◆ m4p_attenuation

FLTNB **** oImageSpace::m4p_attenuation

Dynamic array for the attenuation images, used in analytical projection or sensitivity list-mode generation, containing a 4-vectors voxellized image matrix. 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels

Definition at line 106 of file code/include/image/oImageSpace.hh.

◆ m4p_forwardImage

FLTNB **** oImageSpace::m4p_forwardImage

Dynamic array for the forward image (image data before the projection step), containing a 4-vectors voxellized image matrix. 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels

Definition at line 65 of file code/include/image/oImageSpace.hh.

◆ m4p_image

FLTNB **** oImageSpace::m4p_image

Dynamic array for the reconstructed image, containing a 4-vectors voxellized image matrix. 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels

Definition at line 58 of file code/include/image/oImageSpace.hh.

◆ m4p_outputImage

FLTNB **** oImageSpace::m4p_outputImage

Dynamic array for the output image to be written on disk, containing a 4-vectors voxellized image matrix Required in the case the reconstruction uses intrinsic temporal basis functions. In any other case, m4p_outputImage just refers to the address of the image matrix containing the regular image. 4 pointers: 1: dynamic frames, 2: respiratory gates, 3: cardiac gates, 4: 3D voxels

Definition at line 113 of file code/include/image/oImageSpace.hh.

◆ m4p_refDynForwardImage

FLTNB **** oImageSpace::m4p_refDynForwardImage

Buffer dynamic array for the forward image (image-based correction factors computed after the projection/backprojection steps), containing a 5-vectors voxellized image matrix. Required for image-based deformation, in order to store the forward image of the reference position from which deformation are performed 5 pointers: 1: number of images (dedicated to the optimization algorithm) 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels

Definition at line 122 of file code/include/image/oImageSpace.hh.

◆ m4p_refDynSensitivityImage

FLTNB **** oImageSpace::m4p_refDynSensitivityImage

Buffer dynamic array for the sensitivity image (image-based sensitivity factors), containing a 5-vectors voxellized image matrix. Required when image-based deformation is enabled during histogram-based reconstruction, in order to store the sensitivity factors in the reference position 5 pointers: 1: threads, 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels

Definition at line 143 of file code/include/image/oImageSpace.hh.

◆ m5p_refDynBackwardImage

FLTNB ***** oImageSpace::m5p_refDynBackwardImage

Buffer dynamic array for the backward image (image-based correction factors computed after the projection/backprojection steps), containing a 6-vectors voxellized image matrix. Required when image-based deformation, in order to store the correction factors in the reference position 6 pointers: 1: number of images (dedicated to the optimization algorithm) 2: threads, 3: dynamic frames, 4: respiratory gates, 5: cardiac gates, 6: 3D voxels

Definition at line 132 of file code/include/image/oImageSpace.hh.

◆ m5p_sensitivity

FLTNB ***** oImageSpace::m5p_sensitivity

Dynamic array for the sensitivity image (image-based normalization factors), containing a 5-vectors voxellized image matrix. 5 pointers: 1: threads, 2: dynamic frames, 3: respiratory gates, 4: cardiac gates, 5: 3D voxels

Definition at line 82 of file code/include/image/oImageSpace.hh.

◆ m6p_backwardImage

FLTNB ****** oImageSpace::m6p_backwardImage

Dynamic array for the backward image (image-based correction factors computed after the projection/backprojection steps), containing a 6-vectors voxellized image matrix. 6 pointers: 1: number of images (dedicated to the optimization algorithm) 2: threads, 3: dynamic frames, 4: respiratory gates, 5: cardiac gates, 6: 3D voxels

Definition at line 72 of file code/include/image/oImageSpace.hh.

◆ m_loadedMask

bool oImageSpace::m_loadedMask
private

Flag indicating if a mask image has been loaded

Definition at line 648 of file code/include/image/oImageSpace.hh.

◆ m_loadedMultiModal

bool oImageSpace::m_loadedMultiModal
private

Flag indicating if multimodal images have been loaded

Definition at line 647 of file code/include/image/oImageSpace.hh.

◆ m_loadedSensitivity

bool oImageSpace::m_loadedSensitivity
private

Flag indicating if reconstruction is listmode, otherwise histogram because sensitivity is computed on-the-fly

Definition at line 646 of file code/include/image/oImageSpace.hh.

◆ m_nbBackwardImages

int oImageSpace::m_nbBackwardImages
private

Number of backward images in the related image matrix (for the optimizer)

Definition at line 649 of file code/include/image/oImageSpace.hh.

◆ m_nbMiscellaneousImages

int oImageSpace::m_nbMiscellaneousImages
private

Number of allocated miscellaneous images

Definition at line 650 of file code/include/image/oImageSpace.hh.

◆ m_verbose

int oImageSpace::m_verbose
private

Verbosity

Definition at line 645 of file code/include/image/oImageSpace.hh.

◆ mp_ID

oImageDimensionsAndQuantification * oImageSpace::mp_ID
private

Pointer to the oImageDimensionsAndQuantification object

Definition at line 644 of file code/include/image/oImageSpace.hh.

◆ mp_maskImage

FLTNB * oImageSpace::mp_maskImage

Array for a mask image to be used in reconstruction, for instance a background mask. 1 pointer: 1: 3D voxels

Definition at line 95 of file code/include/image/oImageSpace.hh.

◆ mp_visitedVoxelsImage

FLTNB * oImageSpace::mp_visitedVoxelsImage

1-D Dynamic array, containing binary information regarding which 3D voxels have been visited during the projection steps. 1 pointer: 3D voxels

Definition at line 99 of file code/include/image/oImageSpace.hh.


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