36 #include <QCoreApplication> 67 static QList<DicomSerie*>
parseDirectory(
const QString& directory);
74 static double getZSpacing(
const std::vector<std::string>& serieFileNames);
110 static QString
getPatientName(
const std::vector<std::string>& serieFileNames);
117 static QString
getSerieName(
const std::vector<std::string>& serieFileNames);
131 static QString
getStudyName(
const std::vector<std::string>& serieFileNames);
135 #endif // DICOMPARSER_H static QList< DicomSerie * > parseDirectory(const QString &directory)
Parse the input directory for DICOM series.
Definition: DicomParser.cpp:36
static QDate getAcquisitionDate(const std::vector< std::string > &serieFileNames)
Retrieve the SERIES acquisition date.
Definition: DicomParser.cpp:124
static QString getStudyName(const std::vector< std::string > &serieFileNames)
Retrieve the study name.
Definition: DicomParser.cpp:187
static QString getSerieName(const std::vector< std::string > &serieFileNames)
Retrieve the series name.
Definition: DicomParser.cpp:163
static QList< QString > stdListOfStringToQt(const std::vector< std::string > &inputList)
Convert a simple std list of string into a QList of QString.
Definition: DicomParser.cpp:199
static std::vector< std::string > qtListOfStringToStd(const QList< QString > &inputList)
Convert a QList of QString into a std list of string.
Definition: DicomParser.cpp:209
static QString getPatientName(const std::vector< std::string > &serieFileNames)
Retrieve the patient name information from the input files.
Definition: DicomParser.cpp:150
static QTime getAcquisitionTime(const std::vector< std::string > &serieFileNames)
Retrieve the SERIES acquisition time.
Definition: DicomParser.cpp:137
DicomParser allows one to parse a directory of DICOM files looking for studies and series...
Definition: DicomParser.h:51
virtual ~DicomParser()=default
Default Destructor.
static QString getSerieDescription(const std::vector< std::string > &serieFileNames)
Retrieve the series description.
Definition: DicomParser.cpp:175
static double getZSpacing(const std::vector< std::string > &serieFileNames)
Retrieve the DICOM image file Z spacing attribute (commonly known as spacing between slices) ...
Definition: DicomParser.cpp:219