joetrotta / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Maximum bit depth supported by the OpenJPEG implementation of JP3D #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://groups.google.com/group/openjpeg/browse_thread/thread/f1d6068fd5dd5058

Hello,

Could some one shed light on the maximum bit depth supported by the
OpenJPEG implementation of JP3D ?

I've been able to successfully compress SHORT and CHAR images.

However INT images (even those with a bpp <= 31) (I've tried 30 and
31) seem to segfault. FLOAT  segfaults as well.

Thanks
-- 
karthik

------------------
Here is the stacktrace:

Program received signal SIGSEGV, Segmentation fault.
0x00002b7c8165e9ff in t1_encode_cblks (t1=0x2b7cd5e98010,
tile=0x60b710, tcp=0x60a2c0)
    at /home/karthik/OpenJPEG/src/trunk/jp3d/libjp3dvm/t1.c:1008
1008                                            t1->data[k][j][i] =
(gdb) bt
#0  0x00002b7c8165e9ff in t1_encode_cblks (t1=0x2b7cd5e98010,
tile=0x60b710, tcp=0x60a2c0)
    at /home/karthik/OpenJPEG/src/trunk/jp3d/libjp3dvm/t1.c:1008
#1  0x00002b7c8166fffa in tcd_encode_tile (tcd=0x60b680, tileno=0,
dest=0x2b7c9a39c087 "", len=398458759,
    volume_info=0x60a200) at /home/karthik/OpenJPEG/src/trunk/jp3d/
libjp3dvm/tcd.c:1513
#2  0x00002b7c81652399 in j3d_write_sod (j3d=0x60a0e0,
tile_coder=0x60b680)
    at /home/karthik/OpenJPEG/src/trunk/jp3d/libjp3dvm/jp3d.c:1409
#3  0x00002b7c81655eb8 in j3d_encode (j3d=0x60a0e0, cio=0x60b300,
volume=0x60a010,
    index=0x7fff29683b70 "/home/karthik/Data/JPEG2000/JP3D/Cardiac/Int/
Compressed/Cardiac-INT-LE.Idx")
    at /home/karthik/OpenJPEG/src/trunk/jp3d/libjp3dvm/jp3d.c:2303
#4  0x00002b7c81657d4c in opj_encode (cinfo=0x60a0b0, cio=0x60b300,
volume=0x60a010,
    index=0x7fff29683b70 "/home/karthik/Data/JPEG2000/JP3D/Cardiac/Int/
Compressed/Cardiac-INT-LE.Idx")
    at /home/karthik/OpenJPEG/src/trunk/jp3d/libjp3dvm/openjpeg.c:200
#5  0x0000000000403dd3 in main (argc=11, argv=0x7fff29683dc8)
    at /home/karthik/OpenJPEG/src/trunk/jp3d/codec/volume_to_jp3d.c:
861 

Original issue reported on code.google.com by mathieu.malaterre on 7 Oct 2009 at 8:45

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 24 Feb 2014 at 5:12

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 25 Feb 2014 at 3:23

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 25 Feb 2014 at 3:42