# Patent

## Title
Imaging system for vehicle

## Abstract

An imaging system for a vehicle includes an imaging array sensor and a control. The image array sensor comprises a plurality of photo-sensing pixels and is positioned at the vehicle with a field of view exterior of the vehicle. The imaging array sensor is operable to capture an image exterior of the vehicle. The control may process the captured images and may determine that the imaging array sensor is not aligned within a desired tolerance when the imaging array sensor is positioned at the vehicle. The control, responsive to a determination of a misalignment of the imaging array sensor at the vehicle, may adjust at least one of the captured images or an image data set and the image processing to at least partially compensate for the determined misalignment of the imaging array sensor.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
The present application is a continuation of U.S. patent application Ser. No. 11/315,675, filed Dec. 22, 2005, now U.S. Pat. No. 7,720,580, which claims benefit of U.S. provisional application, Ser. No. 60/638,687, filed Dec. 23, 2004, which is hereby incorporated herein by reference in its entirety.


FIELD OF THE INVENTION
The present invention relates generally to vision or imaging systems for vehicles and is related to object detection systems and, more particularly, to imaging systems which are operable to determine if a vehicle or object of interest is adjacent to, forward of or rearward of the subject vehicle to assist the driver in changing lanes or parking the vehicle. The present invention also relates generally to a lane departure warning system for a vehicle
BACKGROUND OF THE INVENTION
Many lane change aid/side object detection/lane departure warning devices or systems and the like have been proposed which are operable to detect a vehicle or other object that is present next to, ahead of or rearward of the equipped vehicle or in an adjacent lane with respect to the equipped vehicle. Such systems typically utilize statistical methodologies to statistically analyze the images captured by a camera or sensor at the vehicle to estimate whether a vehicle or other object is adjacent to the equipped vehicle. Because such systems typically use statistical methodologies to determine a likelihood or probability that a detected object is a vehicle, and for other reasons, the systems may generate false positive detections, where the system indicates that a vehicle is adjacent to, forward of or rearward of the subject vehicle when there is no vehicle adjacent to, forward of or rearward of the subject vehicle, or false negative detections, where the system, for example, indicates that there is no vehicle adjacent to the subject vehicle when there actually is a vehicle in the adjacent lane.
Such known and proposed systems are operable to statistically analyze substantially all of the pixels in a pixelated image as captured by a pixelated image capture device or camera. Also, such systems may utilize algorithmic means, such as flow algorithms or the like, to track substantially each pixel or most portions of the image to determine how substantially each pixel or most portions of the image has changed from one frame to the next. Such frame by frame flow algorithms and systems may not be able to track a vehicle which is moving at generally the same speed as the equipped vehicle, because there may be little or no relative movement between the vehicles and, consequently, little or no change from one frame to the next. Because the systems may thus substantially continuously analyze substantially every pixel for substantially every frame captured and track such pixels and frames from one frame to the next, such systems may require expensive processing controls and computationally expensive software to continuously handle and process substantially all of the data from substantially all of the pixels in substantially each captured image or frame.
Many automotive lane departure warning (LDW) systems (also known as run off road warning systems) are being developed and implemented on vehicles today. These systems warn a driver of a vehicle when their vehicle crosses the road's land markings or when there is a clear trajectory indicating they will imminently do so. The warnings are typically not activated if the corresponding turn signal is on, as this implies the driver intends to make a lane change maneuver. Additionally, the warning systems may be deactivated below a certain vehicle speed. The driver interface for these systems may be in the form of a visual warning (such as an indicator light) and/or an audible warning (typically a rumble strip sound). One application warns a driver with an indicator light if the vehicle tire is crossing the lane marker and no other vehicle is detected in the driver's corresponding blind spot; and/or further warns the driver with an audible warning if the vehicle is crossing into the adjacent lane and there is a vehicle detected in the driver's blind spot.
There is concern that the current systems will be more of a driver annoyance or distraction than will be acceptable by the consumer market. Using the turn signal as the principle means of establishing to the warning system that the maneuver is intentional does not reflect typical driving patterns and, thus, many intended maneuvers will cause a warning. As a driver gets annoyed by warnings during intended maneuvers, the driver will likely begin to ignore the warnings, which may result in an accident when the warning is appropriate.
Therefore, there is a need in the art for an object detection system, such as a blind spot detection system or lane change assist system or lane departure warning system or the like, which overcomes the short comings of the prior art.
SUMMARY OF THE INVENTION
The present invention is intended to provide an object detection system, such as a blind spot detection system, a lane change assist or aid system or device, a lane departure warning system, a side object detection system, a reverse park aid system, a forward park aid system, a forward, sideward or rearward collision avoidance system, an adaptive cruise control system, a passive steering system or the like, which is operable to detect and/or identify a vehicle or other object of interest at the side, front or rear of the vehicle equipped with the object detection system. The object detection system of the present invention, such as for a lane change assist system, utilizes an edge detection algorithm to detect edges of objects in the captured images and determines if a vehicle is present in a lane adjacent to the equipped or subject vehicle in response to various characteristics of the detected edges, such as the size, location, distance, intensity, relative speed and/or the like. The system processes a subset of the image data captured which is representative of a target zone or area of interest of the scene within the field of view of the imaging system where a vehicle or object of interest is likely to be present. The system processes the detected edges within the image data subset to determine if they correspond with physical characteristics of vehicles and other objects to determine whether the detected edge or edges is/are part of a vehicle or a significant edge or object at or toward the subject vehicle. The system utilizes various filtering mechanisms, such as algorithms executed in software by a system microprocessor, to substantially eliminate or substantially ignore edges or pixels that are not or cannot be indicative of a vehicle or significant object to reduce the processing requirements and to reduce the possibility of false positive signals.
The object detection system of the present invention may capture images at a side of the vehicle and may process various windows of the images to detect a vehicle in the adjacent lane or other object, such as a bicycle, in the adjacent lane. The system may adjust the image processing to account for misalignment of the camera at the side of the vehicle. The system may adjust the area or zone of interest in response to a turning of the vehicle's wheels, such as when the vehicle is turning or curving along a curve in the road. The system may distinguish between vehicles or other objects and shadows of objects/vehicles so that a shadow of a vehicle two lanes over may not be considered a vehicle in the adjacent lane. The system may switch between daytime and nighttime algorithms and may be operable to detect headlamps of vehicles in the adjacent lane.
According to an aspect of the present invention, an imaging system for a vehicle includes an imaging array sensor and a control. The image array sensor comprises a plurality of photo-sensing pixels and is positioned at the vehicle with a field of view exteriorly of the vehicle. The imaging array sensor is operable to capture an image of a scene occurring exteriorly of the vehicle. The captured image comprises an image data set representative of the exterior scene. The control algorithmically processes the image data set to a reduced image data set of the image data set. The control processes the reduced image data set to extract information from the reduced image data set. The control selects the reduced image data set based on a steering angle of the vehicle.
Optionally, the control may process the reduced image data set with an edge detection algorithm to extract information from the reduced image data set. The image sensor may be one of (a) part of an exterior rearview mirror assembly of the vehicle and with a field of view at least partially sideward of the vehicle, and (b) at an upper windshield area and behind the windshield of the vehicle and with a field of view forward and through the windshield (such as at an area that is cleaned by the windshield wiper or wipers of the vehicle when the windshield wipers are activated). Optionally, the image sensor may be part of an exterior rearview mirror assembly of the vehicle and with a field of view at least partially sideward of the vehicle, wherein the imaging system comprises a side object detection system for detecting objects at a side of the vehicle. Optionally, the image sensor may be at an upper windshield area and behind the windshield of the vehicle and with a field of view forward and through the windshield, wherein the imaging system comprises a lane departure warning system.
Therefore, the present invention provides an imaging system for use as or in association with a side object detection system and/or a lane departure warning system. The system is operable to process captured image data of a scene occurring exteriorly and along one or both sides of the vehicle to determine if a target vehicle or object of interest is located at or in the lane adjacent to the subject or host vehicle. The imaging system of the present invention may process zones or areas of interest in the captured images and may adjust processing to accommodate any misalignment of the camera that may occur during installation of the camera at the side of the vehicle. The side object detection system may also select or adjust the image processing to select/adjust the areas of interest, such as in response to a steering angle of the vehicle, such as a turning of the wheels of the vehicle, so that the zone or area is adapted for the turning of the subject vehicle. The imaging system of the present invention thus provides enhanced processing of captured images to provide the desired function of the imaging system or associated control or control system or alert system.
These and other objects, advantages, purposes and features of the present invention will become apparent upon review of the following specification in conjunction with the drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a top plan view of a vehicle incorporating the object detection system of the present invention;
FIG. 2 is a representation of a captured image of a side area of a vehicle as captured by an imaging sensor in accordance with the present invention;
FIGS. 3A-C are schematics of the captured image of FIG. 2 showing the adjustments that may be made to the image processing to account for misalignment of the image sensor;
FIG. 4 is a schematic showing an adjustment of the area of interest when the wheels of the subject vehicle are turned;
FIG. 5 is a plan view of one of the wheels of the subject vehicle showing the angles of the wheel as it is turned;
FIGS. 6-9 are representations of captured images of the side area of the vehicle, showing how different shadows may be detected;
FIG. 10 is a schematic of the image processing windows useful in processing the captured images in accordance with the present invention;
FIG. 11 is a representation of a captured image of the side area of the vehicle, showing different processing windows used to detect the vehicle in the adjacent lane;
FIG. 12 is a plot of the gray level values of the rows of pixels as a result of a wide line integration in accordance with the present invention;
FIG. 13 is a processing mask for processing the windows of the captured images using gradient calculations in accordance with the present invention;
FIG. 14 is a representation of a captured image showing the shadow of the vehicle in the area adjacent to the vehicle;
FIG. 15 is a process flow diagram showing the bicycle detection function of the present invention; and
FIGS. 16-20 are representations of captured images of the side area of the subject vehicle, showing the headlight detection function of the present invention.



DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring now to the drawings and the illustrative embodiments depicted therein, an object detection system or imaging system, such as a lane change assist or aid system 10, is positioned at a vehicle 12 (such as at an exterior rearview mirror 12a of a vehicle) and is operable to capture an image of a scene occurring sidewardly and rearwardly at or along one or both sides of vehicle 12 (FIG. 1). Lane change assist system 10 comprises an image capture device or sensor or camera 14, which captures an image of the scene occurring toward a respective side of the vehicle 12, and a control 16, which processes the captured image to determine whether another vehicle 18 is present at the side of vehicle 12, as discussed below. Control 16 may be further operable to activate a warning indicator or display or signal device to alert the driver of vehicle 12 that another vehicle is present at the side of vehicle 12. The warning or alert signal may be provided to the driver of vehicle 12 in response to another vehicle being detected at the blind spot area (as shown in FIG. 1) and may only be provided when the driver of vehicle 12 actuates a turn signal toward that side or begins turning the subject vehicle 12 toward that side to change lanes into the lane occupied by the other detected vehicle 18. The control and imaging system may utilize aspects described in U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which is hereby incorporated herein by reference. Reference is made to U.S. patent application Ser. No. 10/427,051, for a discussion of image processing techniques and control functions useful with the present invention.
Optionally, the imaging system and object detection system of the present invention may utilize aspects of the imaging systems or detection systems of the types described in U.S. Pat. Nos. 5,929,786 and/or 5,786,772, and/or U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577; and/or Ser. No. 11/239,980, filed Sep. 30, 2005 by Camilleri et al. for VISION SYSTEM FOR VEHICLE, and/or U.S. Provisional Applications, Ser. No. 60/628,709, filed Nov. 17, 2004 by Camilleri et al, for IMAGING AND DISPLAY SYSTEM FOR VEHICLE; Ser. No. 60/614,644, filed Sep. 30, 2004; and/or Ser. No. 60/618,686, filed Oct. 14, 2004 by Laubinger for VEHICLE IMAGING SYSTEM, or of the reverse or backup aid systems, such as rearwardly directed vehicle vision systems utilizing principles disclosed in U.S. Pat. Nos. 5,550,677; 5,760,962; 5,670,935; 6,201,642; 6,396,397; 6,498,620; 6,717,610 and/or 6,757,109, and/or U.S. patent application Ser. No. 10/418,486, filed Apr. 18, 2003 by McMahon et al. for VEHICLE IMAGING SYSTEM, now U.S. Pat. No. 7,005,974, or of automatic headlamp controls, such as the types described in U.S. Pat. Nos. 5,796,094 and/or 5,715,093; and/or U.S. patent application Ser. No. 11/105,757, filed Apr. 14, 2005, now U.S. Pat. No. 7,526,103; and U.S. provisional applications, Ser. No. 60/607,963, filed Sep. 8, 2004 by Schofield for IMAGING SYSTEM FOR VEHICLE; and Ser. No. 60/562,480, filed Apr. 15, 2004 by Schofield for IMAGING SYSTEM FOR VEHICLE, or of rain sensors, such as the types described in U.S. Pat. Nos. 6,250,148 and 6,341,523, or of other imaging systems, such as the types described in U.S. Pat. Nos. 6,353,392 and 6,313,454, which may utilize various imaging sensors or imaging array sensors or cameras or the like, such as a CMOS imaging array sensor, a CCD sensor or other sensors or the like, such as the types disclosed in commonly assigned, U.S. Pat. Nos. 5,550,677; 5,760,962; 6,097,023 and 5,796,094, and U.S. patent application Ser. No. 09/441,341, filed Nov. 16, 1999 by Schofield et al. for VEHICLE HEADLIGHT CONTROL USING IMAGING SENSOR, now U.S. Pat. No. 7,339,149, and/or PCT Application No. PCT/US2003/036177 filed Nov. 14, 2003, published Jun. 3, 2004 as PCT Publication No. WO 2004/047421 A3, with all of the above referenced U.S. patents, patent applications and provisional applications and PCT applications being commonly assigned and being hereby incorporated herein by reference.
The image sensor may be located at the vehicle so as to have a sideward field of view, such as at an exterior rearview mirror of the vehicle, such as generally or at least partially within an exterior rearview mirror of the vehicle. For example, an image sensor may be located within an exterior rearview mirror assembly of the vehicle and may have a generally rearwardly and sidewardly field of view through a transflective reflective element of the exterior rearview mirror assembly. In such an application, the image sensor may be incorporated in or associated with a side object detection system that detects objects at a side or blind spot area of the controlled or subject vehicle. Optionally, the image sensor may have a generally forward field of view to capture images of a scene occurring forwardly of the vehicle. The image sensor may be located within the vehicle cabin and rearward of the windshield so as to have a field of view forwardly and through the windshield of the vehicle, preferably at a location that is cleaned by the windshield wipers of the vehicle, such as at an interior rearview mirror assembly of the vehicle or at an accessory module or windshield electronics module or the like. In such an application, the image sensor may be incorporated in or associated with a lane departure warning system that detects a departure of the controlled or subject vehicle from a lane as the vehicle travels along a road.
Camera Calibration:
In order to verify that the camera or imaging sensor is mounted at the vehicle (such as at an exterior portion of the vehicle) within a desired tolerance limit so as to provide the desired field of view, the camera may detect the side of the vehicle (shown at 30 in FIG. 2) and/or the door handle or handles (the front door handle is shown at 32a in FIG. 2, while the rear door handle is shown at 32b in FIG. 2) of the vehicle and the control may confiim that they are in the expected location in the captured images. If the control determines that the camera is not aligned or aimed at the desired location (such as by determining that the vehicle edge and/or door handle/handles are not at the expected location), the control may adjust the image and/or image processing to account for any such misalignment of the camera. For example, the degree of misalignment may be calculated, and the image processing may be adjusted or shifted and/or rotated to position the reference structure at the appropriate location in the captured images.
For example, the algorithm may function to preprocess the captured image by a histogram equalization to improve the image contrast. The algorithm may then process the captured images via an edge detection in the area of interest to extract the expected edge of the vehicle (shown at 34 in FIG. 2). The algorithm may filter the image data to remove noise in the edge detected image. The algorithm may perform a coarse structure fitting (such as via a line fitting algorithm or contour fitting algorithm or the like) of the vehicle side and door handles in the captured image for verifying the camera mounting is within the desired or appropriate tolerance limit. The algorithm may further perform a fine structure fitting (such as via a correlation algorithm or contour fitting algorithm or the like) for calculating shift in yaw, pitch and roll. As shown in FIGS. 3A-C, the actual or detected vehicle edges may be misaligned or separated from the expected vehicle edges, such that the image processing may be adjusted to shift the captured image data accordingly to accommodate such misalignment of the camera. Based on the results of the image processing techniques, data or information of the yaw, pitch and roll may be used to set the polygon co-ordinates and H depression pixel calibration parameters, so that the expected vehicle edges are substantially aligned with the actual or detected vehicle edges.
After the image data or image processing is adjusted to account for any misalignment of the camera at the vehicle, the camera may capture images of the scene occurring exteriorly of the vehicle and at that side of the vehicle, and the control may process the images to detect objects or lane markers or the like at the side of the vehicle and/or rearward of the vehicle, and may utilize aspects described in U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which is hereby incorporated herein by reference.
Adjustment of Zone when Vehicle Turning:
Optionally, the control may perform a curve processing or lane divider curve fitting function to select or adjust the reduced image set or zone of interest based on a steering angle of the vehicle (the angle at which the vehicle is steered to either side relative to the longitudinal axis of the vehicle), such as when the front wheels of the subject vehicle are turned. The curve processing function may adjust the zone of interest based on the degree of turning of the steering wheel (or other characteristic indicative of the steering angle of the vehicle) so that areas or regions outside of a revised curve may not be processed or considered as much as the areas or regions within the revised curve. Based on the history of host vehicle information (such as vehicle speed and wheel angle), the control may modify the slope of the adjacent lane divider (at the left side of user specified area of interest) at different positions. As shown in FIG. 4, when the wheels are turned at an angle θ, the control may determine a new curved line 40 that represents the edge of the zone or area of interest. This modification will convert straight line 1-5 in FIG. 4 to the curve 40. Detected targets or objects outside this curve (i.e., to the left of the curve in FIG. 4) will not be considered for the mapping or object detection. As shown in FIG. 5, the wheel angle may be determined by the rotation or pivoting or turning of the front wheels of the vehicle about their generally vertical axis (which may be detected by a rotational measuring device or the like), and the curve may be adjusted as a function of the vehicle speed (such as determined via a wheel speed sensor or the like) and the wheel angle θ.
The following vehicle information history table (VIHT) with the history of multiple (N) frames or captured images may be maintained for fitting of a curve. The table may be updated when the vehicle information is available for each frame.













