Parallel Line Detection

  • Category: Computer Vision
  • Tools and techniques: Python, Gaussian Filter, Canny Edge Detection, Gradient Computation, Non-maximal Suppression, Hysteresis Thresholding, Hough Transform, Matplotlib
  • Project URL: www.example.com

Project information

This project developed method to detect Parallel lines using advanced image processing techniques. Initially, the computationally heavy Hough transform was set aside for Canny edge detection, which simplified the process by eliminating irrelevant image features through noise reduction with a Gaussian filter, calculating image gradients for edge directionality, applying non-maximal suppression for precise edge definition, and performing hysteresis thresholding to emphasize significant edges. Subsequently, a Hough transform was utilized to accurately plot the staves by setting up an accumulator matrix for rho and theta values and selecting the top peaks to determine line equations, which were then highlighted in red on the original image. The successful delineation of staves in the test image underscored the efficiency of Canny edge detection in streamlining data complexity, which significantly enhanced the line identification process through Hough transformation.