hi_fisheye_correction_attr

Function

Defines the fisheye correction attributes.

Definition

typedef struct {
    hi_bool enable;
    hi_fisheye_attr fisheye_attr;
    hi_size dst_size;
} hi_fisheye_correction_attr;

For details about basic data type hi_bool, see Basic Data Types.

Members

Member

Description

enable

Whether to enable fisheye correction. When fisheye correction is enabled, the input image width must be within [1920 px, 8192 px], and the height must be within [1080 px, 8192 px].

Value range:

  • HI_FALSE: Disables this function.
  • HI_TRUE: Enables this function.

fisheye_attr

Fisheye attributes. For details, see hi_fisheye_attr.

dst_size

Size of the output image after fisheye correction. For details, see hi_size.

Value range: [640 × 360, 8192 × 8192]