#include <LowResolutionImageAcquisition.h>
|
| LowResolutionImageAcquisition () |
|
virtual | ~LowResolutionImageAcquisition () |
|
nifti_image * | SimulateImageAcquisition (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint) |
|
void | CalculateAdjoint (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint) |
|
nifti_image * | AllocateMinimumSizeImgInFullImgSpace (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint) |
|
| ImageAcquisition () |
|
virtual | ~ImageAcquisition () |
|
virtual nifti_image * | SimulateImageAcquisition (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)=0 |
|
virtual void | CalculateAdjoint (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)=0 |
|
virtual nifti_image * | AllocateMinimumSizeImgInFullImgSpace (nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)=0 |
|
virtual nifti_image * | GetImageAfterAdjoint () |
|
virtual nifti_image * | GetWeightsImageAfterAdjoint () |
|
◆ PrecisionType
◆ LowResolutionImageAcquisition()
LowResolutionImageAcquisition::LowResolutionImageAcquisition |
( |
| ) |
|
◆ ~LowResolutionImageAcquisition()
LowResolutionImageAcquisition::~LowResolutionImageAcquisition |
( |
| ) |
|
|
virtual |
◆ AllocateImageAfterAdjoint()
void LowResolutionImageAcquisition::AllocateImageAfterAdjoint |
( |
| ) |
|
|
protectedvirtual |
◆ AllocateMinimumSizeImgInFullImgSpace()
nifti_image * LowResolutionImageAcquisition::AllocateMinimumSizeImgInFullImgSpace |
( |
nifti_image * |
imgInFullImgSpace, |
|
|
nifti_image * |
imgInAcquisitionSpace, |
|
|
unsigned int |
dynamicImageTimePoint |
|
) |
| |
|
virtual |
Computes the minimum sized image in full image space for efficient warping in the objective function calculations. Only the geometric information of the images is used, the dynamic image time point is ignored here.
- Parameters
-
imgInFullImgSpace | Pointer to nifti image holding the image in full image space. |
imgInAcquisitionSpace | Pointer to the nifti image in acquisition space. |
dynamicImageTimePoint | Not used in this method. |
Implements ImageAcquisition.
◆ CalculateAdjoint()
void LowResolutionImageAcquisition::CalculateAdjoint |
( |
nifti_image * |
imgInFullImgSpace, |
|
|
nifti_image * |
imgInAcquisitionSpace, |
|
|
unsigned int |
dynamicImageTimePoint |
|
) |
| |
|
virtual |
Backproject the low-resoution image into full image space.
- Parameters
-
imgInFullImgSpace | Pointer to nifti image holding the image in full image space. |
imgInAcquisitionSpace | Pointer to the nifti image in acquisition space. |
dynamicImageTimePoint | Not used in this method. |
Implements ImageAcquisition.
◆ SimulateImageAcquisition()
nifti_image * LowResolutionImageAcquisition::SimulateImageAcquisition |
( |
nifti_image * |
imgInFullImgSpace, |
|
|
nifti_image * |
imgInAcquisitionSpace, |
|
|
unsigned int |
dynamicImageTimePoint |
|
) |
| |
|
virtual |
Implementation of the low-resolution image acquisition simulation. Calculates a low-resolution image using the information provided by the image in image space. The simulated image will be allocated and returned as a pointer. The image in acuqisition space will be used to determine the smoothing and downwampling.
- Parameters
-
imgInFullImgSpace | Pointer to nifti image holding the image in full image space. |
imgInAcquisitionSpace | Pointer to the nifti image in acquisition space. |
dynamicImageTimePoint | The dynamic image time point in case time-dependent meta data needs to be used internally. |
- Returns
- Pointer to the simulated dyanmic image. This image will be allocated by this function and is expected to be deleted after usaage using
nifti_image_free()
.
Implements ImageAcquisition.
◆ lowResolutionThreshold
const PrecisionType LowResolutionImageAcquisition::lowResolutionThreshold |
|
protected |
Ratio between the high and low resolution image. Only if ratio is larger, low resolution acquisition will be simulated.
◆ paddingValue
The padding value used in simulating the image acquisition.
◆ roundErrorThreshold
const PrecisionType LowResolutionImageAcquisition::roundErrorThreshold |
|
protected |
Value used below which rounding can be savely done without loss of accuracy.
The documentation for this class was generated from the following files: