ImageCodec.
More...
#include <gdcmImageCodec.h>
|
virtual bool | AppendFrameEncode (std::ostream &out, const char *data, size_t datalen) |
|
virtual bool | AppendRowEncode (std::ostream &out, const char *data, size_t datalen) |
|
bool | DecodeByStreams (std::istream &is_, std::ostream &os) |
|
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 | IsFrameEncoder () |
|
virtual bool | IsRowEncoder () |
|
virtual bool | IsValid (PhotometricInterpretation const &pi) |
|
virtual bool | StartEncode (std::ostream &os) |
|
virtual bool | StopEncode (std::ostream &os) |
|
virtual bool | InternalCode (const char *bv, unsigned long len, std::ostream &os) |
|
ImageCodec.
- Note
- Main codec, this is a central place for all implementation
gdcm::ImageCodec::ImageCodec |
( |
| ) |
|
gdcm::ImageCodec::~ImageCodec |
( |
| ) |
|
virtual bool gdcm::ImageCodec::AppendFrameEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
virtual bool gdcm::ImageCodec::AppendRowEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
virtual ImageCodec* gdcm::ImageCodec::Clone |
( |
| ) |
const |
|
pure virtual |
bool gdcm::ImageCodec::DecodeByStreams |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protectedvirtual |
bool gdcm::ImageCodec::DoByteSwap |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoInvertMonochrome |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoOverlayCleanup |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoPaddedCompositePixelCode |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoPlanarConfiguration |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoSimpleCopy |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
bool gdcm::ImageCodec::DoYBR |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
const unsigned int* gdcm::ImageCodec::GetDimensions |
( |
| ) |
const |
|
inline |
virtual bool gdcm::ImageCodec::GetHeaderInfo |
( |
std::istream & |
is_, |
|
|
TransferSyntax & |
ts |
|
) |
| |
|
virtual |
bool gdcm::ImageCodec::GetLossyFlag |
( |
| ) |
const |
bool gdcm::ImageCodec::GetNeedByteSwap |
( |
| ) |
const |
|
inline |
unsigned int gdcm::ImageCodec::GetNumberOfDimensions |
( |
| ) |
const |
const PixelFormat& gdcm::ImageCodec::GetPixelFormat |
( |
| ) |
const |
|
inline |
unsigned int gdcm::ImageCodec::GetPlanarConfiguration |
( |
| ) |
const |
|
inline |
virtual bool gdcm::ImageCodec::IsFrameEncoder |
( |
| ) |
|
|
protectedvirtual |
bool gdcm::ImageCodec::IsLossy |
( |
| ) |
const |
virtual bool gdcm::ImageCodec::IsRowEncoder |
( |
| ) |
|
|
protectedvirtual |
void gdcm::ImageCodec::SetDimensions |
( |
const unsigned int |
d[3] | ) |
|
void gdcm::ImageCodec::SetDimensions |
( |
const std::vector< unsigned int > & |
d | ) |
|
void gdcm::ImageCodec::SetLossyFlag |
( |
bool |
l | ) |
|
void gdcm::ImageCodec::SetLUT |
( |
LookupTable const & |
lut | ) |
|
|
inline |
void gdcm::ImageCodec::SetNeedByteSwap |
( |
bool |
b | ) |
|
|
inline |
void gdcm::ImageCodec::SetNeedOverlayCleanup |
( |
bool |
b | ) |
|
|
inline |
void gdcm::ImageCodec::SetNumberOfDimensions |
( |
unsigned int |
dim | ) |
|
virtual void gdcm::ImageCodec::SetPixelFormat |
( |
PixelFormat const & |
pf | ) |
|
|
inlinevirtual |
void gdcm::ImageCodec::SetPlanarConfiguration |
( |
unsigned int |
pc | ) |
|
|
inline |
virtual bool gdcm::ImageCodec::StartEncode |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
virtual bool gdcm::ImageCodec::StopEncode |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
This is a high level API to encode in a streaming fashion. Each plugin will handle differently the caching mecanism so that a limited memory is used when compressing dataset. Codec will fall into two categories:
- Full row encoder: only a single scanline (row) of data is needed to be loaded at a time;
- Full frame encoder (default): a complete frame (row x col) is needed to be loaded at a time
unsigned int gdcm::ImageCodec::Dimensions[3] |
|
protected |
bool gdcm::ImageCodec::LossyFlag |
|
protected |
bool gdcm::ImageCodec::NeedByteSwap |
|
protected |
bool gdcm::ImageCodec::NeedOverlayCleanup |
|
protected |
unsigned int gdcm::ImageCodec::NumberOfDimensions |
|
protected |
unsigned int gdcm::ImageCodec::PlanarConfiguration |
|
protected |
bool gdcm::ImageCodec::RequestPaddedCompositePixelCode |
|
protected |
bool gdcm::ImageCodec::RequestPlanarConfiguration |
|
protected |
The documentation for this class was generated from the following file: