ODIN
bladegrid.h
1 /***************************************************************************
2  bladegrid.h - description
3  -------------------
4  begin : Fri Jan 07 2009
5  copyright : (C) 2009-2021 by Martin Krämer and Thies Jochimsen
6  email : MartinKraemer@gmx.net
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef BLADEGRID_H
19 #define BLADEGRID_H
20 
21 #include <odinpara/ldrfilter.h>
22 #include <odindata/complexdata.h>
23 
24 #include "odinreco.h"
25 
26 
27 class BladeGrid {
28 
29  public:
30  bool init(const TinyVector<int,3>& inshape, const TinyVector<float,3> fov, const TinyVector<float,3> image_size, const float os_factor, const LDRfilter& filterkernel);
31 
32  ComplexData<4> operator () (const ComplexData<4>& src, const dvector& angles) const;
33 
34  private:
35  ComplexData<2> filtermask_center;
36  TinyVector<float,2> dstextent;
37  TinyVector<float,2> dstshape;
38  TinyVector<float,2> kmax;
39 };
40 
41 #endif