LightlyEdge C++ SDK
Loading...
Searching...
No Matches
lightly_edge_sdk::Frame Struct Reference

Frame data for LightlyEdge. More...

#include <lightly_edge_sdk.h>

Public Member Functions

 Frame (size_t width, size_t height, void *rgbImageData)
 Construct a new Frame object.
 

Public Attributes

size_t width_
 Width of the image.
 
size_t height_
 Height of the image.
 
void * rgbImageData_
 Pointer to the RGB image data.
 

Detailed Description

Frame data for LightlyEdge.

Constructor & Destructor Documentation

◆ Frame()

lightly_edge_sdk::Frame::Frame ( size_t width,
size_t height,
void * rgbImageData )
inline

Construct a new Frame object.

Parameters
widthWidth of the image.
heightHeight of the image.
rgbImageDataPointer to the RGB image data.

Member Data Documentation

◆ rgbImageData_

void* lightly_edge_sdk::Frame::rgbImageData_

Pointer to the RGB image data.

The RGB image data is expected to be in row-major order with 3 channels (red, green, blue) and 8 bits per channel: [R, G, B, R, G, B, ...].


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