- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I want to resize an image in a particular way that duplicates a pixel vertically and horizontally. For example
source image destination image
1 2 1 1 2 2
3 4 1 1 2 2
3 3 4 4
3 3 4 4
Is there an IPP function that can do this?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
How about to use ippiResizeNearest with NN interpolation directly?
Changes an image size using the nearest neighbor
interpolation method.
12 Intel® Integrated Performance Primitives Reference Manual, Volume 2: Image and Video Processing
IppStatus ippiResizeNearest_<mod>(const Ipp<datatype>* pSrc, Ipp32s srcStep,
Ipp<datatype>* pDst, Ipp32s dstStep, IppiPoint dstOffset, IppiSize dstSize, const
IppiResizeSpec_32f* pSpec, Ipp8u* pBuffer);
and you can find ipp resize sample in IPP install folder..
Best Regards,
Ying
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page