1 | initial version |
You could try to use split and merge: Split/Merge
split your image, call setTo(0) for your r channel and merge them again.
2 | No.2 Revision |
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.