WarpPerspective operator parameter.
Member
| Member Name | Description |
|---|---|
transformMatrix[9] | WarpPerspective transformation matrix, 3X3 matrix. |
interpolation | Interpolation types in WarpPerspective, support NEAREST and LINEAR types in hbVPInterpolationType. |
borderType | Reserved parameter. |
borderValue | Reserved parameter. |
isInverse | Flag whether transformMatrix is an inverse matrix, non-zero means inverse matrix (src = M * dst), 0 means positive matrix (dst = M * src) |
The API for calling the WarpPerspective.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImg The output picture, type, format and size are the same as the input picture.srcImg The input picture type supports U8C1 and format supports Y and nv12.perspectiveParam Operator parameter pointer.0 means the API was successfully executed, otherwise the execution failed.