SIRF  3.5.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 the generator of xml definition of AcquisitionAccumulateTriggerGadget.
Definition: gadget_lib.h:318
A particular type of Gadget chain that has AcquisitionData on input and output.
Definition: gadgetron_x.h:197
Class for the generator of xml definition of BucketToBufferGadget.
Definition: gadget_lib.h:335
Class for the generator of xml definition of ExtractGadget.
Definition: gadget_lib.h:719
Class for an xml-definition generator for real image extracting chain.
Definition: chain_lib.h:108
Class for the generator of xml definition of GenericReconCartesianGrappaGadget.
Definition: gadget_lib.h:516
Class for the generator of xml definition of GenericReconCartesianReferencePrepGadget.
Definition: gadget_lib.h:355
Class for the generator of xml definition of GenericReconFieldOfViewAdjustmentGadget.
Definition: gadget_lib.h:541
Class for the generator of xml definition of GenericReconImageArrayScalingGadget.
Definition: gadget_lib.h:560
Class for the generator of xml definition of ImageArraySplitGadget.
Definition: gadget_lib.h:598
A particular type of Gadget chain that has ImageData on input and output.
Definition: gadgetron_x.h:295
A particular type of Gadget chain that has AcquisitionData on input and ImageData on output.
Definition: gadgetron_x.h:237
Class for an xml-definition generator for oversampling removing chain.
Definition: chain_lib.h:42
Class for the generator of xml definition of RemoveROOversamplingGadget.
Definition: gadget_lib.h:303
Class for an xml-definition generator for simple undersampled GRAPPA reconstruction chain.
Definition: chain_lib.h:77
Class for xml-definition generator for a simple fully sumpled reconstruction gadget set.
Definition: gadget_lib.h:878
Class for an xml-definition generator for simple fully sampled reconstruction chain.
Definition: chain_lib.h:59
Specification file for extended Gadgetron functionality classes.
Abstract data container.
Definition: GeometricalInfo.cpp:141