Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Image resizing

omair_a_
Beginner
272 Views

I am new to C++. I am using Intel's IPP for resizing an image in VS2015. I am trying to use ippiResizeLanczos_8u_C3R function to resize the image.

I do not know how to see/view the resized image or get the pixel values of the resized image(image after applying the above mentioned function), as I intend to use the resized image for further processing. The function perhaps returns only the "IppStatus". But I want to get the resized image or the data information(pixel values) of the resized image as return value.

Any help in this regard would be highly appreciated?

0 Kudos
1 Reply
Valentin_K_Intel
Employee
272 Views

Hi Omair,

The parameter pDst is pointer to the resized image data. 

IppStatus ippiResizeLanczos_8u_C3R(const Ipp8u* pSrc, Ipp32s srcStep, Ipp8u* pDst, Ipp32s dstStep, IppiPoint dstOffset, IppiSize dstSize, IppiBorderType border, const Ipp8u* pBorderValue, const IppiResizeSpec_32f* pSpec, Ipp8u* pBuffer);

The documentation of the function can be found here: https://software.intel.com/en-us/node/504373

Best regards,
Valentin

0 Kudos
Reply