hi_mpi_vpc_set_roundview_stitching_param
Applicability
Product |
Supported |
|---|---|
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
Description
Sets surround-view stitching parameters, including table stitching and gain compensation parameters.
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 table stitching and gain compensation parameters. |
Returns
- 0: success
- Other values: failure. For details, see VPC Return Codes.
Restrictions
- The width and height of the input and output images must be correctly configured. The resolutions range from [10, 6] to [4096, 4096].
- For a channel, this API can be called multiple times to set surround-view stitching parameters. However, the output resolution (dest_pic_width and dest_pic_height), stitching table type (stitch_table_type), and miniaturization type (mini_order) cannot be modified.
- 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.
Parent topic: Vision Preprocessing Core (VPC)