python图像处理opencv cv.createimage怎么用

python图像处理opencv cv.createimage怎么用

计算机视觉 2022-04-06 浏览: 查看评论

Python: cv.CreateImage(size, depth, channels)  size – Image width and height depth – Bit depth of image elements channels – Number of channels per pixel 上面是opencv官方的文档,三个参数: 新建图像的长宽尺寸,像素数如:1920*1080 像素的位深,能够描述图像的色彩数量

[lianlun]1[/lianlun]