Program: gdcm
Module: $RCSfile: gdcmPixelReadConvert.h,v $
Language: C++
- Date: $Date: 2004/12/10 13:49:07 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2004/12/16 13:46:37 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#define GDCMPIXELREADCONVERT_H
#include "gdcmCommon.h"
+#include "gdcmBase.h"
#include "gdcmException.h"
namespace gdcm
* \brief Utility container for gathering the various forms the pixel data
* migth take during the user demanded processes.
*/
-class GDCM_EXPORT PixelReadConvert
+class GDCM_EXPORT PixelReadConvert : public Base
{
public:
PixelReadConvert();
//// Predicates:
bool IsRawRGB();
+ void Print( std::ostream &os = std::cout );
void Print( std::string indent = "", std::ostream &os = std::cout );
// In progress
void ReadAndDecompress12BitsTo16Bits( std::ifstream* fp ) throw ( FormatError );
bool ReadAndDecompressRLEFile( std::ifstream* fp );
bool ReadAndDecompressJPEGFile( std::ifstream* fp );
+ bool ReadAndDecompressJPEGFramesFromFile( std::ifstream* fp );
+ bool ReadAndDecompressJPEGSingleFrameFragmentsFromFile( std::ifstream* fp );
+ bool ReadAndDecompressJPEGFragmentedFramesFromFile( std::ifstream* fp );
+
+
void BuildLUTRGBA( std::ifstream* fp );
// In place (within Decompressed and with no fp access) decompression