Hi,

I had a test with OpenJUMP-snapshot20110920-r2420-bin.zip on Windows Vista 
32-bit and Windows XP Pro 32-bit and jre 1.6.0_27.

Test 1.
GeoJP2 (.jp2) images created with Kakadu kdu_compress. Original images have 
been geotiffs and in this case kdu_compress is creating a GeoJP2 file with 
included georeferencing info.
Result: 1-channel (black and white) and 3-channel images (RGB) are shown fine.

Test 2.
JPEG2000 images created with ER Mapper Image Compressor 7.2 from georeferenced 
images (tiff files with tfw).
Result: OK

Test 3.
Non-georeferenced .jp2 files created with Kakadu and ER Mapper Image Compressor.
Result: OpenJUMP seems to open the images (no error messager) but it does not 
show them. Having a world file does not change the situation. I tried 
worldfiles with the .j2w ectensions as well as .tfw with the same result - 
image is not shown.

Test 4.
I tried to convert on 3-channel 12000x12000 pixel image into .jp2 with 
Geojasper (tif2jp2.bat). Procedure took very long and ended to program 
termination with some system error message "memory can not be read". It may be 
some hardware problem but first try with Geojasper was not very inspirating.

Test 5.

FWTools 2.4.7 from http://fwtools.maptools.org comes with JP2ECW driver that 
can write out JPEG2000 files.
I converted a test image (tiff+tfw) into .jp2 as 
gdal_translate -of JP2ECW test.tif JP2ECW_test.jp2
Result: OpenJUMP opens and shows the image with georeferencing.

Note: This FWTools version writes also ECW and it is so old that the ECW 
license at that time allowed converting source images which are less than 500 
GB in size into ECW. I am remenbering that ER Mapper had a free Image 
Compressor 2.x with the same size limit. I would recommend downloading FWTools 
2.4.7 as long as it is available and keep it in a safe place for future needs.

Test 6.
OJ opens multi-channel .jp2 images (7 and 8 channel Landsat scenes) created 
with Kakadu. Georeferencing is OK but the result is not usable because it is 
not possible to select bands for viewing. One channel for grayscale or three 
channels for RGB would make sense but not a grayscale presentation of all the 7 
channels in a pile.

Test 7.
Simple .jpx and .jpf files can be used but not the more exotic variants. I 
believe that these must also contain the internal georeferencing info but I am 
not sure. It is also a long time since I have played with JPEG2000 and I do not 
even remember for what these variants are usable.

Test 8.
Unwrapped JPEG2000 code streams (.j2c, .j2k) cannot be viewed. Probably because 
they are naturally lacking the georeferencing info.

Conclusion:
OpenJUMP can show typical JP2 compatible 1-channel and 3-channel JPEG2000 
images if they include the georeferencing information internally (GeoJP2). Such 
images can be created from geotiffs with Kakadu kdu_compress utility which is 
free for personal use. Old versions of gdal_translate can be used for creating 
OpenJUMP compatible .jp2 images with JP2ECW driver up to 500 GB input file size.
Unfortunately OpenJUMP does not show at all images without georeferencing or 
which have only .j2w world file for georeferencing. And unfortunately the free 
Geojasper tool failed in my test.

-Jukka Rahkonen-

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to