Parameters of the RoiResize operator with an effective scaling range of [0.25, 4] for the length and width.
Member
| Member Name | Description |
|---|---|
interpolation | Interpolation types support the NEAREST and LINEAR types in hbVPInterpolationType. |
paddingValue[4] | Padding values, each channel corresponds to one value, NV12 uses three channels. |
The API for calling the RoiResize.
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 adn nv12.roi ROI region, the valid range takes the intersection of the ROI region and srcImg.roiResizeParam Operator parameter.0 means the API was successfully executed, otherwise the execution failed.