Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkTestDICOMLoading.h>
Public Types | |
typedef std::list< Image::Pointer > | ImageList |
Public Member Functions | |
TestDICOMLoading () | |
ImageList | LoadFiles (const StringList &files) |
Image::Pointer | DecorateVerifyCachedImage (const StringList &files, mitk::Image::Pointer cachedImage) |
Image::Pointer | DecorateVerifyCachedImage (const StringList &files, DICOMTagCache *, mitk::Image::Pointer cachedImage) |
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 26 of file mitkTestDICOMLoading.h.
typedef std::list<Image::Pointer> mitk::TestDICOMLoading::ImageList |
Definition at line 30 of file mitkTestDICOMLoading.h.
mitk::TestDICOMLoading::TestDICOMLoading | ( | ) |
Definition at line 22 of file mitkTestDICOMLoading.cpp.
bool mitk::TestDICOMLoading::CompareImageInformationDumps | ( | const std::string & | reference, |
const std::string & | test | ||
) |
Compare two image information dumps.
Definition at line 375 of file mitkTestDICOMLoading.cpp.
References MITK_DEBUG, and MITK_ERROR.
Referenced by main(), and mitkDICOMTestingSanityTest().
mitk::Image::Pointer mitk::TestDICOMLoading::DecorateVerifyCachedImage | ( | const StringList & | files, |
mitk::Image::Pointer | cachedImage | ||
) |
Definition at line 122 of file mitkTestDICOMLoading.cpp.
References mitk::DICOMImageBlockDescriptor::GetMitkImage(), MITK_ERROR, and mitk::DICOMImageBlockDescriptor::SetMitkImage().
Referenced by mitkDICOMPreloadedVolumeTest().
mitk::Image::Pointer mitk::TestDICOMLoading::DecorateVerifyCachedImage | ( | const StringList & | files, |
mitk::DICOMTagCache * | tagCache, | ||
mitk::Image::Pointer | cachedImage | ||
) |
std::string mitk::TestDICOMLoading::DumpImageInformation | ( | const Image * | image | ) |
Dump relevant image information for later comparison.
Definition at line 182 of file mitkTestDICOMLoading.cpp.
References DumpLine, mitk::PixelType::GetBpe(), mitk::PixelType::GetComponentType(), mitk::Image::GetDimension(), mitk::TimeGeometry::GetGeometryForTimeStep(), mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::BaseGeometry::GetOrigin(), mitk::Image::GetPixelType(), mitk::BaseGeometry::GetSpacing(), mitk::TimeGeometry::GetTimeBounds(), mitk::BaseData::GetTimeGeometry(), and offset.
Referenced by main(), and mitkDICOMTestingSanityTest().
mitk::TestDICOMLoading::ImageList mitk::TestDICOMLoading::LoadFiles | ( | const StringList & | files | ) |
Definition at line 62 of file mitkTestDICOMLoading.cpp.
References mitk::DICOMImageBlockDescriptor::GetMitkImage(), and MITK_DEBUG.
Referenced by main(), mitkDICOMPreloadedVolumeTest(), and mitkDICOMTestingSanityTest().