hi_isp_sharpen_attr

Description

Defines the attribute of image sharpening.

Definition

typedef struct {     
hi_bool enable;     
hi_u8   skin_umin;     
hi_u8   skin_vmin;     
hi_u8   skin_umax;     
hi_u8   skin_vmax;
hi_op_mode op_type;         
hi_isp_sharpen_manual_attr manual_attr;     
hi_isp_sharpen_auto_attr  auto_attr;
} hi_isp_sharpen_attr;

Members

Member

Description

enable

Image sharpening enable

  • HI_FALSE: disabled
  • HI_TRUE: enabled

skin_umin

U value of the minimum coordinates in the lower-left corner of the rectangular window of the skin region. The value range is [0, 255].

skin_vmin

V value of the minimum coordinates in the lower-left corner of the rectangular window of the skin region. The value range is [0, 255].

skin_umax

U value of the maximum coordinates in the upper-right corner of the rectangular window of the skin region. The value range is [0, 255].

skin_vmax

V value of the maximum coordinates in the upper-right corner of the rectangular window of the skin region. The value range is [0, 255].

op_type

Sharpening working mode

  • HI_OP_MODE_AUTO: automatic
  • HI_OP_MODE_MANUAL: manual

manual_attr

Manual sharpening attribute. For details, see hi_isp_sharpen_manual_attr.

auto_attr

Automatic sharpening attribute. For details, see hi_isp_sharpen_auto_attr.