Distortion correction method and apparatus, electronic device, and computer-readable storage medium
Abstract:
The present disclosure provides a distortion correction method, a distortion correction apparatus, an electronic device, and a computer-readable storage medium, the distortion correction method including: performing a line detection on the distorted image to obtain multiple straight lines in the distorted image; grouping the straight lines into multiple groups of straight lines; selecting optimal boundary lines of the distorted image from the groups of straight lines; determining multiple initial vertexes of the distorted image according to intersection points between the optimal boundary lines; and performing a perspective transformation processing on the distorted image according to the initial vertexes to obtain a corrected image.
Information query
Patent Agency Ranking
0/0