Laser triangulation is one of the machine vision measurement methods most commonly used in 3D quality control. However, considering its susceptibility to interference, it cannot be used in certain areas of industrial production e.g. very shiny surfaces. Thus, for the improvement of its applicability, a predictive algorithm of light profile segmentation was designed, where - as a result of using a'priori knowledge - the method becomes resistant to secondary reflexes. The developed technique has been tested on selected parts with surfaces typical for the machine-building industry. The evaluation has been presented based on the surface representation (mapping) error analysis, using the difference between the obtained cloud of points and the nominal surface as processing data, as well as scatter of the discrete Gauss curvature.