Size

Description

Defines the image size structure for image resizing. It stores the height and width of an image.

Structure Definition

1
2
3
4
5
6
7
8
9
struct Size {
    Size()
        : width(0), height(0) {};
    Size(const uint32_t inputWidth, const uint32_t inputHeight)
        : width(inputWidth), height(inputHeight) {};

    uint32_t width = 0;
    uint32_t height = 0;
};

Parameters

Parameter

Description

width, inputWidth

Image width

height, inputHeight

Image height