GDCM: gdcmMediaStorage.h Source File

GDCM 3.2.7

gdcmMediaStorage.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMMEDIASTORAGE_H
15#define GDCMMEDIASTORAGE_H
16
17#include "gdcmTransferSyntax.h"
18
19namespace gdcm { class Tag; }
20namespace gdcm_ns
21{
22#if !defined(SWIGPYTHON) && !defined(SWIGCSHARP) && !defined(SWIGJAVA) && !defined(SWIGPHP)
23using namespace gdcm;
24#endif
25class DataSet;
26class FileMetaInformation;
27class File;
28
29// WARNING: This class will be deprecated in the future. There is no reason to extend this class.
30// Please check the gdcm::UIDs class if adding new well known UID.
31
43 class GDCM_EXPORT MediaStorage
44{
45public:
46 typedef enum {
47 MediaStorageDirectoryStorage = 0,
48 ComputedRadiographyImageStorage,
49 DigitalXRayImageStorageForPresentation,
50 DigitalXRayImageStorageForProcessing,
51 DigitalMammographyImageStorageForPresentation,
52 DigitalMammographyImageStorageForProcessing,
53 DigitalIntraoralXrayImageStorageForPresentation,
54 DigitalIntraoralXRayImageStorageForProcessing,
55 CTImageStorage,
56 EnhancedCTImageStorage,
57 UltrasoundImageStorageRetired,
58 UltrasoundImageStorage,
59 UltrasoundMultiFrameImageStorageRetired,
60 UltrasoundMultiFrameImageStorage,
61 MRImageStorage,
62 EnhancedMRImageStorage,
63 MRSpectroscopyStorage,
64 NuclearMedicineImageStorageRetired,
65 SecondaryCaptureImageStorage,
66 MultiframeSingleBitSecondaryCaptureImageStorage,
67 MultiframeGrayscaleByteSecondaryCaptureImageStorage,
68 MultiframeGrayscaleWordSecondaryCaptureImageStorage,
69 MultiframeTrueColorSecondaryCaptureImageStorage,
70 StandaloneOverlayStorage,
71 StandaloneCurveStorage,
72 LeadECGWaveformStorage, // 12-
73 GeneralECGWaveformStorage,
74 AmbulatoryECGWaveformStorage,
75 HemodynamicWaveformStorage,
76 CardiacElectrophysiologyWaveformStorage,
77 BasicVoiceAudioWaveformStorage,
78 StandaloneModalityLUTStorage,
79 StandaloneVOILUTStorage,
80 GrayscaleSoftcopyPresentationStateStorageSOPClass,
81 XRayAngiographicImageStorage,
82 XRayRadiofluoroscopingImageStorage,
83 XRayAngiographicBiPlaneImageStorageRetired,
84 NuclearMedicineImageStorage,
85 RawDataStorage,
86 SpacialRegistrationStorage, // Spatial
87 SpacialFiducialsStorage, // Spatial..
88 PETImageStorage,
89 RTImageStorage,
90 RTDoseStorage,
91 RTStructureSetStorage,
92 RTPlanStorage,
93 CSANonImageStorage,
94 Philips3D,
95 EnhancedSR,
96 BasicTextSR,
97 HardcopyGrayscaleImageStorage,
98 ComprehensiveSR,
99 DetachedStudyManagementSOPClass,
100 EncapsulatedPDFStorage,
101 EncapsulatedCDAStorage,
102 StudyComponentManagementSOPClass,
103 DetachedVisitManagementSOPClass,
104 DetachedPatientManagementSOPClass,
105 VideoEndoscopicImageStorage,
106 GeneralElectricMagneticResonanceImageStorage,
107 GEPrivate3DModelStorage,
108 ToshibaPrivateDataStorage,
109 MammographyCADSR,
110 KeyObjectSelectionDocument,
111 HangingProtocolStorage,
112 ModalityPerformedProcedureStepSOPClass,
113 PhilipsPrivateMRSyntheticImageStorage,
114 VLPhotographicImageStorage,
115 SegmentationStorage, // "1.2.840.10008.5.1.4.1.1.66.4"
116 RTIonPlanStorage, // 1.2.840.10008.5.1.4.1.1.481.8
117 XRay3DAngiographicImageStorage, // 1.2.840.10008.5.1.4.1.1.13.1.1
118 EnhancedXAImageStorage,
119 RTIonBeamsTreatmentRecordStorage, // 1.2.840.10008.5.1.4.1.1.481.9
120 SurfaceSegmentationStorage, // "1.2.840.10008.5.1.4.1.1.66.5"
121 VLWholeSlideMicroscopyImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.6
122 RTTreatmentSummaryRecordStorage, // 1.2.840.10008.5.1.4.1.1.481.7
123 EnhancedUSVolumeStorage, // 1.2.840.10008.5.1.4.1.1.6.2
124 XRayRadiationDoseSR, // 1.2.840.10008.5.1.4.1.1.88.67
125 VLEndoscopicImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.1
126 BreastTomosynthesisImageStorage, // 1.2.840.10008.5.1.4.1.1.13.1.3
127 FujiPrivateCRImageStorage, // 1.2.392.200036.9125.1.1.2
128 OphthalmicPhotography8BitImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.5.1
129 OphthalmicTomographyImageStorage, // 1.2.840.10008.5.1.4.1.1.77.1.5.4
130 VLMicroscopicImageStorage,
131 EnhancedPETImageStorage,
132 VideoPhotographicImageStorage,
133 XRay3DCraniofacialImageStorage,
134 IVOCTForPresentation,
135 IVOCTForProcessing,
136 LegacyConvertedEnhancedCTImageStorage,
137 LegacyConvertedEnhancedMRImageStorage,
138 LegacyConvertedEnhancedPETImageStorage,
139 BreastProjectionXRayImageStorageForPresentation,
140 BreastProjectionXRayImageStorageForProcessing,
141 HardcopyColorImageStorage,
142 EnhancedMRColorImageStorage,
143 FujiPrivateMammoCRImageStorage,
144 OphthalmicPhotography16BitImageStorage,
145 VideoMicroscopicImageStorage,
146 MS_END
147 } MSType; // Media Storage Type
148
149 typedef enum {
150 NoObject = 0, // DICOMDIR
151 Video, // Most common, include image, video and volume
152 Waveform, // Isn't it simply a 1D video ?
153 Audio, // ???
154 PDF,
155 URI, // URL...
156 Segmentation, // TODO
157 ObjectEnd
158 } ObjectType;
159
161 static const char* GetMSString(MSType ts);
162
164 const char* GetString() const;
165 static MSType GetMSType(const char *str);
166
167 MediaStorage(MSType type = MS_END):MSField(type) {}
168
171 static bool IsImage(MSType ts);
172
173 operator MSType () const { return MSField; }
174
175 const char *GetModality() const;
176 unsigned int GetModalityDimension() const;
177
178 static unsigned int GetNumberOfMSType();
179 static unsigned int GetNumberOfMSString();
180 static unsigned int GetNumberOfModality();
181
182
187 bool SetFromFile(File const &file);
188
191 bool SetFromDataSet(DataSet const &ds); // Will get the SOP Class UID
192 bool SetFromHeader(FileMetaInformation const &fmi); // Will get the Media Storage SOP Class UID
193 bool SetFromModality(DataSet const &ds);
194 void GuessFromModality(const char *modality, unsigned int dimension = 2);
195
196 friend std::ostream &operator<<(std::ostream &os, const MediaStorage &ms);
197
198 bool IsUndefined() const { return MSField == MS_END; }
199
200protected:
201 void SetFromSourceImageSequence(DataSet const &ds);
202
203private:
204 bool SetFromDataSetOrHeader(DataSet const &ds, const Tag & tag);
205
206 std::string GetFromDataSetOrHeader(DataSet const &ds, const Tag & tag);
207 std::string GetFromHeader(FileMetaInformation const &fmi);
208 std::string GetFromDataSet(DataSet const &ds);
209
210private:
211 MSType MSField;
212};
213//-----------------------------------------------------------------------------
214 inline std::ostream &operator<<(std::ostream &_os, const MediaStorage &ms)
215{
216 const char *msstring = MediaStorage::GetMSString(ms);
217 _os << (msstring ? msstring : "INVALID MEDIA STORAGE");
218 return _os;
219
220}
221
222} // end namespace gdcm_ns
223
224#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