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

resize crash for large iamge

danielwang1971
Beginner
429 Views

Hello,
I have trouble for ippiResizeSqrPixel:

Source Image size : 6576 X 2192 Mono 8 bit

Destination image : 40768X13589

The image size : ippiResizeSqrPixel_8u_C1R crashed no error.

I also try  ippiResizeSqrPixel_8u_AC4R with BGRA image  crash when Destination image image size is 11836X2945

Do you have any idea?

Thanks.

 

0 Kudos
5 Replies
SergeyKostrov
Valued Contributor II
429 Views
>>Source Image size : 6576 X 2192 Mono 8 bit >> >>Destination image : 40768 X 13589 For the destination image: 40768 * 13589 = 553,996,352 bytes ( ~528MB ) and it is well below a 2GB limit of a Windows 32-bit platform but it could exceed (!) some internal limits of IPP and I'll do a verification. Did you get that crash on a 32-bit or 64-bit platform?
0 Kudos
SergeyKostrov
Valued Contributor II
429 Views
>>Do you have any idea? So far I can not suggest anything. >>... it could exceed (!) some internal limits of IPP and I'll do a verification... A test-case I have shows that a limit for an image is 34207 x 34207 ( ~1.089GB ) and more technical details are needed ( what about a test-case? ). Best regards, Sergey
0 Kudos
SergeyKostrov
Valued Contributor II
429 Views
>>40768 * 13589 = 553,996,352 bytes ( ~528MB ) >> >>and it is well below a 2GB limit of a Windows 32-bit platform but it could exceed (!) some internal limits of IPP and I'll do a verification. >> >>Did you get that crash on a 32-bit or 64-bit platform? Could you verify Virtual Memory settings on your platform? What your current settings are?
0 Kudos
danielwang1971
Beginner
429 Views
Thanks. I find problem. You are right. The problem is image buffer over 2GB. It's fail to allocate over 2 GB buffer. Thanks again.
0 Kudos
SergeyKostrov
Valued Contributor II
429 Views
>>Thanks. I find problem. >> >>You are right. The problem is image buffer over 2GB. It's fail to allocate over 2 GB buffer. Please take into account that even on a 64-bit platform there are some image size limitations for IPP.
0 Kudos
Reply