26 #include "gdcmReader.h" 27 #include "gdcmImageReader.h" 28 #include "gdcmMediaStorage.h" 30 #include "gdcmDataSet.h" 32 #include "gdcmGlobal.h" 33 #include "gdcmModules.h" 35 #include "gdcmOrientation.h" 36 #include "gdcmVersion.h" 38 #include "gdcmSystem.h" 39 #include "gdcmDirectory.h" 40 #include "gdcmSorter.h" 41 #include "gdcmScanner.h" 42 #include "gdcmDataSet.h" 43 #include "gdcmAttribute.h" 49 unsigned short dims[3];
53 unsigned short samples;
54 unsigned short nbitsalloc;
55 unsigned short nbitsstored;
56 unsigned short nhighbit;
76 bool LPS_ReorientImageVolume (
ImgFormat *volData);
77 bool ReadPixelData(
const gdcm::Image &image,
const gdcm::DataSet &ds,
78 const gdcm::PixelFormat::ScalarType & stype,
79 unsigned short nbitsalloc,
unsigned short nbitsstored,
80 float slope,
float intercept,
81 unsigned int *len,
char **buf,
82 int *umin,
int *umax);
83 int ProcessOneFile( std::string
const & filename,
84 gdcm::Defs
const & defs ,
85 std::string *series_desc_str,
86 std::string *patient_name_str,
87 std::string *patient_code_str,
89 gdcm::PixelFormat::ScalarType *stype,
91 bool ValidateMediaStorageIsImage (std::string
const & filename,
92 gdcm::Defs
const & defs );
93 int ImportFile(std::string &filename,
const gdcm::Defs &defs,
int DICOMImage(std::string &filename, ImgFormat *imgformat)
Destructor.