數學型態學影像處理應用 Morphological Image Processing請撰寫一個程式,利用數學型態學影像處理運算 erode(), dilate()等函式,計算出所附圖像共三張每張圖像中圍棋個數。
a. 請在部落格呈現經由數學型態學影像處理運算後的圖像 ,同時要呈現你程式輸出棋子數量的螢幕截圖 。
b. 程式不一定可以算出正確棋子數量, 越接近正確答案越好
讀入範例圖
threadhold_inv成反二元圖
erode做侵蝕
findcounter去印出數量
5702

5703

5704

沒有留言:
張貼留言