14 #ifndef GDCMJPEGLSCODEC_H
15 #define GDCMJPEGLSCODEC_H
22 class JPEGLSInternals;
43 bool Decode(
DataElement const &in,
char* outBuffer,
size_t inBufferLength,
44 uint32_t inXMin, uint32_t inXMax, uint32_t inYMin,
45 uint32_t inYMax, uint32_t inZMin, uint32_t inZMax);
51 void SetLossless(
bool l);
52 bool GetLossless()
const;
65 void SetLossyError(
int error);
70 unsigned int xmin,
unsigned int xmax,
71 unsigned int ymin,
unsigned int ymax,
72 unsigned int zmin,
unsigned int zmax,
76 bool StartEncode( std::ostream & );
78 bool IsFrameEncoder();
79 bool AppendRowEncode( std::ostream & out,
const char * data,
size_t datalen );
80 bool AppendFrameEncode( std::ostream & out,
const char * data,
size_t datalen );
81 bool StopEncode( std::ostream & );
84 bool DecodeByStreamsCommon(
char *buffer,
size_t totalLen, std::vector<unsigned char> &rgbyteOut);
85 bool CodeFrameIntoBuffer(
char * outdata,
size_t outlen,
size_t & complen,
const char * indata,
size_t inlen );
87 unsigned long BufferLength;
93 #endif //GDCMJPEGLSCODEC_H
JPEG-LS.
Definition: gdcmJPEGLSCodec.h:30
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
ImageCodec.
Definition: gdcmImageCodec.h:30
Class to represent a Data Element either Implicit or Explicit.
Definition: gdcmDataElement.h:58
unsigned long GetBufferLength() const
Definition: gdcmJPEGLSCodec.h:39
Class to manipulate Transfer Syntax.
Definition: gdcmTransferSyntax.h:39
ImageRegionReader.
Definition: gdcmImageRegionReader.h:29
Definition: gdcmASN1.h:20
void SetBufferLength(unsigned long l)
Definition: gdcmJPEGLSCodec.h:40