Pym configuration parameter structure.
Member
| Member Name | Description |
|---|---|
levels | Select the number of pyramid activation layers. |
interpolation | Selects a pyramid interpolation method that supports the GAUSSIAN and LINEAR types in hbVPInterpolationType. |
When using the bilinear pyramid, the size of the input image and the size of each layer of the output image are required to meet the range limit of [32, 4096].
The API for calling the PyrDown.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImgs Outputs an array of pictures, with the type and format of each layer consistent with the input pictures, and the width and height of each layer being half of the previous picture,respectively. The rounding strategies are: upward rounding for Gaussian pyramids and downward rounding for bilinear pyramids.srcImg Input picture, type supports U8C1, Gaussian pyramid format supports Y and nv12, bilinear pyramid format supports nv12.pymCfg Input Pyramid Configuration Structures, Gaussian Pyramid supports 1 level of computation and Bilinear Pyramid supports 1 to 5 levels of computation.0 means the API was successfully executed, otherwise the execution failed.