How can I get “thinner” graph for my coordinate system?

前端 未结 3 468
醉酒成梦
醉酒成梦 2021-01-29 02:38

Following up with this, I have a bunch of coordinates and I draw them on a bitmap image as a coordinate system. Now, I would like to get rid of all the noise, and filter coordin

3条回答
  •  广开言路
    2021-01-29 03:25

    You are looking for an operation called thinning or skeletonization, possibly followed by some post-processing to remove small components. There are different algorithms for this that offer different properties. For example Guo and Hall's and Zhang and Suen's.

提交回复
热议问题