Home > other >  OpenCV mat for the split () channel segmentation, cause the program crash??
OpenCV mat for the split () channel segmentation, cause the program crash??

Time:04-09

OpenCV mat for the split () channel segmentation, cause the program crash??

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 Band1 (c);
The split (img1, band1);
  • Related