PostImageInfo
Function
It is a struct used to define the post-processing image information.
Structure Definition
struct PostImageInfo {
uint32_t widthOriginal = 0;
uint32_t heightOriginal = 0;
uint32_t widthResize = 0;
uint32_t heightResize = 0;
float x0 = 0;
float y0 = 0;
float x1 = 0;
float y1 = 0;
};
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
widthOriginal |
Input |
Width of the original image. |
heightOriginal |
Input |
Height of the original image. |
widthResize |
Input |
Width of the resized image. |
heightResize |
Input |
Height of the resized image. |
x0 |
Input |
Horizontal coordinate of the upper left corner. |
y0 |
Input |
Vertical coordinate of the upper left corner. |
x1 |
Input |
Horizontal coordinate of the lower right corner. |
y1 |
Input |
Vertical coordinate of the lower right corner. |
Parent topic: Data Structure