openCV中convertTo的用法

轉自:https://blog.csdn.net/qq_22764813/article/details/52135686html convertTo的用法 src.convertTo(dst, type, scale, shift) img參數爲圖像數據來源,其類型爲Mat。 注意也不是全部格式的Mat型數據都能被使用保存爲圖片,目前OpenCV主要只支持單通道和3通道的圖像,而且此時要求其深度
相關文章
相關標籤/搜索