Skip to content

raisin::RgbaCalibrationPatch ​

struct · #include <rayrai/Capture.hpp>

Rectangular reference patch for RayraiWindow::analyzeRgbaCalibrationPatches().

Coordinates are in pixels with the origin at the top-left; the rectangle is clipped to the image.

Public attributes ​

name ​

cpp
std::string name

Label copied into the result.

x ​

cpp
int x

Left edge, pixels.

y ​

cpp
int y

Top edge, pixels.

width ​

cpp
int width

Width, pixels.

height ​

cpp
int height

Height, pixels.

targetRgb ​

cpp
glm::vec3 targetRgb

Expected display-space RGB in [0, 1].

RaiSim — physics for robotics and AI.