Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

ippiResizeLinear with ROI

Frederic_H_
Beginner
156 Views

I know ippiResizeSqrPixel has obsoleted. So I want to use ippiResizeLinear replace it.

But I would like to know to set source ROI and destination ROI(like ippiResizeSqrPixel).

 Thanks.

0 Kudos
1 Reply
Valentin_K_Intel
Employee
155 Views

Hello,

To define the destination ROI you need to define the following parameters: the offset of the tiled destination image (dstOffset) with respect to the destination image origin and the destination ROI size (dstSize). The source image ROI origin is defined automatically. To obtain the source image ROI, use the ippiResizeGetSrcRoi function with the corresponding flavor.

The source ROI cannot be set explicitly. To process the source image ROI, it is required to consider it as an independent image.

Best regards, Valentin


 

Reply