设置环视拼接参数,包括畸变矫正、增益补偿参数。
Atlas 200/300/500 推理产品,当前版本不支持该接口。
Atlas 训练系列产品,当前版本不支持该接口。
Atlas 推理系列产品,当前版本不支持该接口。
输入、输出图片宽高必须准确配置,分辨率为[10, 6]到[4096,4096]。
hi_s32 hi_mpi_vpc_set_roundview_stitching_param(hi_vpc_chn chn, const hi_roundview_stitching_param *stitch_param)
参数名 |
输入/输出 |
说明 |
---|---|---|
chn |
输入 |
图片处理通道号,取值范围:[0, 256),通道总数最多256。 |
stitch_param |
输入 |
环视拼接参数信息,包括畸变矫正、增益补偿参数。 |
关键接口说明如下:
一个通道创建后,只能调用hi_mpi_vpc_set_roundview_stitching_param设置一次参数。
hi_mpi_vpc_roundview_stitching接口是异步接口,调用该接口成功仅表示任务下发成功,还需要调用hi_mpi_vpc_get_process_result接口等待任务完成。
创建好通道后,畸变矫正表、融合系数、是否增益补偿和其回调函数都由hi_mpi_vpc_set_roundview_stitching_param接口配置。配置好后,调用hi_mpi_vpc_roundview_stitching输入图片参数,下发任务。和其他vpc接口一样,使用hi_mpi_vpc_get_process_result获取结果。参数一经配置,可以反复调用hi_mpi_vpc_roundview_stitching和hi_mpi_vpc_get_process_result接口。用户可选择hi_mpi_vpc_get_roundview_stitching_param获取之前配置的参数。