Alternate multiple channel Mat format

asked 2013-10-13 22:43:27 -0500

Nicholas gravatar image

updated 2013-10-14 00:55:10 -0500

Moster gravatar image

Is there a form of cv::Mat that allows working with multiple channel images directly in channel banks? Instead of than having to merge the image channels to create one new 8UC3 and then split them again later.

By banks I mean:

[[b,b,b,...],[g,g,g,...],[r,r,r,...]]

Instead of:

[[b,g,r],[b,g,r],[b,g,r],...]
edit retag flag offensive close merge delete