SIRF  3.4.0
FourierEncoding.h
Go to the documentation of this file.
1 /*
2 SyneRBI Synergistic Image Reconstruction Framework (SIRF)
3 Copyright 2020 - 2021 Physikalisch-Technische Bundesanstalt (PTB)
4 
5 This is software developed for the Collaborative Computational
6 Project in Synergistic Reconstruction for Biomedical Imaging (formerly CCP PETMR)
7 (http://www.ccpsynerbi.ac.uk/).
8 
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 
19 */
20 
29 #ifndef FOURIERENCODING_H
30 #define FOURIERENCODING_H
31 
33 #include "sirf/iUtilities/LocalisedException.h"
34 
45 namespace sirf{
52 {
53 public:
54  FourierEncoding(){}
55 
56  virtual void forward(MRAcquisitionData& ac, const CFImage& img) const =0;
57  virtual void backward(CFImage& img, const MRAcquisitionData& ac) const =0;
58 
59  void match_img_header_to_acquisition(CFImage& img, const ISMRMRD::Acquisition& acq) const;
60 };
61 
74 {
75 public:
77 
78  virtual void forward(MRAcquisitionData& ac, const CFImage& img) const;
79  virtual void backward(CFImage& img, const MRAcquisitionData& ac) const;
80 
81 };
82 
83 } // namespace sirf
84 #endif // FOURIERENCODING_H
Abstract class defining the interface to perform Fourier transforms.
Definition: FourierEncoding.h:51
Class to perform a cartesian FFT.
Definition: FourierEncoding.h:73
Abstract data container.
Definition: GeometricalInfo.cpp:141
Specification file for data container classes for Gadgetron data.
Abstract MR acquisition data container class.
Definition: gadgetron_data_containers.h:216