Ask Your Question

Revision history [back]

You could try to use split and merge: Split/Merge

split your image, call setTo(0) for your r channel and merge them again.

click to hide/show revision 2
No.2 Revision

updated 2016-08-20 06:23:28 -0600

berak gravatar image

You could try to use split and merge: Split/Merge

split your image, call setTo(0) for your r green channel and merge them again.