ImWrite and ImwriteFlags: JPEG and JPEG2000

asked 2017-08-16 04:07:20 -0600

ttn gravatar image

Hi.

In documentation for OpenCV 3.2, I see no option to control JPEG2000 compression like quality (it is only for JPG in range 0..100).

Apparrently the file size decreases for JPG2000 files when using the JPG quality parameters (changing from 100 to 80).

Is quality 100 then lossless, and less than 100 lossy compression for JPG2000?

I need a little description of what compressions parameters to be able to set for JPG2000.

There are also more/new imwrite flags to set for JPG, of which I would like to know a little bit more about.

/Torben

edit retag flag offensive close merge delete

Comments

Sorry, after testing again, the file size do not change at all when setting JPG quality parameter for a JPG2000 file.

ttn gravatar imagettn ( 2017-08-16 04:57:27 -0600 )edit