Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

iwiImage_RoiSet

Syntax

IW_DECL(IppStatus) iwiImage_RoiSet(
    IwiImage       *pImage,
    IppiRectL       roi
);

Parameters

pImage

Pointer to the IwiImage structure.

roi

ROI rectangle of the required sub-image.

Description

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

Can be applied recursively.

Return Values

ippStsOutOfRangeErr

ROI is out of the image.

ippStsSizeErr

Size of ROI is illegal.

ippStsNullPtrErr

At least one of the pointers is NULL.

ippStsNoErr

No errors.