Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Frederic_H_
Beginner
34 Views

ippiResizeLinear with ROI

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
34 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