Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

32 bit image scaler

$
0
0

Hi all,

This is my first question in this forum so be gentle please.

I have been using IPP 7.0 and currently I am trying to implement a scaler to scale my 32 bit image to its new resolution without changing anything else. Here is what I have done but I am lost in ippiResizeSqrPixel_8u_C4R function.

Could you please guide me through?

              IppiRectoldRect,newRect;

oldRect.x=0; oldRect.y=0; oldRect.height=1024; oldRect.width=768;
newRect.x=0; newRect.y=0; newRect.height=800; newRect.width=600;
Ipp8u *newImage=ippsMalloc_8u(newRect.height*newRect.width*4);
ippiResizeSqrPixel_8u_C4R(oldImage,oldRect.height*oldRect.width*4,oldRect.width,oldRect,newImage,newRect.width,newRect,,,,,);

Regards,


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>