定义滤波参数结构体。
typedef struct { hi_size kernel_size; hi_morph_shapes morph_shapes; hi_point anchor; hi_u32 iterations; hi_vpc_bord_type border_type; hi_vpc_scalar scalar_value; } hi_blur_config;
成员名称 |
描述 |
---|---|
kernel_size |
输入图片信息。 |
morph_shapes |
输出图片信息。 |
anchor |
卷积核锚点,预留字段。 |
iterations |
卷积迭代次数。 |
border_type |
边界填充类型。 |
scalar_value |
边界填充值。 |