Skip to content

raisin::RayraiWindow::RgbaCalibrationPatch ​

struct · #include <rayrai/RayraiWindow.hpp>

A rectangular reference patch for analyzeRgbaCalibrationPatches().

Public attributes ​

name ​

cpp
std::string name

Patch name, copied to the result.

x ​

cpp
int x

Left edge in pixels (top-left origin).

y ​

cpp
int y

Top edge in pixels (top-left origin).

width ​

cpp
int width

Width in pixels; clipped to the image.

height ​

cpp
int height

Height in pixels; clipped to the image.

targetRgb ​

cpp
glm::vec3 targetRgb

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

RaiSim — physics for robotics and AI.