Ask Your Question
1

Patches I would like to introduce - need advice

asked 2013-01-05 09:36:57 -0600

Kobi gravatar image

updated 2013-01-05 09:48:57 -0600

In order to use some externally supplied files, I wrote the following patches :
1. Ability to load TIFF with alpha channel (today the 4th channel is stripped).
2. JPEG with quality 100 will have chroma subsampling of 1x1 instead of current 2x2 (like photoshop uses).
3. Ability to load TIFF with JPEG compression (simply configure libtiff to include it and reference the corresponding libjpeg).

The problem is that 1 and 3 requires OpenCV to update libjpeg to the latest version (8).

Is it in the scope of something doable?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-06 03:37:32 -0600

I think it is possible. You can use some ifdefs for common case to support new functionality with the latest libjpeg only. You can fork OpenCV repository on Github, make changes and send poll request. It is the pest way to contribute to OpenCV now.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-05 09:36:57 -0600

Seen: 421 times

Last updated: Jan 06 '13