Reputation: 752
I want to get Red,Blue and Green component image from an RGB image in opencv 2.3.I am using vc++ 2010.
Can anybody tell how to do this?
Upvotes: 0
Views: 526
Reputation: 20058
use the split() function.
split()
For the reverse operation, use merge();
merge()
Upvotes: 1