SuPReMo  0.1.1
Loading...
Searching...
No Matches
LowResolutionImageAcquisition.h
1// ====================================================================================================
2//
3// SuPReMo: Surrogate Parameterised Respiratory Motion Model
4// An implementation of the generalised motion modelling and image registration framework
5//
6// Copyright (c) University College London (UCL). All rights reserved.
7//
8// This software is distributed WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10// PURPOSE.
11//
12// See LICENSE.txt in the top level directory for details.
13//
14// ====================================================================================================
15
16
17
18
19#pragma once
20
21#include "ImageAcquisition.h"
22#include "Supremo.h"
23
25{
26public:
27 typedef float PrecisionType;
28
32
36
46 nifti_image* SimulateImageAcquisition( nifti_image * imgInFullImgSpace, nifti_image * imgInAcquisitionSpace, unsigned int dynamicImageTimePoint);
47
54 void CalculateAdjoint( nifti_image* imgInFullImgSpace, nifti_image* imgInAcquisitionSpace, unsigned int dynamicImageTimePoint);
55
63 nifti_image* AllocateMinimumSizeImgInFullImgSpace( nifti_image* imgInFullImgSpace, nifti_image* imgInAcquisitionSpace, unsigned int dynamicImageTimePoint);
64
65protected:
66 virtual void AllocateImageAfterAdjoint();
67
71};
Definition: ImageAcquisition.h:25
Definition: LowResolutionImageAcquisition.h:25
const PrecisionType lowResolutionThreshold
Ratio between the high and low resolution image. Only if ratio is larger, low resolution acquisition ...
Definition: LowResolutionImageAcquisition.h:68
nifti_image * AllocateMinimumSizeImgInFullImgSpace(nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)
Definition: LowResolutionImageAcquisition.cpp:1003
LowResolutionImageAcquisition()
Definition: LowResolutionImageAcquisition.cpp:27
float PrecisionType
Definition: LowResolutionImageAcquisition.h:27
virtual ~LowResolutionImageAcquisition()
Definition: LowResolutionImageAcquisition.cpp:39
const PrecisionType roundErrorThreshold
Value used below which rounding can be savely done without loss of accuracy.
Definition: LowResolutionImageAcquisition.h:69
virtual void AllocateImageAfterAdjoint()
Definition: LowResolutionImageAcquisition.cpp:1121
void CalculateAdjoint(nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)
Definition: LowResolutionImageAcquisition.cpp:549
PrecisionType paddingValue
The padding value used in simulating the image acquisition.
Definition: LowResolutionImageAcquisition.h:70
nifti_image * SimulateImageAcquisition(nifti_image *imgInFullImgSpace, nifti_image *imgInAcquisitionSpace, unsigned int dynamicImageTimePoint)
Definition: LowResolutionImageAcquisition.cpp:48