hi_mpi_vpc_set_roundview_stitching_param
The
The
Description
Sets surround-view stitching parameters, including distortion correction and gain compensation parameters.
Restrictions
- The width and height of the input and output images must be correctly configured. The resolutions range from [10, 6] to [4096, 4096].
- You can call this API to set the surround-view stitching parameters only once for each channel.
- When setting stitching parameters, ensure that the image ID in the stitching table is successfully set. Otherwise, the output image after stitching may be abnormal. For details about how to set the image ID, see hi_stiching_ipm_table.
Prototype
hi_s32 hi_mpi_vpc_set_roundview_stitching_param(hi_vpc_chn chn, const hi_roundview_stitching_param *stitch_param)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Channel ID for image processing. |
stitch_param |
Input |
Surround-view stitching parameters, including distortion correction and gain compensation parameters. |
Returns
- 0: success
- Other values: failure. For details, see VPC Return Codes.
Parent topic: VPC