4 a Bruker exam has the following 3 levels structure :
6 ========================================================================
19 * 1 // only 'native' images
26 * CreatisComputedCartoFile
27 * 2 // post processed images (if any)
35 * 3 // post processed images (if any)
51 ========================================================================
53 To tell the truth, a lot of changes are found at every new version.
54 We only can hope the mandatory (for us) files keep the same name, with the same
56 Or we shall have to find out the version number, and swich - case all the
57 methods (see NRRD format...)
59 ========================================================================
97 ========================================================================
98 Dicom convertion *demands* the following files :
106 ========================================================================
107 This project contains :
109 appli :testBruker2Dicom:
110 ------------------------
112 - explores the given directory (holding a FULL Bruker exam), at the 3 levels,
113 - fills an equivalent Directory with the MHD files and/or the DICOM files
114 usage: testBruker2Dicom --dirin=rootDirectoryName
115 --dirout=outputDirectoryName
117 [{-b|-l}] b:BigEndian,l:LittleEndian default : l
118 [--debug] [--verbose] [--listonly] [--usage]
120 D : user wants to export as DICOM
121 M : user wants to export as MHD
122 debug : developper wants to run the program in 'debug mode'
125 If you were supplied an *incomplete* Bruker exam
126 (e.g. only the '2' serie) put it a 'root' directory,
127 and run this test using this 'root' directory as 'dirin'
135 starts from a 'root' directory,
136 iterates on each 'serie', at the 3 levels
137 fills an equivalent Directory with the DICOM files.
141 corresponds to a 'parameter file', at any level.
142 LoadFile(std::string fileName);
143 GetFieldData(std::string fieldName);
146 class BrukerFieldData :
147 according to what users *knows* about the element, he will use:
148 std::string &GetDataType();
149 int GetDimensionNumber()
150 int GetNumberOfElements()
151 std::vector<std::string> &GetStringValue()
152 std::vector<int> &GetIntValue ()
153 std::vector<double> &GetDoubleValue()
155 class BrukerObjectVaryingProperties :
157 class BrukerKspaceObject :
161 class BrukerSizeException:
162 class BrukerInitException
163 class BrukerHopelessException