- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was recently modifying code our application has to resize images that had previously only been doing downscaling using the super sampling algorithm. My changes made it so upscaling was also a possibility, and when calling ippiResizeCenter_8u_C1R I noticed that it would return an error: ippStsInterpolationErr. I know very little about super sampling, other than for downsampling it removed moire artifacts that we were previously having--why can I not upscale an image with super sampling?
That said, what would be the algorithm with the best qualityfor upscaling? What about the fastest algorithm for upscaling? (and also, while we're on the subject, what's thehighest quality/fastestalgorithm to use for downscaling? And somewhere else on the net I read that you should do a sharpen after downscaling an image--is there any merit to this?)
I tried nearest neighbor and that worked fine for upscaling, although the resulting output was a bit rough.
Bear with me, I'm an image processing n00b. Any advice is welcome.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IMO, for upsampling, best visual quality can be obtained by using stair interpolation with next best choice being bicubic interpolation. For downsampling anything more than bilinear interpolation would probably be an overkill.
In photo processing, sharpening is usually applied after downsampling. How much of it depends on taste but in any case it should not be integrated with downsampling because some people might not like it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page