首先分析了图像边缘特性以及Laplacian算子检测图像边缘的基本原理,提出了一种新的边缘检测算法,能准确地检测出图像中的目标边缘;在确定直线参数时,先使用Hough变换检测第一条最为明显的直线,然后去掉该直线以及附近的点,然后再次对图像进行Hough变换,并重复此过程,直到找到所有的直线;使用此改进后的Hough变化能够准确地检测到图像中构成网格的直线的参数。
Based on the analysis of image edge property and Laplacian operator detection principle, a new algorithm is proposed in order to get the more exact edge of images. When determining the parameters of the lines, at first we only obtain the most obvious line in the image with the ordinary Hough Transform , then delete the line and the pixels near the line and detect the second line in the image with Hough Transform again. Repeat this processing until all lines in the image are detected. With the improved Hough Transform , the parameters of the lines constructing the grid in the image can be obtained accurately.