Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Contains image data with a specific encoding. More...
#include <auterion_sdk/camera/camera.hpp>
Public Member Functions | |
Image (ImageHeader header, uint8_t *data) | |
const ImageHeader & | header () const |
uint8_t * | data () |
const uint8_t * | data () const |
int | width () const |
int | height () const |
cv::Mat | asOpenCVMat (int plane=-1) const |
Contains image data with a specific encoding.
cv::Mat auterion::Image::asOpenCVMat | ( | int | plane = -1 | ) | const |
Get image as an OpenCV image (without copying or converting data)
plane | Image plane if image has multiple planes, e.g. for I420: 0=Y, 1=U, 2=V |