你可以使用numpy转换方法,因为OpenCV mat是一个numpy数组。 这有效: img8 = (img16/256).astype('uint8'). 答案1 :(得分 ...
確定! 回上一頁