18 #ifndef GDCMSTREAMIMAGEREADER_H
19 #define GDCMSTREAMIMAGEREADER_H
48 void SetFileName(
const char* inFileName);
49 void SetStream(std::istream& inStream);
51 std::vector<unsigned int> GetDimensionsValueForResolution(
unsigned int );
60 void DefinePixelExtent(uint16_t inXMin, uint16_t inXMax,
61 uint16_t inYMin, uint16_t inYMax, uint16_t inZMin = 0, uint16_t inZMax = 1);
67 uint32_t DefineProperBufferLength()
const;
76 bool Read(
char* inReadBuffer,
const std::size_t& inBufferLength);
83 bool CanReadImage()
const;
88 virtual bool ReadImageInformation();
93 File const & GetFile()
const;
102 std::streamoff mFileOffset;
103 std::streamoff mFileOffset1;
108 uint16_t mXMin, mYMin, mXMax, mYMax, mZMin, mZMax;
114 bool ReadImageSubregionRAW(
char* inReadBuffer,
const std::size_t& inBufferLength);
118 bool ReadImageSubregionJpegLS(
char* inReadBuffer,
const std::size_t& inBufferLength);
123 #endif //GDCMSTREAMIMAGEREADER_H
Class to represent a Data Set (which contains Data Elements) A Data Set represents an instance of a r...
Definition: gdcmDataSet.h:55
Reader ala DOM (Document Object Model)
Definition: gdcmReader.h:53
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
StreamImageReader.
Definition: gdcmStreamImageReader.h:38
a DICOM File See PS 3.10 File: A File is an ordered string of zero or more bytes, where the first byt...
Definition: gdcmFile.h:33