less than 1 minute read

Delaunay Triangulation Youtube Explanation

๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ• (Delaunay triangulation) & ๋ณด๋กœ๋…ธ์ด ๋‹ค์ด์–ด๊ทธ๋žจ(Voronoi diagram)

๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ• ์€ ์ด๋Ÿฌํ•œ ์—ฌ๋Ÿฌ ์‚ผ๊ฐ๋ถ„ํ•  ์ค‘์—์„œ ๊ฐ๊ฐ์˜ ์‚ผ๊ฐํ˜•๋“ค์ด ์ตœ๋Œ€ํ•œ ์ •์‚ผ๊ฐํ˜•์— ๊ฐ€๊นŒ์šด ์ฆ‰, ๊ธธ์ญ‰ํ•˜๊ณ  ํ™€์ญ‰ํ•œ ์‚ผ๊ฐํ˜•์ด ๋‚˜์˜ค์ง€ ์•Š๋„๋ก ํ•˜๋Š” ๋ถ„ํ• ์„ ๋งํ•ฉ๋‹ˆ๋‹ค.

Delaunay triangulation is used for creating triangular meshes given a set of points.

๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ•  ํ™œ์šฉ

Nearest Neighbor ๊ตฌํ•˜๊ธฐ

์–ด๋–ค ์ ๋“ค์˜ ์ง‘ํ•ฉ์— ๋Œ€ํ•œ ๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ• ์ด ์žˆ์œผ๋ฉด nearest neighbor๋ฅผ ๊ณง๋ฐ”๋กœ ๊ตฌํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ๋ฅผ ๋“ค์–ด, ์•„๋ž˜ ๊ทธ๋ฆผ์—์„œ p์˜ nearest neighbor๋ฅผ ๊ตฌํ•˜๊ณ  ์‹ถ์œผ๋ฉด ์  p์™€ ์—ฐ๊ฒฐ๋œ edge๋“ค๋งŒ ์กฐ์‚ฌํ•˜๋ฉด ์ด๋“ค ์ค‘์— nearest neighbor๊ฐ€ ์กด์žฌํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

image

์ฆ‰, ์›๋ž˜๋Š” ๋ชจ๋“  ์ ๋“ค๊ณผ ์ผ์ผํžˆ ๊ฑฐ๋ฆฌ๋ฅผ ๋น„๊ตํ•ด ๋ด์•ผ ํ•˜๊ฒ ์ง€๋งŒ ๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ• ์ด ์žˆ์œผ๋ฉด ๊ทธ ์ ๊ณผ ์—ฐ๊ฒฐ๋œ ์ ๋“ค๊ณผ์˜ ๊ฑฐ๋ฆฌ๋งŒ ์กฐ์‚ฌํ•˜๋ฉด ๋œ๋‹ค๋Š” ์˜๋ฏธ์ž…๋‹ˆ๋‹ค.

๋˜ํ•œ k-nearest neighbor๋ฅผ ๊ตฌํ•  ๋•Œ์—๋„ ๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ง์—์„œ ์ง์ ‘ ์—ฐ๊ฒฐ๋œ ์ ๋“ค๋กœ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•ด์„œ tree ํ˜•ํƒœ๋กœ ์ ์ฐจ ํƒ์ƒ‰๋ฒ”์œ„๋ฅผ ํ™•์žฅํ•ด๊ฐ€๋ฉด ๋ฉ๋‹ˆ๋‹ค.

Reconstruction

ํฌ์ธํŠธ ํด๋ผ์šฐ๋“œ(point cloud)๋กœ๋ถ€ํ„ฐ ๋ฌผ์ฒด์˜ 3D ์ž…์ฒด๋ฅผ ๋ชจ๋ธ๋งํ•˜์—ฌ ๋ณต์›ํ•  ๋•Œ์—๋„ Delaunay triangulation์ด ํ™œ์šฉ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์ด ๊ฒฝ์šฐ์—๋Š” ์‚ผ๊ฐํ˜•์€ ์‚ฌ๋ฉด์ฒด๋กœ, ์›์€ ๊ตฌ๋กœ ํ™•์žฅ๋œ ๋ฒ„์ „์˜ Delaunay triangulation์„ ์ด์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

image


๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ•  ์กฐ๊ฑด

๋“ค๋กœ๋„ค ์‚ผ๊ฐ๋ถ„ํ• ์—์„œ๋Š” ์‚ผ๊ฐํ˜•์˜ ์™ธ์ ‘์›(์‚ผ๊ฐํ˜•์„ ํฌํ•จํ•˜๋Š” ์›, Circumcircle) ์•ˆ์— ๋‹ค๋ฅธ ์‚ผ๊ฐํ˜•์˜ ๊ผญ์ง“์ ์ด ์œ„์น˜ํ•˜์ง€ ์•Š์•„์•ผ ํ•˜๋Š” ์กฐ๊ฑด์ด ์žˆ์Šต๋‹ˆ๋‹ค.

image

Computing Delaunay Triangulations

One way to compute the triangualation is the Bowyer-Watson algorithm.

image

์ตœ์ข…์ ์œผ๋กœ ์•„๋ž˜์™€ ๊ฐ™์€ ๊ฒฐ๊ณผ๋ฅผ ์–ป์Šต๋‹ˆ๋‹ค. (์ž์„ธํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ํฌ์ŠคํŠธ ์ƒ๋‹จ ์œ ํŠœ๋ธŒ ์˜์ƒ์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.)

image

Leave a comment