The invention relates to a method for the detection of an obstacle in a road, in particular a pedestrian, in the surroundings in the range of view of an optical sensor attached to a movable carrier such as in particular a vehicle.
In particular the risk of collisions with pedestrians in road traffic should be reduced by such methods.
The use of cameras in vehicles for the corresponding monitoring of the surroundings is already known. However, the amount of image data to be processed and the automatic evaluation of the images produced proves to be problematic in this connection. The images taken thus suffer from noise as a rule which can in particular be caused by the vehicle's own movement and possible road bumpiness, a vehicle tilt, vehicle vibrations and/or the like. The correspondingly complex and/or expensive image processing in particular brings along problems when the evaluation of image material has to take place not only automatically, but also particularly fast such as is required, for example, in a vehicle safety system for the protection of persons on a collision.
It is the underlying object of the invention to provide a possibility to reduce the computing effort on the detection of obstacles in a road, such as in particular pedestrians, and/or to increase the robustness of such a detection.
In accordance with the invention, this object is satisfied by a method for the detection of an obstacle in a road, in particular of a pedestrian, in the surroundings in the range of view of an optical sensor attached to a movable carrier such as in particular a vehicle, wherein a first image is taken by means of the optical sensor at a first time and a second image is taken at a later second time, a first transformed image is produced by a transformation of the first taken image from the image plane of the optical sensor into the road plane, a further transformed image is produced from the first transformed image while taking account of the carrier movement in the time period between the first time and the second time, the further transformed image is transformed back from the road plane into the image plane and an image stabilization is carried out based on the image transformed back into the image plane and on the second taken image.
Unlike the previously usual practice, in accordance with which the image stabilization algorithm is applied to two mutually sequentially taken original images, the image stabilization takes place in accordance with the invention based on an image transformed back from the road plane into the image plane and on an image taken at a late time, with the carrier movement or vehicle movement already having been taken into account on the production of the image transformed back. Only a noise movement therefore still has to be compensated using the image stabilization algorithm which is caused by possible road bumpiness, a carrier inclination, carrier vibrations and/or the like.
The first transformed image is preferably transformed into the later second time for the production of the further transformed image while taking account of the carrier movement, in particular the carrier speed and/or the carrier yaw speed.
It is in particular also of advantage for the carrier movement, in particular the carrier speed and/or carrier yaw speed, to be taken into account in the production of the further transformed image by a corresponding translation and/or rotation of the first transformed image.
As already mentioned, problems caused by possible road bumpiness, a carrier inclination, carrier vibrations and/or the like can in particular be compensated using the image stabilization.
In the image stabilization, a respective edge image is expediently produced from the image transformed back and the second taken image.
In this connection, a movement vector can be calculated from the edge images obtained for the image transformed back and the second taken image and this movement vector can be used for the problem compensation. In this connection, the movement vector can, for example, be corrected by a Kalman filtering and the correspondingly corrected movement vector can be used for the problem compensation.
A camera, in particular a video camera, is preferably used as the optical sensor.
A mono-camera is preferably used as the optical sensor.
A subject of the invention is furthermore a computer program with programming code means to carry out the method described above when the program is carried out on a computer or on a corresponding computing unit.
A computer program product is also a subject of the invention having programming code means stored on a computer readable data carrier to carry out the method described above when the computer program is carried out on a computer or on a corresponding computing unit.
In this connection, a computer is understood as any desired data processing device with which the method can be carried out. In this connection, such a data processing device can in particular include digital signal processors and/or microprocessors with which the method can be carried out in full or in parts.
Finally, a device for the detection of an obstacle in a road, in particular of a pedestrian, in the surroundings in the range of view of an optical sensor attached to a movable carrier such as in particular a vehicle, having a data processing system which is designed for the carrying out of the method described above is also a subject of the invention.
The invention will be explained in more detail in the following with reference to embodiments and to the drawing; there are shown in this:
In this connection, a first image 10 is taken by means of the optical sensor at a first time T-1 and a second image 12 is taken at a time T. These taken images are therefore original images. A first transformed image 14 is produced by a transformation of the first taken image 10 from the image plane of the optical sensor into the road plane. A further transformed image 16 is produced from the first transformed image 14 while taking account of the carrier movement in the time period between the first time T-1 and the second time T. The further transformed image 16 is transformed back from the road plane into the image plane. An image stabilization is then carried out based on the image 18 transformed back into the image plane and on the second taken image 12.
As already mentioned, the movable carrier can in particular be a vehicle. The method can then in particular serve for the detection of pedestrians. A camera, in particular a video camera, can be used as the optical sensor, for example, with a mono-camera preferably being used.
It generally applies that the pixels in the two-dimensional image plane of the optical sensor or camera receive light signals from three-dimensional surroundings so that the exact three-dimensional position corresponding to a respective pixel cannot be determined without additional conditions. For the optical sensor installed at a vehicle, the light signals received pixel-wise correspond to the road to or to obstacles, with a respective object having to be recognized as an obstacle if its vertical coordinate (height) differs from the vertical coordinate of the road.
It is presumed in the algorithm used for the present obstacle detection that the road plane is ideally completely planar and horizontal. Based on this assumption, the image plane is transformed into a plan view of the road plane, whereby a type of map is prepared.
The result of the subtraction can be brought into a binary form by comparison with a threshold value. The result brought into a binary form corresponds to detected obstacles in the road plane. The result of this obstacle detection is transformed from the road plane back into the image plane to locate the corresponding obstacles in the image plane, as is shown in
The difference image recognizable in
The carrier movement, in particular the carrier speed and/or carrier yaw speed, can be taken into account by a corresponding translation and/or rotation of the first transformed image 14.
Since the initial detection described with reference to
A corresponding image stabilization can now take place in the two-dimensional image plane for the compensation of these problems of a detection suffering from noise caused by the inclination movements of the vehicle. In this connection, a preceding image can generally, for example, be correspondingly stabilized by comparison with a subsequent image.
Such an image stabilization takes place in accordance with the invention based on the image 18 transformed back into the image plane and on the second taken image 12.
The first image 10 taken at the first time T-1 is then projected into the road plane. In the road plane, the obtained first transformed image for the time T-1 is transformed into the later second time T while taking account of the known vehicle movement (speed and yaw rate). Finally, the obtained further transformed image 16 is transformed back from the road plane into the image plane of the optical sensor. The corresponding image of the shot at the time T-1 for the time T is obtained as the result (cf. also
Two sequential images can then be transferred into binary images by means of a corresponding filtering to obtain edge information as well as an essential center frequency content in the comparatively clearer parts of the image.
In the next step, a movement sector is calculated in that non-coinciding points of two sequential binary or edge images are measured. The movement sector can be corrected by a Kalman filtering, whereupon the image can be compensated while using the corrected movement vector.
Such a procedure in particular works when the optical sensor, for example a camcorder, vibrates in a fixed position. In the present case, the optical sensor or the camera can be attached to a moving vehicle. In this connection, the difference of the two sequential images is caused not only by the vibration of the optical sensor, but also by depth changes occurring due to the vehicle movement. This vehicle movement is now, however, already compensated in that the first transformed image 14 was produced by the transformation of the first taken image 10 from the image plane of the optical sensor into the road plane, the further transformed image 16 was produced from the first transformed image 14 while taking account of the vehicle movement in the time period between the first time T-1 and the second time T and the further transformed image 16 was transformed back from the road plane into the image plane. As already mentioned, in accordance with the invention, the image stabilization then takes place based on the image 18 transformed back into the image plane and on the second taken image 12.
Number | Date | Country | Kind |
---|---|---|---|
07017986.6 | Sep 2007 | EP | regional |