- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So i am migrating to the latest version of intel API and for the warpaffine function i have used ippiWarpAffineLinear_8u_C1R. But in the new varient the srcROI parameter is missing.
When i dump image using the old api and new api there is a difference based on this srcROI. when the srcROI and dstROI is same the output image will be same. But in my use case the srcROI input will be different from the destination dimensions.
how to modify the new api so that it will consider the srcROI when the output image is created.
ippiWarpAffine_8u_C1R (
const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI, Ipp8u* pDst, int dstStep, IppiRect dstROI,
const double coeffs[2][3], int interpolation)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear IPP user,
There is a description about ROI in the IPP developer reference document here https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-10/roi-processing-in-geometric-transforms.html,
The destination image origin ROI for different functions can be specified by dstOffset parameter
of IppiPoint type and dstSize parameter of IppiSize type. In this case, the processed destination image
coressponds to the processed ROI of the destination image origin.
srcROI is similar by using srcSize, please check the ippiWarpAffineLinear_8u example here: https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-10/ipp-ref-warp-affine-with-prior-initialization.html
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page