noobdoesre / openjpeg

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

openjpeg trunk fails to decode a sample image from Pleiade products with "Psot value (12) is not correct regards to the JPEG2000 norm!" error msg #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the 
ORTHO_UTM_PMS/IMG_PHR1A_PMS_001/IMG_PHR1A_PMS_201202250025599_ORT_IPU_20120504_1
772-001_R1C1.JP2 sample image from 
http://www.astrium-geo.com/en/23-sample-imagery : Optical Imagery / Pléiades / 
Pléiades Pan-sharpened ORTHO
2. $ .j2k_to_image -i 
~/gdal/data/jpeg2000/ORTHO_UTM_PMS/IMG_PHR1A_PMS_001/IMG_PHR1A_PMS_2012022500255
99_ORT_IPU_20120504_1772-001_R1C1.JP2 -o image.pgm

What is the expected output? What do you see instead?

Should work, instead of that, the output is:
[INFO] Start to read j2k main header (2074).
[INFO] Main header has been correctly decoded.
[INFO] No decoded area parameters, set the decoded area to the whole image
[ERROR] Psot value (12) is not correct regards to the JPEG2000 norm!
[ERROR] Fail to read the current marker segment (0xff90)
[ERROR] Failed to decode the codestream in the JP2 file
ERROR -> j2k_to_image: failed to decode image!

Kakadu manages to decode it

What version of the product are you using? On what operating system?
trunk r1851, Linux 64 bit

Original issue reported on code.google.com by even.rou...@gmail.com on 15 Aug 2012 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by savmick...@gmail.com on 16 Oct 2012 at 3:23

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2195.

Original comment by savmick...@gmail.com on 13 Nov 2012 at 11:19