-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMoCoReconWeightedAverage.h
52 lines (39 loc) · 2.12 KB
/
MoCoReconWeightedAverage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// ====================================================================================================
//
// SuPReMo: Surrogate Parameterised Respiratory Motion Model
// An implementation of the generalised motion modelling and image registration framework
//
// Copyright (c) University College London (UCL). All rights reserved.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE.
//
// See LICENSE.txt in the top level directory for details.
//
// ====================================================================================================
#pragma once
#include "MoCoRecon.h"
/** Class implementing the weighted averaging motion-compensated image reconstruction.
*/
class MoCoReconWeightedAverage : public MoCoRecon
{
public:
/** Constructor
*/
MoCoReconWeightedAverage();
/** Destructor
*/
virtual ~MoCoReconWeightedAverage();
/** Calculate the motion-compensated image reconstruction
*/
void Update();
private:
/** Allocate the memory holding the weights image
*/
void AllocateWeightsImageForReconstruction();
/** Clean up the weights image
*/
void ClearWeightsImageForReconstruction();
nifti_image* weightsImageForReconstruction; ///< The weights image
};