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

Image resizing question

abraidwood
Beginner
508 Views
Hi,

I'm resizing large images (>10000x10000, rgb or cmyk) using the ippiResize functions.

Am I correct in thinking that the functions require a whole image to be loaded into memory? (not neseccarily a problem as memory is cheap)

Also, are there some sizes & scaling which work best? eg I know there are optimal ways of scaling to 50%, 33%, does the ippiResize also benefit at these scalings?

I've been musing about loading either a few scanlines at a time, or breaking the images into tiles - would a 10x10 set of 1024x1024 image tiles scale faster?

thanks,
Alistair
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
508 Views
Hi Alistair,
I recommend you to take a look on our sample which demonstrate how to work with tiled images, so you can breakhuge images into tiles and work with tiles. Please, download "w_ipp-sample-image_b_5.0.006.zip" file, you can find in this archive image-tiling sample
Regards,
Vladimir
0 Kudos
Reply