Line segment detection method, apparatus, device, and computer-readable storage medium
Abstract:
The present disclosure provides a line segment detection method, apparatus, device, and a computer-readable storage medium. Said method includes: extracting image features of an image to be processed, the image features including an image gradient angle and an image gradient amplitude; determining a plurality of seed points based on the extracted image features; for each seed point of the plurality of seed points, determining a current connected region of respective seed point according to a region growth rule, wherein the region growth rule needs to satisfy both a gradient amplitude growth rule and a gradient angle growth rule simultaneously; and performing line segment fitting on line segments within the current connected region of respective seed point.
Information query
Patent Agency Ranking
0/0