dawnminghuang / openjpeg

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

Improve support for region of interest #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be very useful to be able to specify a rectangular region of interest 
to be extracted when using j2k_to_image. This is especially useful when working 
with very large images where only small portions of the images are needed.

Original issue reported on code.google.com by keith.hu...@gmail.com on 15 Sep 2010 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 29 May 2012 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 25 Feb 2014 at 2:20

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
$ opj_decompress -h
[...]
  -d <x0,y0,x1,y1>
    OPTIONAL
    Decoding area
    By default all the image is decoded.

Original comment by mathieu.malaterre on 4 Mar 2014 at 2:50

GoogleCodeExporter commented 9 years ago
The decode area didn't take into account the case where the file is not tiled.
In this case all the image is decoded and only the decoded area is written in 
the output file.

Original comment by savmick...@gmail.com on 6 Mar 2014 at 11:39

GoogleCodeExporter commented 9 years ago
Reformulating OP request. OpenJPEG should provide a low level functionality to 
decode only portion of the image based on precinct (case image is single tiled 
for example). Until issue 94 is solved, this cannot be fixed.

Original comment by mathieu.malaterre on 6 Mar 2014 at 11:50