Edit

class ImageAnalysis::Rectangle

Represents a rectangular area inside an image.

Members

X

Syntax: public int32_t X;

X-coordinate of the top left point of the area, in pixels.

Y

Syntax: public int32_t Y;

Y-coordinate of the top left point of the area, in pixels.

H

Syntax: public int32_t H;

Height of the area, in pixels.

W

Syntax: public int32_t W;

Width of the area, in pixels.

ToString

Syntax: public inline std::string ToString ( ) const;

Helper method to display the Rectangle values.

Returns

A string containing the values of X, Y, H and W.