[OpenJPEG] JPEG 2000 viewer for Linux?

1,982 views
Skip to first unread message

Gary Geissinger

unread,
Feb 9, 2015, 1:19:58 PM2/9/15
to open...@googlegroups.com
Gentlemen,

Is there a good general purpose JPEG 2000 viewer than runs well in UBUNTU and SUSE that I can download from somewhere?

I see some out there for the original JPEG, but not for J2K.

Thank You!

Gary

Gary A. Geissinger
Chief Electrical Engineer, Sr. Director, Technical Fellow
DigitalGlobe Incorporated
1601 Dry Creek Drive, STE 260
Longmont, CO 80503
(303) 684-4026 (desk)
(303) 435-7927 (cell)
(303) 684-4048 (FAX
ggeis...@digitalglobe.com
“An Image and Information Company”
See: www.digitalglobe.com

-----Original Message-----
From: open...@googlegroups.com [mailto:open...@googlegroups.com] On Behalf Of Antonin Descampe
Sent: Tuesday, January 20, 2015 10:44 AM
To: open...@googlegroups.com
Subject: RE: [OpenJPEG] off by one bug maybe...

Hi,

If we follow the notations from 15444-1, for given (x0, y0) and (x1, y1) corners, the image area is between (x0, y0) and (x1-1, y1-1), and width = x1-x0 and height = y1-y0.

I guess this is the convention that has been followed here. I agree however that the documentation of the opj_set_decode_area should at least be updated. Could you fill an issue with this ?

Cheers,

Antonin

> -----Message d'origine-----
> De : open...@googlegroups.com [mailto:open...@googlegroups.com]
> De la part de David Burken
> Envoyé : 07 January 2015 21:45
> À : open...@googlegroups.com
> Objet : [OpenJPEG] off by one bug maybe...
>
> Hi,
>
> It seems like this is an "off by one bug" in opj_j2k_set_decode_area
> (openjp2/j2k.c):
>
> I'm calling:
>
> opj_set_decode_area(codec, image, rect.ul().x,
> rect.ul().y,rect.lr().x,
> rect.lr().y)
>
> Where start_x, start_y, stop_x, stop_y = ( 4000, 4000, 4255, 4255 ).
>
> Getting result (snip):
> opj_image:
>
> x0: 4000
> y0: 4000
> x1: 4255
> y1: 4255
> numcomps: 3
> color_space: 1
>
> comps[0]:
> opj_image_comp:
>
> dx: 1
> dy: 1
> w: 255
> h: 255
> x0: 4000
> y0: 4000
> prec: 8
> bpp: 0
> sgnd: 0
> resno_decoded: 12
> factor: 0
>
> I would expect "w = stop - start + 1" or 256.
>
> Am I missing something?
>
> Thanks,
> Dave
>
>
>
> --
> You are subscribed to the mailing-list of the OpenJPEG project
> (www.openjpeg.org) To post: email to open...@googlegroups.com To
> unsubscribe: email to openjpeg+u...@googlegroups.com
> For more options: visit http://groups.google.com/group/openjpeg
> OpenJPEG is mainly supported by :
> * UCL Image and Signal Processing Group
> (http://sites.uclouvain.be/ispgroup)
> * IntoPIX (www.intopix.com)

--
You are subscribed to the mailing-list of the OpenJPEG project (www.openjpeg.org) To post: email to open...@googlegroups.com To unsubscribe: email to openjpeg+u...@googlegroups.com
For more options: visit http://groups.google.com/group/openjpeg
OpenJPEG is mainly supported by :
* UCL Image and Signal Processing Group (http://sites.uclouvain.be/ispgroup)
* IntoPIX (www.intopix.com)

Matthew Woehlke

unread,
Feb 9, 2015, 2:50:06 PM2/9/15
to open...@googlegroups.com
On 2015-02-09 13:19, Gary Geissinger wrote:
> Is there a good general purpose JPEG 2000 viewer than runs well in UBUNTU and SUSE that I can download from somewhere?
>
> I see some out there for the original JPEG, but not for J2K.

IIRC, Gwenview can handle J2K, but unless you already use KDE that might
be a bit much to install. (Note that it is likely not Gwenview itself
that understands J2K but whatever KDE uses for image format support.)

My gimp claims to support J2K. If you're looking mostly at really big
images, that might be better than a generic image viewer.

--
Matthew

David Burken

unread,
Feb 9, 2015, 2:53:59 PM2/9/15
to open...@googlegroups.com
Hi Gary,

ossim-geocell is a nice viewer but we don't have binaries for UBUNTU.  I do have rpms for CentOS 6.x and 7.x.  Runs on linux, windows, mac. It has 2D, 2 1/2 D, 3D viewer.  It can ortho Digital Globe data on the fly.  There are 3 ways to pick up j2k support in geocell.   ossim-gdal plugin(with OpenJPEG or Kakadu) support compiled in. ossim-OpenJPEG plugin( still coding as we speak), ossim-kakadu plugin.

I hate to say it but the Kakadu plugin is still the fastest:-( It also has the NITF(j2k block) reader.

Here's a doc on geocell:

http://download.osgeo.org/ossim/docs/pdfs/OSSIMGeoCell__User_Manual__1.8.18-1.pdf

Let me know if you want more info...

Take care,
Dave

Mathieu Malaterre

unread,
Feb 9, 2015, 2:54:33 PM2/9/15
to openjpeg
On Mon, Feb 9, 2015 at 7:19 PM, Gary Geissinger
<ggeis...@digitalglobe.com> wrote:
> Gentlemen,
>
> Is there a good general purpose JPEG 2000 viewer than runs well in UBUNTU and SUSE that I can download from somewhere?

kdu_show[*] works nicely using `wine` on Debian.

[*] http://kakadusoftware.com/
Reply all
Reply to author
Forward
0 new messages