- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am modifying an existing code that changes an image size using interpolation with two-parameter cubic filters. Current implementation is in 32 bits. I am implementing it for 64 bit. 32 bit implementation use methods ippiResizeCubic_32f_C1R, ippiResizeCubicInit_32f for resizing. I need their 64 bit equivalents. But documentation in links https://software.intel.com/en-us/node/504372 and https://software.intel.com/en-us/node/504360 shows that their 64 bit is not available. What are the methods that I can use for replacing these methods? Any example will be of great help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Biresh,
You can try to use ippiWarpAffineCubic_64f_C1R as 64 bit equivalent of ippiResizeCubic_32f_C1R.
The affine coefficients should be computed by the following way:
fx = (double)(destination image width) / (source image width)
fy = (double)(destination image height) / (source image height)
c00 = fx c01 = 0 c02 = 0.5 * fx - 0.5
c10 = 0 c11 = fy c12 = 0.5 * fy - 0.5
Here is the documentation for Warp Affine Functions with Prior Initialization: https://software.intel.com/en-us/node/529049
Best regards,
Valentin
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page