hi_gaussian_blur_config
Description
Defines the Gaussian filtering parameters.
Prototype
typedef struct {
hi_size kernel_size;
hi_double sigma_x;
hi_double sigma_y;
hi_vpc_bord_type border_type;
hi_vpc_scalar scalar_value;
hi_u32 reserved[2];
} hi_gaussian_blur_config;
Members
Member |
Description |
|---|---|
kernel_size |
Size of the convolution kernel. The width and height of kernel_size can only be set to 1, 3, or 5. |
sigma_x |
X-sigma value of Gaussian filtering. |
sigma_y |
Y-sigma value of Gaussian filtering. If sigma_y is 0, sigma_y is equal to sigma_x. |
border_type |
Border making type. Only the HI_BORDER_CONSTANT and HI_BORDER_REPLICATE modes are supported. |
scalar_value |
Border making value. |
reserved[2] |
Reserved. To ensure compatibility in later versions, use the memset struct for resetting and initialization. Do not explicitly access the reserved field in the code. |
Parent topic: VPC Image Processing