X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmPixelReadConvert.h;h=db5556d414c60ebc504211294d3a2ba2436e0e8d;hb=c67ffef593e7635d8dfa7d3fe63d702e5afafc3e;hp=1372220154dbff8bb686a8cc16c668a835eb1d68;hpb=e8caac199c2683cb0f118c42c61dc6aec85b1eec;p=gdcm.git diff --git a/src/gdcmPixelReadConvert.h b/src/gdcmPixelReadConvert.h index 13722201..db5556d4 100644 --- a/src/gdcmPixelReadConvert.h +++ b/src/gdcmPixelReadConvert.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.h,v $ Language: C++ - Date: $Date: 2005/01/16 04:50:42 $ - Version: $Revision: 1.11 $ + Date: $Date: 2005/01/26 16:28:58 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,7 +26,7 @@ namespace gdcm { -class Header; +class File; class RLEFramesInfo; class JPEGFragmentsInfo; @@ -41,9 +41,9 @@ public: virtual ~PixelReadConvert(); //// Getter accessors: - uint8_t* GetRGB() { return RGB; } + uint8_t* GetRGB() { return RGB; } size_t GetRGBSize() { return RGBSize; } - uint8_t* GetRaw() { return Raw; } + uint8_t* GetRaw() { return Raw; } size_t GetRawSize() { return RawSize; } uint8_t* GetLutRGBA() { return LutRGBA; } @@ -53,7 +53,7 @@ public: void Print( std::ostream &os = std::cout, std::string const & indent = "" ); // In progress - void GrabInformationsFromHeader( Header *header ); + void GrabInformationsFromFile( File *file ); bool ReadAndDecompressPixelData( std::ifstream *fp ); void Squeeze(); bool BuildRGBImage(); @@ -118,7 +118,10 @@ private: bool IsRaw; bool IsJPEG2000; + bool IsJPEGLS; bool IsJPEGLossless; + bool IsJPEGLossy; + bool IsJPEG; bool IsRLELossless; RLEFramesInfo *RLEInfo;