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) 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 | 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
- Examples
- FileChangeTSLossy.cs.
◆ LUTPtr
◆ ImageCodec()
| gdcm::ImageCodec::ImageCodec |
( |
| ) |
|
◆ ~ImageCodec()
| gdcm::ImageCodec::~ImageCodec |
( |
| ) |
|
|
override |
◆ AppendFrameEncode()
| virtual bool gdcm::ImageCodec::AppendFrameEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
◆ AppendRowEncode()
| virtual bool gdcm::ImageCodec::AppendRowEncode |
( |
std::ostream & |
out, |
|
|
const char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
|
protectedvirtual |
◆ CanCode()
◆ CanDecode()
◆ CleanupUnusedBits()
| bool gdcm::ImageCodec::CleanupUnusedBits |
( |
char * |
data, |
|
|
size_t |
datalen |
|
) |
| |
◆ Clone()
| virtual ImageCodec * gdcm::ImageCodec::Clone |
( |
| ) |
const |
|
pure virtual |
◆ Decode()
◆ DecodeByStreams()
| bool gdcm::ImageCodec::DecodeByStreams |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
overrideprotectedvirtual |
◆ DoByteSwap()
| bool gdcm::ImageCodec::DoByteSwap |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoInvertMonochrome()
| bool gdcm::ImageCodec::DoInvertMonochrome |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoOverlayCleanup()
| bool gdcm::ImageCodec::DoOverlayCleanup |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoPaddedCompositePixelCode()
| bool gdcm::ImageCodec::DoPaddedCompositePixelCode |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoPlanarConfiguration()
| bool gdcm::ImageCodec::DoPlanarConfiguration |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoSimpleCopy()
| bool gdcm::ImageCodec::DoSimpleCopy |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoYBR()
| bool gdcm::ImageCodec::DoYBR |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ DoYBRFull422()
| bool gdcm::ImageCodec::DoYBRFull422 |
( |
std::istream & |
is_, |
|
|
std::ostream & |
os |
|
) |
| |
|
protected |
◆ GetDimensions()
| const unsigned int * gdcm::ImageCodec::GetDimensions |
( |
| ) |
const |
|
inline |
◆ GetHeaderInfo()
| virtual bool gdcm::ImageCodec::GetHeaderInfo |
( |
std::istream & |
is_, |
|
|
TransferSyntax & |
ts |
|
) |
| |
|
virtual |
◆ GetLossyFlag()
| bool gdcm::ImageCodec::GetLossyFlag |
( |
| ) |
const |
◆ GetLUT()
◆ GetNeedByteSwap()
| bool gdcm::ImageCodec::GetNeedByteSwap |
( |
| ) |
const |
|
inline |
◆ GetNumberOfDimensions()
| unsigned int gdcm::ImageCodec::GetNumberOfDimensions |
( |
| ) |
const |
◆ GetPhotometricInterpretation()
◆ GetPixelFormat() [1/2]
◆ GetPixelFormat() [2/2]
| const PixelFormat & gdcm::ImageCodec::GetPixelFormat |
( |
| ) |
const |
|
inline |
◆ GetPlanarConfiguration()
| unsigned int gdcm::ImageCodec::GetPlanarConfiguration |
( |
| ) |
const |
|
inline |
◆ IsFrameEncoder()
| virtual bool gdcm::ImageCodec::IsFrameEncoder |
( |
| ) |
|
|
protectedvirtual |
◆ IsLossy()
| bool gdcm::ImageCodec::IsLossy |
( |
| ) |
const |
◆ IsRowEncoder()
| virtual bool gdcm::ImageCodec::IsRowEncoder |
( |
| ) |
|
|
protectedvirtual |
◆ IsValid()
◆ SetDimensions() [1/2]
| void gdcm::ImageCodec::SetDimensions |
( |
const std::vector< unsigned int > & |
d | ) |
|
◆ SetDimensions() [2/2]
| void gdcm::ImageCodec::SetDimensions |
( |
const unsigned int |
d[3] | ) |
|
◆ SetLossyFlag()
| void gdcm::ImageCodec::SetLossyFlag |
( |
bool |
l | ) |
|
◆ SetLUT()
| void gdcm::ImageCodec::SetLUT |
( |
LookupTable const & |
lut | ) |
|
|
inline |
◆ SetNeedByteSwap()
| void gdcm::ImageCodec::SetNeedByteSwap |
( |
bool |
b | ) |
|
|
inline |
◆ SetNeedOverlayCleanup()
| void gdcm::ImageCodec::SetNeedOverlayCleanup |
( |
bool |
b | ) |
|
|
inline |
◆ SetNumberOfDimensions()
| void gdcm::ImageCodec::SetNumberOfDimensions |
( |
unsigned int |
dim | ) |
|
◆ SetPhotometricInterpretation()
◆ SetPixelFormat()
| virtual void gdcm::ImageCodec::SetPixelFormat |
( |
PixelFormat const & |
pf | ) |
|
|
inlinevirtual |
◆ SetPlanarConfiguration()
| void gdcm::ImageCodec::SetPlanarConfiguration |
( |
unsigned int |
pc | ) |
|
|
inline |
◆ StartEncode()
| virtual bool gdcm::ImageCodec::StartEncode |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
◆ StopEncode()
| virtual bool gdcm::ImageCodec::StopEncode |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
◆ FileChangeTransferSyntax
This is a high level API to encode in a streaming fashion. Each plugin will handle differently the caching mechanism 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
◆ ImageChangePhotometricInterpretation
◆ Dimensions
| unsigned int gdcm::ImageCodec::Dimensions[3] |
|
protected |
◆ LossyFlag
| bool gdcm::ImageCodec::LossyFlag |
|
protected |
◆ LUT
◆ NeedByteSwap
| bool gdcm::ImageCodec::NeedByteSwap |
|
protected |
◆ NeedOverlayCleanup
| bool gdcm::ImageCodec::NeedOverlayCleanup |
|
protected |
◆ NumberOfDimensions
| unsigned int gdcm::ImageCodec::NumberOfDimensions |
|
protected |
◆ PF
◆ PI
◆ PlanarConfiguration
| unsigned int gdcm::ImageCodec::PlanarConfiguration |
|
protected |
◆ RequestPaddedCompositePixelCode
| bool gdcm::ImageCodec::RequestPaddedCompositePixelCode |
|
protected |
◆ RequestPlanarConfiguration
| bool gdcm::ImageCodec::RequestPlanarConfiguration |
|
protected |
The documentation for this class was generated from the following file: