IDS peak AFL v1.8.0
Loading...
Searching...
No Matches
peak_afl_rectangle Struct Reference

2D rectangle structure More...

#include <peak_afl/peak_afl.h>

Data Fields

uint32_t x
 X-coordinate of top-left corner.
 
uint32_t y
 Y-coordinate of top-left corner.
 
uint32_t width
 Width of rectangle in pixels.
 
uint32_t height
 Height of rectangle in pixels.
 

Detailed Description

2D rectangle structure

Defines a rectangular region in a 2-dimensional coordinate space. Used throughout the API to specify regions of interest, image areas, and other rectangular regions.

Note
Coordinates are zero-based with origin at top-left corner
Width and height must be greater than 0 for valid rectangles
See also
peak_afl_position, peak_afl_size

Field Documentation

◆ height

uint32_t height

Height of rectangle in pixels.

The vertical extent of the rectangle. Must be greater than 0.

◆ width

uint32_t width

Width of rectangle in pixels.

The horizontal extent of the rectangle. Must be greater than 0.

◆ x

uint32_t x

X-coordinate of top-left corner.

The horizontal position of the rectangle's left edge in pixels.

◆ y

uint32_t y

Y-coordinate of top-left corner.

The vertical position of the rectangle's top edge in pixels.


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