hi_isp_cmos_edgemark

Description

Defines the CMOS parameters of EdgeMark.

Definition

typedef struct {
    hi_bool enable;       
    hi_u8   threshold;        
    hi_u32  color;             
} hi_isp_cmos_edgemark;

Members

Member

Description

enable

EdgeMark enable

  • HI_FALSE: disabled
  • HI_TRUE: enabled

threshold

Edge mark threshold. If the calculated local statistical value is greater than the threshold, then the image is featured with strong edges and textures which will be marked with a color. A smaller value indicates that more strong edges and textures will be marked.

Value range: [0, 255]

color

Parameter used for setting the edge mark color. This color value is set through RGB values. The lowest 8 bits (bit 0–7) of the value indicate the value of the B component, the lower 8 bits (bit 8–15) indicate the value of the G component, the upper 8 bits (bit 16–23) indicate the value of the R component, and the uppermost 8 bits (bit 24–31) are reserved. By setting this parameter, you can select a proper color for edge mark coloring. Generally, you are advised to select a color that is obviously contrast with the image background color.

Value range: [0, 0xFFFFFF]. The default value is 0xFF0000.