Questions tagged [jpeg2000]

JPEG2000 is an image encoded format intended to supercede JPEG.

JPEG 2000 is an image compression standard and coding system. It was created by the Joint Photographic Experts Group committee in 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard (created in 1992) with a newly designed, wavelet-based method.

JPEG2000 is supported by Webkit based browsers (Safari, Chrome) on Mac OS X.

More information at Wikipedia page of JPEG2000

201 questions
3
votes
0 answers

Jpeg2000 encoding/decoding of byte array in Java

I am trying to encode/decode arbitrary raw data (a byte[]) to be able to read GRIB files which use JPEG2000 (https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp5-40.shtml) in Java using OpenJpeg library…
Jan Kubovy
  • 421
  • 5
  • 11
3
votes
2 answers

Pillow, OpenJPEG (for jpeg2000) and anaconda

I'm trying to save an image with JPEG2000 from pillow, but get the dreaded OSError: encoder jpeg2k not available. Now following the instructions in pillow's docs, I installed OpenJPEG. I tried both from conda-forge and following their installation…
Anarc
  • 53
  • 1
  • 6
3
votes
1 answer

How to specify little endian in Jasper JPEG2000

I am encoding raw byte to JPEG2000 using jasper library. The image produced is big endian whereas I need the output in little endian. How to specify the endianness in jasper? Here is the code snippet: EncodeAsJPEG2000(array ^inputImage,…
samnaction
  • 1,194
  • 1
  • 17
  • 45
3
votes
0 answers

extract XML metadata/column from jpeg2000 images using vbscript/VBA

I have routines that collect and analyze file/folder data in relation to database content--system has been in place and working well for many years. These routines use vbscript/AccessVBA to collect file information and prepare/load records to a SQL…
spudchick
  • 41
  • 2
3
votes
3 answers

How to read JPG2000 with Python?

I have read several JP2 (JPEG200) images with matplotlib and got numpy arrays with big numbers, exceeding 40000. Reading code: img_blue =mpimg.imread('B02.jp2') img_green =mpimg.imread('B03.jp2') img_red =mpimg.imread('B04.jp2') Data is: [[12290…
Dims
  • 47,675
  • 117
  • 331
  • 600
3
votes
3 answers

How do I install OpenJPEG on Windows and use it with Pillow?

I would like to use the Python Pillow library to save 16 bit gray scale arrays in the jp2 ("JPEG 2000") format. I have hit a brick wall in trying to install the required library OpenJPEG on my Windows machine. The documentation is not very clear...…
Trekkie
  • 964
  • 1
  • 9
  • 32
3
votes
1 answer

How to tell difference between JPEG and JPEG2000?

The question is: How can i tell two files apart? One coded with JPEG, another with JPEG2000. I need format-specific file read/write functions, i can't find file encoding without reading it. JPEG works fine right now, but JPEG func fails to open…
Alexandr Crit
  • 111
  • 1
  • 14
3
votes
0 answers

JPEG2000 Transparency with JasPer Library

I'm attempting to use JasPer JPEG2000 library to create transparent JPEG2000 images (actually I'm creating JPCs). The issue I'm having is that I can't figure out how to make JasPer create a transparency image. None of its supported formats support…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
3
votes
2 answers

Building ImageMagick with JP2 delegate on Mac OS X

I'm trying to install (build) ImageMagick (currently 6.9.0) on a Mac running OS X 10.9.5. I need the JP2 support, and for some reasons, while enabling jp2 with configure, I got this warning: configure: WARNING: unrecognized options: --with-jp2 and…
Adakite
  • 73
  • 1
  • 7
3
votes
4 answers

how to convert Bitmap Image to jpeg2000

There are images which are in Bitmap format i need to convert it to jpeg2000 form. can you please tel me steps included in this.how can images can be converted from bmp to jpeg2000. how can i do this thank you in advance
pdp
  • 609
  • 9
  • 22
3
votes
1 answer

opencv cannot load jp2 image files

I am using opencv 2.3.1 on Debian. The following code fails to load a given jpeg 2000 file. #include "opencv/cv.h" #include "opencv/highgui.h" #include #include int main() { IplImage* img_temp = cvLoadImage("delmeg.jp2",…
user193272
  • 984
  • 1
  • 12
  • 18
3
votes
4 answers

JPEG2000 & UIImage

i was comparing Jpeg2000 and Jpeg display speed using UIImage (UIImageView) and noticed that displaying Jpeg2000 is pretty slow compared to Jpeg. Is this expected and are there and ways to speed it up? Thanks, -r
Reneli
  • 1,756
  • 2
  • 16
  • 26
2
votes
2 answers

Handle 150GB .jp2 image

I downloaded a 150GB satellite .jp2 image, of which I only want a small section at a time. How would I go about tiling the image in manageable chunks? Just extracting a part of the image would also be enough. As I'm only somewhat familiar with…
Edigorin
  • 21
  • 2
2
votes
1 answer

Converting JPEG 2000 to JPEG

How do I convert JPEG 2000 to JPEG in Java? I have a biometric system that gets a fingerprint and and the user's ID number and the send it through the web service to verify the user. If a user has been verified I get back an Image in the form of a…
crocky
  • 101
  • 1
  • 2
  • 3
2
votes
2 answers

Slow performance cropping large JPEG2000 images with ImageMagick/Jasper

I have a 4000x3000, 3.7MB JPEG2000 file that I'm trying to process into cropped tiles. I do this with a command like: convert 486.jp2 -crop 256x256+0+0 -format jpg 486_crop.jpg This command takes 5 seconds to run on a current-model Mac Pro.…
alexantd
  • 3,543
  • 3
  • 27
  • 41
1 2
3
13 14