-1: error: (-5:Bad argument) in function ‘imwrite‘如何解决

cv2.error: OpenCV(4.5.4) :-1: error: (-5:Bad argument) in function 'imwrite'
> Overload resolution failed:
>  - img data type = 19 is not supported
>  - Expected Ptr for argument 'img'

想把远高于灰度值得光强值直接转换为图片有什么方法

你可能感兴趣的:(opencv,计算机视觉,python,windows)