Skip to content

incorrect encoding or decoding result #493

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1.opj_compress  -i ocean3.tif -o ocean3.jp2 -q 40,40,40 -n 11
2.opj_decompress -i ocean3.jp2 -o out.tif
3.use any image viewer to view out.tif. 

What is the expected output? What do you see instead?
out.tif should be very close to image ocean3.tif, but it looks very different 
instead. 

What version of the product are you using? On what operating system?
I am using openjpeg 2.1 on linux  2.6.39-400.211.1.el6uek.x86_64.  

Please provide any additional information below.
I think the key point is parameter "-n 11". If the number of resolution is 10 
or less, the result looks ok. If the number of resolution is great or equal to 
10, the result is not good. 

Note: the attached file is ocean3.jpg because ocean3.tif is larger than 10M. 
Please first uncompress ocean3.jpg to ocean3.tif to run the test case. 


Original issue reported on code.google.com by fec...@gmail.com on 19 May 2015 at 6:45

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions