Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkTestDCMLoading.h>
Public Types | |
typedef DicomSeriesReader::StringContainer | StringContainer |
typedef std::list< DataNode::Pointer > | NodeList |
typedef std::list< itk::SmartPointer< Image > > | ImageList |
Public Member Functions | |
TestDCMLoading () | |
ImageList | LoadFiles (const StringContainer &files, itk::SmartPointer< Image > preLoadedVolume=nullptr) |
std::string | DumpImageInformation (const Image *image) |
Dump relevant image information for later comparison. More... | |
bool | CompareImageInformationDumps (const std::string &reference, const std::string &test) |
Compare two image information dumps. More... | |
Definition at line 27 of file mitkTestDCMLoading.h.
typedef std::list<itk::SmartPointer<Image> > mitk::TestDCMLoading::ImageList |
Definition at line 32 of file mitkTestDCMLoading.h.
typedef std::list<DataNode::Pointer> mitk::TestDCMLoading::NodeList |
Definition at line 31 of file mitkTestDCMLoading.h.
Definition at line 30 of file mitkTestDCMLoading.h.
mitk::TestDCMLoading::TestDCMLoading | ( | ) |
Definition at line 24 of file mitkTestDCMLoading.cpp.
bool mitk::TestDCMLoading::CompareImageInformationDumps | ( | const std::string & | reference, |
const std::string & | test | ||
) |
Compare two image information dumps.
Definition at line 332 of file mitkTestDCMLoading.cpp.
References MITK_DEBUG, and MITK_ERROR.
Referenced by main(), and mitkDCMTestingSanityTest().
std::string mitk::TestDCMLoading::DumpImageInformation | ( | const Image * | image | ) |
Dump relevant image information for later comparison.
Definition at line 135 of file mitkTestDCMLoading.cpp.
References DumpLine, mitk::PixelType::GetBpe(), mitk::PixelType::GetComponentType(), mitk::Image::GetDimension(), mitk::BaseData::GetGeometry(), mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::BaseGeometry::GetOrigin(), mitk::Image::GetPixelType(), mitk::BaseGeometry::GetSpacing(), mitk::TimeGeometry::GetTimeBounds(), mitk::BaseData::GetTimeGeometry(), and offset.
Referenced by main(), and mitkDCMTestingSanityTest().
mitk::TestDCMLoading::ImageList mitk::TestDCMLoading::LoadFiles | ( | const StringContainer & | files, |
itk::SmartPointer< Image > | preLoadedVolume = nullptr |
||
) |
Definition at line 59 of file mitkTestDCMLoading.cpp.
References mitk::DicomSeriesReader::GetSeries(), mitk::DicomSeriesReader::LoadDicomSeries(), and MITK_DEBUG.
Referenced by main(), mitkDCMPreloadedVolumeTest(), and mitkDCMTestingSanityTest().