|
| | Image (FrameWrapper::Ptr image_metadata) |
| |
| | Image (FrameWrapper::Ptr image_metadata, Timestamp time) |
| |
| virtual | ~Image () |
| | virtual Destructor that never throws an exception.
|
| |
| virtual bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const =0 |
| |
| virtual void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const =0 |
| | fills a user given buffer with the RGB values, with an optional nearest-neighbor down sampling and an optional subregion
|
| |
| virtual Encoding | getEncoding () const =0 |
| | returns the encoding of the native data.
|
| |
| virtual void | fillRaw (unsigned char *rgb_buffer) const |
| | fills a user given buffer with the raw values.
|
| |
| virtual void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const =0 |
| | fills a user given buffer with the gray values, with an optional nearest-neighbor down sampling and an optional subregion
|
| |
| unsigned | getWidth () const |
| |
| unsigned | getHeight () const |
| |
| unsigned | getFrameID () const |
| |
| std::uint64_t | getTimestamp () const |
| |
| Timestamp | getSystemTimestamp () const |
| |
| const void * | getData () |
| |
| int | getDataSize () const |
| |
| unsigned | getStep () const |
| |
Image interface class providing an interface to fill a RGB or Grayscale image buffer.
- Parameters
-
Definition at line 56 of file image.h.