The present invention relates to a vehicle-mounted image processor for analyzing the image data photographed by a vehicle-mounted camera.
In recent years, various technologies for assisting the driving have been developed as well known. For example, a head up display (e.g., refer to patent document 1) for displaying the information (speed, etc.) required for driving on the front glass has been developed. Also, an apparatus for informing the driver of the possibility of a danger of crash has been developed.
The apparatus for informing the driver of the possibility of a danger of crash (hereinafter designated as a crash preventing apparatus) comprises the type which judges the possibility of a danger of crash by analyzing the image data obtained by a camera mounted on the vehicle and the type which employs a radar, as well known. The crash preventing apparatus of former type requires the software image analysis. Therefore, the crash preventing apparatus of former type is configured to treat the image data obtained by the vehicle-mounted camera as data with lower resolution, so that the image analysis may be completed within a predetermined period of time (usually the time almost as long as the image data output period of the camera) (e.g., the apparatus extracts one pixel data for every four pixel data from the image data of 640×320 pixels and processes the extracted image data of 320×160 pixels).
With the above configuration of the apparatus, the existent crash preventing apparatus of the type of analyzing the image data may judge the possibility of a danger of crash erroneously, or make a warning only after the crash can not be avoided, when the speed of the vehicle mounting the self-apparatus is higher, resulting in a malfunction.
The reason why the existent crash preventing apparatus is configured in the above manner will be simply described below.
As the vehicle speed is higher, the existent range of object required to monitor its behavior (distance to the self vehicle) becomes broader, but the total number of pixel data regarding the certain object (vehicle) included in the image data outputted from the camera is smaller as the distance between the object and the self vehicle increases. And it is essentially difficult to specify the object from a small volume of image data, and in the existent crash preventing apparatus the image data outputted from the camera is converted into less information amount before making the image analysis. Therefore, the existent crash prevention apparatus may make the above malfunction.
Patent document 1 Japanese Patent Laid-Open No. 11-119147
This invention has been achieved in the light of these current circumstances, and it is an object of the invention to provide a vehicle-mounted image processor for performing image analysis for judging the possibility of a danger, e.g., crash, to obtain the accurate results at any time.
In order to accomplish the above object, the present invention provides a vehicle-mounted image processor mounted on a vehicle, together with a camera for periodically delivering the image data regarding a landscape image in a direction where the vehicle advances, comprising image data storage means for storing a specified volume of image data delivered from the vehicle-mounted camera, image analyzing means for performing image analysis only of the image data in a specified range of the latest image data stored in the image data storage means, and processing object control means for allowing the image analyzing means to grasp the moving speed of the vehicle, to specify an object being processed such that the size and the position thereof has a negative correlation with-the moving speed of the vehicle in the image data stored in the image data storage means, and to perform image analysis on the image data in the specified range.
That is, in the vehicle-mounted image processor of the invention, the range (size or position) of image data to be processed for image analysis changes according to the moving speed of the vehicle (if the moving speed of the vehicle is increased, the size of image data to be processed for image analysis is smaller). Accordingly, this vehicle-mounted image processor is an apparatus in which image data delivered from the camera is not converted into lower resolution when the moving speed of the vehicle is high, namely, in which image processing for judging the possibility of a danger, e.g., crash can be carried out accurately even when the speed of the vehicle is high.
In realizing the vehicle-mounted image processor of the invention, the processing object control means allows the image analyzing means to perform image analysis of the image data in a specified range of the image data for each rank of the moving speed. Also, to avoid adverse influence of a rapid variation in the moving speed of the vehicle, the processing object control means allows the image analyzing means to grasp an average value of the moving speed of the vehicle, to specify an object being processed such that the size and the position thereof has a negative correlation with the average value of the moving speed of the vehicle in the image data stored in the image data storage means, and to perform image analysis on the image data in the specified range.
Also, in realizing the vehicle-mounted image processor of the invention, the processing object control means allows the image analyzing means to grasp the yaw rate and the moving speed of the vehicle, to specify an object being processed such that the vertical size has a negative correlation with the moving speed of the vehicle, and the horizontal size has a positive correlation with the yaw rate of the vehicle in the image data stored in the image data storage means, and to perform image analysis on the image data in the specified range.
According to another form of the invention, there is provided a vehicle-mounted image processor mounted on a vehicle, together with a camera for periodically delivering the image data regarding a landscape image in a direction where the vehicle advances, comprising image data storage means for storing a specified volume of image data delivered from the vehicle-mounted camera, image analyzing means for performing a first image analysis of the latest image data stored in the image data storage means as the image data with a first resolution lower than the actual resolution, and a second image analysis of the image data in a specified range of the image data as the image data with a resolution lower than or equal to the actual resolution and higher than the first resolution; and processing object control means for allowing the image analyzing means to grasp the advancing direction of the vehicle, and perform the first image analysis of the latest image data stored in the image data storage means and the second image analysis of the image data in a range according to the grasped advancing direction.
That is, in the vehicle-mounted image processor according to this form of the invention, the image analysis (second image analysis) of an important portion of the image data (portion corresponding to the range specified by the processing object control means) is performed for the image data with higher resolution than the image analysis (first image analysis) of the other portion. Accordingly, this vehicle-mounted image processor is an apparatus in which image analysis can be carried out without converting the important portion of image data into lower resolution, namely, in which image analysis for judging the possibility of a danger, e.g., crash can be carried out more accurately than the conventional apparatus.
Referring to
As shown in
The camera 11 connected to this vehicle-mounted image processor 20 is an image pickup device (CCD camera) mounted on the vehicle to photograph an image (landscape) in a direction where the vehicle advances. The vehicle speed sensor 12 is a device for detecting the vehicle speed V (unit of km/h) that is the speed of the vehicle, and outputting it. This vehicle speed sensor 12 is usually mounted on the vehicle from the beginning.
The yaw rate sensor 13 is a device for detecting the yaw rate Ry (rotational angular velocity, unit of rad/sec) of the vehicle around a vertical axis and outputting it, as typically shown in
And the vehicle-mounted image processor 20 may use the camera 11 which delivers the image data (color image data in this embodiment) of which the size (number of pixels) is 640×480 pixels periodically (every 1/30 seconds). Also, the vehicle-mounted image processor 20 processes the image data delivered from the camera 11 as a set of image data in which the X coordinate value is from −319 to 320 and the Y coordinate value is from −239 to 240. Further, the vehicle-mounted image processor 20 can operate without connecting the yaw rate sensor 13.
Supposing the above, the configuration and operation of the vehicle-mounted image processor 20 according to this embodiment will be more specifically described below.
In practice, the vehicle-mounted image processor 20 is a device (one kind of computer) in which an interface circuit for each external device (camera 11, vehicle speed sensor 12, and yaw rate sensor 13) is combined with a CPU, a ROM and a RAM. Referring firstly to
As shown in
The image data storage section 21 is a unit for storing the latest two images (two screens) of image data periodically delivered from the camera 11.
The vanishing-point recognizing section 22 is a unit for acquiring and outputting the vanishing point coordinates (u, v) that are the coordinates of the vanishing point (infinite point) regarding the latest image data (image data most lately acquired from the camera 11), based on two pieces of image data stored in the image data storage section 21, synchronously with the image data output period of the camera 11.
The vanishing point (infinite point) means the point toward which the vehicle advances at that time in the image photographed by the camera 11, as typically shown in
The vehicle speed rank specifying section 23 is a unit for performing a process of calculating the temporal average value (noise data ignored) of the vehicle speed V [km/h] outputted from the vehicle speed sensor 12, and a process of calculating an integer value n (n=5 if n>5) where an inequality “10n≦v<20n” holds for the average value v (hereinafter designated as vehicle speed v) and outputting the vehicle speed rank n.
The aspect ratio rank specifying section 24 is a unit for performing a process of calculating the temporal average value (noise data ignored) of the yaw rate Ry [rad/sec] outputted from the yaw rate sensor 13, and a process of calculating an integer value m (m=5 if m>5) where an inequality “0.05m≦ABS(ry)<0.05(m+1)” (ABS(ry) is the absolute value of ry) holds for the average value ry (hereinafter designated as yaw rate ry) and outputting the aspect ratio rank m. This aspect ratio rank specifying section 24 outputs “0” as the aspect ratio rank m, if the yaw rate sensor 13 is not connected.
The image processing range specifying section 25 is a unit for generating the image range designating information of the contents as shown in
That is, the image processing range specifying section 25 is a unit for generating the image range designating information including
Max((−319+40n) (1+m/8)−u,−319) as X coordinate value of P point,
Min(240−30n−v,240) as Y coordinate value of P point,
Min((320+40n) (1+m/8)−u,320) as X coordinate value of Q point,
Min(240−30n−v,240) as Y coordinate value of Q point,
Max((−319+40n) (1+m/8)−u,−319) as X coordinate value of R point,
Min(240−30n−v,240) as Y coordinate value of R point,
Min((320+40n) (1+m/8)−u,320) as X coordinate value of S point,
Min(240−30n−v,240) as Y coordinate value of S point.
Max(α,β) and Min(α,β) are functions of outputting the larger value and the smaller value between α and β, respectively. Also, the image processing range specifying section 25 outputs the image range designating information that can be represented in the form of these functions, so that the pixel data regarding each of four points PQRS exists in the image data stored in the image data storage section 21 (the coordinate information regarding the non-existent pixel are not supplied to the image analyzing section 26).
The image analyzing section 26 is a unit for performing image analysis only of the image data in a specified range of the latest image data stored in the image data storage section 21, the range being specified by the image range designating information outputted from the image processing range specifying section 25 (range surrounded by four points PQRS with the coordinates included in the image range designating information), to specify what object exists in front of the self vehicle, and outputting (part of) the results of analysis. This image analyzing section 26 performs the analysis at the present time, using the results of analysis at the previous time (information regarding the size and position of object), and outputs the information indicating the possibility of a danger of crash as the results of analysis, when the possibility of the danger is detected.
Also, the image analyzing section 26 performs image analysis of the pixel data in a range specified by the image range designating information, as the image data having lower resolution (image data with half the original resolution in this embodiment), if the image range designating information specifying a range where the total number of pixels is more than 320×240 (=76800) is given, or performs image analysis of the pixel data in a range specified by the image range designating information directly as the object being processed, if the image range designating information specifying a range where the total number of pixels is 320×240 or less is given.
As will be apparent from the foregoing explanation, the operation of the vehicle-mounted image processor 20 will be described below, separately from the parameters (vehicle speed v, yaw rate ry).
First of all, when u, v and m are all “0”, the operation of the vehicle-mounted image processor 20 at the vehicle speed v will be described below.
When u, v and m are all “0”, the image processing range specifying section 26 outputs the image-range designating information of the content according to only the value of vehicle speed rank n obtained from the vehicle speed v (image range designating information including (−319+40n, 240−30n), (320−40n, 240−30n), (−319+40n, −239+30n), (320−40n, −239+30n) as the coordinates of P, Q, R, S points), as shown in
That is, the image range designating information outputted for each vehicle speed rank n by the image processing range specifying section 26 is the information in which the size of image Sn (n is from 0 to 5) to be specified is smaller, as the n value (vehicle speed v) increases, as shown in
The image analyzing section 26 performs image analysis only of the image Sn in the image (image S0 in
Next, when u and v are all “0”, the operation of the vehicle-mounted image processor 20 for the yaw rate ry will be described below.
When u and v are all “0”, the image processing range specifying section 26 outputs the image range designating information in which each X coordinate value is multiplied by (1+m/8) in the image range designating information outputted when u, v and m are all “0” (see
That is, the aspect ratio rank m outputted by the aspect ratio rank specifying section 24 is the information defining the proportional factor (X coordinate factor in
In effect, the yaw rate ry of not “0” means that the vehicle is turning to the right or left. When the vehicle is turning to the right or left, it is required to judge the possibility of a danger of crash for the object existing in a broader range than when the vehicle runs straight, whereby as the absolute value of yaw rate ry increases, the size of image data in the transverse direction (X coordinate direction) processed for image analysis is larger.
The vanishing point coordinates (u, v) of not (0, 0) mean that the central point (point with coordinates (0, 0)) of image data delivered from the camera 11 is not matched with the point to which the vehicle advances. Therefore, the coordinates regarding four points P, Q, R and S in the image range designating information are translated parallel by the amount corresponding to the values of vanishing point coordinates (u, v) to make the central point in the range for image analysis coincident with the point to which the vehicle advances (see
Finally, the operation of the vehicle-mounted image processor 20 as described above using the functional block diagram will be described below using a flowchart of
As shown in
That is, the vehicle-mounted image processor 20 calculates the integer value n (if n>5, n=5) in which an inequality “10n≦v<20n” holds for the vehicle speed v [km/h] and storing the vehicle speed rank n, and calculates the integer value m (if m>5, m=5) in which an inequality “0.05m≦ABS(ry)<0.05(m+1)” holds for the yaw rate ry [rad/sec] and storing the aspect ratio rank m.
Thereafter, the vehicle-mounted image processor 20 generates the image range designating information of the contents as shown in
As described above, in the vehicle-mounted image processor 20, the range (size and position) of image data processed for image analysis changes with the vehicle speed v (if the vehicle speed v increases, the size of image data processed for image analysis is smaller). Accordingly, this vehicle-mounted image processor is an apparatus in which the image analysis can be normally performed, even if the image data delivered from the camera is not converted into lower resolution, that is, image analysis for judging the possibility of a danger, e.g., crash, can be carried out accurately even when the speed of vehicle is high.
A vehicle-mounted image processor according to a second embodiment of the invention is a variation of the vehicle-mounted image processor 20 according to the first embodiment, in which the process is different at steps S104 and S105 (
The vehicle-mounted image processor 20 according to the second embodiment (hereinafter designated as the second vehicle-mounted image processor 20), like the vehicle-mounted image processor 20 according to the first embodiment (hereinafter designated as the first vehicle-mounted image processor 20), generates the image range designating information from the vanishing point coordinates (u, v), the vehicle speed rank n, and the yaw rate rank m. The generated image range designating information is the information specifying the image data within the range of specified size around a point to which the vehicle is expected to advance in a predetermined time in the image data acquired from the camera 11, as typically shown in
While the first vehicle-mounted image processor 20 performs image analysis only of the image data in the range specified by the image range designating information, the second vehicle-mounted image processor 20 performs image analysis of the image data in the range specified by the image range designating information, as the image data with the second resolution (equivalent to the resolution of the image data delivered from the camera 11 in this embodiment), and image analysis of the image data out of the range specified by the image range designating information, as the image data with the first resolution lower than the second resolution (equivalent to one-third the resolution of the image data delivered from the camera 11 in this embodiment), as typically shown in
In this manner, the vehicle-mounted image processor 20 according to the second embodiment performs image analysis of an important portion of the image data (image data within the range specified by the image range designating information) for the image data with higher resolution than image analysis of the other portion. Accordingly, this vehicle-mounted image processor 20 operates as a device that can perform image analysis without converting the important portion of the image data into lower resolution, namely, perform image analysis for judging the possibility of a danger, e.g., crash, more accurately than the conventional apparatus.
The foregoing vehicle-mounted image processor 20 may be modified in various ways. For example, the vehicle-mounted image processor 20 according to the first and second embodiments may be modified to input data regarding the pitching angle of the vehicle (inclination in the forward or backward direction) or the roll angle (vehicle inclination in the left or right direction) (generate the image range designating information according to the pitching angle or the roll angle of vehicle). Also, the vehicle-mounted image processor 20 according to the first and second embodiments may be modified into the apparatus not intended to prevent collision. When the vehicle-mounted image processor 20 according to the first embodiment is modified into the apparatus not intended to prevent collision, the yaw rate Ry may not be inputted.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP03/11196 | Sep 2003 | US |
Child | 11365678 | Mar 2006 | US |