iwsVector_RoiSet
Syntax
IW_DECL(IppStatus) iwsVector_RoiSet(
IwsVector *pVector,
IwsRoi roi
);
Parameters
- pImage
- Pointer to theIwsVectorstructure.
- 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 isNULL.
- ippStsNoErr
- No errors.