Frame Index











Host Vehicle Information (VIn)












Time
Wheel
Cumulative
Point on Curvature












Stamp
Speed
Angle
Wheel
Point on Curvature (cm)
(pixels)














Tn
Vn
θn
Angle θCn
Xn
Yn
XPn
YPn





T0
V0
θ0
θC0
X0
Y0
XP0
YP0


T1
V1
θ1
θC1
X1
Y1
XP1
YP1


T2
V2
θ2
θC2
X2
Y2
XP2
YP2


.
.
.
.
.
.
.
.


.
.
.
.
.
.
.
.


.
.
.
.
.
.
.
.


TN−1
VN−1
θN−1
θC(N−1)
XN−1
YN−1
XP(N−1)
YP(N−1)


TN
VN
θN
θCN = θREF
XN = XREF
YN = YREF
XPN
YPN









During operation, the control may perform the following computations:

    
    
        1, Compute Reference Angle (θREF) using polygon vertices (1 & 5).
        2. Compute Reference Point (XREF, YREF) using Reference Angle (θREF) and Mirror Wheel Separation Distance (D).
        3. For each frame update (add in the circular buffer) following VIHT entries:
        
            a. Frame Index or Time Stamp (Tn);
            b. Host Vehicle Speed (Vn); and
            c. Host Vehicle Wheel Angle (θn) (note that this angle may be considered without doing any perspective correction, but may require appropriate correction to be added based on height and angle of inclination of the camera).
        
        
        4. Compute Cumulative Wheel Angle (θCn):
    
    





  
    
      
        θ
        CN
      
      =
      
        θ
        REF
      
    
    ;
  




  
    
      
        θ
        
          C
          ⁡
          
            (
            
              N
              -
              1
            
            )
          
        
      
      =
      
        
          θ
          
            N
            -
            1
          
        
        +
        
          θ
          CN
        
      
    
    ;
  




  
    
      
        θ
        
          C
          ⁢
          
            
          
          ⁢
          
            (
            
              N
              -
              2
            
            )
          
        
      
      =
      
        
          θ
          
            N
            -
            2
          
        
        +
        
          θ
          
            C
            ⁡
            
              (
              
                N
                -
                1
              
              )
            
          
        
      
    
    ;
  




  
    
      
        θ
        
          C
          ⁢
          
            
          
          ⁢
          
            (
            
              N
              -
              3
            
            )
          
        
      
      =
      
        
          θ
          
            N
            -
            3
          
        
        +
        
          θ
          
            C
            ⁡
            
              (
              
                N
                -
                2
              
              )
            
          
        
      
    
    ;
  




  ⋮




  
    
      θ
      
        C
        ⁢
        
          
        
        ⁢
        0
      
    
    =
    
      
        θ
        0
      
      +
      
        
          θ
          
            C
            ⁢
            
              
            
            ⁢
            1
          
        
        .
      
    
  



    
    
        5. Compute curve points (Xn, Yn) (such as in cm):
        
            The n=N curve point is a reference point and for all other points the following equations may be used to compute the curve points:
            YN-1=F1(TN-1, VN-1, YN); and
            XN-1=F2(θC(N-1), YN-1, XN, YN).
            Preferably, the functions F1 and F2 are relatively simple trigonometric functions.
        
        
        6. Replace the curve point (X0, Y0) with the intersection point of the curve and the horizon, and preferably do not allow the curve to cross the horizon.
        7. For display purposes, compute the curve points (XPn, YPn) in pixels using the existing cm-pixel relations (CMDistances and PixelSomethingThreshold)
    
    


