+ void Print( std::ostream &os = std::cout, std::string indent = "" );
+ void DecompressJPEGFramesFromFile(std::ifstream *fp, uint8_t *buffer, int nBits, int & statesuspension);
+
+ bool gdcm_read_JPEG_file8 (std::ifstream* fp, void* image_buffer, int & statesuspension );
+ bool gdcm_read_JPEG_file12 (std::ifstream* fp, void* image_buffer, int & statesuspension );
+ bool gdcm_read_JPEG_file16 (std::ifstream* fp, void* image_buffer, int & statesuspension );
+
+ void SetLength(uint32_t length) { Length = length; };
+ uint32_t GetLength() { return Length;};
+ void SetOffset(uint32_t offset) { Offset = offset; };
+ uint32_t GetOffset() { return Offset;};
+ uint8_t *GetImage() { return pImage;};
+
+private:
+ uint32_t Offset;
+ uint32_t Length;
+
+ uint8_t *pImage;