Alternate multiple channel Mat format

asked Oct 14 '13

Nicholas gravatar image

updated Oct 14 '13

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],...]
Preview: (hide)