In a preferred embodiment, the steps 1 and 2 above may be a one time computation in the initialization part of the algorithm, while the steps 3-6 are preferably executed during the run-time of the system, and the step 7 preferably is executed in the debug mode for the testing.
Vertical Edge Detection:
Optionally, the object detection system may be operable to detect vertical edges of objects in the field of view of the camera. Such an approach may be useful in detecting target vehicles when the front of the target vehicle is not visible, such as when the target vehicle is alongside the subject vehicle.
The vertical edge detection algorithm may be performed first at a low level Processing. During such low level processing, the vertical edge detection may be applied to an input image, and a noise filtering algorithm may be applied to the edge image. The lateral X histogram may be calculated and analyzed, and any non-significant edge counts may be removed from the histogram. The histogram may be normalized and analyzed to identify probable targets, a different ID may be given for a vertical edge detected target for use during high level processing.
During the high level processing, a map of target information for vertical targets may be generated, such as in a similar manner as for horizontal edge detected targets (such as described in U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which is hereby incorporated herein by reference, and such as described below). The targets may be filtered out based on various criteria (such as relative speed, number of frames present and/or the like), and a warning may be raised or generated if the object is detected at the side of the vehicle.
Such vertical edge detection functions may be desirable, since a target vehicle's trunk may generate a significant vertical edge. Also, the vertical edges may substantially always be present in both the daytime and nighttime hot zones. Furthermore, tree shadows, lane markings and other structures may be filtered out using such vertical edge detection.
Qualification During Daytime:
Side Object Detection works based on the edges detected. Horizontal edges are used to detect and track vehicle. The detected edges are qualified based on a robust high level vision algorithm, such as the algorithms described in U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which is hereby incorporated herein by reference. Vertical edges are being used to detect vehicles close to the camera/passing vehicles, as discussed above.
However, the vehicle identification may be based on the shadow created by the vehicle (for day time operation). A detected shadow could be created by a target vehicle entering into the blind spot or static objects like guard rails or structures on the road side or by the self shadow (of the subject vehicle) or of vehicles passing more than one lane away. It is difficult to identify whether or not the shadow is by a target vehicle entering into the blind spot. Thus, a positive identification or qualification of the edges can help in reducing false alarms.
When a shadow is detected, it is either a shadow created by a vehicle entering into the blind spot, or a shadow created by something else and not the target vehicle (a vehicle entering the blind spot). Referring to FIGS. 6-9, different shadows are shown for different scenarios the system may encounter, such as, for example, the shadow cast by a truck that is one or more lanes over from the target lane (FIG. 6), shadows cast by trees alongside the road (FIG. 7), the shadow cast by the subject vehicle (FIG. 8), and/or dark structures (FIG. 9).
In the case where the shadow is created by something other than the target vehicle, the following characteristics may be assumed:

    
    
        1. Below the edge (for horizontal edges) the road may have full illumination by daylight, and above the horizontal edge there will be road where daylight is partially occluded by some objects (so lesser illumination); or
        2. Below the edge the road may be darker because of partial occlusion by some object causing the shadow, and above the edge the road may have full daylight illumination;
        3. The above two scenarios are similar for the areas to the left and right of a vertical shadow.
    
    


Therefore, the following characteristics can also be assumed:
1. Above and below the edges there is road;
2. To the left and right of a vertical edge there is road;
3. One side of the edge is not road but is a vehicle.
The problem is that it has heretofore been difficult to distinguish between the shadow and the vehicle. The proposed methodology is intended to increase the confidence in decision. For example, the situations in FIGS. 6 and 7 may cause the system to indicate that it is a false positive (host or self shadow removal (discussed below) will also be resolved), while the situation in FIG. 8 may cause the system to indicate that the edge is due to a vehicle. The situation in FIG. 9 may result in the system indicating that it could not decide so the existing algorithm should continue to process the images.
In order to qualify a detected edge, the system of the present invention may perform the following processing steps:
1. Histogram Analysis:

    
    
        display the edge pixels within the hot zone;
        determine the start and the endpoint of an edge;
        create processing windows on either side of the edge; and
        perform wide line integration.
    
    


For Example, and as shown in FIGS. 10 and 11, a plurality of processing windows may be applied at either side of a detected edge. A plot as a result of the wide line integration is expected to be as shown in FIG. 12. The variations in the plot are expected to provide insight in qualifying an edge.
2. Extracting unique features across the edge (mean and range):

    
    
        display the edge pixels within the hot zone;
        determine the start and the endpoint of an edge;
        estimate unique features to qualify an edge such as mean and range; and
        analyze variations in mean and range on either side of the edge.
    
    


Comparison of the mean and range of the processing windows across a detected edge is expected to give insight in qualifying an edge,
3. Gradient analysis across the detected horizontal edge:

    
    
        display the edge pixels within the hot zone;
        determine the start and the endpoint of an edge;
        gradient calculations are done on the processing windows using local window operators, such as Sobel operators of the mask shown in FIG. 13; and
        The gradient magnitude gives the amount of the difference between pixels in the neighborhood (the strength of the edge). The gradient orientation gives the direction of the greatest change, which presumably is the direction across the edge (the edge normal). Comparison of the gradient across the edge is expected to provide insight in qualifying an edge.

Host Shadow Removal:

    
    


