A laser scanner for optically scanning and measuring an environment
comprises a light transmitter having a predetermined transmission power
for emitting a light beam. The emitted light beam is reflected at a
measurement point in the environment. The reflected light beam is
received with a certain intensity by a receiver. The transmission power
is adjustable as a function of the intensity of the reflected light beam.
Furthermore, a gray-scale value of the measurement point is determined as
a function of the transmission power adjusted.