acl.himpi.vpc_warp_affine
C Prototype |
hi_s32 hi_mpi_vpc_warp_affine(hi_vpc_chn chn, hi_transform_matrix *matrix, hi_warp_transform_param *transform_param, hi_u32 *task_id, hi_s32 milli_sec) |
|---|---|
Python Function |
task_id, ret = acl.himpi.vpc_warp_affine(chn, matrix, transform_param, milli_sec) |
Function Usage |
Performs affine transformation on the input image. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
Input Description |
chn: int, image processing channel ID.
matrix: dict, dictionary of the matrix required for affine transformation. For details, see hi_transform_matrix. It can be obtained by calling acl.himpi.vpc_get_affine_transform or acl.himpi.vpc_get_rotation_matrix. transform_param: dict, affine transformation parameters. The input and output image information is configured in the hi_warp_transform_param dictionary.. milli_sec: int, timeout interval (ms).
|
Return Value |
ret: int, error code.
task_id: task ID, used to identify a task. |