Class to do RLE.
More...
#include <gdcmRLECodec.h>
|
| bool | AppendFrameEncode (std::ostream &out, const char *data, size_t datalen) override |
| |
| bool | AppendRowEncode (std::ostream &out, const char *data, size_t datalen) override |
| |
| bool | DecodeByStreams (std::istream &is, std::ostream &os) override |
| |
| 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 () override |
| |
| bool | IsRowEncoder () override |
| |
| bool | StartEncode (std::ostream &) override |
| |
| bool | StopEncode (std::ostream &) override |
| |
| 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) |
| |
| bool | DoYBRFull422 (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).
◆ RLECodec()
| gdcm::RLECodec::RLECodec |
( |
| ) |
|
◆ ~RLECodec()
| gdcm::RLECodec::~RLECodec |
( |
| ) |
|
|
override |
◆ AppendFrameEncode()
| bool gdcm::RLECodec::AppendFrameEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
overrideprotectedvirtual |
◆ AppendRowEncode()
| bool gdcm::RLECodec::AppendRowEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
overrideprotectedvirtual |
◆ CanCode()
Return whether this coder support this transfer syntax (can code it)
Reimplemented from gdcm::ImageCodec.
◆ CanDecode()
Return whether this decoder support this transfer syntax (can decode it)
Reimplemented from gdcm::ImageCodec.
◆ Clone()
◆ Code()
◆ Decode()
◆ DecodeByStreams()
| bool gdcm::RLECodec::DecodeByStreams |
( |
std::istream & |
is, |
|
|
std::ostream & |
os |
|
) |
| |
|
overrideprotectedvirtual |
◆ DecodeExtent()
| 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 |
◆ GetBufferLength()
| unsigned long gdcm::RLECodec::GetBufferLength |
( |
| ) |
const |
|
inline |
◆ GetHeaderInfo()
| bool gdcm::RLECodec::GetHeaderInfo |
( |
std::istream & |
is, |
|
|
TransferSyntax & |
ts |
|
) |
| |
|
overridevirtual |
◆ IsFrameEncoder()
| bool gdcm::RLECodec::IsFrameEncoder |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ IsRowEncoder()
| bool gdcm::RLECodec::IsRowEncoder |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ SetBufferLength()
| void gdcm::RLECodec::SetBufferLength |
( |
unsigned long |
l | ) |
|
|
inline |
◆ SetLength()
| void gdcm::RLECodec::SetLength |
( |
unsigned long |
l | ) |
|
|
inline |
◆ StartEncode()
| bool gdcm::RLECodec::StartEncode |
( |
std::ostream & |
| ) |
|
|
overrideprotectedvirtual |
◆ StopEncode()
| bool gdcm::RLECodec::StopEncode |
( |
std::ostream & |
| ) |
|
|
overrideprotectedvirtual |
◆ ImageRegionReader
The documentation for this class was generated from the following file: