Class to do RLE.
More...
#include <gdcmRLECodec.h>
|
bool | AppendFrameEncode (std::ostream &out, const char *data, size_t datalen) |
|
bool | AppendRowEncode (std::ostream &out, const char *data, size_t datalen) |
|
bool | DecodeByStreams (std::istream &is, std::ostream &os) |
|
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) |
|
bool | IsFrameEncoder () |
|
bool | IsRowEncoder () |
|
bool | StartEncode (std::ostream &) |
|
bool | StopEncode (std::ostream &) |
|
bool | DoByteSwap (std::istream &is_, std::ostream &os) |
|
bool | DoInvertMonochrome (std::istream &is_, std::ostream &os) |
|
bool | DoOverlayCleanup (std::istream &is_, std::ostream &os) |
|
bool | DoPaddedCompositePixelCode (std::istream &is_, std::ostream &os) |
|
bool | DoPlanarConfiguration (std::istream &is_, std::ostream &os) |
|
bool | DoSimpleCopy (std::istream &is_, std::ostream &os) |
|
bool | DoYBR (std::istream &is_, std::ostream &os) |
|
virtual bool | IsValid (PhotometricInterpretation const &pi) |
|
virtual bool | InternalCode (const char *bv, unsigned long len, std::ostream &os) |
|
Class to do RLE.
- Note
- ANSI X3.9 A.4.2 RLE Compression Annex G defines a RLE Compression Transfer Syntax. This transfer Syntax is identified by the UID value "1.2.840.10008.1.2.5". If the object allows multi-frame images in the pixel data field, then each frame shall be encoded separately. Each frame shall be encoded in one and only one Fragment (see PS 3.5.8.2).
gdcm::RLECodec::RLECodec |
( |
| ) |
|
gdcm::RLECodec::~RLECodec |
( |
| ) |
|
bool gdcm::RLECodec::AppendFrameEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
bool gdcm::RLECodec::AppendRowEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
Return whether this coder support this transfer syntax (can code it)
Reimplemented from gdcm::ImageCodec.
Return whether this decoder support this transfer syntax (can decode it)
Reimplemented from gdcm::ImageCodec.
virtual ImageCodec* gdcm::RLECodec::Clone |
( |
| ) |
const |
|
virtual |
bool gdcm::RLECodec::DecodeByStreams |
( |
std::istream & |
is, |
|
|
std::ostream & |
os |
|
) |
| |
|
protectedvirtual |
bool gdcm::RLECodec::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::RLECodec::GetBufferLength |
( |
| ) |
const |
|
inline |
bool gdcm::RLECodec::GetHeaderInfo |
( |
std::istream & |
is, |
|
|
TransferSyntax & |
ts |
|
) |
| |
|
virtual |
bool gdcm::RLECodec::IsFrameEncoder |
( |
| ) |
|
|
protectedvirtual |
bool gdcm::RLECodec::IsRowEncoder |
( |
| ) |
|
|
protectedvirtual |
void gdcm::RLECodec::SetBufferLength |
( |
unsigned long |
l | ) |
|
|
inline |
void gdcm::RLECodec::SetLength |
( |
unsigned long |
l | ) |
|
|
inline |
bool gdcm::RLECodec::StartEncode |
( |
std::ostream & |
| ) |
|
|
protectedvirtual |
bool gdcm::RLECodec::StopEncode |
( |
std::ostream & |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: