14 #ifndef GDCMJPEGCODEC_H
15 #define GDCMJPEGCODEC_H
52 void ComputeOffsetTable(
bool b);
62 void SetQuality(
double q);
63 double GetQuality()
const;
65 void SetLossless(
bool l);
66 bool GetLossless()
const;
68 virtual bool EncodeBuffer( std::ostream & out,
69 const char *inbuffer,
size_t inlen);
74 unsigned int xmin,
unsigned int xmax,
75 unsigned int ymin,
unsigned int ymax,
76 unsigned int zmin,
unsigned int zmax,
80 bool DecodeByStreams(std::istream &is, std::ostream &os);
86 void SetBitSample(
int bit);
88 virtual bool IsStateSuspension()
const;
96 void SetupJPEGBitCodec(
int bit);
102 #endif //GDCMJPEGCODEC_H
int Quality
Definition: gdcmJPEGCodec.h:93
bool Lossless
Definition: gdcmJPEGCodec.h:92
#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
int BitSample
Definition: gdcmJPEGCodec.h:91
Class to manipulate Transfer Syntax.
Definition: gdcmTransferSyntax.h:39
Class to represent an PhotometricInterpretation.
Definition: gdcmPhotometricInterpretation.h:28
ImageRegionReader.
Definition: gdcmImageRegionReader.h:29
JPEG codec Class to do JPEG (8bits, 12bits, 16bits lossy & lossless). It redispatch in between the di...
Definition: gdcmJPEGCodec.h:40