CodePudding user response:
Possible version of the problem, of course before the shard, had better use channels () to determine a good mat on the number of channels,Int c=img1. Channels ();
Vector
The split (img1, band1);
CodePudding user response:
Possible version of the problem, of course before the shard, had better use channels () to determine a good mat on the number of channels,