2021年6月7日 星期一

s1071532 影像處理作業8

     

Binary Thresholding

把老師拍的課本照片二值化。


程式語言:Python 3.7.3 64-bit


開發環境:

  • Windows 10
  • Visual Studio Code
  • OpenCV 4.5.1
  • Scikit-image


實作方法與演算法:


把圖片用灰階的方式讀進來,經過 GuassianBlur,並使用 adaptive thresholding (local thresholding)。

 

原圖



Adaptive Thresholding




圖片來源:


    作業內附。


沒有留言:

張貼留言