Public Member Functions | Protected Member Functions | Friends

gdcm::JPEGLSCodec Class Reference

JPEG-LS. More...

#include <gdcmJPEGLSCodec.h>

Inheritance diagram for gdcm::JPEGLSCodec:
Inheritance graph
[legend]
Collaboration diagram for gdcm::JPEGLSCodec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 JPEGLSCodec ()
 ~JPEGLSCodec ()
bool CanCode (TransferSyntax const &ts) const
bool CanDecode (TransferSyntax const &ts) const
 Return whether this decoder support this transfer syntax (can decode it).
virtual ImageCodecClone () const
bool Code (DataElement const &in, DataElement &out)
bool Decode (DataElement const &in, char *outBuffer, size_t inBufferLength, uint32_t inXMin, uint32_t inXMax, uint32_t inYMin, uint32_t inYMax, uint32_t inZMin, uint32_t inZMax)
bool Decode (DataElement const &is, DataElement &os)
 Decode.
unsigned long GetBufferLength () const
bool GetHeaderInfo (std::istream &is, TransferSyntax &ts)
bool GetLossless () const
void SetBufferLength (unsigned long l)
void SetLossless (bool l)
void SetLossyError (int error)
 [0-3] generally

Protected Member Functions

bool DecodeExtent (char *buffer, unsigned int xmin, unsigned int xmax, unsigned int ymin, unsigned int ymax, unsigned int zmin, unsigned int zmax, std::istream &is)

Friends

class ImageRegionReader

Detailed Description

JPEG-LS.

Note:
codec that implement the JPEG-LS compression this is an implementation of ImageCodec for JPEG-LS

It uses the CharLS JPEG-LS implementation http://charls.codeplex.com


Constructor & Destructor Documentation

gdcm::JPEGLSCodec::JPEGLSCodec (  ) 
gdcm::JPEGLSCodec::~JPEGLSCodec (  ) 

Member Function Documentation

bool gdcm::JPEGLSCodec::CanCode ( TransferSyntax const &  ts  )  const

Reimplemented from gdcm::ImageCodec.

bool gdcm::JPEGLSCodec::CanDecode ( TransferSyntax const &   )  const [virtual]

Return whether this decoder support this transfer syntax (can decode it).

Reimplemented from gdcm::ImageCodec.

virtual ImageCodec* gdcm::JPEGLSCodec::Clone (  )  const [virtual]

Implements gdcm::ImageCodec.

bool gdcm::JPEGLSCodec::Code ( DataElement const &  in,
DataElement out 
)
bool gdcm::JPEGLSCodec::Decode ( DataElement const &  ,
DataElement  
) [virtual]

Decode.

Reimplemented from gdcm::ImageCodec.

bool gdcm::JPEGLSCodec::Decode ( DataElement const &  in,
char *  outBuffer,
size_t  inBufferLength,
uint32_t  inXMin,
uint32_t  inXMax,
uint32_t  inYMin,
uint32_t  inYMax,
uint32_t  inZMin,
uint32_t  inZMax 
)
bool gdcm::JPEGLSCodec::DecodeExtent ( char *  buffer,
unsigned int  xmin,
unsigned int  xmax,
unsigned int  ymin,
unsigned int  ymax,
unsigned int  zmin,
unsigned int  zmax,
std::istream &  is 
) [protected]
unsigned long gdcm::JPEGLSCodec::GetBufferLength (  )  const [inline]
bool gdcm::JPEGLSCodec::GetHeaderInfo ( std::istream &  is,
TransferSyntax ts 
) [virtual]

Reimplemented from gdcm::ImageCodec.

bool gdcm::JPEGLSCodec::GetLossless (  )  const
void gdcm::JPEGLSCodec::SetBufferLength ( unsigned long  l  )  [inline]
void gdcm::JPEGLSCodec::SetLossless ( bool  l  ) 
void gdcm::JPEGLSCodec::SetLossyError ( int  error  ) 

[0-3] generally


Friends And Related Function Documentation

friend class ImageRegionReader [friend]

The documentation for this class was generated from the following file:

Generated on Mon Jul 29 2013 11:24:30 for GDCM by doxygen 1.7.1
SourceForge.net Logo