Image registration is an important research content in image processing technology. Aiming at the problem that traditional registration methods are difficult to accurately register low-texture images, this paper proposes a high-precision image registration algorithm based on line segment features. For the case of wrong match, using the RANSAC random consistent sampling algorithm when searching for the transformation model, and then iterate the nearest points through ICP to transform the parameters further accurately. From the experimental results, the image registration method proposed in this paper is robust to scale, rotation, and illumination and the registration accuracy is improved.