![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
DicomParser allows one to parse a directory of DICOM files looking for studies and series. More...
#include <DicomParser.h>
Public Member Functions | |
DicomParser () | |
virtual | ~DicomParser () |
Default Destructor. More... | |
Static Public Member Functions | |
static double | getZSpacing (const std::vector< std::string > &serieFileNames) |
Retrieve the DICOM image file Z spacing attribute (commonly known as spacing between slices) More... | |
static QList< DicomSerie * > | parseDirectory (const QString &directory) |
Parse the input directory for DICOM series. More... | |
Static Private Member Functions | |
static QDate | getAcquisitionDate (const std::vector< std::string > &serieFileNames) |
Retrieve the SERIES acquisition date. More... | |
static QTime | getAcquisitionTime (const std::vector< std::string > &serieFileNames) |
Retrieve the SERIES acquisition time. More... | |
static QString | getPatientName (const std::vector< std::string > &serieFileNames) |
Retrieve the patient name information from the input files. More... | |
static QString | getSerieDescription (const std::vector< std::string > &serieFileNames) |
Retrieve the series description. More... | |
static QString | getSerieName (const std::vector< std::string > &serieFileNames) |
Retrieve the series name. More... | |
static QString | getStudyName (const std::vector< std::string > &serieFileNames) |
Retrieve the study name. More... | |
static std::vector< std::string > | qtListOfStringToStd (const QList< QString > &inputList) |
Convert a QList of QString into a std list of string. More... | |
static QList< QString > | stdListOfStringToQt (const std::vector< std::string > &inputList) |
Convert a simple std list of string into a QList of QString. More... | |
DicomParser allows one to parse a directory of DICOM files looking for studies and series.
|
inline |
|
inlinevirtual |
Default Destructor.
References getAcquisitionDate(), getAcquisitionTime(), getPatientName(), getSerieDescription(), getSerieName(), getStudyName(), getZSpacing(), parseDirectory(), qtListOfStringToStd(), and stdListOfStringToQt().
|
staticprivate |
Retrieve the SERIES acquisition date.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
staticprivate |
Retrieve the SERIES acquisition time.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
staticprivate |
Retrieve the patient name information from the input files.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
staticprivate |
Retrieve the series description.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
staticprivate |
Retrieve the series name.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
staticprivate |
Retrieve the study name.
serieFileNames | The filenames belonging to a single series. |
Referenced by parseDirectory(), and ~DicomParser().
|
static |
Retrieve the DICOM image file Z spacing attribute (commonly known as spacing between slices)
serieFileNames | the input DICOM image images to retrieve the Z spacing attribute from. |
References CAMITK_ERROR.
Referenced by DicomComponent::DicomComponent(), and ~DicomParser().
|
static |
Parse the input directory for DICOM series.
directory | The input directory to parse DICOM image files. |
DEBUG
References CAMITK_DEBUG, getAcquisitionDate(), getAcquisitionTime(), getPatientName(), getSerieDescription(), getSerieName(), getStudyName(), DicomSerie::setAcquisitionDate(), DicomSerie::setAcquisitionTime(), DicomSerie::setFileNames(), DicomSerie::setPatientName(), DicomSerie::setSerieDescription(), DicomSerie::setSerieName(), DicomSerie::setStdFileNames(), DicomSerie::setStudyName(), and stdListOfStringToQt().
Referenced by DicomComponentExtension::open(), and ~DicomParser().
|
staticprivate |
Convert a QList of QString into a std list of string.
inputList | QList of QString to convert. |
Referenced by ~DicomParser().
|
staticprivate |
Convert a simple std list of string into a QList of QString.
inputList | std list of string to convert. |
Referenced by parseDirectory(), and ~DicomParser().