Image Component Library (ICL)
|
Minimal interface for image output classes. More...
#include <ImageOutput.h>
Public Member Functions | |
virtual | ~ImageOutput () |
virtual destructor More... | |
virtual void | send (const core::ImgBase *image)=0 |
ImageOutput instances must implement this method. More... | |
virtual CompressionSpec | getCompression () const |
provide the protectedly inherited image compressor options here More... | |
virtual void | setCompression (const CompressionSpec &spec) |
provide the protectedly inherited image compressor options here More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::io::ImageCompressor | |
Header | uncompressHeader (const icl8u *compressedData, int len) |
only decodes an image header More... | |
Header | createHeader (const core::ImgBase *image, bool skipMetaData) |
creates a header for a given image (not data will be null) More... | |
ImageCompressor (const CompressionSpec &spec=CompressionSpec("none")) | |
Creates an image Compressor with given compression mode. More... | |
~ImageCompressor () | |
Destructor. More... | |
virtual void | setCompression (const CompressionSpec &spec) |
string based interface for setting the compression mode More... | |
virtual CompressionSpec | getCompression () const |
can be implemented for returning the current compression mode More... | |
utils::Time | pickTimeStamp (const icl8u *compressedData) |
this can help to find out wheter the data is new and must be encoded More... | |
const CompressedData | compress (const core::ImgBase *image, bool skipMetaData=false) |
encodes a given image into the compressed code More... | |
const core::ImgBase * | uncompress (const icl8u *compressedData, int len, core::ImgBase **dst=0) |
decodes the given byte segment More... | |
Protected Member Functions inherited from icl::utils::Uncopyable | |
Uncopyable () | |
Empty base constructor. More... | |
Minimal interface for image output classes.
The image output is used as generic interface for image sinks. Usually, it is recommended to use the GenericImageOutput class tha provides a string-based interface to set up the output backend.
A few outputs do also support generic image compression, while other implementation provide output dependend compression parameters. E.g. shared memory or RSB-based network output streams use the inherited ImageCompressor to compress sent data. The file- our video image output of course use the used video/file formats compression mechanism.
|
inlinevirtual |
virtual destructor
virtual CompressionSpec icl::io::ImageCompressor::getCompression |
provide the protectedly inherited image compressor options here
|
pure virtual |
ImageOutput instances must implement this method.
Implemented in icl::io::FileWriter, icl::io::GenericImageOutput, icl::io::OpenCVVideoWriter, icl::io::V4L2LoopBackOutput, icl::io::LibAVVideoWriter, icl::io::RSBImageOutput, icl::io::SharedMemoryPublisher, and icl::io::ZmqImageOutput.
virtual void icl::io::ImageCompressor::setCompression |
provide the protectedly inherited image compressor options here