
Edge Detection
ยท
๐ computer vision
Edge pixels : ๋ฐ๊ธฐ๊ฐ ๊ธ๊ฒฉํ๊ฒ ๋ณํ๋ ๊ฒ โ
์ด๋ป๊ฒ detect edges๋ฅผ ํ๋๊ฐ? [1์ฐจ์] 1์ฐจ ๋ฏธ๋ถ์ ํ๋ค. ์ฆ, ๋ฏธ๋ถ ํ์ ๋ 0์ด ์๋ ํน์ ํ ๋ถ๋ถ์ ์ฐพ์์ ๊ฒ์ถํ๋ ๊ฒ. [2์ฐจ์] image gradient๋ฅผ ์ฌ์ฉํ๋ค. grad(f) = x์ถ ๋ฐฉํฅ์ผ๋ก์ ๋ฏธ๋ถ๊ฐ๊ณผ y์ถ ๋ฐฉํฅ์ผ๋ก์ ๋ฏธ๋ถ ๊ฐ์ผ๋ก ์ด๋ฃจ์ด์ง๋ค. * gradient vector์ edge direction์ 90๋ ์ฐจ์ด. * gradient vector๋ ํด๋น ์์น์์ ๋ณํ๋์ด ๊ฐ์ฅ ๊ธ๊ฒฉํ ๋ฐฉํฅ. [noise๊ฐ ์๋ ๊ฒฝ์ฐ] noise๊ฐ ์๋ ๊ฒฝ์ฐ, edge detection์ด ํ๋ค๊ธฐ ๋๋ฌธ์ filtering์ ์ฌ์ฉํด์ noise๋ฅผ ์ ๊ฑฐํ๋ค. โ
Edge detection ๋ฐฉ๋ฒ 1. Sobel operators ์๊ธฐ ์์ ๊ณผ ์ฃผ..