Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018

iwsVector_RoiSet

Syntax

IW_DECL(IppStatus) iwsVector_RoiSet(
    IwsVector       *pVector, 
    IwsRoi           roi      
);

Parameters

pImage

Pointer to the IwsVector structure.

roi

ROI rectangle of the required sub-vector.

Description

This function applies the input ROI to the current vector by adjusting the size and the starting point of the vector.

Can be applied recursively.

Return Values

ippStsOutOfRangeErr

ROI is out of the vector.

ippStsSizeErr

Size of ROI is illegal.

ippStsNullPtrErr

At least one of the pointers is NULL.

ippStsNoErr

No errors.