Locating the end points of a bridge-like structure in an image

后端 未结 6 2042
隐瞒了意图╮
隐瞒了意图╮ 2021-02-08 02:14

How do I locate the end points of a bridge-like structure in an image?

Below is a generalized representation.

6条回答
  •  旧时难觅i
    2021-02-08 03:11

    You could also try running a moving window over the image with a filter that is sum of the pixel values inside. Tune the size to say double the size of the bridge width. You should expect to see a fairly sharp transition when you run off the bridge onto the shore.

提交回复
热议问题