MIRA
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Z11Codec Class Referenceabstract

Codec for lossless compression of 11 bit depth images (like Kinect depth images) that can be used together with a BinarySerializer. More...

#include <codec/Z11Codec.h>

Inheritance diagram for Z11Codec:
Inheritance graph
[legend]

Public Member Functions

virtual TypeId getSupportedTypeId () const
 Implementation of BinarySerializerCodec. More...
 
virtual Fourcc getFourcc () const
 
Buffer< uint8encode (const T &object)
 
void decode (const Buffer< uint8 > &data, T &ioObject)
 
Class const & getClass () const
 

Static Public Member Functions

static BinarySerializerCodecPtr createCodec (Fourcc fourcc)
 
static PseudoClass const & CLASS ()
 

Protected Member Functions

virtual Buffer< uint8encodeBuffer (TypedVoidConstPtr objectPtr)
 Implementation of BinarySerializerCodec. More...
 
virtual void decodeBuffer (const Buffer< uint8 > &data, TypedVoidPtr ioObjectPtr)
 Implementation of BinarySerializerCodec. More...
 
virtual Class const & internalGetClass () const=0
 

Detailed Description

Codec for lossless compression of 11 bit depth images (like Kinect depth images) that can be used together with a BinarySerializer.

Depth images are compressed using a Variable Bit Width Encoding (ZBWE). The codec computes the depth value differences between consecutive pixels. Smaller differences occur more often in depth images and are stored using few bits only. Larger differences are stored with more bits, but their occurrence is rare.

Member Function Documentation

◆ getSupportedTypeId()

virtual TypeId getSupportedTypeId ( ) const
virtual

Implementation of BinarySerializerCodec.

Implements BinarySerializerCodec.

◆ encodeBuffer()

virtual Buffer<uint8> encodeBuffer ( TypedVoidConstPtr  objectPtr)
protectedvirtual

Implementation of BinarySerializerCodec.

Implements BinarySerializerCodec.

◆ decodeBuffer()

virtual void decodeBuffer ( const Buffer< uint8 > &  data,
TypedVoidPtr  ioObjectPtr 
)
protectedvirtual

Implementation of BinarySerializerCodec.

Implements BinarySerializerCodec.


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