28 #ifndef itkGDCMImageIO_h
29 #define itkGDCMImageIO_h
31 #define ITKIO_DEPRECATED_GDCM1_API
34 #include "ITKIOGDCMExport.h"
104 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
107 virtual
void ReadImageInformation() ITK_OVERRIDE;
110 virtual
void Read(
void *buffer) ITK_OVERRIDE;
116 itkSetEnumMacro(InternalComponentType, IOComponentType);
123 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
127 virtual
void WriteImageInformation() ITK_OVERRIDE;
131 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
136 itkGetConstMacro(RescaleSlope,
double);
137 itkGetConstMacro(RescaleIntercept,
double);
144 itkGetStringMacro(UIDPrefix);
145 itkSetStringMacro(UIDPrefix);
149 itkGetStringMacro(StudyInstanceUID);
150 itkGetStringMacro(SeriesInstanceUID);
151 itkGetStringMacro(FrameOfReferenceInstanceUID);
156 itkSetMacro(KeepOriginalUID,
bool);
157 itkGetConstMacro(KeepOriginalUID,
bool);
158 itkBooleanMacro(KeepOriginalUID);
164 itkSetMacro(LoadPrivateTags,
bool);
165 itkGetConstMacro(LoadPrivateTags,
bool);
166 itkBooleanMacro(LoadPrivateTags);
169 #if defined( ITKIO_DEPRECATED_GDCM1_API )
176 void GetPatientName(
char *name);
178 void GetPatientID(
char *
id);
180 void GetPatientSex(
char *sex);
182 void GetPatientAge(
char *age);
184 void GetStudyID(
char *
id);
186 void GetPatientDOB(
char *dob);
188 void GetStudyDescription(
char *desc);
190 void GetBodyPart(
char *part);
192 void GetNumberOfSeriesInStudy(
char *series);
194 void GetNumberOfStudyRelatedSeries(
char *series);
196 void GetStudyDate(
char *date);
198 void GetModality(
char *modality);
200 void GetManufacturer(
char *manu);
202 void GetInstitution(
char *ins);
204 void GetModel(
char *model);
206 void GetScanOptions(
char *options);
212 bool GetValueFromTag(
const std::string & tag, std::string & value);
220 static bool GetLabelFromTag(
const std::string & tag,
221 std::string & labelId);
223 #if defined( ITKIO_DEPRECATED_GDCM1_API )
274 typedef enum { JPEG = 0, JPEG2000, JPEGLS, RLE } TCompressionType;
275 itkSetEnumMacro(CompressionType, TCompressionType);
276 itkGetEnumMacro(CompressionType, TCompressionType);
282 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
284 void InternalReadImageInformation();
300 void operator=(
const Self &);
302 #if defined( ITKIO_DEPRECATED_GDCM1_API )
331 #endif // itkGDCMImageIO_h
std::string m_FrameOfReferenceInstanceUID
virtual void SetLoadSequences(const bool)
Light weight base class for most itk classes.
std::string m_ScanOptions
Abstract superclass defines image IO interface.
static bool GetLoadSequencesDefault()
double m_RescaleIntercept
ImageIO class for reading and writing DICOM V3.0 and ACR/NEMA 1&2 uncompressed images This class is o...
static void SetLoadSequencesDefault(bool)
std::string m_PatientName
static void LoadPrivateTagsDefaultOn()
unsigned int m_GlobalNumberOfDimensions
virtual void LoadSequencesOff()
std::string m_NumberOfSeriesInStudy
SmartPointer< Self > Pointer
std::string m_StudyDescription
static bool GetLoadPrivateTagsDefault()
virtual void LoadSequencesOn()
ImageIOBase::IOComponentType m_InternalComponentType
std::string m_Manufacturer
static void LoadSequencesDefaultOn()
TCompressionType m_CompressionType
std::string m_StudyInstanceUID
static void LoadSequencesDefaultOff()
std::string m_SeriesInstanceUID
std::string m_NumberOfStudyRelatedSeries
Control indentation during Print() invocation.
std::string m_Institution
InternalHeader * m_DICOMHeader
virtual bool GetLoadSequences() const
Base class for most ITK classes.
static void LoadPrivateTagsDefaultOff()
static void SetLoadPrivateTagsDefault(bool)
virtual void SetMaxSizeLoadEntry(const long)