System and method for combining and processing visible light and thermal camera information
By integrating visible light and thermal cameras to generate edge images and disparity maps, the system addresses real-time sensor fusion challenges, improving obstacle and road feature detection in diverse conditions with efficient processing.
Patent Information
- Application Number
- JP2023542588
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-01-21
- Filing Date
- 2021-09-17
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2041-09-17
AI Technical Summary
Combining and responding to sensor readings from multiple sensors in real-time with limited processing power in various environments and traffic conditions is challenging for advanced driver assistance systems and autonomous driving systems.
The system integrates visible light and thermal cameras to generate edge images and disparity maps, adjusting thermal camera gain based on regions of interest, and fusing sparse and dense disparity regions for improved obstacle and road feature detection.
Enhances detection and recognition of obstacles and road features in diverse weather and lighting conditions, providing high precision and efficient processing using lower-cost hardware.
Smart Images

Figure 0007576181000001 
Figure 0007576181000002 
Figure 0007576181000003
Abstract
Description
[Technical field]
[0001] The present invention relates to systems and methods for automating or enhancing vehicle control for improved safety, automated navigation, and the like. [Background technology]
[0002] Advanced driver assistance systems (ADAS), as well as semi-autonomous vehicle systems, self-driving systems, or other automated driving (AD) systems, are systems that automate or enhance vehicle control for improved safety, automated navigation, etc. These systems typically use multiple types of sensors to perceive the road and recognize and avoid other vehicles, obstacles, pedestrians, etc. However, it can be difficult to combine and respond to sensor readings from multiple sensors in real time with limited processing power in a variety of different environmental, traffic, and road conditions.
[0003] Patent Document 1 describes an obstacle detection device for a vehicle. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2000-318513 A Summary of the Invention [Problem to be solved by the invention]
[0005] The problem to be solved is to combine and respond to sensor readings of multiple sensors with real-time processing capabilities in a variety of different environmental, traffic and road conditions. [Means for solving the problem]
[0006] In some embodiments, the one or more processors may receive at least one first visible light image and a first thermal image. Further, the processor may generate an edge image from the at least one first visible light image, the edge image identifying edge regions in the at least one first visible light image. At least one of the lane markers or the road edge regions may be determined based at least in part on information from the edge image. Also, one or more first regions of interest in the first thermal image may be determined based on at least one of the lane markers or the road edge regions. Further, a gain of the thermal sensor may be adjusted based on the one or more first regions of interest in the first thermal image.
[0007] Also, in some embodiments, the one or more processors may receive one or more visible light images and a thermal image. One or more regions of interest may be determined in the thermal image, and the one or more regions of interest may be mapped to the one or more visible light images. The processor may generate a disparity map image from the one or more visible light images based on the mapping, the disparity map image combining one or more dense disparity regions corresponding to the one or more regions of interest with one or more sparse disparity regions corresponding to regions outside the one or more regions of interest. Effect of the Invention
[0008] Some embodiments herein improve the detection and recognition of obstacles and road features for all kinds of weather conditions, such as for AD / ADAS applications. For example, it may be difficult to detect and recognize obstacles, road surfaces, signs, traffic lights, etc., for all weather and lighting conditions using a single sensor, such as only a stereo or mono VL camera, or only a thermal camera. Therefore, some examples herein provide efficient fusion of VL camera images and thermal camera images to achieve high accuracy detection and recognition capabilities for multiple weather and road conditions.
[0009] The detailed description will be set forth with reference to the accompanying drawings, in which the leftmost digit(s) of a reference number identifies the figure in which the reference number first appears. Use of the same reference number in different figures indicates similar or identical items or features. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 illustrates an exemplary recognition system configured to perform recognition of a vehicle's surroundings, according to some embodiments. [Diagram 2] FIG. 1 illustrates an example architecture of a perception system that may be included in a vehicle, according to some embodiments. [Diagram 3] FIG. 3 illustrates an example architecture of a perception and vehicle control system 300 that may be included in a vehicle, according to some embodiments. [Figure 4] FIG. 2 illustrates an example of image capture performed by a camera system, according to some embodiments. [Diagram 5] FIG. 1 is a flow diagram illustrating an example process for dynamic gain adjustment using stereo camera images, according to some embodiments. [Figure 6] FIG. 1 is a flow diagram illustrating an example process for dynamic gain adjustment using a mono camera image, according to some embodiments. [Figure 7] FIG. 2 is a flow diagram illustrating an example process for generating a disparity edge image, according to some embodiments. [Figure 8] FIG. 2 illustrates an example process for determining the relative pose of a visible light camera to a thermal camera, or vice versa, according to some embodiments. [Figure 9] 4A-4C illustrate example lookup tables and decision trees for selecting gain weights according to some embodiments. [Figure 10] 1A-1C illustrate example thermal images before and after a dynamic calibration adjustment, according to some embodiments. [Figure 11]1 is a flow diagram illustrating an example process for generating a disparity map that combines sparse and dense disparity regions in accordance with some embodiments. [Figure 12] FIG. 2 illustrates an example image for determining high and low priority regions, according to some embodiments. [Figure 13] FIG. 2 illustrates an example of block matching for determining high priority regions in a stereo image, according to some embodiments. [Figure 14] FIG. 2 illustrates an exemplary disparity map image with combined sparse and dense disparity regions determined according to some embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Some embodiments herein relate to techniques and configurations that can combine information received from one or more visible light (VL) cameras and one or more thermal cameras to perform recognition, such as roadway recognition, obstacle recognition, obstacle avoidance, or other recognition and navigation enabling functions. For example, embodiments herein may generate a disparity map based at least in part on information received from the thermal camera and one or more VL cameras. Also, embodiments herein may perform dynamic adjustment of thermal camera gain to improve accuracy of the recognition results herein.
[0012] As an example, the techniques described herein may intelligently calculate regions of sparse and dense disparity maps for use in obstacle avoidance and other navigation functions based at least in part on thermal camera information. Some examples may also perform dynamic adjustment of thermal camera gain values based on edge disparity information determined from VL camera images. For example, edge disparity information herein may be extracted from images received from a VL camera, such as a mono VL camera or a stereo VL camera.
[0013] Some embodiments herein improve the detection and recognition of obstacles and road features for all kinds of weather conditions, such as for AD / ADAS applications. For example, it may be difficult to detect and recognize obstacles, road surfaces, signs, traffic lights, etc., for all weather and lighting conditions using a single sensor, such as only a stereo or mono VL camera, or only a thermal camera. Therefore, some examples herein provide efficient fusion of VL camera images and thermal camera images to achieve high accuracy detection and recognition capabilities for multiple weather and road conditions.
[0014] As an example, the system herein may include a thermal camera and at least one VL camera mounted on a vehicle. The respective fields of view (FOV) of both the thermal camera and the VL camera may be wide enough to image the road ahead of the vehicle, as well as the road edge and roadside objects. If the FOV of the thermal camera and the VL camera are approximately the same, the calculations may be somewhat simplified compared to other examples herein where the FOV of the thermal camera and the VL camera are different. For example, if the FOV is different, an additional calibration operation may be used to match the FOV when fusing the images received from the thermal camera and the visible light camera. Furthermore, the embodiments herein are not limited to imaging the roadway ahead of the vehicle, but may be used to image the side or rear of the vehicle, such as to perform recognition of the entire environment around the vehicle.
[0015] Performing reliable recognition of obstacles for a variety of different types of weather conditions can be a challenging problem for ADAS / AD systems. Thus, embodiments herein include efficient fusion techniques of VL camera images and thermal camera images to enable accurate detection and recognition rates for a wide variety of conditions. For example, some examples herein may use raw data fusion techniques that improve the quality and efficiency of disparity maps and provide automatic adjustment of thermal camera sensor gain to perform obstacle recognition using fused camera data. This enables the systems herein to provide improved recognition performance compared to conventional solutions. Also, embodiments herein may help provide a comprehensive assessment of the road scene, such as for detecting obstacles at relatively long distances. In some cases, artificial intelligence can be used to achieve high accuracy recognition performance using VL camera information and thermal camera information.
[0016] For purposes of explanation, some exemplary embodiments are described in the context of capturing and fusing visible light and thermal images to detect and recognize a vehicle's surroundings, however, the embodiments herein are not limited to the specific examples provided and may be extended to other types of cameras, other types of thermal sensing devices, other types of vehicles, other types of roads and obstacles, other weather conditions, etc., as would be apparent to one of ordinary skill in the art in light of the disclosure herein.
[0017] FIG. 1 illustrates an exemplary perception system 100 configured to perform perception of the surroundings of a vehicle 102, according to some embodiments. In this example, assume that the vehicle 102 is traveling on a roadway or other travel path 104 in a direction indicated by an arrow 106. The perception system 100 herein may include at least one camera system 108 that may be attached to the vehicle 102. In the illustrated example, the camera system 108 may include a VL camera 110 and a thermal camera 112. In this example, the VL camera 110 is a stereo VL camera. In other examples, the camera system 108 may include one or more mono VL cameras instead of or in addition to a VL stereo camera as the VL camera 110. Furthermore, in some cases, multiple thermal cameras 112 may be included. Also, while the cameras 110, 112 of the camera system 108 are shown as being co-located on the roof of the vehicle in this example, in other examples, the thermal camera 112 and / or the VL camera 110 may be located together or separately in any of a variety of different locations on the vehicle 102.
[0018] In the illustrated example, the FOV 114 of the VL camera 110 is matched to the FOV 116 of the thermal camera 112. The FOVs 114, 116 may be wide enough to image the road or other driving path 104 ahead of the vehicle 102, approaching vehicles 118, road edges 120, roadside areas 122, road lane markings 124, etc. Also, in other examples, the FOV 114 of the VL camera 110 may be different from the FOV 116 of the thermal camera 112, such as by providing a different imaging angle in at least one of the lateral and / or vertical directions, etc.
[0019] In some cases, the camera system 108 may continuously capture images corresponding to the respective FOVs 114, 116 while the vehicle 102 is operating, for example, at 10 frames / second, 15 frames / second, 30 frames / second, 60 frames / second, or any other desired frequency that provides images at a high enough rate to enable recognition of the travel path 104 and obstacles in the travel path in time to take evasive action or otherwise adapt to the recognition information. For example, the imaging frequency (sampling frequency) of the camera system 108 may increase as the vehicle speed increases. Also, in some cases, the VL camera 110 may capture images at a sampling frequency different from the sampling frequency of the thermal camera 112.
[0020] The vehicle 102 may include one or more vehicle computing devices 126, as described further below. The vehicle computing devices 126 may execute a recognition program 128 and a vehicle control program 130. In some cases, the recognition program 128 may receive images captured by the cameras of the camera system 108 and perform processing on the images to perform recognition on the current travel path 104 of the vehicle 102. The recognition program 128 may provide recognition information regarding detected and recognized features and obstacles to the vehicle control program 130, which may initiate one or more actions based on the recognition information, such as issuing an alarm to alert vehicle occupants, braking the vehicle 102, accelerating the vehicle, steering one or more wheels of the vehicle 102, etc.
[0021] In some cases, camera system 108 may include at least one vehicle computing device 126 that executes recognition program 128. In other cases, vehicle computing device 126 may be separate from camera system 108 and may be located elsewhere in vehicle 102 to execute recognition program 128. In either case, vehicle computing device 126 may receive images from camera system 108 and may process the images to detect roads, road features, signs, obstacles, other vehicles, etc.
[0022] In some examples, the recognition program 128 may generate a disparity map from the received images, for example using stereo camera images, mono camera images, or images taken from multiple mono cameras. If a mono camera is used, a trained machine learning model (not shown in FIG. 1) may be used to calculate the depth map. For example, first, a set of monocular images and their corresponding ground truth disparity maps may be captured and used to train the machine learning model. The machine learning model may then be used to predict an approximation of the disparity map as a function of a newly captured image.
[0023] Alternatively, in the case of a stereo camera or multiple cameras, the images may be captured by two or more cameras. The captured images may be used to calculate disparity using a block matching technique, such as semi-global block matching or any other suitable technique. The disparity information may be used to generate a disparity map. In some examples herein, a stereo camera system is used as an example system to illustrate some exemplary embodiments, but one skilled in the art will understand that similar configurations and techniques may be applied by using a system with a single mono camera or multiple mono cameras.
[0024] Thermal cameras (also simply referred to as "thermal sensors") and VL cameras operate in different electromagnetic spectrums. For example, VL camera sensors, such as the mono VL camera and stereo VL camera described herein, may operate in the visible light spectrum. The infrared (IR) spectrum can range in wavelength from about 0.75 micrometers at the nominal red edge of the visible light spectrum to nearly 1 millimeter, and thus includes most of the thermal radiation emitted by objects near room temperature. Thus, the IR spectrum, which includes thermal radiation, has longer wavelengths than the visible light spectrum and is therefore generally invisible to the human eye. Because the thermal radiation emitted by objects typically corresponds to electromagnetic waves in the far-field thermal spectrum, thermal sensors can detect these waves and generate thermal images.
[0025] Further, in some examples, the thermal cameras herein may be distinguished from near-infrared (IR) cameras. For example, a near-IR camera may detect wavelengths of, for example, 0.75-1.4 micrometers, while a thermal camera herein may detect wavelengths in the range of, for example, 8-15 micrometers. Thus, in some examples, a near-IR camera may use the same sensor as a VL camera and rely on ambient IR light or IR diodes to receive IR light of the required wavelength, whereas a thermal camera herein relies on detecting emitted heat of mid- to far-IR wavelengths.
[0026] In general, a VL camera may provide better recognition performance for images during the day compared to night, such as when considering detection range, light intensity, etc. The disparity map may enable detection and recognition of features in the FOV, such as roadways, obstacles, etc., and may provide information to estimate the distance to the recognized features. As an example, a disparity map may be created using left and right camera images from a stereo camera. The quality of the generated disparity map may correlate with the quality of the recognition and distance estimation performance. A higher quality disparity map, often referred to as a "dense" disparity map, may provide highly accurate information for a majority of the pixels considered in creating the dense disparity map. On the other hand, a lower quality disparity map, often referred to as a "sparse" disparity map, may provide accurate information only for a limited number of pixels in the captured image. However, the creation of a dense disparity map may be relatively computationally expensive compared to the creation of a sparse disparity map, requiring more expensive processing units and memory. Thus, a sparse disparity map may be used to reduce computational requirements, although it may not show the correct information for all of the required pixels.
[0027] Thermal cameras herein may provide superior performance in low light conditions compared to VL cameras. However, thermal cameras may be limited based on the calibration of the thermal sensor pixel gain, which may render the thermal sensor not sensitive enough under some conditions. Thus, embodiments herein provide automatic correction of the sensor pixel gain for a variety of different conditions. For example, the calibration / gain parameters of the thermal camera may be adjusted to allow the thermal camera to detect small temperature differences, such as during low temperatures late at night. For example, the technology herein may enable the thermal camera to distinguish between the road surface and lane markers at night based on the intelligent sensor gain adjustments herein.
[0028] Embodiments herein provide for the fusion of VL camera data with thermal camera data to enable superior recognition results. For example, techniques herein include intelligently determining regions of an image for computing a dense disparity map and other regions for a sparse disparity map based in part on thermal camera information, such that recognition accuracy can be improved while using lower cost processing units and memory. For example, techniques herein may include intelligently fusing thermal and VL image information to identify low priority regions where a sparse disparity calculation is sufficient and to identify high priority regions of an image where a dense disparity calculation is appropriate.
[0029] Additionally, the techniques herein may include dynamic adjustment of thermal sensor gain values by utilizing edge disparity information determined from one or more VL camera images to enhance nighttime obstacle and road information detection and recognition accuracy. As an example, the techniques herein may include modifying gain values for individual pixels where long edges are found by a mono / stereo camera.
[0030] The thermal images captured herein may provide information based on the detected temperature of each obstacle or other object, road features, etc. Therefore, information such as texture, color, and shadows that are typically available in VL camera images cannot be extracted from thermal camera images. Thus, existing obstacle detection algorithms used with VL spectral cameras may not be suitable for use with thermal camera images due to the inherent differences between images captured by thermal and VL cameras.
[0031] In some examples herein, the system may use a thresholding operation followed by a clustering operation, or may use a semantic segmentation network, such as by using deep learning or instance segmentation, to determine regions for generating sparse and dense disparity map information. In the case of a thresholding operation, a first threshold may first be applied to each of the pixels in the captured image. For example, pixels having values lower than the first threshold may be considered to be low temperature regions and removed, while pixels above the threshold may be considered to be hot spots and kept. A clustering operation may then be used to determine low and high priority regions of the image. In particular, low priority regions may be subject to sparse disparity processing, and high priority regions may be subject to dense disparity processing.
[0032] Alternatively, when using a semantic segmentation network and deep learning, instance segmentation, or other machine learning models to determine the regions of interest, pixels in the image may first be classified into corresponding segments and classes. For example, each class and segment may indicate a road surface characteristic. A database (not shown in FIG. 1 ) of a large set of thermal images may be compiled, including images captured under a variety of different scenarios and conditions, such as weather, day, night, different road surface types, and also including images containing various obstacles and road features, such as pedestrians, vehicles, traffic lights, road curbs, street lights, traffic signs, etc. Once the database and corresponding labels are prepared, the semantic segmentation network may be trained using one part of the database, and the trained machine learning model may be evaluated using another part of the database to ensure accurate output. Subsequently, during use, the captured thermal image may be input to the trained machine learning model, and the trained model may output the regions of interest. Thus, the regions of interest may be subjected to dense disparity processing, and the rest of the image may be subjected to sparse disparity processing, to generate a combined sparse and dense disparity map image.
[0033] 2 illustrates an example architecture of a perception system 200 that may be included in a vehicle 102, according to some embodiments. Each vehicle computing device 126 may include one or more processors 202, one or more computer-readable media 204, and one or more communication interfaces 206. In some examples, a vehicle computing device 126 may include one or more ECUs (electronic control units) or any of a variety of other types of computing devices. For example, a vehicle computing device 126 may include one or more ADAS / AD ECUs for controlling vehicle systems critical to performing ADAS and / or AD tasks, such as navigation, braking, steering, acceleration, deceleration, etc. A vehicle computing device 126 may also include other ECUs for controlling other vehicle systems.
[0034] An ECU is a generic term for any embedded system that controls one or more of the systems, subsystems, or components in a vehicle. Software such as the recognition program 128 and the vehicle control program 130 may be executed by one or more ECUs and may be stored in a portion of the computer readable medium 204 (e.g., program ROM) associated with each ECU to enable the ECU to operate as an embedded system. The ECUs may typically communicate with each other via a vehicle bus 208 according to a vehicle bus protocol. As an example, the Controller Area Network Bus (CAN bus) protocol is a vehicle bus protocol that allows ECUs and other vehicle devices and systems to communicate with each other without a host computer. CAN buses may include at least two different types. For example, high-speed CAN may be used in applications where a bus runs from one end of an environment to the other, while fault-tolerant CAN is often used when a group of nodes are connected together.
[0035] Each ECU or other vehicle computing device 126 may include one or more processors 202, which may include one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, a microcomputer, a microcontroller, a digital signal processor, a state machine, a logic circuit, and / or any device that manipulates signals based on operational instructions. By way of example, the processor 202 may include one or more hardware processors and / or logic circuits of any suitable type that are specifically programmed or configured to execute the algorithms and other processes described herein. The processor 202 may be configured to fetch and execute computer-readable instructions stored on a computer-readable medium 204, which may program the processor 202 to perform the functions described herein.
[0036] The computer-readable medium 204 may include volatile and non-volatile memory and / or removable and non-removable media implemented in any type of technology for storing information such as computer-readable instructions, data structures, programs, program modules, and other code or data. For example, the computer-readable medium 204 may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, optical storage, solid-state storage, magnetic disks, cloud storage, or any other medium usable to store desired information and accessible by a computing device. Depending on the configuration of the vehicle computing device 126, the computer-readable medium 204 may be a tangible non-transitory medium, insofar as non-transitory computer-readable media is mentioned to exclude media such as energy, carrier signals, electromagnetic waves, and / or signals themselves. In some cases, the computer-readable medium 204 may be co-located with the vehicle computing device 126, while in other examples, the computer-readable medium 204 may be partially remote from the vehicle computing device 126, such as accessible via a wireless network, etc.
[0037] The computer readable medium 204 may be used to store any number of functional components executable by the processor 202. In many embodiments, these functional components include instructions or programs executable by the processor 202 that, when executed, specifically program the processor 202 to perform the actions attributed to the vehicle computing device 126 herein. The functional components stored on the computer readable medium 204 may include a recognition program 128 and a vehicle control program 130, each of which may include one or more computer programs, applications, executable code, or portions thereof. Additionally, although these programs are shown together in this example, during use, some or all of these programs may be executed on separate vehicle computing devices 126.
[0038] The computer-readable medium 204 may also store data, data structures, and other information used to perform the functions and services described herein. For example, the computer-readable medium 204 may store recognition information 212, vehicle data 214, image data 216, one or more machine learning models (MLMs) 218, gain lookup tables 219, other sensor data 220, and the like. Furthermore, although these data and data structures are shown together in this example, during use, some or all of these data and / or data structures may be stored by or with a separate vehicle computing device 126. The vehicle computing device 126 may also include or maintain other functional components and data, which may include programs, drivers, and the like, as well as data used or generated by the functional components. Furthermore, the vehicle computing device 126 may include many other logical, programmatic, and physical components, of which the above-mentioned are merely examples relevant to the description herein.
[0039] The communication interface(s) 206 may include one or more software and hardware components for enabling communication with various other devices, such as via the vehicle bus 208 and / or one or more networks (not shown in FIG. 2 ). For example, the communication interface 206 may enable communication via one or more of a LAN, the Internet, a cable network, a cellular network, a wireless network (e.g., Wi-Fi®) and a wired network (e.g., CAN, Fibre Channel, Fiber Optic, Ethernet®), a direct connection, and short-range communications such as BLUETOOTH®, and any additional listed elsewhere herein.
[0040] The vehicle computing device 126 may be in communication with the camera system 108 via the vehicle bus 208, a direct connection, or any other type of connection for receiving image data 216 from the camera system 108. For example, as described in more detail below, the recognition program 128 may receive the image data 216 from the camera system 108 and perform recognition of features within the image. In the example of FIG. 2, the received image data 216 may include a VL image 222 and a thermal image 223. For example, some or all of the image data 216 may be received as raw image data without substantial processing. Alternatively, in other examples, the camera system 108 may perform recognition within the image rather than transmitting the raw image data to the vehicle computing device 126, for example, as described further below with respect to FIG. 3.
[0041] Vehicle computing device 126 may also receive vehicle data 214 from other systems and / or other sensors within the vehicle. For example, the vehicle may include a number of other sensors 225 in addition to camera system 108 that may provide sensor information used by vehicle control program 130. Some non-exhaustive examples of other sensors 225 may include radar, LIDAR, ultrasonic, Global Positioning System (GPS) receivers, other cameras pointing in other directions, etc. Vehicle data 214 used by vehicle control program 130 may also include information received from or related to various vehicle systems, such as a suspension controller 224 associated with the suspension system, a steering controller 226 associated with the steering system, and a vehicle speed controller 228 associated with the braking and acceleration system.
[0042] As an example, the recognition program 128 may continuously receive VL images 222 and thermal images 223 as image data 216 from the camera system 108, e.g., as the camera system 108 captures images of the vehicle's travel path or other surroundings while the vehicle is moving. Additionally, the recognition program 128 may process the received image data 216 to recognize road features, obstacles, and the like. The recognition program 128 may provide recognition information 212 regarding detected obstacles, road features, and the like to the vehicle control program 130, which may take one or more actions in response to the recognition information. In some examples, the vehicle control program 130 and / or the recognition program 128 may fuse or otherwise combine and integrate the recognition information 212 determined from the image data 216 with other sensor data 220 to provide the vehicle control program 130 with additional available information for controlling the vehicle.
[0043] For example, the vehicle control program 130 may use rule-based and / or artificial intelligence-based control algorithms to determine parameters for vehicle control. For example, the vehicle control program 130 may apply one or more machine learning models (not shown in FIG. 2 ) to determine appropriate actions such as braking, steering, deceleration, acceleration, etc. Additionally, the vehicle control program 130 may send one or more control signals 238 to one or more vehicle systems in response to the recognition information 212. For example, the vehicle control program 130 may send the control signals 238 to the suspension controller 224, the steering controller 226, and / or the vehicle speed controller 228. For example, the control signals 238 may include a specified spring rate and / or damping control information sent to the suspension controller 224, a specified steering angle sent to the steering controller 226 to steer one or more wheels, and / or a specified braking or acceleration control information sent to the vehicle speed controller 228.
[0044] Additionally or alternatively, such as when the vehicle is under the control of a human driver, the vehicle control program 130 may send control signals 238 to a display 240 to present an alert, and / or to one or more alert devices 242, such as audio or visual alert devices. Examples of alert devices 242 include speakers that may generate an audio alert, haptic devices (e.g., in the seat or steering wheel) that may generate a vibration or other type of haptic alert, and / or visual signal devices that may generate a visual alert.
[0045] 3 illustrates an example architecture of a perception and vehicle control system 300 that may be included in a vehicle 102, according to some embodiments. In this example, the camera system 108 may include processing capabilities for determining perception information 212 independent of the vehicle computing device 126. Thus, the camera system 108 includes one or more processors 302, one or more computer-readable media 304, and / or one or more communication interfaces 306. The one or more processors 302 may be or include any of the processors 202 described above with respect to FIG. 2, or other suitable processors for performing the operations described herein. Additionally, the one or more computer-readable media 304 may be or include any of the computer-readable media 204 described above with respect to FIG. 2, or other suitable computer-readable media. Similarly, the communication interface 306 may be or include any of the communication interface 206 described above with respect to FIG. 2, or other suitable communication interfaces.
[0046] The camera system 108 also includes a VL camera 110 and a thermal camera 112, which may include one or more lenses, one or more focus systems, one or more image sensors, and one or more thermal sensors as known in the art. In this example, the camera system 108 may execute a recognition program 128 on one or more processors 302. Thus, the VL camera 110 and the thermal camera 112 may capture images within their respective fields of view, which may be stored in the computer readable medium 304 as image data 216.
[0047] In some examples, the recognition program 128 receives image data 216 from the VL camera 110 and the thermal camera 112. For example, the recognition program 128 may continuously receive image data 216 from the VL camera 110 and the thermal camera 112 in a buffer of the computer readable medium 304 as the respective VL and thermal images are captured. Additionally, the recognition program 128 may perform recognition processing on the received images as described in more detail below. The recognition program 128 may then transmit the recognition information 212 to the vehicle computing device 126 in real time. The vehicle control program 130 may then process the recognition information 212 to control the vehicle as described above with respect to FIG. 2 and as described further below.
[0048] In some examples, the vehicle computing device 126 may execute an aggregation program 308 that initially receives the recognition information 212 and may also receive other sensor data 220. For example, the aggregation program 308 may compare and collate the recognition information 212 with other sensor data to provide a more complete indication of the vehicle's surroundings to the vehicle control program 130. Similar to the example of FIG. 2 described above, the vehicle control program 130 may send one or more control signals 238 to one or more of the suspension controller 224, steering controller 226, vehicle speed controller 228, display 240, and / or alarm device 242 based on the received recognition information 212 and other sensor data 220. Additionally, while in some examples herein the VL camera 110 and the thermal camera 112 are described as using the same processor 302 and / or the same vehicle computing device 126, in other examples the VL camera 110 may use one or more processors 302 and / or a different vehicle computing device 126 than those used by the thermal camera 112.
[0049] FIG. 4 illustrates an example of image capture 400 performed by the camera system 108, according to some embodiments. In this example, the camera system 108 includes a stereo VL camera 110 and a thermal camera 112. For example, the stereo VL camera 110 may include a right lens 402 and a left lens 404. The right lens 402 may capture a right image 406, and the left lens 404 may capture a left image 408. The thermal camera 112 may also capture a thermal image 410 using a thermal sensor 412, such as a microbolometer. As mentioned above, in some examples, the FOV of the stereo VL camera 110 and the FOV of the thermal camera 112 may be approximately the same. In other examples where the FOV of the stereo VL camera 110 is significantly different from the FOV of the thermal camera 112, additional transformation calculations may be performed to take into account the difference in FOV of the associated cameras 110, 112, and to align the overlapping portions of the respective FOVs.
[0050] As described further below, a system (e.g., system 100, 200, and / or 300) may determine an image of disparity, referred to as a disparity map image, using the left and right images 406 and 408, respectively. For example, the system may calculate the disparity map image using the two stereo left and right images 406 and 408 based on a block matching method. As an example, as known in the art, for a point PL=(u1,v1) in the left image 408, the corresponding point PR=(u2,v2) in the right image 406 may be at the same height as PL, and v1=v2 measured from a common baseline. Thus, the disparity measurement may be determined using a simple stereo camera theory, where disparity may be defined as follows: d=u2-u1 formula (1)
[0051] Since the disparity on an image is inversely proportional to the corresponding disparity, embodiments herein may determine a disparity image by determining depth information of a 3D point from the disparity based on the determined disparity. Thus, the depth may be calculated using the left and right images and the actual disparity, for example, as follows: Z=fb / d Equation (2) where Z is the distance (depth) along the camera axis, f is the focal length in pixels, b is the baseline in meters, and d is the disparity in pixels.
[0052] In some examples herein, the system may determine, at least in part, by using the thermal image 410, which regions of the disparity map image to compute as a dense disparity map and which other regions to compute as a sparse disparity map, resulting in improved recognition accuracy while reducing processing time and / or using lower cost processing units and memory. For example, techniques herein may include intelligently considering both thermal and VL image information to identify low priority regions of the image where a sparse disparity calculation is sufficient and high priority regions of the image where a dense disparity calculation is appropriate.
[0053] At least some of Figures 5-8 and 11 include flow diagrams illustrating exemplary algorithms or other processes according to some embodiments. The processes are illustrated as a collection of blocks in a logical flow diagram that represent a sequence of operations, some or all of which may be implemented in hardware, software, or a combination thereof. In the context of software, the blocks may represent computer-executable instructions stored on one or more computer-readable media that program a processor to perform the operations described as being performed by one or more processors. Generally, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform a particular function or implement a particular data type. The order in which the blocks are described should not be construed as limiting. Any number of the described blocks may be combined in any order and / or in parallel to perform a process or alternative processes, and not all blocks need to be performed. For purposes of explanation, the processes are described with reference to the environments, frameworks, and systems described in the examples herein, although the processes may be implemented in a wide variety of other environments, frameworks, and systems.
[0054] 5 is a flow diagram illustrating an example process 500 for dynamic gain adjustment using stereo camera images, according to some embodiments. In some examples, the process 500 may be performed by the systems 100, 200 and / or 300 described above through execution of the recognition program 128.
[0055] At 502, the system may send a signal to cause the stereo VL camera to capture a VL image. For example, when the vehicle starts, begins driving, or prepares to begin traveling, the vehicle control program 130 or other program may send a signal to the vehicle sensors, including the camera system 108, to begin receiving and processing sensor information, including images from the stereo VL camera.
[0056] At 504, the system may send a signal to cause the thermal camera to capture a thermal image. For example, the signal may be triggered in the same manner as described above at 502 for the VL camera, or based on different triggers such as time of day, solar radiation conditions, etc.
[0057] At 505, the system may determine local conditions relevant to performing the gain adjustment, such as current weather conditions, time of day, position of the sun relative to the thermal camera field of view, road type, etc. As described further below, these and / or other conditions may be used to determine gain weights for performing the thermal camera gain calibration adjustment. In some examples, some or all of this information may be determined based on sensor information received from other sensors 225 as described above with respect to Figures 2 and 3.
[0058] At 506, the system may receive a left VL image from a stereo VL camera.
[0059] At 508, the system may receive a right VL image from a stereo VL camera.
[0060] At 510, the system may receive a thermal image from a thermal camera. For example, the thermal image may be captured and received simultaneously with the left VL image and the right VL image so that the scene captured by each of the three images is substantially the same.
[0061] At 512, the system may generate a disparity map image based on the received left VL image and the received right VL image. For example, first, the disparity and image-wise disparity may be calculated from the left and right images as described above. In this example, the disparity map image may be a sparse disparity map image. In another example, the disparity map image may be a combined sparse and dense disparity map image generated as described below with reference to Figures 11-14.
[0062] At 514, the system may generate an edge image from one of the left or right VL images, such as the right VL image received at 508 in this example. For example, the edge image may be determined from at least one of the left or right images 506 or 508 using any of a variety of edge detection techniques known in the art. For example, the edge image may indicate edges identified in the right VL image, and edge information determined for the edge image may help determine how much noise to remove from the disparity map image when determining the disparity edge image, as described further below.
[0063] At 516, the system may determine a disparity edge image from the disparity map image determined at 512 and the edge image determined at 514. For example, the disparity edge image may be determined by comparing the disparity map image and the edge image such that the edge image information may be used to retain regions of the disparity map image that have strong edges. These regions may be selected for subsequent gain adjustment while noise from the disparity map image may be removed. For example, the amount of edge information controls how much noise is removed and how much disparity information is output. Further details of the determination of the disparity edge image are described below with respect to FIG. 7.
[0064] At 518, the system may determine lane marker and road edge regions in the disparity edge image. For example, various recognition techniques may be applied to the disparity edge image to identify any lane markers or road edges, such as curves and shoulders.
[0065] At 520, the system may perform an axis transformation from the stereo camera images to the thermal image. An example of an axis transformation is as described below with respect to FIG.
[0066] At 522, the system may determine regions of interest in the thermal image based on the transformed disparity edge image, including the lane markers and road edge regions identified in the disparity edge image at 518.
[0067] At 524, the system may perform a gain adjustment for the thermal sensor calibration based on the region of interest of the thermal image determined at 522. As an example, the gain adjustment may be performed based on a look-up table described below with respect to FIG.
[0068] At 526, the system may determine lane markers, road edges, road surface roughness, etc. from the thermal image received after the gain adjustment of the thermal sensor calibration. In particular, the system may perform recognition using the thermal image received after the gain adjustment to perform recognition of features within the image. For example, the thermal image received after the gain adjustment typically has better contrast of significant features to allow for more accurate recognition of road features, obstacles, etc.
[0069] 6 is a flow diagram illustrating an example process 600 for dynamic gain adjustment using mono camera images, according to some embodiments. In some examples, the process 600 may be performed by the systems 100, 200 and / or 300 described above through execution of the recognition program 128, but using a mono VL camera instead of the stereo VL camera 110 described above.
[0070] At 602, the system may send a signal to cause the mono VL camera to capture a mono VL image. For example, when the vehicle starts, begins driving, or prepares to begin traveling, the vehicle control program 130 or other program may send a signal to the vehicle sensors, including the camera system 108, to begin receiving and processing sensor information, including images from the mono VL camera.
[0071] At 604, the system may send a signal to cause the thermal camera to capture a thermal image. For example, the signal may be triggered in the same manner as described above at 602 for the VL camera, or based on different triggers such as time of day, solar radiation conditions, etc.
[0072] At 605, the system may determine local conditions relevant to performing the gain adjustment, such as current weather conditions, time of day, sun position relative to the thermal camera field of view, road type, etc. As described further below, these and / or other conditions may be used to determine gain weights for performing the thermal camera gain calibration adjustment. In some examples, some or all of this information may be determined based on sensor information received from other sensors 225 as described above with respect to Figures 2 and 3.
[0073] At 606, the system may receive a mono VL image from a mono VL camera.
[0074] At 608, the system may receive a thermal image from a thermal camera. For example, the thermal image may be captured and received simultaneously with the mono VL image such that the scene captured by the mono and thermal images is approximately the same.
[0075] At 610, the system may generate an edge image from the mono VL image. For example, the edge image may be determined using any of a variety of edge detection techniques known in the art. The edge image may indicate edges identified in the mono VL image.
[0076] At 612, the system may determine potential lane markers in the edge image. For example, the system may recognize lane markers in the edge image using any of a variety of recognition techniques.
[0077] At 614, the system may provide potentially recognized lane marker types for use in determining regions of interest within the thermal camera image.
[0078] At 615, the system may determine a disparity image from the mono VL image. For example, the system may use a machine learning model trained to determine a disparity map for the mono camera image, such as based on comparing successive mono camera images to each other. As an example, an artificial neural network, such as a convolutional neural network, or other type of machine learning model may be trained using a training set of mono images at known vehicle speeds, so that the machine learning model can subsequently generate a disparity map from the mono camera images based on the known vehicle speed. Additionally, other techniques for generating a disparity map from one or more mono camera images will be apparent to those skilled in the art having the benefit of the disclosure herein. Also, in alternative examples, a disparity map may not be generated and only edge images may be used to determine the region of interest.
[0079] At 616, the system may determine a disparity edge image from the disparity map image determined at 615 and the edge image determined at 610. For example, the disparity edge image may be determined by comparing the disparity map image and the edge image such that the edge image information may be used to retain regions of the disparity map image that have strong edges. These regions may be selected for subsequent gain adjustment while noise from the disparity map image may be removed. For example, the amount of edge information controls how much noise is removed and how much disparity information is output. Further details of the determination of the disparity edge image are described below with respect to FIG. 7.
[0080] At 618, the system may determine lane marker and road edge regions in the disparity edge image. For example, various recognition techniques may be applied to the disparity edge image to identify any lane markers or road edges, such as curves and shoulders.
[0081] At 620, the system may perform an axis transformation from the mono camera image to the thermal image. An example of an axis transformation is as described below with respect to FIG.
[0082] At 622, the system may determine regions of interest in the thermal image based on the potential lane marker types and the transformed disparity edge image, including the lane marker regions and road edge regions recognized in the disparity edge image at 618.
[0083] At 624, the system may perform a gain adjustment for the thermal sensor calibration based on the region of interest of the thermal image determined at 522. As an example, the gain adjustment may be performed based on a look-up table described below with respect to FIG.
[0084] At 626, the system may determine lane markers, road edges, road surface roughness, etc. from the thermal image received after the gain adjustment of the thermal sensor calibration. In particular, the system may perform recognition using the thermal image received after the gain adjustment to perform recognition of features within the image. For example, the thermal image received after the gain adjustment typically has better contrast of significant features to allow for more accurate recognition of road features, obstacles, etc.
[0085] 7 is a flow diagram illustrating an example process 700 for generating an edge disparity image 701, according to some embodiments. In some examples, the process 700 may be performed by the systems 100, 200, and / or 300 described above by execution of the recognition program 128. For example, after computing the disparity map image described above with respect to FIG. 5 or FIG. 6, the system may use the respective edge images to remove pixels with invalid disparity values from the disparity image to obtain an edge disparity image. For example, the amount of edge information in each edge image may control the amount of noise removed from the disparity image and / or the amount of disparity information included in the edge disparity image.
[0086] At 702, the system receives a newly determined disparity map image. For example, the disparity map image may be determined as described above with respect to FIGS.
[0087] At 704, the system receives a newly determined edge image. For example, the edge image may be determined as described above with respect to FIGS.
[0088] At 706, the system may determine, for each pixel in the edge image, whether the difference between the edge value of the selected current pixel and the edge value of the neighboring pixel is greater than an edge threshold.
[0089] At 708, if the edge value of the pixel is greater than the edge threshold, the process proceeds to 710. Otherwise, the process proceeds to 716. As an example, the edge threshold ETH may be derived using statistical analysis on a large image dataset. For example, the image data may cover various scenarios such as different road conditions (e.g., different road colors such as asphalt or concrete), weather conditions, time of day, etc. Furthermore, the edge threshold ETH may be updated based on weather and road conditions.
[0090] At 710, if the edge value of the pixel is greater than the edge threshold, the system may compare the disparity information of the current pixel with the disparity information of the neighboring pixels to determine whether the disparity value of the current pixel is greater than the disparity threshold DTH. As an example, the disparity threshold DTH may be derived using statistical analysis on a large image dataset. For example, the image data may cover various scenarios such as different road conditions (e.g., different road colors such as asphalt or concrete), weather conditions, time of day, etc. Also, the disparity threshold DTH may be updated based on the weather and road conditions. The system may determine the disparity value from the corresponding pixel location in the disparity map image received at 702.
[0091] At 712, if the disparity value of the pixel is greater than the disparity threshold DTH, the process proceeds to 714. If the disparity value of the pixel is not greater than the disparity threshold DTH, the process proceeds to 716.
[0092] At 714, if the disparity value of the current pixel is greater than the disparity threshold, the system may use a first multiplier to generate a pixel disparity value for the disparity edge image.
[0093] At 716, if the edge value of the pixel is less than or equal to the edge threshold or the disparity value of the pixel is less than or equal to the disparity threshold, the system may use a second multiplier to generate a disparity value for the current pixel.
[0094] At 718, the system may store the disparity value of the current pixel in the edge disparity image 701. The process 700 may be performed for each pixel in the disparity image and the edge image.
[0095] 8 illustrates an example process 800 for determining the relative pose of a VL camera with respect to a thermal camera, or vice versa, according to some embodiments. In some examples, process 800 may be performed by systems 100, 200 and / or 300 described above through execution of recognition program 128 and may correspond to block 520 of FIG 5 and / or block 620 of FIG 6. For example, because the axes of a thermal camera may differ from the axes of a visible light camera, an axis transformation may be performed to align portions of an edge disparity map image with associated portions of a thermal image.
[0096] At 802, the system may receive one or more VL camera images. At 804, the system may receive one or more thermal camera images.
[0097] At 806, the system may perform homography-based calibration on the received VL image.
[0098] At 808, the system may perform a homography-based calibration on the received thermal images.
[0099] At 810, the system may determine the initial pose and camera intrinsic parameters of the VL camera.
[0100] At 812, the system may determine an initial pose and camera intrinsic parameters for the thermal camera.
[0101] At 814 , the system may perform relative pose optimization based on the information determined at 810 and 812 .
[0102] At 816, the system may determine an optimized relative attitude of the VL camera with respect to the thermal camera.
[0103] At 818, the system may determine an optimized relative pose of the thermal camera with respect to the VL camera, and then using the process described above, selected regions of the image may be transformed from the VL camera image axis to the thermal camera image axis, or vice versa.
[0104] 9 illustrates an exemplary lookup table and decision tree 900 for selecting gain weights, according to some embodiments. For example, as described above with respect to block 524 of FIG. 5 and block 624 of FIG. 6, the system may perform dynamic gain adjustment of the thermal sensor calibration of the thermal camera 112 described above. As an example, the gain adjustment may be based on accessing the lookup table and decision tree 900, thereby determining the gain weights for performing the gain adjustment without having to perform the gain adjustment calculation every time. For example, one or more regions of interest may be selected after the axes of each region are transformed from the VL camera axes to the thermal camera axes, and the gain adjustment to the gain value may be dynamically determined using the calibration of the thermal sensor pixels, such as where the thermal sensor may be a microbolometer or other thermal sensor.
[0105] In some examples, the region of interest may be calculated by considering all selected regions and finding the minimum and maximum of the rows and columns. Based on the region of interest, the gain for each pixel may be intelligently calculated. The following formula is an example of a linear equation showing how the gain may be calculated in some examples. Slope Gain (i,j) =Apix *W obj *R (i,j) *Θ fpa Formula (3) Here, A pix = pixel area, W obj = target projection angle, R (i,j) = temperature dependent responsivity of the sensor, Θ fpa = sensor temperature.
[0106] The lookup table and decision tree 900 may be pre-determined such that gain weights for the slope gain values may be pre-determined based on various different conditions such as road type 902, weather 904, and time 906. The road type 902 may be classified into various different road types such as asphalt 908, brick 910, and concrete 912. Also, the weather 904 may be classified into various different weather types such as sunny 914, cloudy 916, rain 918, fog 920, and snow 922. Furthermore, the time 906 may be classified into various different times such as morning 924, afternoon 926, and night 928. For example, to determine a gain adjustment for a thermal image, the decision tree 930 may navigate from a route 932 to one of 45 different leaves 934 based on the currently detected road type 902, weather 904, and time 906. Each leaf 934 may have a different respective gain weight G1-G45 associated with it. Furthermore, although a decision tree 930 is shown in FIG. 9, any other suitable type of data structure may be used to achieve the same result.
[0107] Also, the conditions used in the lookup table and decision tree 900 of FIG. 9 are not limited to those included in this example and may include fewer, other, or additional conditions. As an example, the position of the sun relative to the FOV of the thermal camera may be considered. For example, depending on its position, the sun may direct light toward the thermal camera or from the side or back of the thermal camera. Furthermore, the relative position of the thermal camera to the sun may dynamically change as the vehicle moves and changes direction, and in some cases the gain of the thermal camera may be dynamically adjusted accordingly.
[0108] FIG. 10 illustrates an example thermal image 1000 before and after dynamic calibration adjustment, according to some embodiments. For example, assume that a first image 1002 is initially received from a thermal camera prior to dynamic gain adjustment. A dynamic gain adjustment procedure may then be applied to calibrate the thermal camera's heat sensor so that a subsequent second image 1004 can have improved contrast and feature recognition. For example, in the first image 1002, the lane markers 1006 blend substantially more into the road surface than in the second image 1004. Dynamic gain adjustment may be performed continuously in response to changing conditions, such as road surface, weather, and time. Additionally, while road surface, weather, and time are presented as three example conditions, other conditions that may be used for gain adjustment will be apparent to one of ordinary skill in the art having the benefit of the disclosure herein.
[0109] 11 is a flow diagram illustrating an example process 1100 for generating a disparity map that combines sparse and dense disparity regions, according to some embodiments. In some examples, the process 1100 may be performed by the systems 100, 200, and / or 300 described above through execution of the recognition program 128.
[0110] At 1102, the system may send a signal to cause the stereo VL camera to capture a VL image. For example, when the vehicle starts, begins driving, or prepares to begin traveling, the vehicle control program 130 or other program may send a signal to the vehicle sensors, including the camera system 108, to begin receiving and processing sensor information, including images from the stereo VL camera.
[0111] At 1104, the system may send a signal to cause the thermal camera to capture a thermal image. For example, the signal may be triggered in the same manner as described above at 502 for the VL camera, or based on different triggers such as time of day, solar radiation conditions, etc.
[0112] At 1106, the system may receive a left VL image from a stereo VL camera.
[0113] At 1108, the system may receive a right VL image from the stereo VL camera.
[0114] At 1110, the system may receive a thermal image from a thermal camera. For example, the thermal image may be captured and received simultaneously with the left VL image and the right VL image so that the scene captured by each of the three images is approximately the same. In some examples, the thermal image may be received after gain adjustment as described above with respect to Figures 5-10.
[0115] At 1112, the system may determine regions of interest in the thermal image to generate sparse and dense disparity map information. For example, the system may use (1) a thresholding operation followed by a clustering operation, or (2) a semantic segmentation network, such as by using deep learning or instance segmentation. For the thresholding and clustering operations, a first threshold indicative of temperature may first be applied to each of the pixels in the captured image. For example, pixels having values below a specified threshold may be considered to be low temperature areas and removed, while pixels above the threshold may be considered to be high temperature spots and kept. Thus, the system may segment the captured image as being above or below a threshold based on the gray level or gray level value of each pixel.
[0116] Alternatively, when using a semantic segmentation network and deep learning instance segmentation or other machine learning models to determine the regions of interest, pixels in the image may first be classified into corresponding segments and classes. For example, each class and segment may indicate a road surface characteristic. A database of a large set of thermal images may be compiled as training data, which may include images captured under a variety of different scenarios and conditions, such as different weather conditions, different times of day or night, different road surface types, etc. The thermal images of the training data may also include images containing various obstacles and road features, such as pedestrians, vehicles, traffic lights, road curbs, street lights, traffic signs, etc. Once the database and corresponding labels are prepared, the semantic segmentation network may be trained using a first portion of the training data images, and the trained machine learning model may be evaluated and tuned using a second portion of the database to ensure accurate output. Subsequently, during use, the captured thermal images may be input into the trained machine learning model, and the trained model may output the regions of interest. Thus, the regions of interest may be subject to dense disparity processing and the remainder of the image may be subject to sparse disparity processing, as described below.
[0117] At 1114, the system may determine prioritized dense and sparse disparity map regions within the thermal image. For example, a clustering operation may be used to identify clusters of hot spots as high priority regions and, based on this, determine low and high priority regions of the image. In particular, the low priority regions may be subject to sparse disparity processing and the high priority regions may be subject to dense disparity processing. Additionally, the high and low priority regions may be selected based in part on obstacle type, distance information, etc. For example, each cluster may be considered separately based on obstacle type, distance to object, etc., and the system may assign a priority to each cluster for generating the sparse and dense disparity maps.
[0118] At 1116, the system may operate as a thermal image to stereo image converter. An exemplary process for performing this operation is described above, for example, with respect to FIG.
[0119] At 1118, the system may perform block matching of the thermal image against the received stereo VL image to map prioritized dense disparity regions to the VL image. For example, the system may match blocks of the stereo VL image with the thermal image to map high priority regions to the VL image.
[0120] At 1120, the system may generate a disparity map image that combines some sparse and some dense disparity regions based on block matching. For example, the system may only compute dense disparity for high priority regions, while other regions of low priority only compute sparse disparity. Accordingly, embodiments herein may increase recognition accuracy while reducing the amount of processing resources required to do so. As an example, for regions labeled as low priority, the images may be downsampled before performing the disparity map computation, and a sparse matching algorithm may be used to establish a set of robust matches between image pairs. On the other hand, for high priority regions, the disparity map image may be computed without downsampling the stereo image pairs, and a dense matching algorithm may be used to find matches for all points in the respective images.
[0121] As a more specific example, a stereo block matching algorithm based on ZSAD (zero mean sum of absolute difference) may be used with downsampling of low priority image regions to calculate sparse disparity regions. Furthermore, a semi-global matching (SGM) algorithm may be used without downsampling the image to calculate dense disparity map regions. Furthermore, the same ZSAD stereo block matching technique may be used for both sparse and dense disparity map calculations, such as when using a low-cost ECU or other processor to perform the disparity map calculation. However, for sparse disparity map calculation, the image may be downsampled first, whereas downsampling may not be performed for dense disparity map calculation.
[0122] At 1122, the system may perform recognition based at least in part on the combined sparse / dense disparity map image. For example, the system may perform recognition of features in the disparity map image using any of a variety of recognition techniques known in the art. Additionally, although the example of FIG. 11 is described with respect to stereo left and right VL images, in other examples, process 1100 may be performed using images received from a mono VL camera.
[0123] 12 illustrates an example image 1200 for determining high and low priority regions, according to some embodiments. For example, a first image 1202 illustrates an example of a thermal image received from a thermal camera. A second image 1204 illustrates the results of processing the first image 1202, such as by using semantic segmentation or other machine learning methods as described above, or by using thresholding and clustering techniques as described above. And a third image 1206 illustrates priority regions selected by a region of interest selection process, showing high priority regions in white and low priority regions in black.
[0124] FIG. 13 illustrates an example 1300 of block matching for determining high priority regions in stereo images, according to some embodiments. In this example, block matching is performed between a thermal image with identified priority regions and a stereo VL image received from a VL camera. For example, assume that the third image 1206 in FIG. 12 is block matched with the right stereo image 406 and the left stereo image 408 described above with respect to FIG. 4. As shown at 1302 and 1304, the block matching results in the identification of a priority region 1306 in each stereo image 1302 and 1304. As described above, a dense disparity map process may be performed for the high priority regions, and a sparse disparity map process may be performed for the low priority regions.
[0125] FIG. 14 illustrates an exemplary disparity map image 1400 with combined sparse and dense disparity regions determined according to some embodiments. In this example, high priority regions are calculated using dense disparity map processing, and low priority regions are calculated using sparse disparity map processing. Thus, sparse disparity map processing is used in determining flat road regions of the image and sky regions of the image, as shown at 1402 and 1403. Meanwhile, dense disparity map processing is used in determining rough road regions, as shown at 1404. Similarly, dense disparity map processing is used for obstacles at 1406, for the right guardrail at 1408, and for the left guardrail at 1410. Thus, by calculating only a portion of the disparity map image 1400 using dense disparity map calculation techniques, the amount of processing required to generate the disparity map image 1400 can be reduced.
[0126] The exemplary processes described herein are merely examples of processes provided for illustrative purposes. Numerous other variations will be apparent to those skilled in the art in light of the disclosure herein. Furthermore, although the disclosure herein describes some examples of suitable frameworks, architectures, and environments for carrying out the processes, the embodiments herein are not limited to the specific examples shown and described. Furthermore, the disclosure provides various exemplary embodiments as described and illustrated. However, the disclosure is not limited to the embodiments described and illustrated herein, and may be extended to other embodiments as known or become known to those skilled in the art.
[0127] Various instructions, processes, and techniques described herein may be considered in the general context of computer-executable instructions, such as computer programs and applications, stored on a computer-readable medium and executed by a processor herein. In general, the terms programs and applications may be used interchangeably and may include instructions, routines, modules, objects, components, data structures, executable code, and the like, for performing particular tasks or implementing particular data types. These programs, applications, and the like may be executed as native code, or may be downloaded and executed in a virtual machine or other just-in-time compilation execution environment, and the like. Typically, the functionality of the programs and applications may be combined or distributed as desired in various embodiments. Implementations of these programs, applications, and techniques may be stored on a computer storage medium or transmitted over some form of communication medium.
[0128] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claims. [Explanation of symbols]
[0129] 100 Recognition System 102 vehicles 104 Travel Route 108 Camera System 110 VL Camera 112 Thermal Camera 114 FOV 116 FOV 118 Approaching Vehicle 120 Road Edge 122 Roadside area 124 Road Lane Markings 126 Vehicle Calculation Device 128 Recognition System 130 Vehicle Control System 200 Recognition System 202 Processor 204 Computer-readable medium 206 Communication Interface 208 Vehicle Bus 212 Recognition information 214 Vehicle Data 216 Image data 218 Machine Learning Models 219 Gain Lookup Table 220 Other Sensor Data 222 VL Images 223 Thermal Imaging 225 Other Sensors 238 Control Signals 240 Display 242 Alarm device 300 Recognition and Vehicle Control Systems 302 Processor 304 Computer-readable medium 306 Communication Interface 308 Aggregation Program 400 Image Capture 402 Right Lens 404 Left Lens 406 Right image 408 Left image 410 Thermal Imaging 412 Thermal Sensor
Claims
1. 1. A system comprising: receiving at least a first visible light image and a first thermal image; generating an edge image from the at least one first visible light image, the edge image identifying edge regions in the at least one first visible light image; determining at least one of lane markers or road edge regions based at least in part on information from the edge image; determining one or more first regions of interest within the first thermal image based on the at least one of the lane markers or the road edge regions; adjusting a gain of a thermal sensor based on the one or more first regions of interest within the first thermal image; receiving one or more second visible light images and a second thermal image; determining one or more second regions of interest within the second thermal image; mapping the one or more second regions of interest onto the one or more second visible light images; and generating a disparity map image from the one or more second visible light images based on the mapping, the disparity map image combining one or more dense disparity regions corresponding to the one or more second regions of interest with one or more sparse disparity regions corresponding to regions outside the one or more second regions of interest.
2. There are at least two first visible light images, and the operation comprises: determining a first disparity map image from the first visible light image; combining information from the first disparity map image with information from the edge image to generate a disparity edge image; The system of claim 1 , further comprising: determining at least one of the lane markers and the road edge regions based on the disparity edge image.
3. The system of claim 2 , wherein the operations further comprise performing an axis transformation from the parallax edge image to the first thermal image.
4. The system of claim 2 , wherein the at least two first visible light images include a left image and a right image received from a stereo visible light camera.
5. The system of claim 1 , wherein the at least two first visible light images comprise consecutive images received from a mono visible light camera.
6. The act of determining the one or more second regions of interest within the second thermal image further comprises: applying a threshold to pixels of the second thermal image; and performing clustering on pixels above the threshold to determine the one or more second regions of interest.
7. The operation, performing recognition of one or more features in the disparity map image to determine recognition information; transmitting at least one control signal based on the identification information, the at least one control signal comprising: instructions to control a vehicle to cause said vehicle to accelerate or decelerate; instructions to control the vehicle to cause the vehicle to steer the wheels of the vehicle; or and including at least one of: instructions to cause a warning to be presented.
8. 1. A method comprising: receiving, by one or more processors, at least a first visible light image and a first thermal image; generating an edge image from the at least one first visible light image, the edge image identifying edge regions in the at least one first visible light image; determining at least one of lane markers or road edge regions based at least in part on information from the edge image; determining one or more first regions of interest within the first thermal image based on the at least one of the lane markers or the road edge regions; and adjusting a gain of a thermal sensor based on the one or more first regions of interest within the first thermal image.
9. receiving one or more second visible light images and a second thermal image; determining one or more second regions of interest within the second thermal image; mapping the one or more second regions of interest onto the one or more second visible light images; 10. The method of claim 8, further comprising: generating a disparity map image from the one or more second visible light images based on the mapping, the disparity map image combining one or more dense disparity regions corresponding to the one or more second regions of interest with one or more sparse disparity regions corresponding to regions outside the one or more second regions of interest.
10. performing recognition of one or more features in the disparity map image to determine recognition information; transmitting at least one control signal based on the identification information, the at least one control signal comprising: instructions to control a vehicle to cause said vehicle to accelerate or decelerate; instructions to control the vehicle to cause the vehicle to steer the wheels of the vehicle; or and including at least one of: instructions to cause a warning to be presented.
11. 10. The method of claim 8, further comprising adjusting the gain of the thermal sensor based at least in part on navigating a decision tree to determine a gain weight to apply to adjust the gain, the decision tree including a plurality of gain weights determined based on a plurality of combined conditions.
12. There are at least two first visible light images, and the method comprises: determining a first disparity map image from the first visible light image; combining information from the first disparity map image with information from the edge image to generate a disparity edge image; The method of claim 8 , further comprising: determining at least one of the lane markers and the road edge regions based on the disparity edge image.
13. The method of claim 12 , further comprising performing an axis transformation from the parallax edge image to the first thermal image.
14. The method of claim 12 , wherein the at least two first visible light images include a left image and a right image received from a stereo visible light camera.
15. receiving one or more visible light images and a thermal image; determining one or more regions of interest within the thermal image; mapping the one or more regions of interest onto the one or more visible light images; and generating a disparity map image from the one or more visible light images based on the mapping, the disparity map image combining one or more dense disparity regions corresponding to the one or more regions of interest with one or more sparse disparity regions corresponding to regions outside the one or more regions of interest. Consisting of executable instructions for carrying out actions A system comprising one or more processors.
16. The system of claim 15 , wherein the operations further comprise performing recognition of one or more features in the disparity map image to perform at least one vehicle control function.
17. Prior to receiving the one or more visible light images and the thermal image, the operation includes: receiving, by one or more processors, at least one prior visible light image and a prior thermal image; generating an edge image from the at least one prior visible light image, the edge image identifying edge regions in the at least one prior visible light image; determining at least one of lane markers or road edge regions based at least in part on information from the edge image; determining one or more regions of interest within the prior thermal image based on the at least one of the lane markers or the road edge regions; and adjusting a gain of a thermal sensor based on the one or more regions of interest in the prior thermal image.
18. The system of claim 15 , wherein the operations further comprise determining the one or more sparse disparity regions by first downsampling the one or more visible light images.
19. The act of determining the one or more second regions of interest within a received second thermal image further comprises: applying a threshold to pixels of the second thermal image; and performing clustering on pixels above the threshold to determine the one or more second regions of interest.
20. 16. The system of claim 15, wherein the operation of determining the one or more second regions of interest in a received second thermal image further comprises inputting the second thermal image to a machine learning model trained to identify the one or more second regions of interest based on training data.
Citation Information
Patent Citations
Obstacle detection device for vehicle
JP2000318513A
Display device for vehicle
JP2001101596A
Display device
JP2008234178A
Image display device for vehicle
JP2017060119A
Travel assistance device and travel assistance method using travel assistance device
US20180197022A1
