gdcmMediaStorage.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMMEDIASTORAGE_H
#define GDCMMEDIASTORAGE_H
#include "gdcmTransferSyntax.h"
namespace gdcm { class Tag; }
namespace gdcm_ns
{
#if !defined(SWIGPYTHON) && !defined(SWIGCSHARP) && !defined(SWIGJAVA) && !defined(SWIGPHP)
using namespace gdcm;
#endif
class DataSet;
class FileMetaInformation;
class File;
// WARNING: This class will be deprecated in the future. There is no reason to extend this class.
// Please check the gdcm::UIDs class if adding new well known UID.
class GDCM_EXPORT MediaStorage
{
public:
typedef enum {
MediaStorageDirectoryStorage = 0,
ComputedRadiographyImageStorage,
DigitalXRayImageStorageForPresentation,
DigitalXRayImageStorageForProcessing,
DigitalMammographyImageStorageForPresentation,
DigitalMammographyImageStorageForProcessing,
DigitalIntraoralXrayImageStorageForPresentation,
DigitalIntraoralXRayImageStorageForProcessing,
CTImageStorage,
EnhancedCTImageStorage,
UltrasoundImageStorageRetired,
UltrasoundImageStorage,
UltrasoundMultiFrameImageStorageRetired,
UltrasoundMultiFrameImageStorage,
MRImageStorage,
EnhancedMRImageStorage,
MRSpectroscopyStorage,
NuclearMedicineImageStorageRetired,
SecondaryCaptureImageStorage,
MultiframeSingleBitSecondaryCaptureImageStorage,
MultiframeGrayscaleByteSecondaryCaptureImageStorage,
MultiframeGrayscaleWordSecondaryCaptureImageStorage,
MultiframeTrueColorSecondaryCaptureImageStorage,
StandaloneOverlayStorage,
StandaloneCurveStorage,
LeadECGWaveformStorage, // 12-
GeneralECGWaveformStorage,
AmbulatoryECGWaveformStorage,
HemodynamicWaveformStorage,
CardiacElectrophysiologyWaveformStorage,
BasicVoiceAudioWaveformStorage,
StandaloneModalityLUTStorage,
StandaloneVOILUTStorage,
GrayscaleSoftcopyPresentationStateStorageSOPClass,
XRayAngiographicImageStorage,
XRayRadiofluoroscopingImageStorage,
XRayAngiographicBiPlaneImageStorageRetired,
NuclearMedicineImageStorage,
RawDataStorage,
SpacialRegistrationStorage, // Spatial
SpacialFiducialsStorage, // Spatial..
PETImageStorage,
RTImageStorage,
RTDoseStorage,
RTStructureSetStorage,
RTPlanStorage,
CSANonImageStorage,
Philips3D,
EnhancedSR,
BasicTextSR,
HardcopyGrayscaleImageStorage,
ComprehensiveSR,
DetachedStudyManagementSOPClass,
EncapsulatedPDFStorage,
EncapsulatedCDAStorage,
StudyComponentManagementSOPClass,
DetachedVisitManagementSOPClass,
DetachedPatientManagementSOPClass,
VideoEndoscopicImageStorage,
GeneralElectricMagneticResonanceImageStorage,
GEPrivate3DModelStorage,
ToshibaPrivateDataStorage,
MammographyCADSR,
KeyObjectSelectionDocument,
HangingProtocolStorage,
ModalityPerformedProcedureStepSOPClass,
PhilipsPrivateMRSyntheticImageStorage,
VLPhotographicImageStorage,
SegmentationStorage, // "1.2.840.10008.5.1.4.1.1.66.4"
RTIonPlanStorage, // 1.2.840.10008.5.1.4.1.1.481.8
XRay3DAngiographicImageStorage, // 1.2.840.10008.5.1.4.1.1.13.1.1
EnhancedXAImageStorage,
RTIonBeamsTreatmentRecordStorage, // 1.2.840.10008.5.1.4.1.1.481.9
SurfaceSegmentationStorage, // "1.2.840.10008.5.1.4.1.1.66.5"
VLWholeSlideMicroscopyImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.6
RTTreatmentSummaryRecordStorage, // 1.2.840.10008.5.1.4.1.1.481.7
EnhancedUSVolumeStorage, // 1.2.840.10008.5.1.4.1.1.6.2
XRayRadiationDoseSR, // 1.2.840.10008.5.1.4.1.1.88.67
VLEndoscopicImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.1
BreastTomosynthesisImageStorage, // 1.2.840.10008.5.1.4.1.1.13.1.3
FujiPrivateCRImageStorage, // 1.2.392.200036.9125.1.1.2
OphthalmicPhotography8BitImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.5.1
OphthalmicTomographyImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.5.4
VLMicroscopicImageStorage,
EnhancedPETImageStorage,
VideoPhotographicImageStorage,
XRay3DCraniofacialImageStorage,
IVOCTForPresentation,
IVOCTForProcessing,
LegacyConvertedEnhancedCTImageStorage,
LegacyConvertedEnhancedMRImageStorage,
LegacyConvertedEnhancedPETImageStorage,
BreastProjectionXRayImageStorageForPresentation,
BreastProjectionXRayImageStorageForProcessing,
HardcopyColorImageStorage,
EnhancedMRColorImageStorage,
FujiPrivateMammoCRImageStorage,
OphthalmicPhotography16BitImageStorage,
VideoMicroscopicImageStorage,
MS_END
} MSType; // Media Storage Type
typedef enum {
NoObject = 0, // DICOMDIR
Video, // Most common, include image, video and volume
Waveform, // Isn't it simply a 1D video ?
Audio, // ???
PDF,
URI, // URL...
Segmentation, // TODO
ObjectEnd
} ObjectType;
static const char* GetMSString(MSType ts);
const char* GetString() const;
static MSType GetMSType(const char *str);
MediaStorage(MSType type = MS_END):MSField(type) {}
static bool IsImage(MSType ts);
operator MSType () const { return MSField; }
const char *GetModality() const;
unsigned int GetModalityDimension() const;
static unsigned int GetNumberOfMSType();
static unsigned int GetNumberOfMSString();
static unsigned int GetNumberOfModality();
bool SetFromFile(File const &file);
bool SetFromDataSet(DataSet const &ds); // Will get the SOP Class UID
bool SetFromHeader(FileMetaInformation const &fmi); // Will get the Media Storage SOP Class UID
bool SetFromModality(DataSet const &ds);
void GuessFromModality(const char *modality, unsigned int dimension = 2);
friend std::ostream &operator<<(std::ostream &os, const MediaStorage &ms);
bool IsUndefined() const { return MSField == MS_END; }
protected:
void SetFromSourceImageSequence(DataSet const &ds);
private:
bool SetFromDataSetOrHeader(DataSet const &ds, const Tag & tag);
std::string GetFromDataSetOrHeader(DataSet const &ds, const Tag & tag);
std::string GetFromHeader(FileMetaInformation const &fmi);
std::string GetFromDataSet(DataSet const &ds);
private:
MSType MSField;
};
//-----------------------------------------------------------------------------
inline std::ostream &operator<<(std::ostream &_os, const MediaStorage &ms)
{
const char *msstring = MediaStorage::GetMSString(ms);
_os << (msstring ? msstring : "INVALID MEDIA STORAGE");
return _os;
}
} // end namespace gdcm_ns
#endif // GDCMMEDIASTORAGE_H
gdcm::DataSet
Class to represent a Data Set (which contains Data Elements).
Definition gdcmDataSet.h:56
gdcm::FileMetaInformation
Class to represent a File Meta Information.
Definition gdcmFileMetaInformation.h:41
gdcm::File
a DICOM File
Definition gdcmFile.h:34
gdcm::MediaStorage::GetMSString
static const char * GetMSString(MSType ts)
Return the Media String associated. Will return NULL for MS_END.
gdcm::MediaStorage::MSType
MSType
Definition gdcmMediaStorage.h:46
gdcm::MediaStorage::BreastTomosynthesisImageStorage
@ BreastTomosynthesisImageStorage
Definition gdcmMediaStorage.h:126
gdcm::MediaStorage::RTIonPlanStorage
@ RTIonPlanStorage
Definition gdcmMediaStorage.h:116
gdcm::MediaStorage::VideoPhotographicImageStorage
@ VideoPhotographicImageStorage
Definition gdcmMediaStorage.h:132
gdcm::MediaStorage::MammographyCADSR
@ MammographyCADSR
Definition gdcmMediaStorage.h:109
gdcm::MediaStorage::VLMicroscopicImageStorage
@ VLMicroscopicImageStorage
Definition gdcmMediaStorage.h:130
gdcm::MediaStorage::GEPrivate3DModelStorage
@ GEPrivate3DModelStorage
Definition gdcmMediaStorage.h:107
gdcm::MediaStorage::DigitalMammographyImageStorageForPresentation
@ DigitalMammographyImageStorageForPresentation
Definition gdcmMediaStorage.h:51
gdcm::MediaStorage::XRayAngiographicBiPlaneImageStorageRetired
@ XRayAngiographicBiPlaneImageStorageRetired
Definition gdcmMediaStorage.h:83
gdcm::MediaStorage::RTStructureSetStorage
@ RTStructureSetStorage
Definition gdcmMediaStorage.h:91
gdcm::MediaStorage::SpacialFiducialsStorage
@ SpacialFiducialsStorage
Definition gdcmMediaStorage.h:87
gdcm::MediaStorage::VLWholeSlideMicroscopyImageStorage
@ VLWholeSlideMicroscopyImageStorage
Definition gdcmMediaStorage.h:121
gdcm::MediaStorage::EncapsulatedCDAStorage
@ EncapsulatedCDAStorage
Definition gdcmMediaStorage.h:101
gdcm::MediaStorage::HemodynamicWaveformStorage
@ HemodynamicWaveformStorage
Definition gdcmMediaStorage.h:75
gdcm::MediaStorage::EnhancedPETImageStorage
@ EnhancedPETImageStorage
Definition gdcmMediaStorage.h:131
gdcm::MediaStorage::XRayRadiofluoroscopingImageStorage
@ XRayRadiofluoroscopingImageStorage
Definition gdcmMediaStorage.h:82
gdcm::MediaStorage::OphthalmicTomographyImageStorage
@ OphthalmicTomographyImageStorage
Definition gdcmMediaStorage.h:129
gdcm::MediaStorage::StudyComponentManagementSOPClass
@ StudyComponentManagementSOPClass
Definition gdcmMediaStorage.h:102
gdcm::MediaStorage::DigitalXRayImageStorageForPresentation
@ DigitalXRayImageStorageForPresentation
Definition gdcmMediaStorage.h:49
gdcm::MediaStorage::LegacyConvertedEnhancedPETImageStorage
@ LegacyConvertedEnhancedPETImageStorage
Definition gdcmMediaStorage.h:138
gdcm::MediaStorage::XRayRadiationDoseSR
@ XRayRadiationDoseSR
Definition gdcmMediaStorage.h:124
gdcm::MediaStorage::LegacyConvertedEnhancedMRImageStorage
@ LegacyConvertedEnhancedMRImageStorage
Definition gdcmMediaStorage.h:137
gdcm::MediaStorage::DetachedPatientManagementSOPClass
@ DetachedPatientManagementSOPClass
Definition gdcmMediaStorage.h:104
gdcm::MediaStorage::EnhancedSR
@ EnhancedSR
Definition gdcmMediaStorage.h:95
gdcm::MediaStorage::RawDataStorage
@ RawDataStorage
Definition gdcmMediaStorage.h:85
gdcm::MediaStorage::GrayscaleSoftcopyPresentationStateStorageSOPClass
@ GrayscaleSoftcopyPresentationStateStorageSOPClass
Definition gdcmMediaStorage.h:80
gdcm::MediaStorage::IVOCTForPresentation
@ IVOCTForPresentation
Definition gdcmMediaStorage.h:134
gdcm::MediaStorage::XRay3DCraniofacialImageStorage
@ XRay3DCraniofacialImageStorage
Definition gdcmMediaStorage.h:133
gdcm::MediaStorage::DetachedVisitManagementSOPClass
@ DetachedVisitManagementSOPClass
Definition gdcmMediaStorage.h:103
gdcm::MediaStorage::BasicVoiceAudioWaveformStorage
@ BasicVoiceAudioWaveformStorage
Definition gdcmMediaStorage.h:77
gdcm::MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
@ MultiframeSingleBitSecondaryCaptureImageStorage
Definition gdcmMediaStorage.h:66
gdcm::MediaStorage::MultiframeGrayscaleWordSecondaryCaptureImageStorage
@ MultiframeGrayscaleWordSecondaryCaptureImageStorage
Definition gdcmMediaStorage.h:68
gdcm::MediaStorage::UltrasoundImageStorageRetired
@ UltrasoundImageStorageRetired
Definition gdcmMediaStorage.h:57
gdcm::MediaStorage::XRayAngiographicImageStorage
@ XRayAngiographicImageStorage
Definition gdcmMediaStorage.h:81
gdcm::MediaStorage::ModalityPerformedProcedureStepSOPClass
@ ModalityPerformedProcedureStepSOPClass
Definition gdcmMediaStorage.h:112
gdcm::MediaStorage::SurfaceSegmentationStorage
@ SurfaceSegmentationStorage
Definition gdcmMediaStorage.h:120
gdcm::MediaStorage::SecondaryCaptureImageStorage
@ SecondaryCaptureImageStorage
Definition gdcmMediaStorage.h:65
gdcm::MediaStorage::MediaStorageDirectoryStorage
@ MediaStorageDirectoryStorage
Definition gdcmMediaStorage.h:47
gdcm::MediaStorage::MRImageStorage
@ MRImageStorage
Definition gdcmMediaStorage.h:61
gdcm::MediaStorage::StandaloneOverlayStorage
@ StandaloneOverlayStorage
Definition gdcmMediaStorage.h:70
gdcm::MediaStorage::UltrasoundMultiFrameImageStorage
@ UltrasoundMultiFrameImageStorage
Definition gdcmMediaStorage.h:60
gdcm::MediaStorage::FujiPrivateCRImageStorage
@ FujiPrivateCRImageStorage
Definition gdcmMediaStorage.h:127
gdcm::MediaStorage::AmbulatoryECGWaveformStorage
@ AmbulatoryECGWaveformStorage
Definition gdcmMediaStorage.h:74
gdcm::MediaStorage::EnhancedXAImageStorage
@ EnhancedXAImageStorage
Definition gdcmMediaStorage.h:118
gdcm::MediaStorage::VideoEndoscopicImageStorage
@ VideoEndoscopicImageStorage
Definition gdcmMediaStorage.h:105
gdcm::MediaStorage::UltrasoundImageStorage
@ UltrasoundImageStorage
Definition gdcmMediaStorage.h:58
gdcm::MediaStorage::HardcopyColorImageStorage
@ HardcopyColorImageStorage
Definition gdcmMediaStorage.h:141
gdcm::MediaStorage::RTIonBeamsTreatmentRecordStorage
@ RTIonBeamsTreatmentRecordStorage
Definition gdcmMediaStorage.h:119
gdcm::MediaStorage::PETImageStorage
@ PETImageStorage
Definition gdcmMediaStorage.h:88
gdcm::MediaStorage::LegacyConvertedEnhancedCTImageStorage
@ LegacyConvertedEnhancedCTImageStorage
Definition gdcmMediaStorage.h:136
gdcm::MediaStorage::VideoMicroscopicImageStorage
@ VideoMicroscopicImageStorage
Definition gdcmMediaStorage.h:145
gdcm::MediaStorage::GeneralElectricMagneticResonanceImageStorage
@ GeneralElectricMagneticResonanceImageStorage
Definition gdcmMediaStorage.h:106
gdcm::MediaStorage::BreastProjectionXRayImageStorageForProcessing
@ BreastProjectionXRayImageStorageForProcessing
Definition gdcmMediaStorage.h:140
gdcm::MediaStorage::BasicTextSR
@ BasicTextSR
Definition gdcmMediaStorage.h:96
gdcm::MediaStorage::Philips3D
@ Philips3D
Definition gdcmMediaStorage.h:94
gdcm::MediaStorage::SpacialRegistrationStorage
@ SpacialRegistrationStorage
Definition gdcmMediaStorage.h:86
gdcm::MediaStorage::IVOCTForProcessing
@ IVOCTForProcessing
Definition gdcmMediaStorage.h:135
gdcm::MediaStorage::DigitalIntraoralXRayImageStorageForProcessing
@ DigitalIntraoralXRayImageStorageForProcessing
Definition gdcmMediaStorage.h:54
gdcm::MediaStorage::EncapsulatedPDFStorage
@ EncapsulatedPDFStorage
Definition gdcmMediaStorage.h:100
gdcm::MediaStorage::OphthalmicPhotography16BitImageStorage
@ OphthalmicPhotography16BitImageStorage
Definition gdcmMediaStorage.h:144
gdcm::MediaStorage::VLEndoscopicImageStorage
@ VLEndoscopicImageStorage
Definition gdcmMediaStorage.h:125
gdcm::MediaStorage::XRay3DAngiographicImageStorage
@ XRay3DAngiographicImageStorage
Definition gdcmMediaStorage.h:117
gdcm::MediaStorage::VLPhotographicImageStorage
@ VLPhotographicImageStorage
Definition gdcmMediaStorage.h:114
gdcm::MediaStorage::NuclearMedicineImageStorageRetired
@ NuclearMedicineImageStorageRetired
Definition gdcmMediaStorage.h:64
gdcm::MediaStorage::BreastProjectionXRayImageStorageForPresentation
@ BreastProjectionXRayImageStorageForPresentation
Definition gdcmMediaStorage.h:139
gdcm::MediaStorage::OphthalmicPhotography8BitImageStorage
@ OphthalmicPhotography8BitImageStorage
Definition gdcmMediaStorage.h:128
gdcm::MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage
@ MultiframeGrayscaleByteSecondaryCaptureImageStorage
Definition gdcmMediaStorage.h:67
gdcm::MediaStorage::RTDoseStorage
@ RTDoseStorage
Definition gdcmMediaStorage.h:90
gdcm::MediaStorage::EnhancedMRImageStorage
@ EnhancedMRImageStorage
Definition gdcmMediaStorage.h:62
gdcm::MediaStorage::RTImageStorage
@ RTImageStorage
Definition gdcmMediaStorage.h:89
gdcm::MediaStorage::HangingProtocolStorage
@ HangingProtocolStorage
Definition gdcmMediaStorage.h:111
gdcm::MediaStorage::MultiframeTrueColorSecondaryCaptureImageStorage
@ MultiframeTrueColorSecondaryCaptureImageStorage
Definition gdcmMediaStorage.h:69
gdcm::MediaStorage::StandaloneVOILUTStorage
@ StandaloneVOILUTStorage
Definition gdcmMediaStorage.h:79
gdcm::MediaStorage::CardiacElectrophysiologyWaveformStorage
@ CardiacElectrophysiologyWaveformStorage
Definition gdcmMediaStorage.h:76
gdcm::MediaStorage::DetachedStudyManagementSOPClass
@ DetachedStudyManagementSOPClass
Definition gdcmMediaStorage.h:99
gdcm::MediaStorage::RTPlanStorage
@ RTPlanStorage
Definition gdcmMediaStorage.h:92
gdcm::MediaStorage::CTImageStorage
@ CTImageStorage
Definition gdcmMediaStorage.h:55
gdcm::MediaStorage::FujiPrivateMammoCRImageStorage
@ FujiPrivateMammoCRImageStorage
Definition gdcmMediaStorage.h:143
gdcm::MediaStorage::CSANonImageStorage
@ CSANonImageStorage
Definition gdcmMediaStorage.h:93
gdcm::MediaStorage::MRSpectroscopyStorage
@ MRSpectroscopyStorage
Definition gdcmMediaStorage.h:63
gdcm::MediaStorage::MS_END
@ MS_END
Definition gdcmMediaStorage.h:146
gdcm::MediaStorage::HardcopyGrayscaleImageStorage
@ HardcopyGrayscaleImageStorage
Definition gdcmMediaStorage.h:97
gdcm::MediaStorage::StandaloneCurveStorage
@ StandaloneCurveStorage
Definition gdcmMediaStorage.h:71
gdcm::MediaStorage::StandaloneModalityLUTStorage
@ StandaloneModalityLUTStorage
Definition gdcmMediaStorage.h:78
gdcm::MediaStorage::ComputedRadiographyImageStorage
@ ComputedRadiographyImageStorage
Definition gdcmMediaStorage.h:48
gdcm::MediaStorage::RTTreatmentSummaryRecordStorage
@ RTTreatmentSummaryRecordStorage
Definition gdcmMediaStorage.h:122
gdcm::MediaStorage::DigitalXRayImageStorageForProcessing
@ DigitalXRayImageStorageForProcessing
Definition gdcmMediaStorage.h:50
gdcm::MediaStorage::DigitalIntraoralXrayImageStorageForPresentation
@ DigitalIntraoralXrayImageStorageForPresentation
Definition gdcmMediaStorage.h:53
gdcm::MediaStorage::ComprehensiveSR
@ ComprehensiveSR
Definition gdcmMediaStorage.h:98
gdcm::MediaStorage::PhilipsPrivateMRSyntheticImageStorage
@ PhilipsPrivateMRSyntheticImageStorage
Definition gdcmMediaStorage.h:113
gdcm::MediaStorage::ToshibaPrivateDataStorage
@ ToshibaPrivateDataStorage
Definition gdcmMediaStorage.h:108
gdcm::MediaStorage::LeadECGWaveformStorage
@ LeadECGWaveformStorage
Definition gdcmMediaStorage.h:72
gdcm::MediaStorage::EnhancedUSVolumeStorage
@ EnhancedUSVolumeStorage
Definition gdcmMediaStorage.h:123
gdcm::MediaStorage::UltrasoundMultiFrameImageStorageRetired
@ UltrasoundMultiFrameImageStorageRetired
Definition gdcmMediaStorage.h:59
gdcm::MediaStorage::DigitalMammographyImageStorageForProcessing
@ DigitalMammographyImageStorageForProcessing
Definition gdcmMediaStorage.h:52
gdcm::MediaStorage::KeyObjectSelectionDocument
@ KeyObjectSelectionDocument
Definition gdcmMediaStorage.h:110
gdcm::MediaStorage::GeneralECGWaveformStorage
@ GeneralECGWaveformStorage
Definition gdcmMediaStorage.h:73
gdcm::MediaStorage::NuclearMedicineImageStorage
@ NuclearMedicineImageStorage
Definition gdcmMediaStorage.h:84
gdcm::MediaStorage::SegmentationStorage
@ SegmentationStorage
Definition gdcmMediaStorage.h:115
gdcm::MediaStorage::EnhancedCTImageStorage
@ EnhancedCTImageStorage
Definition gdcmMediaStorage.h:56
gdcm::MediaStorage::EnhancedMRColorImageStorage
@ EnhancedMRColorImageStorage
Definition gdcmMediaStorage.h:142
gdcm::MediaStorage::SetFromDataSet
bool SetFromDataSet(DataSet const &ds)
gdcm::MediaStorage::SetFromSourceImageSequence
void SetFromSourceImageSequence(DataSet const &ds)
gdcm::MediaStorage::Video
@ Video
Definition gdcmMediaStorage.h:151
gdcm::MediaStorage::Segmentation
@ Segmentation
Definition gdcmMediaStorage.h:156
gdcm::MediaStorage::URI
@ URI
Definition gdcmMediaStorage.h:155
gdcm::MediaStorage::PDF
@ PDF
Definition gdcmMediaStorage.h:154
gdcm::MediaStorage::Audio
@ Audio
Definition gdcmMediaStorage.h:153
gdcm::MediaStorage::NoObject
@ NoObject
Definition gdcmMediaStorage.h:150
gdcm::MediaStorage::ObjectEnd
@ ObjectEnd
Definition gdcmMediaStorage.h:157
gdcm::MediaStorage::Waveform
@ Waveform
Definition gdcmMediaStorage.h:152
gdcm::MediaStorage::GetString
const char * GetString() const
Return the Media String of the object.
gdcm::MediaStorage::IsImage
static bool IsImage(MSType ts)
gdcm::MediaStorage::GetNumberOfMSString
static unsigned int GetNumberOfMSString()
gdcm::MediaStorage::GetMSType
static MSType GetMSType(const char *str)
gdcm::MediaStorage::GuessFromModality
void GuessFromModality(const char *modality, unsigned int dimension=2)
gdcm::MediaStorage::GetModality
const char * GetModality() const
gdcm::MediaStorage::SetFromModality
bool SetFromModality(DataSet const &ds)
gdcm::MediaStorage::GetNumberOfMSType
static unsigned int GetNumberOfMSType()
gdcm::MediaStorage::GetModalityDimension
unsigned int GetModalityDimension() const
gdcm::MediaStorage::MediaStorage
MediaStorage(MSType type=MS_END)
Definition gdcmMediaStorage.h:167
gdcm::MediaStorage::SetFromFile
bool SetFromFile(File const &file)
gdcm::MediaStorage::SetFromHeader
bool SetFromHeader(FileMetaInformation const &fmi)
gdcm::MediaStorage::IsUndefined
bool IsUndefined() const
Definition gdcmMediaStorage.h:198
gdcm::MediaStorage::operator<<
friend std::ostream & operator<<(std::ostream &os, const MediaStorage &ms)
Definition gdcmMediaStorage.h:214
gdcm::MediaStorage::GetNumberOfModality
static unsigned int GetNumberOfModality()
gdcm::Tag
Class to represent a DICOM Data Element (Attribute) Tag (Group, Element).
Definition gdcmTag.h:39
gdcmTransferSyntax.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21