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).
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