- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you check new the IPP 7.1 interfaces on the resize function, and see how it works for you?
http://software.intel.com/en-us/articles/intel-ipp-71-resize-changes/
For scale the image pixel, I think you may call a separated function after the resize.
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try to use a Linear Interpolation ( IPPI_INTER_LINEAR )?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are right about ippiScale -- it is for converting individual pixel values to different bit depths. For example, ippiScale_8u32f_C1R with vmin of 0.0 and vmax of 1.0wouldconvert the 0-255(integer) data from the single channel image to floating point values between 0 and 1.
There are many choices for interpolation mode since there are tradeoffs between quality and speed. Since you specifically don't want interpolation, I wonder if nearest neighbor interpolation mode might be closer to what you want. (IPPI_INTER_NN for ippiResizeSqrPixel.) The idea behind this algorithm sounds very close to your description, and at least in my tests I'm not seeing interpolated values using this mode.
Best regards,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a Feature Request and please consider two additional modes:
IPPI_NOINTER_UPSAMPLE ( scale factors: 2x, 4x, etc )
IPPI_NOINTER_DOWNSAMPLE ( scale factors: 0.5x, 0.25x, etc )
Best regards,
Sergey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page