Ask Your Question

Revision history [back]

TL;DR - Lossless.

OpenCV uses libjasper to implement JPEG 2000 encoding and decoding, and uses the defaults which is the 'Integer' mode (lossless). OpenCV does not pass any options to the Jasper encoding library other than 'JP2', which specifies the full JPEG 2000 container format, as opposed to 'JPC' which is the codestream format.