Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

JPEG-2000 Large Bitmaps Blow Up Decoder

franknatoli
New Contributor I
108 Views
Am attempting to decode 15000x15000 pixel satelllite images. JPEG-2000 decoder [v7.0.4] blows up in file uic_new.cpp function ArrAlloc when malloc fails but no test is made for NULL pointer.

Test for NULL will result in a gentler failure but still fail to decode. API is apparently attempting to allocate 504MB array TWICE. In a Win7 environment, 4GB machine, this is not successful.

Any possible work around? Thanks.

Additional information: using uic_transcoder_con.exe for above tests. Also created VS2010solution with all image-codecs projects, so that I could get a good debug compile and link and see where it's blowing up. Both fail in the same way.

Also tried "bcdedit /set increaseuserva 3072" which purports to increase user virtual memory from 2GB to 3GB but both programs still fail.

Apple Quick Time Picture Viewer has no problem displaying these enormous JP2 images.

Additional information: OPEN-JPEG blows up on these images as does Intel IPP.

But J2K-CODEC and its a_EasyDecode has no problem decoding and converting to BMP.
0 Kudos
1 Reply
Chao_Y_Intel
Employee
108 Views
Hi,

I tried with 64 bittranscoder application. It can works. For large image, which needs 2G memory,it can try the64bitcode.

Thanks,
Chao

Reply