SuPReMo
0.1.1
Loading...
Searching...
No Matches
motion-lib
SupremoUtils.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
#pragma once
19
20
// Can only use sprintf_s, strcpy_s on Windows
21
#ifndef _WIN32
22
#define sprintf_s sprintf
23
#define strcpy_s strcpy
24
#endif
25
29
enum
t_motionCompensatedReconstruction
30
{
31
NO_RECONSTRUCTION = 0,
32
WEIGHTED_AVERAGING,
33
SUPER_RESOLUTION_RESTART,
34
SUPER_RESOLUTION_UPDATE
35
};
36
37
41
enum
t_dynamicData
42
{
43
SAME_RES_AS_STATIC = 0,
44
LOWER_RES_THAN_STATIC
45
};
46
47
51
enum
t_transformationType
52
{
53
STANDARD_B_SPLINE = 0,
54
SLIDING_B_SPLINE
55
};
56
57