VideoWriter swithes red and blue channels when reciving RGB images (Bug #2638)
Description
Hi,
VideoWriter can receive RGB images but then the red and blue channels are switched. If VideoWriter receives a BGR image it writes it correctly.
Tested on version 2.4.3
Gilad.
Associated revisions
Merge pull request #2638 from mlyashko:floodfill_perftest
History
Updated by Andrey Pavlenko about 12 years ago
The VideoWriter
doesn't have info on the color channels order in the provided frames and assumes the conventional for the platform order (that is 'BGR' for Windows and Linux). So if I understand your description correctly this is not a bug but expected behavior.
Please re-open the issue if you meant something other that looks unnatural.
- Status changed from Open to Cancelled
- Assignee set to Gilad Kapelushnik
- Start date deleted (
2012-12-17)
Updated by Gilad Kapelushnik about 12 years ago
This is the case.
I think a proper description of this in the documentation would help.
Updated by Andrey Kamaev about 12 years ago
- Target version set to 2.4.4