hi_vpc_crop_resize_resize_paste_region
Description
Crops, resizes, and pastes an ROI to a specific area. Two resizing operations are supported.
Prototype
hi_vpc_crop_resize_resize_paste_region = {"dest_pic_info": hi_vpc_pic_info,
"crop_region": hi_vpc_crop_region,
"resize_info1": hi_vpc_resize_info,
"resize_info2": hi_vpc_resize_info,
"dest_top_offset": dest_top_offset,
"dest_left_offset": dest_left_offset,
"reserved": [2]}
Members
Member |
Description |
|---|---|
dest_pic_info |
Dictionary, destination image information. |
crop_region |
Dictionary, crop ROI information. |
resize_info1 |
Dictionary, information about the first image resizing. |
resize_info2 |
Dictionary, information about the second image resizing. |
dest_top_offset |
Int, top offset of the destination image. |
dest_left_offset |
Int, left offset of the destination image. |
reserved |
List, reserved attribute. To ensure compatibility in later versions, pass [0, 0] for resetting and initialization. Do not explicitly access the reserved field in the code. |
Parent topic: Image Processing