当我尝试更改感兴趣的图像通道 (setImageCOI) 时,Python 给了我这个错误:
im = cv2.imread('image.jpg')
cv2.setImageCOI(im, 1)
AttributeError: 'module' object has no attribute 'setImageCOI'
http://opencv.willowgarage.com/documentation/python/operations_on_arrays.html
我是否需要专门安装允许对阵列进行操作的模块?