12 #ifndef CXDICOMCONVERTER_H_
13 #define CXDICOMCONVERTER_H_
16 #include "org_custusx_core_filemanager_Export.h"
17 class ctkDICOMDatabase;
37 void setDicomDatabase(ctkDICOMDatabase* database);
38 ImagePtr convertToImage(QString seriesUid);
43 std::map<double, ImagePtr> sortImagesAlongDirection(std::vector<ImagePtr> images,
Vector3D e_sort);
44 ImagePtr mergeSlices(std::map<double, ImagePtr> sorted)
const;
45 double getMeanSliceDistance(std::map<double, ImagePtr> sorted)
const;
46 bool slicesFormRegularGrid(std::map<double, ImagePtr> sorted,
Vector3D e_sort)
const;
48 ImagePtr createCxImageFromDicomFile(QString filename,
bool ignoreLocalizerImages);
49 std::vector<ImagePtr> createImages(QStringList files);
50 QString convertToValidName(QString text)
const;
52 ctkDICOMDatabase* mDatabase;