Laser projection or laser footprint detection is today widely used in many fields of robotics, measurement or electronics. The system accuracy strictly depends on precise laser footprint detection on target objects. This article deals with the laser line detection based on the RGB segmentation and the component labeling. As a measurement device was used the developed optical rangefinder. The optical rangefinder is equipped with vertical sweeping of the laser beam and high quality camera. This system was developed mainly for automatic exploration and mapping of unknown spaces. In the first section is presented a new detection algorithm. In the second section are presented measurements results. The measurements were performed in variable light conditions in interiors. The last part of the article present achieved results and their differences between day and night measurements.
 H.-N. Ta, D. Kim, S. Lee, "A novel laser line detection algorithm for robot application,” Control, Automation and Systems (ICCAS), 2011 11th International Conference on , vol., no., pp.361,365, 26-29 Oct. 2011.
 Z. Z.-l., Y. Jia-ju, "Study on Image Processing Technology in Imaging Laser Detection System,” Photonics and Optoelectronic (SOPO), 2010 Symposium on, vol., no., pp.1,4, 19-21 June 2010.
 P. Chmelar, M. Dobrovolny, "The Optical Measuring Device for the Autonomous Exploration and Mapping of unknown Environments” Perner´s Contacts, 2012, vol. VII, no. 4,pp. 41-50..
 P. Chmelar, M. Dobrovolny, "The fusion of ultrasonic and optical measurement devices for autonomous mapping,” Radioelektronika (RADIOELEKTRONIKA), 2013 23rd International Conference , vol., no., pp.292,296, 16-17 April 2013.
 R. M. Haralick, L. G. Shapiro, Computerand Robot Vision, Volume I, Addison-Wesley, 1992.