In side object detection, the host shadow of the vehicle may be detected as a target vehicle if the host shadow is extended in the hot zone (or zone or area of interest alongside the subject or host vehicle). Often, the host shadow may fall on the adjacent lane in the morning or evening time. The host shadow consists of a straight horizontal edge and an edge line with some slope, such as shown in FIG. 14.
The steps involved in processing the image to remove or ignore the host shadow include:

    
    
        obtain the target list at the output of processframe( )
        for each target, get the row value (y_Pixel);
        trace for the horizontal edge line around this row value;
        check whether this line is continuous, starting from the subject vehicle body (approximately) and up to and after the lower border of the hot zone;
        check whether this horizontal edge is extended in the hot zone and has a significant pixel count in the hot zone (check against the pixelsomething threshold for that particular line);
        start tracing for the sloped edge line at the end of this horizontal edge;
        if the sloped line is present for some columns it means that there is a host shadow; and
        if there is a host shadow, remove the corresponding target from the target list.
    
    


Note that this process may be applied before calculating the target list, so that the host shadow edge pixel count can be subtracted from the line counts. In such an application, all the lines may be scanned until the detection of the host shadow. Vertical edge calculations may not be needed for this process, since, often, if the horizontal edge line of the host shadow is present in the hot zone then the host shadow is getting detected.
Bicycle Detection:
The side object detection system may be operable to detect other objects, such as a bicycle in the zone of interest. For a bicycle, there are small edges compared to a target vehicle, since the bicycle tire is small. In order to detect and track such small edges, we need to tune some of the parameters. For example, some or all of the following listed parameters may be changed to enhance the ability of the system to detect a bicycle:

    
    
        SOMETHING_SIZE_CM: some size of the object in cms for reference (Calibration.h);
        gCalibration.SMOOTHING_ALG_THRESHOLD: threshold applied on the peak noiival force of the vehicle to see if the detected vehicle was significant (FindEdgePeaks_A( ));
        gCalibration.XFILTER FACTOR: with the pixelsomething threshold of a line, it decides the minimum number of horizontal pixels required for a valid object/target (XFilterNew( );
        gCalibration.HOT_ZONE_COUNT_THRESHOLD_DIVISOR: divisor factor of pixel something threshold of a line at the time of detection of valid objects (ComputeLineCountsR( );
        gCalibration.X_MUST_WARN: the maximum distance for a target to create a warning (when a target is located inside this position (Target X<X Must Warn), a warning for that target may be displayed);
        gCalibration.VD_HYSTERESIS_ON: threshold (normal force) at which the algorithm determines a starting point of a target (FindEdgePeaks_A( ));
        gCalibration.VD_HYSTERESIS_OFF: threshold at which the algorithm determines the falling off point of a target (FindEdgePeaks_A( ));
        gCalibration.LINEERROR: this is the difference between the projected distance and actual distance of a particular target (i.e. line mapping error).
    
    


With the parameter tuning, the system may detect many false edges as well. In order to reduce such false edge detections, the vertical edge detection may be used as an additional feature.
Vertical edge detection:

    
    
        detect the vertical edges for the frame in the area of interest region;
        the vertical edge image is scanned for the connected pixels along the columns;
        the maximum connected pixels count is compared against the threshold;
        based on the comparison result, the decision is made as to whether the target is present or absent.
    
    


The vertical edge image may be scanned in the following regions:

    
    
        Lower limit: the lower limit of the area of interest;
        Upper limit: the upper boundary of the nighttime hot zone (FarCenterIndices_N).

This is to reduce or substantially avoid a false vertical edge detection of objects outside the adjacent lane. The vertical edges may correspond to the wheels. When the target vehicle is far away, the vertical edge count will be small, and when the target vehicle is closer, the vertical edge count will be greater. A threshold count may be selected to provide the desired accuracy of the system.

    
    


The bicycle detection algorithm may be applied during the daytime because the bicycle headlight can be detected with the existing parameters (to be verified), and because little or no vertical edges may be detected during the night time (the detected vertical edges are mainly because of the wheels). Because the bicycle speed is typically low compared to the vehicle speed, the bicycle detection algorithm may be triggered only when the host vehicle speed goes below some threshold speed (such as at or below approximately 20 kph or thereabouts, for example). A flow chart of the bicycle detection process is shown in FIG. 15.
Without the vertical edge detection, some situations may result in false detections. For example, speed breakers beside the road (the system may not consider these as stationary objects because they continuously have edges one after the other which may map with the previous ones, so that some frames in this region are detected as targets), bisectors (the shadow of the bisector may create edges at the upper side of the image, in this region small pixel counts results in edge detection and may result in a detection of a target), roadside dark areas with small white patches. With vertical edge detection as an additional feature, the above false detections may be improved.
Also, it is envisioned that a bicycle rider may not always move straight like a vehicle in the lane. If the front wheel swings, then the projected target may not match with the current detected position. In order to account for this, the line error parameter may be adjusted to some extent. Also, it may be difficult to detect a bicycle if there is a shadow on the road and the bicycle is on the shadowed part of the road.
Target Mapping Tolerance:
Optionally, the object detection system and control may provide a near field detection or target mapping tolerance-line error function. Such a detection may utilize use inputs or calibration parameters. For example, a line error image may provide target-mapping tolerances in the image space due to car vibrations (such as about 3 to 6 pixels), or errors in the image processing (e.g. about 1 pixel for an edge filter), or other inputs. Also, a minimum line error (physical) input may provide target mapping tolerances in the physical space due to small variations in the target vehicle speed (this calibration parameter may be in terms of ems). Likewise, a target speed tolerance factor (such as between 0-100) may provide target mapping tolerances in the physical space, as expected to change with the speed of a target. This factor may determine the size of a tolerance band.
During operation of the object detection system, the control may compute the tolerance (the line error pixels) to be used for the target mapping, which may change with the distance from the camera (i.e., the tolerance may be different for the different lines in the image).
The following provides computations/functions that the control may perform to determine the tolerances and the like.
For example, the computation for the Nth line:
LineErrorPixels=MAX (LineErrorImage, LineErrorPhysicalInPixels_N).
LineErrorPhysicalInPixels_N=CMtoPIXEL (LineErrorPhysical, N).
CMtoPIXEL (LineErrorPhysical, N) is a function that will convert line error in cm to pixels for a specified line.
LineErrorPhysical=MAX(MinLineErrorPhysical, LineErrorPhysicalWindow).
LineErrorPhysicalWindow=(TargetSpeedTolcranceFactor*ExpectedDistanceCoveredByTarget)/100.
ExpectedDistanceCoveredByTarget=TargetRelativeSpeed*FrameRate
Day/Night Switch Algorithm:
Optionally, the side object detection system may switch between a daytime sensitivity and a nighttime sensitivity. For example, the algorithm may include the following steps:
1. Compute image histogram (H);
2. compute accumulated image histogram (Ha) using last N (such as, for example, 30) frames;
3. divide Ha into the following four regions:

    
    
        (1) dark (0<Gray Level<=Td);
        (2) night (Td<Gray Level<=Tdn);
        (3) day (Tdn<Gray Level<Tb); and
        (4) bright (Tb<=Gray Level<=255),
        using following three thresholds:
        (1) Td (0): dark threshold;
        (2) Tdn (80): day-night threshold (which may be selected in such a way that it separates day (with/without shadow) from the night (with/without headlights); this may be a fixed threshold computed using arithmetic mean or a geometric mean and auto-threshold); and
        (3) Tb (255): bright threshold that is used to separate headlight and overexposed (during day) pixels;
    
    


4. count number of pixels into above four regions:

    
    
        (1) dark region count (Cd);
        (2) night region count (Cn);
        (3) day region count (Cy); and
        (4) bright region count (Cb),
        and compute:
        (1) difference in Cy and Cn in % of total pixels (Ddn) [where Ddn=(ABS(Cy−Cn)*100)/ImagePixelCount]; and
        (2) extreme peak count (Cd+Cb) in % of total pixels (P) [where P=((Cd+Cb)*100)/ImagePixelCount]; and
    
    


5. apply the following rules to make a decision:













Rule No.
Condition(s)
Situation
Decision







1
Cn > Cy
Clear Night
Night



Ddn >= T1 (sufficient



pixels in night region)


2
Cy > Cn
Clear Day
Day



Ddn >= T1 (sufficient



pixels in day region)


3
Cn > Cy
Night +
Night



Ddn < T1
Headlights



P >= T2 (Extreme



peak found)


4
Cn > Cy
Night + Street Light,
No



Ddn < T1
Day + Clouds,
Decision



P < T2 (No extreme
Day + Shadow
(Previous



peak found)

State)


5
Cn < Cy
Day + Overexposure,
No



Ddn < T1
Day + Snow,
Decision



P >= T2 (Extreme
Night + Blooming
(Previous



peak found)
Headlights
State)


6
Cn < Cy
Day + Shadow
Day



Ddn < T1



P < T2 (No extreme



peak found)









For example, T1=70 percent and T2=2 percent. For rule 4 and 5, additional features may be desired, since the available features may not in all cases be sufficient to differentiate between day and night. If no determination or differentiation is made, the previous state may be retained. The processing time for each frame may be around 1 ms or thereabouts, such as about 0.7 ms.
Headlight Detection:
Optionally, a headlight detection module may be used to improve the nighttime target detection results. Such a module may be integrated with the side object detection algorithm. The headlight detection module or algorithm may use optimized blob analysis code in area of interest, and may identify clusters in an image during nighttime detection mode. The headlight detection module or algorithm may separate out headlights, and saturated and unqualified clusters of lights, and may be able to distinguish between headlights and reflections caused by headlights. The headlight detection module or algorithm may minimize false detections caused because of reflections on the road, or non-headlight light sources. The headlight detection module may detect the position of the headlight, and thus may provide enhanced positional accuracy while target detection. The headlight detection module may also be useful in dusk and dawn condition.
It is envisioned that, by analysis of the saturated clusters, the camera gain and exposure can be controlled in close loop, and thus the day/night switch detection can be improved. It is further envisioned that, for more accuracy, the system may detect both headlights to assist in making the decision of target detection (such as for detecting cars and/or trucks). Also, most or substantially all of the saturated and not qualified clusters may be examined for possible merging of two headlights, such as when the vehicle is far away from the camera on the subject or host vehicle.
Referring now to FIGS. 16-20, the process of identifying the headlights of a target vehicle is shown. As shown in FIG. 16, the headlights and their reflections are identified, and, as shown in FIGS. 17 and 18, the particular location or position of the headlight/headlights is identified as a target position. The non-headlight sources are identified separately (FIG. 19), and the saturated clusters are identified (FIG. 20), such as may be useful in close loop control of the side object detection system.
The table below indicates the effect on the timing of the detection/identification of side objects, as shown with and without the headlight detection function:
















With Headlight
Without Headlight




Detection
Detection



Modules
(mili-second)
(mili-second)




















Process Line
17.5
17.5



Generate Edge image
3.4
3.4



Process Frame
17.5
17.45



Map Targets
1
1



Headlight Detection
12.9
—



Total
52.3
39.35



Frame Rate
15 FPS
15 FPS










Optionally, the side object detection system and/or the imaging sensor or camera may be associated with other imaging systems or controls, such as imaging systems having an image sensor (such as a video camera, such as a CMOS imaging array sensor, a CCD sensor or the like, such as the types of imaging sensors or cameras disclosed in commonly assigned, U.S. Pat. Nos. 5,550,677; 6,097,023 and 5,796,094, and/or PCT Application No. PCT/US2003/036177, filed Nov. 14, 2003 by Donnelly Corp. for IMAGING SYSTEM FOR VEHICLE, which are hereby incorporated herein by reference), such as a forward facing video image sensor or system, which may include or may be associated with an intelligent rain sensor (such as the types disclosed in commonly assigned U.S. Pat. Nos. 6,320,176; 6,353,392 and 6,313,454, which are hereby incorporated herein by reference), an image or vision system (including an imaging sensor, such as a video camera, such as a CMOS imaging array sensor, a CCD sensor or the like, such as the types disclosed in commonly assigned, U.S. Pat. Nos. 5,550,677; 6,097,023 and 5,796,094, and U.S. patent application Ser. No. 10/422,378, filed Apr. 24, 2003 by Schofield for IMAGING SYSTEM FOR VEHICLE, now U.S. Pat. No. 6,946,978, which are hereby incorporated herein by reference), such as an imaging or object detection system or back up aid of the types described in U.S. Pat. Nos. 6,757,109; 6,717,610; 6,590,719; 6,201,642; 5,929,786; and/or 5,786,772, and/or U.S. patent application Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577; and/or Ser. No. 11/239,980, filed Sep. 30, 2005 by Camilleri et al. for VISION SYSTEM FOR VEHICLE, and/or U.S. provisional applications, Ser. No. 60/628,709, filed Nov. 17, 2004 by Camilleri et al. for IMAGING AND DISPLAY SYSTEM FOR VEHICLE; Ser. No. 60/614,644, filed Sep. 30, 2004; and/or Ser. No. 60/618,686, filed Oct. 14, 2004 by Laubinger for VEHICLE IMAGING SYSTEM, which are hereby incorporated herein by reference, or an intelligent headlamp controller (such as the types described in U.S. Pat. Nos. 5,796,094; 5,715,093; and/or 6,824,281, and/or in U.S. patent application Ser. No. 10/958,087, filed Oct. 4, 2004 by Schofield et al. for VEHICLE ACCESSORY MODULE, now U.S. Pat. No. 7,188,963; and/or Ser. No. 11/105,757, filed Apr. 14, 2005, now U.S. Pat. No. 7,526,103, and/or U.S. provisional applications, Ser. No. 60/607,963, filed Sep. 8, 2004 by Schofield for IMAGING SYSTEM FOR VEHICLE; and Ser. No. 60/562,480, filed Apr. 15, 2004 by Schofield for IMAGING SYSTEM FOR VEHICLE, which are hereby incorporated herein by reference), or an intelligent lane departure warning system (such as the types described in U.S. patent application Ser. No. 10/209,173, filed Jul. 31, 2001 by Schofield for AUTOMOTIVE LANE CHANGE AID, now U.S. Pat. No. 6,882,287; and/or Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which are hereby incorporated herein by reference), and/or the like.
Optionally, the side object detection system of the present invention may include one or more displays, such as a text display, an icon display, a display on demand (DOD) type display (such as may be implemented with a transflective reflective element, such as described in U.S. Pat. Nos. 5,668,663; 5,724,187; and 6,690,268, the entire disclosures of which are hereby incorporated by reference herein), such as a video or touch screen interface display, or a video display screen, such as the types described in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003 by Donnelly Corp. et al. for ACCESSORY SYSTEM FOR VEHICLE, and/or U.S. patent application Ser. No. 10/538,724, filed Jun. 13, 2005; and Ser. No. 11/284,543, filed Nov. 22, 2005 by DeWind et al. for INTERIOR MIRROR ASSEMBLY WITH DISPLAY, now U.S. Pat. No. 7,370,983; and/or U.S. provisional applications, Ser. No. 60/630,061, filed Nov. 22, 2004 by Lynam et al. for MIRROR ASSEMBLY WITH VIDEO DISPLAY; and Ser. No. 60/667,048, filed Mar. 31, 2005, which are hereby incorporated herein by reference, or the like.
Therefore, the present invention provides a side object detection system that is operable to process captured image data of a scene occurring exteriorly and along one or both sides of the vehicle to determine if a target vehicle or object of interest is located at or in the lane adjacent to the subject or host vehicle. The side object detection system of the present invention may process zones or areas of interest in the captured images and may adjust processing to accommodate any misalignment of the camera that may occur during installation of the camera at the side of the vehicle. The side object detection system may also adjust the processing to adjust the areas of interest, such as in response to a turning of the wheels of the vehicle so that the zone or area is adapted for the turning of the subject vehicle. The side object detection system may detect horizontal edges and vertical edges of objects in the exterior scene and may identify shadows and discern the shadows in the adjacent lane (which may be shadows cast by objects outside of the adjacent lane) from objects or target vehicles that may be present in the adjacent lane. The side object detection system of the present invention may also discern or distinguish between daytime and nighttime conditions and may adjust the image processing accordingly. The side object detection system may also function to detect headlights of a target vehicle in the adjacent lane and to discern or distinguish the headlights of the target vehicle from other light sources, such as reflections or other non-qualified light sources. The side object detection system of the present invention thus provides enhanced image processing and may utilize aspects of the side object detection system described in U.S. patent application Ser. No. 10/209,173, filed Jul. 31, 2001 by Schofield for AUTOMOTIVE LANE CHANGE AID, now U.S. Pat. No. 6,882,287; and/or Ser. No. 10/427,051, filed Apr. 30, 2003 by Pawlicki et al. for OBJECT DETECTION SYSTEM FOR VEHICLE, now U.S. Pat. No. 7,038,577, which are hereby incorporated herein by reference.
Changes and modifications in the specifically described embodiments can be carried out without departing from the principles of the present invention, which is intended to be limited only by the scope of the appended claims as interpreted according to the principles of patent law.

## Claims

1. An imaging system for a vehicle comprising:
an imaging array sensor comprising a plurality of photo-sensing pixels, wherein said imaging array sensor is positioned at the vehicle and has a field of view exterior of the vehicle, and wherein said imaging array sensor is operable to capture an image of a scene exterior of the vehicle, said captured image comprising an image data set representative of the exterior scene;
a control for processing said captured image, said control algorithmically processing said image data set to a reduced image data set of said image data set, said control processing said reduced image data set to extract information from said reduced image data set;
wherein said control is operable to determine that said imaging array sensor is not aligned within a desired tolerance when said imaging array sensor is positioned at the vehicle; and
wherein said control, responsive to a determination of a misalignment of said imaging array sensor when said imaging array sensor is positioned at the vehicle, is operable to adjust at least one of said image data set and said image processing to at least partially compensate for the determined misalignment of said imaging array sensor.

2. The imaging system of claim 1, wherein said control processes said image data set to determine a location of a reference structure of the vehicle, and wherein said control, responsive to processing of said image data set, is operable to verify that said imaging array sensor is mounted at the vehicle within said desired tolerance.

3. The imaging system of claim 1, wherein said control is operable to adjust said image processing to at least partially compensate for the detected misalignment of said imaging array sensor.

4. The imaging system of claim 1, wherein said control is operable to adjust said image data set to at least partially compensate for the detected misalignment of said imaging array sensor.

5. The imaging system of claim 1, wherein said control, responsive to a determination of a misalignment of said imaging array sensor when said imaging array sensor is positioned at the vehicle, is operable to determine a degree of misalignment of said imaging array sensor.

6. The imaging system of claim 5, wherein said control, responsive to the determination of the degree of misalignment of said imaging array sensor, is operable to adjust at least one of said image data set and said image processing to at least partially compensate for the determined degree of misalignment of said imaging array sensor.

7. The imaging system of claim 6, wherein said control processes said image data set to determine a location of a reference structure of the vehicle, and wherein said control is operable to adjust said image processing to position the reference structure at the appropriate location in the captured image to at least partially compensate for the determined degree of misalignment of said imaging array sensor.

8. The imaging system of claim 1, wherein said imaging array sensor has a field of view at a side of the vehicle.

9. The imaging system of claim 1, wherein said control processes said captured image to detect an object exterior the vehicle.

10. The imaging system of claim 1, wherein said control is operable to distinguish between an object in the field of view of said imaging array sensor and a shadow of an object.

11. The imaging system of claim 1, wherein said control is operable to switch between daytime and nighttime algorithms in response to an ambient light level at the vehicle.

12. The imaging system of claim 1, wherein at least one of (a) said control is operable to detect a headlamp of a vehicle in the field of view and (b) said control is operable to alert the driver of the vehicle that an object is detected in said exterior scene.

13. The imaging system of claim 1, wherein said exterior scene is at a side of the vehicle, and wherein said control is operable to alert the driver of the vehicle that an object is detected in said exterior scene in response to at least one of (a) the driver of the vehicle actuating a turn signal toward the side of the vehicle at which the object is detected; and (b) the driver of the vehicle steering the vehicle toward the side of the vehicle at which the object is detected.

14. The imaging system of claim 1, wherein at least one of (a) said control applies an edge detection algorithm to process said reduced image data set and (b) said reduced image data set is representative of a target zone of said captured image.

15. The imaging system of claim 1, wherein at least one of (a) said imaging array sensor is part of an exterior rearview mirror assembly of the vehicle, (b) said imaging array sensor is part of an exterior rearview mirror assembly of the vehicle and with a field of view at least partially sideward of the vehicle, said imaging system comprising a side object detection system for detecting an object at a side of the vehicle, (c) said imaging array sensor is at an upper windshield area and behind the windshield of the vehicle, and (d) said imaging array sensor is at an upper windshield area and behind the windshield of the vehicle and with a field of view forward and through the windshield, said imaging system comprising a lane departure warning system.

16. An imaging system for a vehicle comprising:
an imaging array sensor comprising a plurality of photo-sensing pixels, wherein said imaging array sensor is positioned at the vehicle and has a field of view exterior of the vehicle, and wherein said imaging array sensor is operable to capture an image of a scene exterior of the vehicle, said captured image comprising an image data set representative of the exterior scene;
a control for processing said captured image, said control algorithmically processing said image data set to a reduced image data set of said image data set, said control processing said reduced image data set to extract information from said reduced image data set;
wherein said control is operable to determine that said imaging array sensor is not aligned within a desired tolerance when said imaging array sensor is positioned at the vehicle;
wherein said control, responsive to processing of said image data set, is operable to verify that said imaging array sensor is mounted at the vehicle within said desired tolerance;
wherein said control, responsive to a determination of a misalignment of said imaging array sensor when said imaging array sensor is positioned at the vehicle, is operable to adjust at least one of said image data set and said image processing to at least partially compensate for the determined misalignment of said imaging array sensor; and
wherein at least one of (a) said control is operable to detect a headlamp of a vehicle in the field of view and (b) said control is operable to alert the driver of the vehicle that an object is detected in said exterior scene.

17. The imaging system of claim 16, wherein said control, responsive to a determination of a misalignment of said imaging array sensor when said imaging array sensor is positioned at the vehicle, is operable to determine a degree of misalignment of said imaging array sensor, and wherein said control, responsive to the determination of the degree of misalignment of said imaging array sensor, is operable to adjust at least one of said image data set and said image processing to at least partially compensate for the determined degree of misalignment of said imaging array sensor.

18. The imaging system of claim 16, wherein said control processes said image data set to determine a location of a reference structure of the vehicle and wherein said control is operable to adjust said image processing to position the reference structure at the appropriate location in the captured image to at least partially compensate for the determined misalignment of said imaging array sensor.

19. An imaging system for a vehicle comprising:
an imaging array sensor comprising a plurality of photo-sensing pixels, wherein said imaging array sensor is positioned at the vehicle and having a field of view exterior of the vehicle, and wherein said imaging array sensor is operable to capture images exterior of the vehicle;
a control for processing said captured image;
wherein said control is operable to determine that said imaging array sensor is not aligned within a desired tolerance when said imaging array sensor is positioned at the vehicle; and
wherein said control, responsive to a determination of a misalignment of said imaging array sensor when said imaging array sensor is positioned at the vehicle, is operable to adjust at least one of said captured images and said image processing to at least partially compensate for the determined misalignment of said imaging array sensor; and
wherein at least one of (a) said imaging system comprises an object detection system for detecting an object exterior of the vehicle, (b) said imaging system comprises a headlamp control system for detecting a headlamp of a vehicle in the field of view, and (c) said imaging system comprises a lane departure warning system.

20. The imaging system of claim 19, wherein said control is operable to switch between daytime and nighttime algorithms in response to an ambient light level at the vehicle.

21. The imaging system of claim 19, wherein said captured images comprise an image data set and wherein said control algorithmically processes said image data set to a reduced image data set of said image data set, and wherein said control processes said reduced image data set to extract information from said reduced image data set.

22. An imaging system for a vehicle comprising:
at least a first imaging array sensor comprising a plurality of photo-sensing pixels and a second imaging array sensor comprising a plurality of photo-sensing pixels;
wherein said first imaging array sensor is positioned at the vehicle and has a first field of view exterior of the vehicle, and wherein said first imaging array sensor is operable to capture images exterior of the vehicle;
wherein said second imaging array sensor is positioned at the vehicle and has a second field of view exterior of the vehicle, and wherein said second imaging array sensor is operable to capture images exterior of the vehicle;
a control for processing said captured images;
wherein said control is operable to determine that at least one of said imaging array sensors is not aligned within a desired tolerance when said at least one of said imaging array sensors is positioned at the vehicle; and
wherein said control, responsive to a determination of a misalignment of at least one of said imaging array sensors when said imaging array sensors are positioned at the vehicle, is operable to adjust at least one of said captured images and said image processing to at least partially compensate for the determined misalignment of said at least one of said imaging array sensors.

23. The imaging system of claim 22, wherein at least one of (a) said imaging system comprises an object detection system for detecting an object exterior of the vehicle, (b) said imaging system comprises a headlamp control system for detecting a headlamp of a vehicle in the field of view, and (c) said imaging system comprises a lane departure warning system.

24. The imaging system of claim 23, wherein said first imaging array sensor is part of a driver side exterior rearview mirror of the vehicle and said first field of view exterior of the vehicle encompasses a scene adjacent the driver side of the vehicle, and wherein said second imaging array sensor is part of a passenger side exterior rearview mirror of the vehicle and said second field of view exterior of the vehicle encompasses a scene adjacent the passenger side of the vehicle.

25. An imaging system for a vehicle comprising:
at least a first imaging array sensor comprising a plurality of photo-sensing pixels and a second imaging array sensor comprising a plurality of photo-sensing pixels;
wherein said first imaging array sensor is positioned at the vehicle and has a first field of view exterior of the vehicle, and wherein said first imaging array sensor is operable to capture images exterior of the vehicle;
wherein said first imaging array sensor is part of a driver side exterior rearview mirror of the vehicle and said first field of view exterior of the vehicle encompasses a scene adjacent the driver side of the vehicle;
wherein said second imaging array sensor is positioned at the vehicle and has a second field of view exterior of the vehicle, and wherein said second imaging array sensor is operable to capture images exterior of the vehicle;
wherein said second imaging array sensor is part of a passenger side exterior rearview mirror of the vehicle and said second field of view exterior of the vehicle encompasses a scene adjacent the passenger side of the vehicle;
a control for processing said captured images;
wherein said control is operable to determine that at least one of said imaging array sensors is not aligned within a desired tolerance when said at least one of said imaging array sensors is positioned at the vehicle; and
wherein said control, responsive to a determination of a misalignment of at least one of said imaging array sensors when said imaging array sensors are positioned at the vehicle, is operable to adjust at least one of said captured images and said image processing to at least partially compensate for the determined misalignment of said at least one of said imaging array sensors.

26. The imaging system of claim 25, wherein at least one of (a) said imaging system comprises an object detection system for detecting an object exterior of the vehicle, (b) said imaging system comprises a headlamp control system for detecting a headlamp of a vehicle in the field of view, and (c) said imaging system comprises a lane departure warning system.

27. The imaging system of claim 25, wherein said control is operable to alert the driver of the vehicle that an object is detected.