hi_transform_config

Description

Defines the affine transformation, perspective transformation, or remapping configuration.

Prototype

hi_transform_config = {"interpolation": interpolation,
                       "border_type": hi_vpc_bord_type,
                       "scalar_value": hi_vpc_scalar}

Members

Member

Description

interpolation

Int. The following resizing algorithms are supported:

border_type

Int, border making type.

scalar_value

Dictionary, pixel value for image padding. Only three channels are supported.