- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been working with the new ippiResizeSqrPixel API, but recently discovered that the Lanczos interpolation does not provide as good a downsampling as I expected. I then tried the Lanczos in the ippiResizeFilter routine and got much better results.
What's the difference between the ippiResizeSqrPixel and ippiResizeFilter routines andwhy do they produce different results?
Thanks,
Peter
What's the difference between the ippiResizeSqrPixel and ippiResizeFilter routines andwhy do they produce different results?
Thanks,
Peter
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
could you please provide more details on that? It would be nice to have your original image and parameters you use for IPP functions to investigate what might be the problem.
Regards,
Vladimir
could you please provide more details on that? It would be nice to have your original image and parameters you use for IPP functions to investigate what might be the problem.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure, I'll put something together and upload it. In the meantime, do you expect any difference between ResizeFilter and ResizeSqrPixel when Lanczos is specified? Is the ResizeFilter call doing any additional filtering?
Thanks,
Peter
Thanks,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
Add one notes from the function experts,
Regards,
Ying
Add one notes from the function experts,
The two functions have slightly different realization of Lanczos method.
In the function ippiResizeSqrPixel it is more academic approach but in the function ippiResizeFilter filtering more depends on the sample values.
So if we do down-sampling with good values (multiplies of image sizes) using ippiResizeFilter, we can get more qualitative picture.
But ippiResizeSqrPixel has more performance and requires less memory under equal status.
Regards,
Ying
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page