OpenCV中的cvCreateImage的参数channels()表示图像的通道数。
看opencv2refman.pdf 官方文档的解释吧!
channels – Number of channels per pixel. See IplImage for details. This function only
creates images with interleaved channels.
Number of channels. Most OpenCV functions support 1-4 channels.
本文详细介绍了OpenCV中cvCreateImage函数的channels参数,解释了该参数如何定义图像每个像素的通道数,并强调了大多数OpenCV函数支持1到4个通道的图像处理。
2714

被折叠的 条评论
为什么被折叠?



