Closed GoogleCodeExporter closed 9 years ago
A few comments:
*I can reproduce the issue with lossy
*I can reproduce the issue with crash (remove -b 16,16 from command line)
Even if the left side of image is black, the right side of the image is simply
junk. I do not believe openjpeg 1.5.0 does cope with your image.
Original comment by mathieu.malaterre
on 21 May 2012 at 10:27
Here is the correct (lossless) result using:
$ kdu_compress -i 2.rawl -o 2.j2k Sprecision=16 Ssigned=no Sdims="{2816,2048}"
Creversible=yes
Please note that Y and X are inverted in openjpeg vs kakadu notation
Original comment by mathieu.malaterre
on 21 May 2012 at 10:32
Attachments:
Ok I see what is going on. Your .raw is little endian. while .raw for openjpeg
(and kakadu signify big endian)
$ dd conv=swab if=2.raw of=2.rawl
looks much better !
Original comment by mathieu.malaterre
on 21 May 2012 at 3:43
This issue was updated by revision r1691.
Original comment by mathieu.malaterre
on 29 May 2012 at 9:30
This is generating correct data:
$ image_to_j2k -i 2.rawl -o 2.j2k -F 2048,2816,1,16,u
this is not (data look trashed):
$ image_to_j2k -i 2.rawl -o 2.j2k -F 2048,2816,1,16,u -I
I am using the new rawl module to use your data untouched
Original comment by mathieu.malaterre
on 29 May 2012 at 9:44
Original comment by mathieu.malaterre
on 29 May 2012 at 1:14
Original comment by mathieu.malaterre
on 29 May 2012 at 1:15
Original comment by mathieu.malaterre
on 29 May 2012 at 3:41
Original comment by mathieu.malaterre
on 25 Feb 2014 at 4:05
This issue was updated by revision r2482.
Original comment by mathieu.malaterre
on 26 Feb 2014 at 3:20
This issue was updated by revision r2483.
Original comment by mathieu.malaterre
on 26 Feb 2014 at 3:21
If I used the attached patch, valgrind seems happy now, and no stack trashing
occurs. However the generated image is very very weird.
Original comment by mathieu.malaterre
on 4 Mar 2014 at 5:09
Attachments:
Original comment by mathieu.malaterre
on 14 Mar 2014 at 2:05
Original comment by mathieu.malaterre
on 25 Mar 2014 at 10:38
This issue was updated by revision r2966.
Original comment by m.darb...@gmail.com
on 20 Dec 2014 at 1:02
This issue was closed by revision r2967.
Original comment by m.darb...@gmail.com
on 20 Dec 2014 at 1:03
Original issue reported on code.google.com by
mm7...@googlemail.com
on 29 Mar 2012 at 8:52Attachments: