SIRF  3.4.0
chain_lib.h
Go to the documentation of this file.
1 /*
2 SyneRBI Synergistic Image Reconstruction Framework (SIRF)
3 Copyright 2015 - 2019 Rutherford Appleton Laboratory STFC
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 
31 #ifndef PROCESSOR_CHAINS_LIBRARY
32 #define PROCESSOR_CHAINS_LIBRARY
33 
34 #include "sirf/Gadgetron/cgadgetron_shared_ptr.h"
36 
37 namespace sirf {
38 
43  public:
45  {
46  gadgetron::shared_ptr<aGadget> sptr_g(new RemoveROOversamplingGadget);
47  add_gadget("gadget", sptr_g);
48  }
49  static const char* class_name()
50  {
51  return "RemoveOversamplingProcessor";
52  }
53  };
54 
60  public:
62  {
63  //class_ = "SimpleReconstructionProcessor";
64  gadgetron::shared_ptr<aGadget> sptr_g(new SimpleReconGadgetSet);
65  add_gadget("gadget", sptr_g);
66  }
67  static const char* class_name()
68  {
69  return "SimpleReconstructionProcessor";
70  }
71  };
72 
78  public:
80  {
81  //class_ = "SimpleGRAPPAReconstructionProcessor";
82  gadgetron::shared_ptr<aGadget> sptr_g1(new AcquisitionAccumulateTriggerGadget);
83  gadgetron::shared_ptr<aGadget> sptr_g2(new BucketToBufferGadget);
84  gadgetron::shared_ptr<aGadget> sptr_g3
86  gadgetron::shared_ptr<aGadget> sptr_g4(new GenericReconCartesianGrappaGadget);
87  gadgetron::shared_ptr<aGadget> sptr_g5
89  gadgetron::shared_ptr<aGadget> sptr_g6(new GenericReconImageArrayScalingGadget);
90  gadgetron::shared_ptr<aGadget> sptr_g7(new ImageArraySplitGadget);
91  add_gadget("gadget1", sptr_g1);
92  add_gadget("gadget2", sptr_g2);
93  add_gadget("gadget3", sptr_g3);
94  add_gadget("gadget4", sptr_g4);
95  add_gadget("gadget5", sptr_g5);
96  add_gadget("gadget6", sptr_g6);
97  add_gadget("gadget7", sptr_g7);
98  }
99  static const char* class_name()
100  {
101  return "SimpleGRAPPAReconstructionProcessor";
102  }
103  };
104 
109  public:
111  {
112  //class_ = "ExtractRealImagesProcessor";
113  gadgetron::shared_ptr<aGadget> sptr_g(new ExtractGadget);
114  add_gadget("gadget", sptr_g);
115  }
116  static const char* class_name()
117  {
118  return "ExtractRealImagesProcessor";
119  }
120  };
121 
122 }
123 
124 #endif
Class for xml-definition generator for a simple fully sumpled reconstruction gadget set...
Definition: gadget_lib.h:684
A particular type of Gadget chain that has ImageData on input and output.
Definition: gadgetron_x.h:275
Definition: gadget_lib.h:298
Definition: gadget_lib.h:312
Definition: gadget_lib.h:446
Class for an xml-definition generator for real image extracting chain.
Definition: chain_lib.h:108
Definition: gadget_lib.h:549
Class for an xml-definition generator for simple undersampled GRAPPA reconstruction chain...
Definition: chain_lib.h:77
Definition: gadget_lib.h:376
Definition: gadget_lib.h:286
Abstract data container.
Definition: GeometricalInfo.cpp:141
A particular type of Gadget chain that has AcquisitionData on input and output.
Definition: gadgetron_x.h:197
Definition: gadget_lib.h:414
Class for an xml-definition generator for simple fully sampled reconstruction chain.
Definition: chain_lib.h:59
Class for an xml-definition generator for oversampling removing chain.
Definition: chain_lib.h:42
A particular type of Gadget chain that has AcquisitionData on input and ImageData on output...
Definition: gadgetron_x.h:237
Specification file for extended Gadgetron functionality classes.