Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
auterion::Image Class Reference

Contains image data with a specific encoding. More...

#include <auterion_sdk/camera/camera.hpp>

Public Member Functions

 Image (ImageHeader header, uint8_t *data)
 
const ImageHeaderheader () const
 
uint8_t * data ()
 
const uint8_t * data () const
 
int width () const
 
int height () const
 
cv::Mat asOpenCVMat (int plane=-1) const
 

Detailed Description

Contains image data with a specific encoding.

Member Function Documentation

◆ asOpenCVMat()

cv::Mat auterion::Image::asOpenCVMat ( int  plane = -1) const

Get image as an OpenCV image (without copying or converting data)

Parameters
planeImage plane if image has multiple planes, e.g. for I420: 0=Y, 1=U, 2=V

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