A good approach for detecting lines in an image?

后端 未结 5 835
我在风中等你
我在风中等你 2021-01-30 10:59

I\'ve written some code that uses OpenCV libraries to detect white lines painted on grass. I need someone\'s opinion on the approach I used (as I\'m sure there\'s a much better

5条回答
  •  半阙折子戏
    2021-01-30 11:44

    I was using Canny for indoor images, but for outdoor I find more suitable the Laplace filter and Sobel filter, than apply Probabilistic Hough line Transform (PHT).

    If u want to thicker your lines, you should try the Sobel operator after Laplace and finally the PHT. If your image is too nosy it might get worse.

提交回复
热议问题