The accurate estimation of edge lines in precast bridge slabs based on laser scanning is crucial for a geometrical quality inspection. Normally, the as-designed model of precast slabs is used to match with laser scan data to estimate the edge lines. However, this approach often leads to an inaccurate quality measurement because the actually produced slab can be dimensionally different from the as-designed model or the inexistence of the as-designed model. In order to overcome this limitation, this study proposes a novel algorithm that generates and utilizes range images generated from scan points to enhance accuracy. The proposed algorithm operates as follows: first, the scan points are transformed into a range of images, and the corner points of these range images are extracted using a Harris corner detector. Next, the dimensions of the precast bridge slab are computed based on the extracted corner points. Consequently, the extracted corner points from the range images serve as an input for edge line estimation, thereby eliminating the matching errors that could arise when aligning collected scan points to an as-designed model. To evaluate the feasibility of the proposed edge estimation algorithm, a series of tests were conducted on both lab-scale specimens and field-scale precast slabs. The results showed promising accuracy levels of 1.22 mm for lab-scale specimens and 3.10 mm for field-scale precast bridge slabs, demonstrating more accurate edge line estimation results compared to traditional methods. These findings highlight the feasibility of employing the proposed image-aided geometrical inspection method, demonstrating the great potential for application in both small-scale and full-scale prefabricated construction elements within the construction industry, particularly during the fabrication stage.