hi_blur_config

Description

Filtering parameter.

Prototype

hi_blur_config = {"kernel_size": hi_size,
                  "morph_shapes": hi_morph_shapes,
                  "anchor": hi_point,
                  "iterations": iterations,
                  "border_type": hi_vpc_bord_type,
                  "scalar_value": hi_vpc_scalar}

Members

Member

Description

kernel_size

Dictionary, size of the convolution kernel. The width and height of kernel_size can only be set to 1, 3, or 5.

morph_shapes

Int, convolutional filter shapes.

anchor

Dictionary, convolution kernel anchor, which needs to be set to (–1, –1). This field is reserved.

iterations

Int, number of convolution iterations. The value range is [1, 100]. For mean filtering processing, the value can only be set to 1. For corrosion or expansion processing, the value may be any one within the range of [1, 100].

border_type

Int, border making type. Only the HI_BORDER_CONSTANT and HI_BORDER_REPLICATE modes are supported.

scalar_value

Dictionary, border making value.