X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.h;h=a69011f8edb61b4b91d0fdf397ef7260e32f0ac2;hb=9f274230cc36f77f784729031fbe3e7d576f13ea;hp=693bea288d7e845713aba397093b51eedf4df744;hpb=301f0d7ae54cda9ddfaacadfa25c843275c4de0c;p=gdcm.git diff --git a/src/gdcmFile.h b/src/gdcmFile.h index 693bea28..a69011f8 100644 --- a/src/gdcmFile.h +++ b/src/gdcmFile.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.h,v $ Language: C++ - Date: $Date: 2004/09/30 12:51:55 $ - Version: $Revision: 1.54 $ + Date: $Date: 2004/10/01 12:40:57 $ + Version: $Revision: 1.55 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -43,17 +43,23 @@ public: void ConvertRGBPlanesToRGBPixels( uint8_t* source, uint8_t* destination ); void ConvertYcBcRPlanesToRGBPixels( uint8_t* source, uint8_t* destination ); - void ConvertReArrangeBits( uint8_t* pixelZone, - size_t imageDataSize, - int numberBitsStored, - int numberBitsAllocated, - int highBitPosition ) throw ( gdcmFormatError ); - void ConvertReorderEndianity( uint8_t* pixelZone, - size_t imageDataSize, - int numberBitsStored, - int numberBitsAllocated, - bool signedPixel ); - + void ConvertReArrangeBits( + uint8_t* pixelZone, + size_t imageDataSize, + int numberBitsStored, + int numberBitsAllocated, + int highBitPosition ) throw ( gdcmFormatError ); + void ConvertReorderEndianity( + uint8_t* pixelZone, + size_t imageDataSize, + int numberBitsStored, + int numberBitsAllocated, + bool signedPixel ); + void ConvertDecompress12BitsTo16Bits( + uint8_t* pixelZone, + int sizeX, + int sizeY, + FILE* filePtr) throw ( gdcmFormatError); /// Accessor to \ref ImageDataSize size_t GetImageDataSize(){ return ImageDataSize; };