hi_vpc_make_border_info
Description
Defines the information required for border making.
Prototype
hi_vpc_crop_resize_paste_region = {"top": top,
"bottom": bottom,
"left": left,
"right": right,
"border_type": hi_vpc_bord_type,
"scalar_value": hi_vpc_scalar}
Members
Member |
Description |
|---|---|
top |
Int, number of pixels padded on the top. |
bottom |
Int, number of pixels padded on the bottom. |
left |
Int, number of pixels padded on the left. |
right |
Int, number of pixels padded on the right. |
border_type |
Int, border type. |
scalar_value |
Dictionary, pixel value for border making. Valid only when the border type is HI_BORDER_CONSTANT. |
Parent topic: Image Processing