alpha channel support for 8-bit tiffs (Patch #2791)


Added by Kobi Gurkan about 12 years ago. Updated about 12 years ago.


Status:Done Start date:2013-02-10
Priority:Normal Due date:
Assignee:Kobi Gurkan % Done:

100%

Category:highgui-images
Target version:3.0
Affected version:2.4.3 Operating System:
Difficulty: HW Platform:
Pull request:https://github.com/Itseez/opencv/pull/462

Description

This patch introduces alpha channel support for 8-bit tiffs.
It does that by using the appropriate macro when the image loader module requests for a 4 channel image.
It honors the request of the image loader to load only 3 channels and loads 4 channels only if imread is invoked with flags < 0, same as the patch for PNG some years ago.


History

Updated by Kobi Gurkan about 12 years ago

Didn't know how to point to my pull request, which is #462.
What is the correct way?

Updated by Kirill Kornyakov about 12 years ago

Added a link to pull request: https://github.com/Itseez/opencv/pull/462. Let's continue discussion at the GitHub. I would like to see a test that controls the correctness of the proposed code...

  • Pull request set to https://github.com/Itseez/opencv/pull/462

Updated by Andrey Kamaev about 12 years ago

  • Target version changed from 2.4.4 to 2.4.5

Updated by Andrey Kamaev about 12 years ago

Fix is pushed to master.

  • Status changed from Open to Done
  • Target version changed from 2.4.5 to 3.0

Also available in: Atom PDF