Ask Your Question
0

Is there a way to perform JPEG-LS compression in OpenCV?

asked 2013-02-21 11:50:16 -0600

kalyanramu gravatar image

Hi all,

I was some data which I acquired using TIFF files. I was wondering if there is a way to perform JPEG-LS compression and save them to file.

Thanks, Kalyan

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-02-21 12:04:12 -0600

OpenCV uses libjpeg as jpeg writing back-end. As I know libjpeg does not support JPEG-LS, because it is not free. Use png format for saving loose-less images.

edit flag offensive delete link more

Comments

Thanks for quick response. I appreciate it. Can you please refer me to document which explains about the compression formats are supported by OpenCV?

kalyanramu gravatar imagekalyanramu ( 2013-02-21 12:37:02 -0600 )edit
0

answered 2013-02-22 00:15:41 -0600

The most common information about images i/o you can find in official documentation for imread and imwrite function. If you need more information you need to investigate libjpeg, libpng, libtiff, etc documentation and source code of OpenCV highgui module.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-21 11:50:16 -0600

Seen: 725 times

Last updated: Feb 22 '13