Skip to content

Commit 6e0b3c5

Browse files
committed
Add content to 2020-02-29-Image-Processing.md
1 parent 3353e41 commit 6e0b3c5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

_posts/2020-02-29-Image-Processing.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,24 @@ categories: [ImageProcessing]
6868

6969
5. 辨識與解讀(recognition and interpretation):給予物體不同標示及意義
7070

71+
## 影像預處理方法
72+
73+
1. 影像二值化:影像分割的一種方法,將`影像簡化成只有黑、白`兩種顏色的影像,目的在於
74+
75+
1-1: `顯示隱藏的特性`,適用於灰階值相近的影像,以`凸顯細節`
76+
77+
1-2: `去除影像不必要的資訊`,而保留重要的資訊
78+
79+
首先針對影像中的像素點,設定一個灰階值標準,稱作閥值(Threshold),轉換規則為
80+
81+
![pic](https://smasoft-tech.com/wp-content/uploads/2017/09/%E4%BB%80%E9%BA%BC%E6%98%AF%E5%BD%B1%E5%83%8F%E5%89%8D%E8%99%95%E7%90%86_1.png)
82+
83+
`像素點的值大於閥值``則轉為白點`
84+
85+
`像素點的值小於閥值``則轉為黑點`
86+
87+
![pic](https://smasoft-tech.com/wp-content/uploads/2017/09/%E4%BB%80%E9%BA%BC%E6%98%AF%E5%BD%B1%E5%83%8F%E5%89%8D%E8%99%95%E7%90%86_2.png)
88+
7189
參考資料:
7290

7391
- [單元一、影像處理基本概念](http://yuan.yocjh.kh.edu.tw/photoimpact/01.htm)

0 commit comments

Comments
 (0)