afaik..

the jdk jp2 readers (we only use the newer Imagio one) are very basic and 
unmaintained.

the ecw one is quite old and native, only for x86.

the gdal ones are based on different libraries and should be preferred, albeit 
being native as well. gdal supports reading JP2 via several libraries 
  http://www.gdal.org/frmt_jpeg2000.html
. some of which are contained in the published builds (afair ECW and OpenJPEG, 
not sure why the free Jasper is missing). the others might be added by 
providing the necessary libraries.
we have gdal builds for OJ from 2014 laying on sf.net
  https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Drivers/

Jukka: i see GDAL 2.00 is out. should we update OJ GDAL support accordingly?

the GDAL ECW JP2 driver seems to work with these images of yours.

..ede

On 02.10.2016 19:03, Rahkonen Jukka (MML) wrote:
> That sounds very promising. Going through GDAL or img-ext is rather 
> complicated. Also Java viewer for JPIP would be great, even there may not be 
> many open JPIP servers.
> 
> 
> -Jukka Rahkonen-
> 
> 
> *Lähettäjä:* Giuseppe Aruta <giuseppe.ar...@gmail.com>
> *Lähetetty:* 2. lokakuuta 2016 19:56
> *Vastaanottaja:* OpenJump develop and use
> *Aihe:* Re: [JPP-Devel] jp2 driver
>  
> According to this page:
> https://github.com/uclouvain/openjpeg
> there must be a java wrapper
> 
> 2016-10-02 18:51 GMT+02:00 Rahkonen Jukka (MML) 
> <jukka.rahko...@maanmittauslaitos.fi 
> <mailto:jukka.rahko...@maanmittauslaitos.fi>>:
> 
>     Hi,
> 
> 
>     OpenJPEG is open source and it works quite nice with tiled JPEG2000 
> images. Inspire images are such as well as NITF images so they are not 
> uncommon at all. As a free alternative it would be fine. I am not sure how 
> easy it would be to use from Java, on all platforms.
> 
> 
>     -Jukka-
> 
>     
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>     **Michaël Michaud wrote:
>      
> 
>     Hi
> 
> 
>     Thanks for clarification.
> 
>     Do you think that OpenJPEG would be a good alternative to ER-Mapper one 
> for OpenJUMP ?
> 
>     Just curious as this is not my area of expertise.
> 
> 
>     Michaël
> 
> 
>     Le 02/10/2016 à 13:43, Rahkonen Jukka (MML) a écrit :
>>
>>     Hi,
>>
>>
>>     There are millions different ways to organize the JPEG2000 code stream 
>> when it is written and that affects the reading side as well.
>>
>>     Most important for OpenJPEG is that it must load a whole tile before it 
>> can process it. More clever drivers can handle tile parts by utilizing a 
>> systems called "precincts" but for OpenJPEG any bigger images should be 
>> written as tiled. Your sample images are written with Kakadu 6.4 SDK and 
>> with only one big tile. The option to use with Kakadu is Stiles.  Tiled 
>> JPEG2000 is also required for Inspire compliant images. GDAL OpenJPEG driver 
>> has a special Inspire profile for writing Inspire compliant output.
>>
>>
>>     -Jukka Rahkonen-
>>
>>
>>     
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>     *Lähettäjä:* Michaël Michaud <m.michael.mich...@orange.fr> 
>> <mailto:m.michael.mich...@orange.fr>
>>     *Lähetetty:* 1. lokakuuta 2016 23:19
>>     *Vastaanottaja:* jump-pilot-devel@lists.sourceforge.net 
>> <mailto:jump-pilot-devel@lists.sourceforge.net>
>>     *Aihe:* Re: [JPP-Devel] jp2 driver
>>      
>>
>>     Hi Jukka,
>>
>>
>>     Thanks for the reminder.
>>
>>     I remembered ecw was usable on 32bits jvm only, but I did not remember 
>> for jp2000.
>>
>>     What do you mean by OpenJPEG is good but the JPEG2000 file must have 
>> suitable "creation time" settings.
>>
>>
>>     Michaël
>>
>>
>>     Le 01/10/2016 à 19:20, Rahkonen Jukka (MML) a écrit :
>>>
>>>     Hi,
>>>
>>>
>>>     Without really testing, I guess that those images would work great 
>>> through ECW/JP2 driver and binaries. This comment is in 
>>> lib\native\ecw,jp2_support.txt.
>>>
>>>
>>>     "ECW/JP2 support is realized via native libraries compiled from the ECW 
>>> SDK 3.3 .
>>>     As these have to be compiled for every platform the support is limited 
>>> to
>>>     platforms where the libraries are available.
>>>     Currently included in OJ PLUS is support for the following combinations
>>>
>>>     Linux (32bit/64bit) with Java (32bit/64bit)
>>>     MacOSX with Java (32bit)
>>>     Windows (XP - 8.1 [32bit/64bit]) with Java (32bit)
>>>
>>>     NOTE: 64bit Java is currently _not_ supported on MacOSX and Windows."
>>>
>>>
>>>     Generally, ECW/JPEG2000 by a company ER-Mapper/ERDAS/Hexagon, Kakadu by 
>>> Kakadusoftware and MrSID/JPEG2000 by Lizardtech are good, non-free drivers. 
>>> OpenJPEG is good too in the recent version but the JPEG2000 file must have 
>>> suitable creation time settings.  Jasper driver is useless, and OpenJPEG 
>>> can eat memory if big JPEG2000 is written as one tile.
>>>
>>>
>>>     If you can get the native ECW/JP2 to work in your system you should be 
>>> happy.
>>>
>>>
>>>     -Jukka Rahkonen-
>>>
>>>
>>>
>>>
>>>
>>>     
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>     *Lähettäjä:* Giuseppe Aruta <giuseppe.ar...@gmail.com> 
>>> <mailto:giuseppe.ar...@gmail.com>
>>>     *Lähetetty:* 1. lokakuuta 2016 19:13
>>>     *Vastaanottaja:* OpenJump develop and use
>>>     *Aihe:* Re: [JPP-Devel] jp2 driver
>>>      
>>>     Note that I added Jp2 reader to rasterImageLayer framework.
>>>     I tried with it too. The problems are the same and regarding 974, it 
>>> runs out of memory (java.lang.OutOfMemoryError: Java heap space)
>>>
>>>     2016-10-01 18:09 GMT+02:00 Giuseppe Aruta <giuseppe.ar...@gmail.com 
>>> <mailto:giuseppe.ar...@gmail.com>>:
>>>
>>>         Hi Michael,
>>>         I did the tests on your files and had the same output. OJ uses JAI 
>>> to read jp2, eventually gdal if libs are installed into "native" folder.
>>>         I've never tried gdal: it might works as QGIS uses it
>>>         Peppe
>>>
>>>         2016-10-01 10:41 GMT+02:00 Michaël Michaud 
>>> <m.michael.mich...@orange.fr <mailto:m.michael.mich...@orange.fr>>:
>>>
>>>             Hi jumpers,
>>>
>>>             I've problems with image driver which does not read jp2 files 
>>> correctly
>>>
>>>             I put some images here :
>>>             
>>> https://www.dropbox.com/sh/02kbw1biy6els4c/AADEcYAkuq6XW5czz00ONj1La?dl=0 
>>> <https://www.dropbox.com/sh/02kbw1biy6els4c/AADEcYAkuq6XW5czz00ONj1La?dl=0>
>>>
>>>             - Image "test" found on the cloud is read correctly by OpenJUMP0
>>>
>>>             - Image 44* are read by OpenJUMP but with a very poor 
>>> resolution (and
>>>             without referencing). It is read correctly by QGis
>>>
>>>             - Image 974* freeze the application (QGis can read it)
>>>
>>>             What are your experience with jp2 ? Someone to investigate ?
>>>
>>>             Michaël
>>>
>>>
>>>             
>>> ------------------------------------------------------------------------------
>>>             Check out the vibrant tech community on one of the world's most
>>>             engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>>             _______________________________________________
>>>             Jump-pilot-devel mailing list
>>>             Jump-pilot-devel@lists.sourceforge.net 
>>> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>>             https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
>>> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>>>
>>>
>>>
>>>
>>>
>>>     
>>> ------------------------------------------------------------------------------
>>>     Check out the vibrant tech community on one of the world's most 
>>>     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>>
>>>
>>>     _______________________________________________
>>>     Jump-pilot-devel mailing list
>>>     Jump-pilot-devel@lists.sourceforge.net 
>>> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
>>> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>>
>>
>>
>>     
>> ------------------------------------------------------------------------------
>>     Check out the vibrant tech community on one of the world's most 
>>     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>
>>
>>     _______________________________________________
>>     Jump-pilot-devel mailing list
>>     Jump-pilot-devel@lists.sourceforge.net 
>> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
>> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> 
> 
>     
> ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Jump-pilot-devel mailing list
>     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to