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

Image center for ippiResizeSqrPixel_32f_C1R

kangscut
Beginner
300 Views

When use ippiResizeSqrPixel_32f_C1R, what's the image centerdoes it take?

e.g. Foraimage 512*512. Which image center does it take?(index start from 0)

1) The exact center : x = (512-1)/2 = 255.5 , y= (512-1)/2 = 255.5

2)x=(512/2)-1=255, y=(512/2)-1 = 255

3) x=(512/2)+1=256, y=(512/2)+1=256.

In which documentIcanfind the related information? Thank you very much.

0 Kudos
1 Reply
Naveen_G_Intel
Employee
300 Views

Hi,

Refer to this example, how you have to calculate parameters for ippiResizeSqrPixel_32f_C1R for 12x12 image.

http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch12/functn_ResizeSqrPixel.html

Regards,

Naveen Gv

0 Kudos
Reply