hi_mpi_vpc_set_roundview_stitching_param

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function 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

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 set successfully. Otherwise, the stitched output image may be abnormal. For details about how to set the image ID, see hi_stiching_ipm_table.