Point

Function

Coordinate point that stores the position of an image pixel.

Structure Definition

struct Point {
    Point()
        : x(0), y(0) {};
    Point(const uint32_t inputX, const uint32_t inputY)
        : x(inputX), y(inputY) {};

    uint32_t x = 0;
    uint32_t y = 0;
};

Parameter Description

Parameter

Description

x, inputX

Horizontal coordinate (The upper left corner of the image is taken as the origin of coordinates.)

y, inputY

Vertical coordinate (The upper left corner of the image is taken as the origin of coordinates.)