VpcCropAndPaste
Function Usage
Checks image constraints. Before calling this API, call Init() or Init(MxbaseDvppChannelMode dvppChannelMode) to initialize this function.
Prototype
APP_ERROR VpcCropAndPaste(const DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo,
CropRoiConfig& pasteRoi, CropRoiConfig& cropRoi);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
inputDataInfo |
Input |
Source image information |
outputDataInfo |
Output |
Paste information |
pasteRoi |
Input |
Paste ROI |
cropRoi |
Input |
Crop ROI of the source image |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: DvppWrapper