Enhanced high dynamic range imaging and tone mapping
By generating a tone mapping function and dynamically controlling the brightness of HDR images based on tone control points, the problem of image quality degradation caused by relying on automatic exposure settings in existing technologies is solved. This achieves efficient mapping of HDR image data to standard or low dynamic range image data, while maintaining image detail and contrast.
Patent Information
- Application Number
- CN202010172234.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-30
- Filing Date
- 2020-03-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-03-12
AI Technical Summary
In high dynamic range imaging, existing tone mapping methods rely on the camera's automatic exposure settings, which leads to a decrease in image quality when lighting conditions are mismatched, and traditional methods may result in the loss of detail and contrast in HDR image data.
By generating a tone mapping function, based on tone control points of the source image data, including low-tone points, mid-tone points, and high-tone points, the brightness of HDR image data is dynamically controlled, avoiding reliance on automatic exposure settings and digital gain functions, reducing visual artifacts and preserving image details and contrast.
It enables efficient mapping of HDR image data to standard or low dynamic range image data without relying on automatic exposure settings, preserving image detail and contrast while avoiding image fading and highlight compression issues.
Smart Images

Figure CN112312031B_ABST
Abstract
Description
Background Art
[0001] High dynamic range imaging (HDRI) includes techniques for generating image data of a high dynamic range (HDR). That is, HDRI provides an increased ratio of the maximum possible pixel value (e.g., the maximum possible luminance value) to the minimum possible pixel value (e.g., the minimum possible luminance value). Pixels of smaller luminance values are rendered as darker (e.g., blacker) areas of the encoded image, while pixels of larger luminance values are rendered as brighter (e.g., whiter) areas of the image. Due to the enhancement of the ratio of the maximum luminance value to the minimum luminance value, and when displayed on a device with sufficient capability to render the increased dynamic range (DR), the HDR image can provide more details and contrast, and therefore can appear more realistic and natural to human viewers. For example, when properly rendered, the image of the scene encoded in the HDR image data may appear closer to what a person actually observes when viewing the scene directly, or may be more visually appealing. However, many devices (such as conventional displays and printers) cannot render HDR image data. Therefore, tone mapping can be performed on the HDR image data to convert the HDR image data into image data of a lower dynamic range.
[0002] Conventional methods for tone mapping HDR image data may assume that the camera's automatic exposure (AE) setting is appropriately configured when capturing the HDR image data. In some cases, this assumption may fail, resulting in a degradation in the quality of the tone mapped image. In addition, when controlling the brightness of an HDR image and / or an image encoded by the tone mapped HDR image data, some conventional methods may apply a digital gain function to the HDR image data. The digital gain function can degrade many of the visual benefits associated with HDRI, such as by rendering the HDR image and / or the tone mapped HDR image to appear "washed out", less realistic, or less visually appealing. Summary of the invention
[0003] Embodiments of the present disclosure relate to tone mapping of high dynamic range (HDR) image data, and controlling the brightness of the tone mapped HDR image data. The tone mapped HDR image data can be transformed into standard dynamic range (SDR) image data or low dynamic range (LDR) by compressing pixel values (e.g., applying a gamma compression function on the tone mapped HDR image data).
[0004] Various embodiments may control the image brightness of HDR image data by generating a tone mapping function for the HDR image data, rather than relying on appropriate configuration of AE settings and a digital gain function. When applied to HDR image data, the tone mapping function maps the tone (e.g., brightness) of the HDR image data so that the tone-transformed HDR image data can encode image brightness that matches the lighting conditions of the imaging scene without relying on appropriate configuration of AE settings. The tone mapping function may also minimize visual artifacts due to HDR imaging (e.g., flare suppression and highlight compression). When tone mapping is performed, the HDR image data may be compressed into SDR or LDR image data via filtering of the least significant bit (LSB) of the HDR pixel value.
[0005] A non-limiting embodiment includes capturing and / or receiving source image data. The source image data may be HDR image data and may represent and / or encode a source image. A tone control point is determined based on source pixel values of the source image data. The determined tone control points may include a low tone point, a mid-tone point, and a high tone point. In some embodiments, the tone control points may additionally include a flare suppression point. A tone mapping function may be determined based on at least a portion of the tone control points. For example, the tone mapping function may be a parametric function that defines a curve (e.g., a global tone curve), wherein the parameters of the function are fit so that the curve is constrained to pass through (or include) a low tone point, a mid-tone point, and a high tone point. In some embodiments, the curve is further constrained to pass through at least a portion of the additionally determined points.
[0006] In at least one embodiment, determining the tone mapping function can also be based on a gain value. The gain value can be determined based on the mid-tone point and at least another tone control point, such as but not limited to a sparkle suppression point. The gain value can be determined to be equal to the slope of a gain line passing through the mid-tone point and the sparkle suppression point. The fit of the tone mapping function can be further constrained so that the derivative and / or instantaneous rate of change of the function evaluated at a component of the mid-tone point is at least approximately equal to the gain value. Target image data (e.g., lower dynamic range image data) can be generated by applying the tone mapping function to transform source image data of the encoded source image and / or source image data of the encoded subsequent frame. The target image data may include target pixel values, which are defined by applying the tone mapping function to the pixel values of the source image data. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The present system and method for tone mapping high dynamic range image data and controlling image brightness are described in detail below with reference to the accompanying drawings, wherein:
[0008] Figure 1 A schematic diagram of a high dynamic range imaging system according to some embodiments of the present disclosure is provided;
[0009] Figure 2A showing low-tone, mid-tone, high-tone, and sparkle suppression control points embedded in a 2D space spanned by a first basis vector for a first dimension corresponding to pixel values of source image data and a second basis vector for a second dimension corresponding to pixel values of target image data;
[0010] Figure 2B A non-limiting example of a graph illustrating a tone mapping function according to various embodiments;
[0011] Figure 3 is a flow chart illustrating a method for tone mapping high dynamic range image data according to some embodiments of the present disclosure;
[0012] Figure 4 is a flow chart illustrating a method for generating lower dynamic range image data from higher dynamic range image data according to some embodiments of the present disclosure;
[0013] Figure 5 is a flow chart illustrating a method of operation for distributing tone mapping according to some embodiments of the present disclosure;
[0014] Fig. 6A is an illustration of an example autonomous vehicle according to some embodiments of the present disclosure;
[0015] Figure 6B According to some embodiments of the present disclosure, Fig. 6A Examples of autonomous vehicle camera positions and fields of view;
[0016] Figure 6C According to some embodiments of the present disclosure, Fig. 6A a block diagram of an example system architecture for an example autonomous vehicle;
[0017] Fig.6D According to some embodiments of the present disclosure, for one or more cloud-based servers and Fig. 6A System diagram of an example of communication between autonomous vehicles;
[0018] Figure 7 is a block diagram of an example computing environment suitable for use in implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0019] Systems and methods related to high dynamic range imaging (HDRI) are disclosed. More specifically, embodiments herein relate to tone mapping high dynamic range (HDR) image data, and controlling the brightness of an image encoded by the HDR image data and / or an image encoded by the tone mapped image data.
[0020] The tone mapped HDR image data may be transformed into standard dynamic range (SDR) image data or low dynamic range (LDR) by compressing pixel values (e.g., applying a gamma compression function on the tone mapped HDR image data). A non-limiting embodiment includes capturing and / or receiving source image data. The source image data may be HDR image data and may represent and / or encode a source image. A tone control point is determined based on source pixel values of the source image data. The determined tone control points may include low tone points, mid tone points, and / or high tone points. In some embodiments, the tone control points may further include flare suppression points. In at least one embodiment, additional tone control points are determined.
[0021] A tone mapping function may be determined based on at least a portion of the control points. For example, the tone mapping function may be a parametric function that defines a curve (e.g., a global tone curve). The parameters of the function may be fitted so that the curve is constrained to pass through (or include) a low tone point, a mid tone point, and a high tone point. In some embodiments, the curve is further constrained to pass through at least a portion of additionally determined points.
[0022] In at least one embodiment, determining the tone mapping function may also be based on a gain value. The gain value may be determined based on the mid-tone point and at least another tone control point, such as, but not limited to, a sparkle suppression point. The gain value may be determined to be equal to the slope of a gain line passing through the mid-tone point and the sparkle suppression point. The fit of the tone mapping function may be further constrained so that the derivative and / or instantaneous rate of change of the function evaluated at a component of the mid-tone point is at least approximately equal to the gain value. Target image data may be generated by transforming the source image data by applying the tone mapping function on the source image data. The target image data may include a target pixel value defined by applying the tone mapping function to the pixel value of the source image data.
[0023] In contrast to conventional methods, various embodiments enable tone mapping of HDR image data without reliance on AE settings. As described below, tone-mapped images can have more detail and contrast than images tone-mapped by conventional methods. In addition, various embodiments enable control of the overall image brightness of HDR images and / or tone-mapped images without applying a digital gain function. Thus, images generated by various embodiments may not appear "faded" as in the case of conventionally generated images. In addition, embodiments can successfully suppress flare (e.g., positive black points in image data or errors in black level subtraction), as well as compress highlights (e.g., pixels with significant luminance values) in HDR image data. Various embodiments additionally provide an enhancement method for compressing HDR image data into standard dynamic range (SDR) or low dynamic range (LDR) image data, while retaining much of the key information for encoding the increased detail and contrast of the HDR image data.
[0024] Some HDRI techniques of various embodiments include combining or blending multiple captured SDR images of the same scene, with separate exposure settings or cycles for each of the multiple SDR images. An HDR image (encoded by HDR image data) can be generated by the pixel values of multiple SDR images. For example, the determination of the pixel values of an HDR image for a darker area of an imaged scene can be dominated by the corresponding pixel values of an SDR image with a longer exposure time. Using pixel values generated by a longer exposure time can enable more details and contrast to be captured in the darker areas of the scene. The determination of the HDR pixel values of the brighter areas of the scene can be controlled by the corresponding pixel values of an SDR image captured with a shorter exposure time. Using pixel values generated by a shorter exposure time can prevent the effects of "washing out" or overexposure on brighter or lighter areas of the scene. In other embodiments, HDR image data can be generated from a single image, where an image sensor (e.g., camera pixel) corresponding to a darker area is captured for a longer exposure period, and an image sensor corresponding to a brighter area is captured for a shorter exposure period.
[0025] As described above, conventional HDR cameras and systems rely on users to appropriately configure the AE settings of their cameras. Such AE settings may include automatic exposure bracketing (AEB) settings and / or various AE modes (e.g., night and day AE modes). These AE settings are relatively static, and users may rarely change the settings to match their current environment. In addition, only a few pre-configured modes are available to users (e.g., day mode or night mode) - none of which may be consistent with the current environment. For example, conventional HDR cameras may not provide separate AE modes for sunny days, cloudy days, or states in between.
[0026] When the AE mode does not adequately provide exposure settings that are consistent with the scene's current lighting conditions, the overall brightness of the HDR image may not truly reflect the scene's lighting conditions. For example, the HDR image may not render the scene as brightly illuminated as the scene's current lighting conditions would otherwise provide. To compensate for this lighting mismatch, conventional HDR cameras and systems typically employ a digital gain function to adjust or enhance the luminosity of the HDR pixel values. Under various lighting conditions and / or AE settings, the gain values applied to the pixels can be large. Such large gains typically saturate and / or clip the brighter areas of the HDR image, which can cause these areas to appear washed out or overexposed when rendered. As a result, in these various scenes, conventional HDR cameras and systems fail to achieve the increased detail and contrast that the user intends to capture via HDRI.
[0027] Conventional HDR cameras and systems are associated with additional limitations. For example, when an SDR device renders conventional HDR image data, much of the increased detail and contrast of the conventional HDR image data may be lost. In order to encode the increased DR, the HDR image data may include pixels with a depth greater than that of the SDR image. For example, the pixel depth of the SDR image data may be 24 bits (8 bits per color channel), while the pixel depth of some HDR image data may be up to or greater than 96 bits (32 bits per color channel). Because many display devices, data streams, storage devices, and printers (e.g., SDR devices) cannot display, stream, store, and / or print pixels of such depth, HDR image data is typically converted to a shallower pixel depth. To this end, tone mapping may be used to transform (or map) HDR pixel values to SDR pixel values that may be more suitable for SDR devices. For example, tone mapping may be employed to transform HDR image data into SDR, or even low dynamic range (LDR) image data. As described below, conventional tone mapping may result in a significant loss of detail and contrast in the HDR image.
[0028] Conventional tone mapping may result in lossy compression of HDR image data and, in many scenarios, significantly degrade the quality of lower dynamic range images or standard dynamic range images compared to HDR images. More specifically, conventional tone mapping may be limited in its ability to preserve key information of the HDR image data that makes the HDR image appear natural and realistic to a human viewer. Thus, with conventional tone mapping, much of the critical HDR information that renders increased detail and contrast may be lost in the compression process.
[0029] Conventional tone mapping may not preserve a great deal of critical information of the HDR image data, especially when the aforementioned AE settings and / or modes are not appropriate for the current lighting conditions of the scene. For example, a user may not be able to switch a conventional HDR camera from day mode to night mode when imaging a dimly lit scene. The HDR image may appear underexposed because the HDR image data is unable to encode much of the detail and contrast of the darker areas of the imaged scene. As a result, when an SDR (or LDR) image is generated from the underexposed HDR image data, the underexposed appearance of the SDR image may be more obvious.
[0030] Even when the AE settings are appropriate for the current lighting conditions, the lighting conditions may be dynamic over short time spans, while the AE settings remain constant over these short time spans. Because traditional tone mapping is applied at the frame level, traditional mapping may not easily account for dynamic lighting conditions. For example, during the capture of HDR video image data, relatively bright objects (e.g., highly reflective objects or objects that include light sources) may enter the scene, and the current AE settings may not be appropriate for introducing bright objects. Traditional tone mapping may render dynamic bright objects overexposed, and the overall brightness of the video image data may fluctuate.
[0031] Various embodiments may control brightness by generating a tone mapping function for HDR image data, rather than relying on appropriate configuration of AE settings and digital gain. In some non-limiting embodiments, the tone mapping function may be a global tone mapping (GTM) function and / or a global tone curve (GTC). The tone mapping function may be determined dynamically and / or globally based on the HDR image. In this way, a tone mapping function may be used to dynamically and globally tone map the HDR image data. When applied to HDR image data, the tone mapping function maps the tone (e.g., brightness) of the HDR image data so that the tone-transformed HDR image data may encode image brightness that matches the lighting conditions of the imaging scene without relying on appropriate configuration of AE settings. The tone mapping function may also minimize visual artifacts due to HDR imaging (e.g., flare suppression and highlight compression).
[0032] Once tone mapped, the HDR image data can be compressed into SDR or LDR image data via filtering of the least significant bit (LSB) of the HDR pixel value. In some embodiments, the tone mapped HDR image data can be color compressed by a gamma compression function before the pixel depth is reduced. For example, the HDR image data can be captured via a fixed (or at least relatively fixed) exposure setting, and the captured HDR image data can be referred to as source image data. The tone mapping function can be dynamically determined based on an analysis of the pixel values of the source image data. The tone mapping function can be a nonlinear function that maps the source pixel values of the source image data to the target pixel values of the target image data. For nonlinear embodiments, the nonlinear tone mapping function and / or the GTM function can be drawn as a global tone curve (GTC) in 2D coordinates. The tone mapping function can be used to generally control the brightness (or hue) of the target image data without relying on traditional AE settings and / or digital gain.
[0033] In order to generate a tone mapping function, a plurality of control points may be determined based on a dynamic analysis of the source image data. The control points may be defined in a plane spanned by a range of source pixel values and target pixel values. In some embodiments, the control points may be defined based on a region of interest (ROI) of the source image data. The tone mapping function may define a one-to-one nonlinear mapping between the values of the source image pixels and the values of the target image pixels. Thus, the tone mapping function may define (or at least evaluate its numerical approximation) a curve in the source / target plane. The curve may be an approximation of the curve, such as a plurality of piecewise linear segments with varying slopes. That is, the tone mapping function may be a spline function. The spline function may include a polynomial with a degree greater than 1. In some embodiments, the tone mapping function may be a one-to-one linear mapping function. The control points within the plane may define one or more constraints on the tone mapping function. In some embodiments, a parameterized tone mapping function may be fitted based on one or more constraints (e.g., parameters defining the tone mapping may be selected by minimizing a difference or a cost function). More specifically, the cost function may be defined by one or more constraints. For example, a spline function with polynomial segments of any degree may be fitted based on one or more constraints.
[0034] At least a portion of the control points may indicate constraints on tone mapping for a specific and limited number of source pixel values and corresponding target pixel values. The tone mapping function may be adapted to at least approximate these specific tone mappings. In order to suppress flare and compress highlights, some control points may define flare suppression or highlight compression thresholds for the source image data. At least some of the control points may be employed to constrain the derivative (or at least its numerical approximation) of the tone mapping function evaluated at one or more control points. That is, some control points may be employed to constrain the slope of the gain (e.g., gain value) of the tone mapping function at one or more other control points.
[0035] In some embodiments, at least three control points may be determined: a low tone point, a mid-tone point, and a high tone point. The low tone point may define a tone mapping between the lowest pixel value of the source image data and the lowest pixel value of the target image data, as well as a sparkle suppression threshold for the source image data. Similarly, the high tone point may define a tone mapping between the highest pixel value of the source image data and the highest pixel value of the target image data, as well as a highlight compression threshold for the source image data. The mid-tone point may define a tone mapping between mid-tone values of the source image data and mid-tone values of the target image data. As described below, the mid-tone point may additionally be employed to constrain the derivative of the tone mapping function.
[0036] Because the low tone point can define the mapping between the tone values of the darkest or "black" pixels of the source image data and the target image data, the low tone point can be the "black point" (BP) of the mapping. Similarly, because the high tone point can define the mapping between the tone values of the brightest or "white" pixels of the source image data and the target image data, the high tone point can be the "white point" (WP) of the mapping. In some embodiments, when fitting the tone mapping function, the tone mapping parameters can be selected to force the tone mapping function to evaluate (or at least approximate) these control points. The tone mapping function can be constrained to evaluate (or at least approximate) additional control points.
[0037] In at least some embodiments, the derivative of the tone mapping function (or at least its numerical approximation) can be constrained at the mid-tone point or any other such control point. That is, the slope of the mid-tone gain (defined by the tone mapping function) can be constrained and / or set at the mid-tone point. In order to constrain the derivative of the tone mapping function (or its numerical approximation) at the mid-tone point, additional control points can be defined. The derivative of the tone mapping function evaluated at the mid-tone point can be constrained to be at least approximately equal to the slope of the line (e.g., gain value) passing through the mid-tone point and the additional control point. In one such example, the additional control point can be a maximum flicker removal (MFR) point, which specifies a threshold on the source pixel value in order to remove flicker. The MFR point can be set by the user and / or dynamically determined based on the statistics of the source image data.
[0038] As further examples, the slope of the midtone gain can be constrained to be at least approximately equal to the ratio of the midtones of the target image data to the midtones of the source image data. As still further examples, the slope of the midtone gain can be set by other methods, such as a user-configurable setting. When fitting a parameterized tone mapping function, parameters can be selected to force the derivative of the tone mapping function evaluated at the midtone point to be at least close to the midtone gain defined in these or any other ways.
[0039] Once the tone mapping function is determined, the target image data can be generated by applying the tone mapping function to the source image data. In some embodiments, there may be one or more frame offsets between determining the tone mapping function and applying the tone mapping function. For example, the tone mapping function can be determined based on the first source image frame and applied to subsequent frames. As described above, SDR or LDR image data can be generated from the target image data by filtering an appropriate number of LSBs from the target image data. Gamma compression can be applied to the target image data to compress the color range of pixel values before discarding the LSBs from the image data.
[0040] In some embodiments, the tone mapping function may be determined via a general purpose processor (e.g., a CPU) of the imaging device, while the source image data may be mapped to the target image data via one or more pipelines of a dedicated processor (e.g., an image signal processor, an FPGA, or an ASIC) of the imaging device. In some embodiments, the source image data may be processed by a graphics processing unit (GPU), an image signal processor (ISP), and / or a digital signal processor (DSP). In some embodiments, statistical metrics of the source image data may be determined, and control points may be determined from the statistical metrics. Some of the disclosed embodiments may be deployed in an on-board imaging device (e.g., a dash cam). Furthermore, various embodiments may be deployed in autonomous vehicle applications or other such machine vision applications. Embodiments may be deployed in any application that employs one or more machine and / or computer vision methods. For example, embodiments may be deployed to implement any of the various machine vision features of an autonomous vehicle (see Figures 6A-6D ). Embodiments may be deployed to implement machine vision in robots, such as, but not limited to, manufacturing robots.
[0041] Systems for high dynamic range imaging and tone mapping
[0042] refer to Figure 1 , Figure 1A schematic diagram of a high dynamic range imaging (HDRI) system 100 according to some embodiments of the present disclosure is provided. It should be understood that this and other arrangements described herein are set forth only as examples. Other arrangements and elements (e.g., machines, interfaces, functions, sequences, functional groupings, etc.) may be used in addition to or in place of those shown, and some elements may be omitted entirely. In addition, many of the elements described herein are functional entities that may be implemented as discrete or distributed components or implemented with other components, and may be implemented in any suitable combination and location. The various functions performed by the entities described herein may be performed by hardware, firmware, and / or software. For example, various functions may be performed by logic devices, such as, but not limited to, a general purpose processor 122 and / or an image signal processor (ISP) 124 that executes instructions stored in a memory.
[0043] Among other things, HDRI system 100 may include a computing device that includes one or more image sensors (e.g., cameras). Such computing devices may include, but are not limited to, mobile or fixed cameras (e.g., handheld cameras 102, smart phones, tablets, etc.), manned or unmanned ground vehicles (e.g., vehicles 104), manned or unmanned aerial vehicles (e.g., drones 106), or wearable devices (e.g., smart glasses 108). Such computing devices that include one or more image sensors may be collectively referred to herein as camera computing devices 102-108.
[0044] although Figure 1 Some camera computing devices are shown in FIG. 1 , but this is not limiting. In any example, there may be Figure 1 In fact, any computing device including one or more image sensors and / or cameras may be included in the HDRI system according to various embodiments.
[0045] Any of the camera computing devices 102-108 (or other camera computing devices included in the system 100) may include one or more image sensors capable of capturing high dynamic range (HDR) image data, as discussed throughout. The HDRI system 100 may include other computing devices, such as, but not limited to, a server computing device 110. The server computing device 110 may not include an image sensor. However, in other embodiments, the server computing device 110 may include an image sensor (e.g., an auxiliary camera). The ground vehicle 104 and / or the aerial vehicle 106 may be at least partially manually operated vehicles and / or when manned, partially autonomous. In some embodiments, when unmanned, the vehicles 104 and 106 may be autonomous, partially autonomous, and / or remotely controlled vehicles. In combination Figures 6A-6DVarious embodiments of such a vehicle are discussed.
[0046] Combination Figure 7 102 - 110. However, briefly described herein, each computing device may include one or more logic devices. For example, camera 102 is shown as including logic device 120. Logic device 120 may include one or more of a general purpose processor 122 (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, etc.), an image signal processor (ISP) 124, an application specific integrated circuit (ASIC) 126, and / or a field programmable gate array (FPGA) 128. Although not described herein, the computing device 700 may include one or more logic devices. Figure 1 , in some embodiments, logic device 120 may include a graphics processing unit (GPU). It should be noted that any computing device 102-110 may include one or more such logic devices.
[0047] Various components of the HDRI system 100 (e.g., computing devices 102-110) can communicate via one or more networks 112. The one or more networks can include a wide area network (WAN) (e.g., the Internet, a public switched telephone network (PSTN), etc.), a local area network (LAN) (e.g., Wi-Fi, ZigBee, Z-Wave, Bluetooth, Bluetooth Low Energy (BLE), Ethernet, etc.), a low power wide area network (LPWAN) (e.g., LoRaWAN, Sigfox, etc.), a global navigation satellite system (GNSS) network (e.g., a global positioning system (GPS)), and / or other network types. In any example, each component of the HDRI system 100 can communicate with one or more other components via the one or more networks 112.
[0048] Any of the computing devices 102-110 may implement, operate, or otherwise perform the functions and / or operations of the digital auto-exposure high dynamic range (DAE HDR) engine 140. For example, in Figure 1 , the camera 102 is shown implementing the DAE HDR engine 140. However, any computing device 102-110 may be enabled to implement the DAE HDR engine 140. Any logic device 120 may implement at least some functions, operations, and / or actions of the DAE HDR engine 140.
[0049] The DAE HDR engine 140 may enable various methods of tone mapping of HDR image data, as well as controlling the brightness of images encoded by the HDR image data and / or tone mapped image data. To perform such functions, the DAE HDR engine 140 may include one or more components, modules, devices, etc. Such components, modules, and / or devices may include, but are not limited to, one or more HDR image sensors 144, HDR sensor exposure settings 142, one or more HDR image sensors 144, a region of interest (ROI) locator 148, a delay unit 150, a statistics module 152, a control point selector 154, a tone map generator 156, and / or a tone map applicator 158. In some embodiments, any of these components, modules, and / or devices may be optional. For example, in Figure 1 In the non-limiting embodiment shown, the ROI locator 148, the delay unit 150, and the statistics module 152 are optional. In other embodiments, each of the other components, modules, and / or devices may be optional.
[0050] As combined Figure 1 As discussed, the enumeration of components, modules, and / or devices of the DAE HDR engine 140 is not intended to be exhaustive. In other embodiments, the DAE HDR engine 140 may include fewer or more components, modules, and / or devices. As discussed throughout, the DAE HDR engine 140 may implement and / or perform a combination of Figure 3 , Figure 4 and Figure 5 As such, one or more of the logic devices 120 may implement and / or perform at least a portion of the processes, actions, and / or operations discussed in methods 300 , 400 , and 500 .
[0051] The HDR image sensor 144 is capable of capturing image data as HDR image data. The captured HDR image data encodes an image or scene imaged by the HDR image sensor 144. The image data captured by the HDR image sensor 144 may be referred to as source image data. Thus, the source image data may be HDR image data encoding an HDR source image. As described throughout, the HDR image sensor 144 that captures the source image data may be mounted on a vehicle (e.g., a ground vehicle 104 or an aircraft 106). The vehicle may be an autonomous or at least partially autonomous vehicle. The vehicle may be controlled based at least in part on the source image data and / or the target image data. In some embodiments, the encoding of the source image data may be in a linear color space lacking a nonlinear mapping. The HDR image sensor 144 may include, be affected by and / or be subject to, one or more HDR sensor exposure settings 142. The HDR sensor exposure settings 142 may be fixed, static and / or constant exposure settings. In other embodiments, at least a portion of the HDR sensor exposure settings 142 may be dynamic and / or variable. In such embodiments, at least a portion of the value of the HDR sensor exposure setting 142 may be automatically determined based on lighting conditions of the scene to be imaged and / or other environmental conditions. The HDR sensor exposure setting 142 may be automatically set based on these and other factors, such as the specifications and / or operation of the HDR image sensor 144. In at least one embodiment, a user may be enabled to manually set at least a portion of the HDR sensor exposure setting 142.
[0052] Some computing devices in the HDRI system 100 may not include image sensors and / or cameras (e.g., the server computing device 110). In such embodiments, an HDR image sensor included in any of the camera computing devices 102-108 may be used to capture source image data. The source image data may be provided to a DAE HDR engine implemented at and / or by the server computing device 110 via the network 112. That is, although the source HDR image data may be captured by at least one of the camera devices 102-108, tone mapping and controlling the brightness of the image data may be performed offline on the server computing device 110. To state it another way, tone mapping of the HDR image data may be offloaded to another computing device, such as but not limited to the server computing device 110, which does not capture the image data. Because the camera computing devices 102-108 may include one or more manned or unmanned vehicles (e.g., the ground vehicle 104 and the aircraft 106), the source image data may be captured by a camera included in or mounted on the vehicle. As described above, the vehicle may be an autonomous or at least partially autonomous vehicle. Various embodiments may implement or at least assist in enabling various machine and / or computer vision features of autonomous vehicles, such as, but not limited to, ground vehicle 104 or aerial vehicle 106. Embodiments may be deployed to implement machine and / or computer vision features of other applications, such as, but not limited to, robotic applications.
[0053] like Figure 1 As shown, the DAE HDR engine 140 includes two parallel pipelines for source image data, as shown by the arrows. More specifically, the DAE HDR engine 140 includes an image data pipeline 162 and an image data pipeline 164, wherein the two pipelines can operate in parallel. The two pipelines are schematically bifurcated between the HDR image sensor 144 and the optional ROI locator 148. The two bifurcated pipelines are schematically converged at the tone map applicator 158.
[0054] The image data pipeline 162 is generally responsible for determining and / or generating a tone mapping function (e.g., a global tone mapping (GTM) function). The image data pipeline 162 provides the tone mapping function to the image data pipeline 164 via the tone map applicator 158 (via the optional delay unit 150 or the tone map generator 156). The image data pipeline 164 is generally responsible for applying the tone mapping function to the source image data to generate the target image data 160. As described below, one or more HDR image sensors 144 capture the source image data and provide the source image data to each of the image data pipelines 162 and 164. In Figure 1In a non-limiting embodiment of , and as indicated by pipeline arrows, source image data is provided to an image data pipeline 162 via an optional ROI locator 148 , and source data is provided to a parallel image data pipeline 164 via an HDR image data buffer 146 .
[0055] In embodiments involving capturing multiple frames of source image data (e.g., HDR video embodiments), a tone mapping function may be generated based on a first frame of source image data and applied to a second (e.g., next consecutive) frame of source image data frames. That is, in such embodiments, it may be assumed that the tone mapping function generated based on the first frame of source image data is applicable and suitable for the next frame of source image data because the environmental (e.g., lighting) conditions do not change significantly from frame to frame. In these embodiments, there may be a one-frame lag between the source data for which the tone mapping function is generated and the source image data for which the tone mapping function is applied. For example, the frame of source image data for which the tone mapping function is generated may be a frame prior to the frame of source image data for which the tone mapping function is applied. In such embodiments, the optional delay unit 150 of the image data pipeline 162 may buffer the tone mapping function for one (or more) frames so that when the tone mapping function is provided to the tone mapping applicator 158 of the image data pipeline 164, the tone mapping is applied to the next consecutive frame of source image data. In other embodiments, the lag may be greater than a single frame, and the delay unit 150 may buffer the tone mapping functions for multiple frames of source image data. In at least one embodiment, the same tone mapping function may be applied to more than one frame of source image data. For example, the same tone mapping function may be applied to five consecutive frames of source image data. In such an embodiment, image data pipeline 162 may generate a tone mapping function only for every fifth frame.
[0056] like Figure 1As shown, the DAE HDR engine 140 outputs target image data 160. As described throughout, the target image data 160 can encode an image encoded by the source image data. However, instead of the pixel values of the source image data captured by the HDR image sensor 144, the pixel values of the target image data 160 can be defined by applying (via the image data pipeline 164) a tone mapping function (determined by the image data pipeline 162) to the source image data. That is, the pixel values of the target image data 160 can represent a tone mapped version of the pixel values of the source image data. In some embodiments, the output target image data 160 can be standard dynamic range (SDR) image data or low dynamic range (LDR) image data. However, in other embodiments, the target image data 160 can be HDR image data. Because the pipelines are at least slightly parallel pipelines, and in some embodiments, at least a portion of the operations of the image data pipeline 162 can be performed by a first logic device (e.g., a general purpose processor 122) and at least a portion of the operations of the image data pipeline 164 can be performed by a second logic device (e.g., an ISP 124). In at least one embodiment, one or more pipelines within ISP 124 may be used by image data pipeline 164 of DAE HDR engine 140 .
[0057] like Figure 1 As shown, at least a portion of the source image data may be provided and / or received by the image data pipeline 164 via the HDR image data buffer 146. The HDR image data buffer 146 may buffer or at least temporarily store the source image data. As discussed in more detail below, the image data pipeline 162 generates a tone mapping function and provides the tone mapping function to the image data pipeline 164. More specifically, as Figure 1 As shown, the optional display unit buffers a tone mapping function for at least one frame and then provides the tone mapping function to a tone map applicator 158 of an image data pipeline 164. The tone map applicator receives source image data from the HDR image data buffer 146 and applies the tone mapping function to the source image data to generate target image data 160.
[0058] As described above, the source image data received by the tone map applicator 158 may be a next frame of source image data compared to the frame in the source image data used to generate the tone mapping function. In embodiments that do not include the delay unit 150, the source image data may be provided directly from the tone map generator 156 to the tone map applicator 158. In such embodiments, the tone mapping function may be applied to the same frame of source image data used to generate the tone mapping function.
[0059] In embodiments that include the optional ROI locator 148, source image data may be provided to and / or received by the image data pipeline 162 via the ROI locator 148. In embodiments that do not include the ROI locator 148 but include a statistics module, source image data is provided to the image data pipeline 162 via the optional statistics module 152. In embodiments that lack both the ROI locator 148 and the statistics module 152, source image data may be provided to the image data pipeline 162 via the control point selector 154. It should be noted that while embodiments may include the ROI locator and / or statistics module 152, their operability may be optional. For example, a user may choose to enable the operability of one or both of the ROI locator 148 and / or statistics module 152 via one or more software switches and / or flags. Likewise, a user may choose to disable the operability of one or both of the ROI locator 148 and / or statistics module 152 via one or more software switches and / or flags.
[0060] In embodiments that include and / or enable operability of the ROI locator 148, the ROI locator 148 may determine a ROI within the source image data. For example, one or more methods related to computer vision and / or image processing (e.g., the ROI may be the output of a neural network trained to identify the ROI) may be employed to determine a region of interest (e.g., a region of the image that includes an object and / or focus of the image) within an image encoded by the source image data. As used herein, a ROI may be a region within an image that includes more contrast, detail, and / or more varying pixel values than other regions. For example, a ROI may be a region in an image where the dynamic range of pixel values is maximized or at least increased compared to other regions in the image.
[0061] In embodiments, the ROI may be a region of an image that includes or corresponds to an object of the image or a focal point of the image. In some embodiments, the ROI locator 148 may include a filter or mask that masks pixels outside the determined ROI. Thus, as the image data travels down the image data pipeline 162, the image data may include only pixel values corresponding to the ROI. Thus, the determination of control points and the generation of tone mapping functions, as well as other operations of the image data pipeline 162 (e.g., determination of statistical metrics and / or determination of multiple control points), may be based on a portion of the source image data corresponding to the ROI in the encoded source image, rather than the entire source image data of the encoded source image.
[0062] In an embodiment including and / or enabling operability of the statistics module 152, the statistics module 152 may determine and / or generate a plurality of statistical metrics based on the pixel values of the source image data (or the pixel values of a portion of the source image data corresponding to the ROI of the encoded image data). The plurality of statistical metrics may include statistical metrics based on the pixel values of the source image data. The statistical metrics may include one or more parameters that characterize virtually any continuous or discrete statistical distribution and / or histogram that may be constructed from the source image data. These parameters may include the mean, median, and / or standard deviation of one or more statistical distributions derived from the pixel values of the source image data.
[0063] The source image data, the portion of the source image data corresponding to the ROI, and / or the plurality of statistical metrics may be provided to the control point selector 154. The control point selector 154 is generally responsible for determining a plurality of tonal control points based on the source image data, the portion of the source image data corresponding to the ROI, and / or the plurality of statistical metrics. More specifically, at least a portion of the tonal control points may be determined based on pixel values of the source image data, statistical metrics determined from the pixel values and / or derived from the pixel values, or a combination thereof. The control point selector 154 may use the general purpose processor 122 to determine the plurality of tonal control points.
[0064] The plurality of control points may include one or more of a low tone point, a mid tone point, and a high tone point. The plurality of control points may include a flare suppression point. In some embodiments, the plurality of tone control points may include an additional tone control point. The tone control point may be a 2D point and / or a 2D vector, which includes two scalar values (e.g., an x component and a y component), but other dimensions may be added. Thus, the tone control point may be represented by a vector notation (TC_x, TC_y), where each of TC_x and TC_y is a scalar value. The abscissa scalar value (e.g., x component and / or x value) of the tone control point is represented as TC_x. The ordinate scalar value (e.g., y component and / or y value) of the tone control point is represented as TC_y. The 2D space in which the control point is embedded may be spanned by a standard orthogonal basis, which includes abscissa basis vectors (e.g., x axis) corresponding to pixel values of the source image data and a ordinate basis vector (e.g., y axis) corresponding to pixel values of the target image data.
[0065] Low-tone, mid-tone, and high-tone control points can indicate a specific mapping of pixel values of source image data to pixel values of target image data. For example, a low-tone point can indicate the pixel value of the source image data that is to be tone-mapped to the lowest pixel value of the target image data (e.g., the pixel value corresponding to the darkest or blackest pixel). Similarly, a high-tone point can indicate the pixel value of the source image data that is to be tone-mapped to the highest pixel value of the target image data (e.g., the pixel value corresponding to the brightest or whitest pixel). Thus, a low-tone point can be referred to as a black point (BP), and a high-tone point can be referred to as a white point (WP). A mid-tone point can indicate the pixel value of the source image data that is to be tone-mapped to the intermediate pixel value of the target image data. The determination of the mid-point can control the overall mid-tone brightness (or tone) of the target image encoded by the tone-mapped target image data, while the low-tone point controls the tone of the darkest (or blackest) pixels in the target image data and the high-tone point controls the tone of the whitest (or brightest) pixels in the target image data.
[0066] See Figure 2A , Figure 2A shows low-tone, mid-tone, high-tone, and flare suppression control points embedded in a 2D space spanned by a first basis vector and a second basis vector, where the first basis vector is for a first dimension (e.g., the x-axis) corresponding to the pixel values of the source image data, and the second basis vector is for a second dimension (e.g., the y-axis) corresponding to the pixel values of the target image data. In Figure 2A non-limiting embodiments, the pixel values of the source image data and the target image data have been normalized to have the following range: [0, 1]. However, in other embodiments, the pixel values can be normalized to other ranges, or even do not require normalization. For example, the original pixel values of the captured image data can be used as the source image data. In other embodiments, the original pixel values can be normalized and / or pre-processed before being provided to the image data pipelines 162 and 164 of the DAE HDR engine 140.
[0067] In Figure 2A , the low-tone point is represented as: LT = (B_s, B_t), the mid-tone point is represented as: MT = (M_s, M_t), and the high-tone point is represented as: HT = (W_s, W_t), where both the x and y components are non-negative scalar values. More specifically, in Figure 2A non-limiting embodiments, LT = (B_s, 0) and HT = (W_s, 1), where 0.0 < B_s < W_s < 1.0. In other examples, B_t does not have to be equal to 0.0 and W_t does not have to be equal to 1. Figure 2A shows another control point, i.e., the flare suppression point, represented as: FS = (F_s, F_t), where F_t is set to 0.0. The flare suppression point will be discussed further below.
[0068] With respect to the mid-tone point, any pixel in the source image data having a pixel value equal to M_s can be tone mapped to the value of M_t of the target image data via a tone mapping function. The determination and / or selection of M_t controls the mid-tone brightness of the target image. Therefore, the determination of M_t can be based on the mid-tone pixel value of the pixel value of the target image data. In some embodiments, M_t=0.5. In other embodiments, M_t can take other values. In some examples, the user can select or set the value of M_t. In other examples, M_s can be determined by a linear weighted average of the pixel values of the source image data. In another example, M_s can be determined by a logarithmic average (e.g., a logarithmic average) of the pixel values of the source image data. The logarithmic average can be performed on almost any basis. However, in some embodiments, the logarithmic library is a base 10. In other embodiments, the logarithmic function used to transform the source image data into a logarithmic value can be a natural logarithm function. The logarithmic average of the pixel values can then be exponentiated (by a corresponding base) to determine M_s. For example, the logarithmic transformation of the source image data pixel value can be determined based on the pixel value of the source image data. The mean value of the log-transformed image data values may be determined by a linear weighted sum of the log-transformed image data values.M_s may be determined based on exponentiation of the mean value of the log-transformed image data values.
[0069] In some embodiments, only a portion of the source image data is used to determine M_s. For example, pixels of the source image data having the highest and lowest values may be negated and / or filtered from the analysis. That is, a high tone threshold (or filter value) may be used to negate high tone pixels from the determination of M_s. Similarly, a low tone threshold (or filter or filter value) may be used to negate low tone pixels from the determination of M_s. M_s may be determined based on a linear or logarithmic average of the pixel values that pass through both the low tone and high tone filters (e.g., pixel values that are not thresholded from the analysis). The threshold of the filter may be a relative threshold (e.g., a percentage) or an absolute value. In some embodiments, the filter may be determined based at least in part on a threshold determined by Figure 1 With respect to determining M_s and / or M_t, any of the various methods discussed above may be combined with statistical metrics to determine M_s and / or M_t. In at least one embodiment, the method may be based at least in part on Figure 1 M_s and / or M_t are determined based on the HDR sensor exposure setting 142. The prediction model of M_s and / or M_t can be determined based on analysis of historical, training and / or learning data generated by aggregating statistical metrics from a large amount of source image data and / or target image data.
[0070] With respect to low tone points, any pixel in the source image data having a pixel value equal to B_s (or less than B_s) may be tone mapped to the value of B_t of the target image data. That is, each pixel value of the source image data less than B_s may be cut and set to a pixel value having B_s. The determination and / or selection of B_t controls the low tone brightness of the target image. Therefore, the determination of B_t may be based on the minimum pixel value of the pixel values of the target image data. In some embodiments, B_t=0. In other embodiments, B_t may take a positive value less than M_t. In some examples, the user may select or set the value of B_t. In an image sensor that captures the source image data of a pixel, a positive black pixel value may be caused by flare or other errors (e.g., a sensor black level subtraction error). Therefore, since the source image data with a pixel value less than B_s is cut and set to B_s, the selection of B_s may control flare suppression. Therefore, B_s may be referred to as a flare suppression threshold.
[0071] In an example, B_s may be determined based on the pixel of the source image data having the lowest pixel value. For example, a low-tone subset of the pixel values of the source image data may be determined based on a low-tone point threshold. Each pixel value included in the low-tone subset may be less than or equal to the low-tone point threshold. Each pixel value excluded from the low-tone subset may be greater than the low-tone point threshold. The low-tone point threshold may be an absolute threshold or a relative threshold. The value of B_s may be determined based on the pixel values included in the low-tone subset of the pixel values. For example, B_s may be set to a weighted average of the pixel values in the low-tone subset, which may be an average value. In another embodiment, B_s may be set to a predetermined percentage of the pixel values in the low-tone subset. In some embodiments, the value of B_s may be determined based at least in part on the pixel values determined by Figure 1 B_s and / or B_t are determined based on statistical metrics generated by the statistics module 152 of the HDR sensor. With respect to determining B_s and / or B_t, any of the various methods discussed above may be combined with statistical metrics to determine B_s and / or B_t. In at least one embodiment, B_s and / or B_t may be determined based at least in part on the HDR sensor exposure setting 142. A prediction model for B_s and / or B_t may be determined based on training and / or learning analysis of data generated by aggregating statistical metrics from a large amount of source image data and / or target image data.
[0072] With respect to high tone points, any pixel in the source image data having a pixel value equal to W_s (or greater than W_s) may be tone mapped to the value of W_t of the target image data. That is, each pixel value of the source image data greater than W_s may be clipped and set to have the value W_s. Therefore, since the source image data having a pixel value greater than W_s is clipped and set to W_s, the selection of W_s may control the suppression of highlights (e.g., pixels with large pixel values). Therefore, W_s may be referred to as a highlight suppression threshold. The determination and / or selection of W_t controls the high tone brightness of the target image. Therefore, the determination of W_t may be based on the maximum pixel value of the pixel values of the target image data. In some embodiments, W_t=1. In other embodiments, W_t may take a positive value less than 1 but greater than M_t. In some examples, the user may select or set the value of W_t. In another example, W_s may be determined based on the pixel of the source image data having the highest pixel value. For example, a high tone subset of the pixel values of the source image data may be determined based on the high tone point threshold. Each pixel value included in the high tone subset may be greater than or equal to the high tone point threshold. Each pixel value excluded from the high tone subset may be less than the high tone point threshold.
[0073] The high tone point threshold may be an absolute threshold or a relative threshold. The value of W_s may be determined based on the pixel values included in the high tone subset of pixel values. For example, W_s may be set to a weighted average of the pixel values in the high tone subset, which may be an average. As another example, W_s may be set to a predetermined percentage of the pixel values in the high tone subset. In some embodiments, the value of W_s may be determined based at least in part on the pixel values of the high tone subset. Figure 1 W_s and / or W_t are determined based on statistical metrics generated by the statistics module 152 of the HDR sensor. With respect to determining W_s and / or W_t, any of the various methods discussed above may be combined with statistical metrics to determine W_s and / or W_t. In at least one embodiment, W_s and / or W_t may be determined based at least in part on the HDR sensor exposure settings 142. A prediction model for W_s and / or W_t may be determined based on training and / or learning analysis of data generated by aggregating statistical metrics from a large amount of source image data and / or target image data.
[0074] Figure 2A Also shown is a sparkle suppression point: FS = (F_s, 0). F_s may indicate a maximum sparkle removal threshold. In some embodiments, F_s may be user specified and / or selected. In other embodiments, F_s may be dynamically determined based at least in part on a statistical metric of the source image data. In at least one embodiment, F_s may be determined based on a percentage of M_s and / or a percentage value of the lowest pixel value of the source image data.
[0075] return Figure 1 , the control point selector 154 can determine one or more additional tone control points. The additional tone control points can be determined based at least in part on multiple statistical metrics. The tone map generator 156 is generally responsible for determining a tone mapping function based on multiple control points. The tone map generator 156 can use the general processor 122 to determine the tone mapping function. In order to determine the tone mapping function, the tone map generator 156 can generate and / or determine a gain line. The generation of the gain line can be based on at least a portion of the multiple tone control points. The gain value can be determined as a slope, derivative, and / or rate of change of the gain line. In some embodiments, the gain line can be determined as a unique line that includes or passes through at least two control points. Figure 2A In the example shown, the gain line is a line including both the mid-tone point and the flare suppression point. The gain value is equal to the slope of the gain line.
[0076] The tone mapping generator 156 may determine a tone mapping function based on the gain value and at least a portion of the plurality of tone control points. The tone mapping function may map the pixel value of the source image data to the pixel value of the target image data. Thus, the tone mapping function may be a scalar function of a single scalar variable (e.g., a pixel value), wherein the value of the function is the pixel value of the target image data corresponding to the pixel value of the source image data, which serves as a parameter (or independent variable) of the function. The mapping may be a nonlinear mapping. In some embodiments, the tone mapping generator 156 may perform a fitting of the tone mapping function to one or more tone control points. The tone mapping function may be constrained to include or approximately include one or more tone control points. For example, in at least one embodiment, the tone mapping function may be constrained to include a low tone point, an intermediate tone point, and / or a high tone point. In some embodiments, the tone mapping function may be constrained by a gain value. The derivative or instantaneous rate of change of the tone mapping function (evaluated at one or more tone control points) may be constrained based on the gain value. For example, in at least one embodiment, the fitting of the tone mapping function may be constrained so that the derivative or instantaneous rate of change of the tangent at the intermediate tone control point is at least approximately equal to the gain value.
[0077] Go to Figure 2B , Figure 2B Non-limiting examples of graphs of tone mapping functions are shown in accordance with various embodiments. Figure 2B The tone mapping function is constrained so that a graph of the tone mapping function includes a low tone point, a mid tone point, and a high tone point. The tone mapping function is further constrained so that the derivative or instantaneous rate of change of the tangent at the mid tone control point is equal to the gain value. It should be noted that the tone mapping function can be further constrained based on additional tone control points. Figure 2B Also shown are the corresponding low tone points, mid tone points, high tone points and gain lines.
[0078] To determine the tone mapping function, one or more parametric functions may be fit, wherein the fit is constrained by at least a portion of the plurality of tone control points. The parametric function may include one or more polynomials of virtually any degree. In some embodiments, the fit of the tone mapping function may be constrained such that the tone mapping function includes and / or intersects at least a low tone point, a mid tone point, and a high tone point. In further embodiments, the fit of the tone mapping function may be constrained such that the tone mapping function includes and / or intersects additional tone control points. In some embodiments, the fit of the tone mapping function is constrained such that the derivative and / or instantaneous rate of change of the tone mapping function evaluated at the x-component of the mid tone point is equal to the gain value.
[0079] Various spline methods can be used to fit and / or generate a tone mapping function. Generating a tone mapping function can include generating and / or constructing a nonlinear curve. The nonlinear curve can be a global tone curve (GTC). The curve can include multiple linear or curved segments (e.g., multiple splines). The curve can be a Bezier curve, such as a quadratic or cubic Bezier curve. The curve can be constructed by second-order, third-order, or higher-order parametric equations. Various spline methods can be used to generate the curve. Connections between splines or segments can be constructed to ensure that the derivatives of the tone mapping function are continuous.
[0080] return Figure 1 In embodiments that include the optional delay unit 150 (or a function of the delay unit 150 is engaged), the delay unit 150 may buffer the tone mapping function while the HDR image sensor 144 captures one or more additional frames of source image data. While capturing one or more additional frames of source image data, the delay unit 150 may provide the buffered tone mapping function to the image data pipeline 164 of the DAE HDR engine 140 via the tone map applicator 158. Where a frame lag is used between a frame of source image data used to determine the tone mapping function and a frame of source image data to which the tone mapping function is applied, the delay unit 150 may not be required. For example, the next subsequent and / or continuous frame of source image data may be provided to the HDR image data buffer 146 and / or the tone map applicator 158 at the time the tone map generator 156 may provide the tone mapping function to the tone map applicator. Where the delay unit 150 is not used, the tone map generator 156 may provide the tone mapping function directly to the tone map applicator 158.
[0081] The tone mapping applicator 158 may receive source image data and a tone mapping function. The tone mapping applicator 158 may apply the tone mapping function to the source image data to generate the target image data 160. That is, the tone mapping applicator may transform the source image data (e.g., a frame of the source image data used to generate the tone mapping function and / or one or more subsequent frames of the source image data) to generate the target image data 160. The tone mapping applicator 158 may apply the tone mapping function to the source image data using the ISP 124. In some embodiments, the pipeline of the ISP 124 may be used to apply the tone mapping function to the source image data. As described above, the tone mapping function may provide a nonlinear mapping of the pixel values of the source image data to the pixel values of the target image data 160. In some embodiments, the mapping may be a one-to-one mapping. In other embodiments, the mapping may not be a one-to-one mapping. For example, in embodiments where the x component of the low tone point is greater than 0.0 and / or the x component of the high tone point is less than 1, the source image data may be clipped by the corresponding x component. In such embodiments, the mapping may not be a one-to-one mapping.
[0082] In some embodiments, the tone mapping applicator 158 may transform the tone mapped target image data into SDR or LDR target image data. In such embodiments, a gamma compression function may be applied to the tone mapped target image data to generate color compressed target image data. The SDR or LDR target image data may be output by the DAE HDR engine 140 based on the color compressed target image data.
[0083] Methods for high dynamic range imaging and tone mapping
[0084] Reference now Figure 3-5 , each block of the methods 300, 400, and 500 described herein includes a computing process that can be performed using any combination of hardware, firmware, and / or software. For example, the various functions can be performed by a processor executing instructions stored in a memory. The methods can also be embodied as computer-usable instructions stored on a computer storage medium. The methods can be provided by a stand-alone application, a service or a hosted service (standalone or in combination with another hosted service), or a plug-in for another product, to name a few examples. In addition, as an example, with respect to Figure 1 The HDRI system 100 of the present invention describes methods 300, 400, and 500. For example, at least a portion of methods 300, 400, and 500 may be performed by the DAE HDR engine 140 and / or one or more logic devices 120A. However, these methods may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to those described herein.
[0085] Figure 3is a flow chart illustrating a method 300 for tone mapping high dynamic range image data according to some embodiments of the present disclosure. The method 300 begins at block B302, where source image data is obtained from one or more image sensors (e.g., Figure 1 The source image data may be captured by an HDR image sensor 144. The source image data may be HDR image data. The source image data may be a first frame of source image data. In at least some embodiments (e.g., video embodiments), one or more additional and / or consecutive frames of source image data (e.g., second consecutive frames of source image data) may be captured after the first frame of source image data. The source image data may encode a source image. If additional frames of source image data are captured, the additional frames of source image data may encode one or more additional source images. Therefore, capturing source image data at block B302 may include capturing one or more frames of source image data.
[0086] The source image data may be obtained from a camera mounted on a manned or unmanned ground vehicle or aircraft (e.g. Figure 1 The image data may be captured by at least one image sensor (e.g., a camera device) on a ground vehicle 104 and / or an aircraft 106 in FIG. The vehicle may be a manual vehicle, an automated vehicle, a partially automated vehicle, and / or a remotely controlled vehicle. The vehicle may be operated based on the source image data. In at least some embodiments, the vehicle may be controlled based at least in part on the target image data generated at block B314. However, the image sensors described herein may be part of any suitable device, such as a handheld or fixed camera. In at least one embodiment, the image sensor may be included in one or more robots.
[0087] At block B302, source image data may be received and / or provided at a digital auto-exposure high dynamic range (DAE HDR) engine, such as, but not limited to, Figure 1 In at least one embodiment, the source image data may be provided to and / or received by at least one of: an HDR image data buffer 146, a ROI locator 148, a statistics module 152, and / or a control point selector 154 of the DAE HDR engine 140.
[0088] At optional block B304, a region of interest (ROI) filter may be applied to the received source image data. For example, Figure 1 The ROI locator 148 of the source image data may determine the ROI of the source image data. The ROI locator 148 may apply a filter and / or mask to the source image data pixels corresponding to the ROI of the source image so that the filtered source image data only includes image data corresponding to the determined ROI of the source image. Note that block B304 is optional and does not require filtering and / or analyzing the source image data based on the ROI.
[0089] At optional block B306, one or more statistical metrics may be generated and / or determined from the filtered (or unfiltered) source image data. For example, Figure 1 The statistics module 152 may determine and / or generate a plurality of statistical metrics based on the pixel values of the source image data (or the pixel values of a portion of the source image data corresponding to the ROI of the encoded source image).
[0090] At block B308, a plurality of tone control points for the source image data are determined. For example, the control point selector 154 of the DAE HDR engine 140 may determine and / or select a low tone point, a mid tone point, and / or a high tone point based on the source image data. In embodiments where the source image data is filtered based on an ROI, the tone control points may be determined based on a portion of the source image data corresponding to the ROI of the source image. In embodiments where a plurality of statistical metrics are determined at block B306, at least a portion of the tone control points may be determined based at least in part on at least a portion of the statistical metrics. In at least some embodiments, additional control points may be determined at block B308. For example, at least one flare suppression control point may be additionally determined at block B308. In combination with at least Figure 4 Various embodiments of determining a plurality of control points are discussed in conjunction with method 400. Figure 2A Further embodiments of determining a low tone point, a mid tone point, a high tone point, and a sparkle suppression point are discussed.
[0091] At block B310, a tone mapping function may be determined based on the tone control point. Figure 1 The tone mapping generator 156 may determine and / or generate a tone mapping function based on the tone control point. Thus, the tone mapping function may be based on source image data corresponding to the ROI of the source image and / or a plurality of statistical measures of the source image data.
[0092] At least combined Figure 2A-2B and Figure 4 Various embodiments of determining a tone mapping function are discussed. However, briefly described herein, a gain line may be determined based on at least a mid-tone point and a flare suppression point. A gain value may be determined based on the gain line. More specifically, the gain value may be at least approximately equal to the slope of the gain line, which is a line including the mid-tone point and the flare suppression point. The tone mapping function may be based on at least a low tone point, a mid-tone point, a high tone point, and a gain value. For example, the tone mapping function may be a fitting function that is constrained to include and / or pass through each of the low tone point, the mid-tone point, and the high tone point.
[0093] In at least one embodiment, the fit of the tone mapping function is constrained so that the derivative and / or instantaneous rate of change of the tone mapping function when evaluated at an intermediate tone point is at least approximately equal to the gain value. Figure 1 In at least one embodiment, the logic device for determining and / or generating the tone mapping function may be a general purpose processor of a camera computing device that includes an image sensor that captures source image data.
[0094] As described throughout, a tone mapping function provides a mapping from a pixel value of source image data to a pixel value of target image data. Thus, a tone mapping function can be a scalar function that depends on a single scalar variable, e.g., a scalar value of a single pixel of source image data. The scalar value of the function evaluated at the scalar pixel value of the source image data can be a tone-mapped scalar value of the target image data for the corresponding pixel. As described throughout, the mapping can be a one-to-one nonlinear mapping. Because the tone mapping function can be constrained to include a low tone point, the tone mapping function can map a pixel of a source image having a scalar value of an x component of a low tone point to a scalar value of a y component of the low tone point.
[0095] In some embodiments, any pixel of the source image data having a value of the x component less than the low tone point can be clipped so that the value of the clipped pixel is set to the x component of the low tone point. In at least one embodiment, any pixel of the source image data having a value of the x component less than the sparkle suppression point can be clipped so that the value of the clipped pixel is set to the x component of the sparkle suppression point. Because the tone mapping function can be constrained to include intermediate tone points, the tone mapping function can map pixels of the source image having a scalar value of the x component of the intermediate tone point to a scalar value of the y component of the intermediate tone point. Similarly, because the tone mapping function can be constrained to include high tone points, the tone mapping function can map pixels of the source image having a scalar value of the x component of the high tone point to a scalar value of the y component of the high tone point. In some embodiments, any pixel of the source image data having a value of the x component greater than the high tone point can be clipped so that the value of the clipped pixel is set to the x component of the high tone point. Figure 2B A non-limiting embodiment of a non-linear tone mapping function is shown in .
[0096] At optional block B312, a frame delay may be used. For example, Figure 1 The delay unit 15 may buffer the tone mapping function while the HDR image sensor 144 captures one or more additional frames of source image data (e.g., a subsequent and / or continuous second frame of source image data). The frame delay of block B312 may include buffering a first frame of image data (which is employed to generate the tone map at block B310) while capturing a second frame of image data, or at least until the second frame of image data is provided to the DAE HDR engine.
[0097] At block 314, target image data may be generated based on the source image data and the tone mapping function. For example, the tone mapping applicator 158 may apply the tone mapping function to the source image data. The target image data may encode a target image, wherein pixel values of the target image data are defined by the tone mapping function applied to the source image data. Applying the tone mapping function to the source image data may include applying the tone mapping function to pixel values of the source image data. Applying the tone mapping function to the source image data may include transforming and / or mapping the source image data to the target image data via a non-linear and one-to-one mapping and / or correspondence between the source and target image data provided by the tone mapping function. In an embodiment including a frame delay, the tone mapping function may be applied to a frame of the source image data (e.g., a second frame of the source image data) that is subsequent and / or continuous to a frame of the source image data used to generate the tone mapping function (e.g., a first frame of the source image data).
[0098] In embodiments where the frame delay of block B312 is not employed, the tone mapping function may be applied to the same frame of source image data used to determine the tone mapping function. In some embodiments, a second logic device (e.g., Figure 1 An image signal processor (ISP) 124) applies the tone mapping function to the source image data to generate the target image data. In some embodiments, the ISP employed may be the ISP of the camera computing device used to capture the source image data. In at least one embodiment, the pipeline of the ISP may be employed to apply the tone mapping function to the source image data.
[0099] In some embodiments, generating the target image data may include generating standard dynamic range (SDR) or low dynamic range (LDR) target image data. The SDR or LDR target image data may be based on a tone mapping function and / or pixel values of the tone mapped target image data. For example, a gamma compression function may be applied to the tone mapped target image data to generate color compressed target image data. The SDR or LDR target image data may be generated based on the color compressed target image data.
[0100] Figure 4 4 is a flow chart illustrating a method 400 for generating lower dynamic range image data from higher dynamic range image data according to some embodiments of the present disclosure. Blocks B402-B410 of method 400 include selecting and / or determining a plurality of tonal control points. As described throughout, the tonal control points may be generated by Figure 1 The control point selector 154 selects and / or determines a plurality of hue control points. Figure 3Block B308 of method 300 discusses various embodiments of determining a plurality of control points. The determination of the plurality of control tone points may be based on pixel values of the source image data, pixel values of a portion of the source image data corresponding to an ROI in the source image, and / or a plurality of statistical measures based on the pixel values of the source image data. As also noted throughout, the plurality of tone control points may include at least a low tone point, a mid tone point, and / or a high tone point. In some embodiments, the plurality of tone control points may additionally include a sparkle suppression point. Such tone control points may be at least Figure 2A-2B It should also be noted that portions of method 400 may be implemented by a first logic device (e.g., Figure 1 122), and other parts of method 400 may be executed by a second logic device (e.g., Figure 1 image signal processor (ISP) 124).
[0101] In some embodiments, prior to initialization of method 400, the pixel values of the source image data may be normalized so that the pixel values of the normalized source image data are in the range of [0,1]. Method 400 begins at block B402, where a mid-tone point is determined based on the source image data. In some embodiments, to determine the x-component of the mid-tone point, the source image data may be filtered by a high-tone filter and a low-tone filter to generate filtered source image data. The high-tone filter filters out portions of the source image data that include pixel values greater than a high-tone threshold. The low-tone filter filters out portions of the source image data that include pixel values less than a low-tone threshold. The x-component of the mid-tone point may be determined by averaging the pixel values of the portion of the source image data that remains after applying the high-tone and low-tone filters. In other embodiments, the high-tone and low-tone filters are not applied to the source image data.
[0102] In some embodiments, the averaging of the pixel values may include logarithmically averaging the pixel values. In such embodiments, logarithmically transformed image data pixel values may be generated by applying a logarithmic function to filtered or unfiltered source image data. The base of the logarithmic function may be selected based on the source image data. In one embodiment, the base of the logarithmic function is 10. In other embodiments, the logarithmic function may be a natural logarithm function. An average value of the logarithmically transformed pixel values may be determined. The average value of the logarithmically transformed pixel values may be exponentiated by the corresponding base of the logarithmic function. The x component of the mid-tone point may be set to the exponentiation of the average value of the logarithmically transformed pixel values of the source image data. The y component of the mid-tone point may be set to a specified mid-tone value of the target image data.
[0103] In block B404, a low tone point can be determined based on the source image data. In one non-limiting embodiment, a subset of pixel values of the source image data is determined and / or generated, wherein each value of the pixels included in the subset is less than the pixel value of the pixels excluded from the subset. In other words, the source image data can be filtered via a low tone filter so that the only pixel values remaining after filtering are those pixels having a pixel value less than a low tone threshold. The x component of the low tone point can be determined based on a subset of pixel values. For example, the pixel values that survive the low tone filtering process can be averaged to determine the x component of the low tone point. The y component of the low tone point can be determined and / or selected as the minimum pixel value of the target image data. In at least one embodiment, the y component of the low tone point is set to 0.0. The low tone point can be a black point.
[0104] In block B406, a high tone point may be determined based on the source image data. In one non-limiting embodiment, a subset of pixel values of the source image data is determined and / or generated, wherein each value of the pixel included in the subset is greater than the pixel value of the pixel excluded from the subset. That is, the source image data may be filtered via a high tone filter so that the only pixel values remaining after filtering are pixels having pixel values greater than a high tone threshold. The x component of the high tone point may be determined based on the subset of pixel values. For example, the pixel values that survive the high tone filtering process may be averaged to determine the x component of the high tone point. The y component of the high tone point may be determined and / or selected as the maximum pixel value of the target image data. In at least one embodiment, the y component of the low tone point is set to 1.0. The high tone may be a white point. The target image data is normalized to a range of [0,1] by setting the y component of the low tone point to 0.0 and setting the y component of the high tone component.
[0105] At box B408, a sparkle suppression point can be determined. The x component of the sparkle suppression point can be set to the value of the maximum sparkle that will be suppressed in the tone. In some embodiments, the x component of the sparkle suppression point can be user-selected. In other embodiments, the x component can be dynamically determined based on the pixel values of the source image and / or multiple statistical metrics determined for the source image data. For example, the x component of the sparkle suppression point can be set based on the percentage of mid-tone pixel values or the value of the pixel value thresholded by the low tone. In various embodiments, the x component of the sparkle suppression point can be selected to be greater than the x component of the low tone point, but less than the x component of the mid-tone point. In various non-limiting embodiments, the y component of the sparkle suppression point is set to 0.0. In other embodiments, the y component of the sparkle suppression point can be set or selected to be greater than 0.0, but less than the y component of the mid-tone point.
[0106] At optional block B410, one or more additional control points are determined based on the source image data. At block B412, the source data may be preprocessed based on the control points. For example, each pixel of the source image data having a pixel value of an x component less than the low hue point may be clipped so that the pixel values of these pixels are set to the scalar value of the x component of the low hue point. In at least one embodiment, each pixel of the source image data having a pixel value of an x component less than the sparkle suppression point may be clipped so that the pixel values of these pixels are set to the scalar value of the x component of the sparkle suppression point. In addition, each pixel of the source image data having a pixel value of an x component greater than the high hue point may be clipped so that the pixel values of these pixels are set to the scalar value of the x component of the high hue point.
[0107] At block B414, a gain value may be determined based on the mid-tone point and the flare suppression point. For example, a gain line may be constructed from the mid-tone point and the flare suppression point. The gain value may be set to the slope of the gain value line. In various embodiments, the slope is positive. Embodiments of the gain value line and corresponding slopes are described in Figure 2A Shown in.
[0108] At block B416, a tone mapping function is determined based on the low tone point, the mid tone point, and the high tone point. In some embodiments, the tone mapping function is also determined based on the gain value. In other embodiments, the tone mapping function is also determined based on one or more additional tone control points determined in block B410. In various embodiments, Figure 1 The tone mapping generator 156 of FIG. 1 determines the tone mapping function. More specifically, the tone mapping generator 156 may use Figure 1 The general purpose processor 122 is used to generate the tone mapping function.
[0109] To determine the tone mapping function, one or more parametric functions may be fit, wherein the fit is constrained by at least a portion of the various tone control points. The parametric function may include one or more polynomials of virtually any degree. In some embodiments, the fit of the tone mapping function may be constrained such that the tone mapping function includes and / or intersects at least a low tone point, a mid-tone point, and a high tone point. In further embodiments, the fit of the tone mapping function may be constrained such that the tone mapping function includes and / or intersects additional tone control points. In some embodiments, the fit of the tone mapping function is constrained such that the derivative and / or instantaneous rate of change of the tone mapping function evaluated at the x-component of the mid-tone point is equal to the gain value. Figure 2B An embodiment of a tone mapping function is shown in .
[0110] Various spline methods can be used to fit and / or generate a tone mapping function. Generating a tone mapping function can include generating and / or constructing a nonlinear curve. The nonlinear curve can be a global tone curve (GTC). The curve can include multiple linear or curved segments (e.g., multiple splines). The curve can be a Bezier curve, for example, a quadratic or cubic Bezier curve. The curve can be constructed by second-order, third-order, or higher-order parametric equations. Various spline methods can be used to generate the curve. Connections between splines or segments can be constructed to ensure that the derivatives of the tone mapping function are continuous.
[0111] At block B418, a tone mapping function may be applied to generate target image data. In various embodiments, Figure 1 The tone mapping applicator 158 transforms the source image data into the target image data through the tone mapping function. The tone mapping applicator 158 may adopt Figure 1 ISP 124 of the present invention applies a non-linear transformation to the source image data. In at least one embodiment, the pipeline of ISP 124 can be used to apply the transformation and generate the target image data.
[0112] Boxes B420 and B422 are optional boxes that can be used to generate SDR target image data or LDR image data from the tone mapped target image data. At box B420, a gamma compression function can be applied to the tone mapped image data to generate color compressed image data. At box B422, SDR or LDR target image data can be generated based on the color compressed source image data.
[0113] Figure 5 is a flow chart illustrating a method 500 for distributing tone mapping operations according to some embodiments of the present disclosure. At block B502, a first logic device may be employed to determine a tone mapping function. At block B502, the first logic device may be Figure 1 The first logic device for determining the tone mapping function may be any one of logic devices 120, such as but not limited to a general purpose processor 122, an image signal processor (ISP) 124, an ASIC 126, and / or an FPGA 128. In some embodiments, the first logic device for determining the tone mapping function is a general purpose processor 122. In at least one embodiment, a graphics processing unit (GPU) is used to determine the tone mapping function.
[0114] At block B504, a second logic device may be employed to apply a tone mapping function to the source image data and generate target image source data. At block B504, the second logic device may be any one of logic devices 120, such as, but not limited to, general purpose processor 122, ISP 124, ASIC 126, and / or FPGA 128. In some embodiments, the second logic device for applying the tone mapping function is ISP 124. The pipeline of ISP 124 may be employed to apply the tone mapping function and transform the source image data into target image data. In at least one embodiment, a GPU is employed to determine the tone mapping function.
[0115] Example Embodiments of Autonomous Vehicles
[0116] Fig. 6A is an illustration of an example autonomous vehicle 104 according to some embodiments of the present disclosure. Autonomous vehicle 104 (optionally referred to herein as "vehicle 104") may include a passenger vehicle such as a car, truck, bus, and / or other type of vehicle that accommodates one or more passengers. Autonomous vehicles are generally described according to the level of automation as defined by the National Highway Traffic Safety Administration (NHTSA), a division of the U.S. Department of Transportation, and the Society of Automotive Engineers (SAE) in the "Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles" (Standard No. J3016-201806, published on June 15, 2018, Standard No. J3016-201609, published on September 30, 2016, and previous and future versions of the standard). Vehicle 104 may have one or more functions from Level 3 to Level 5 according to the level of autonomous driving. For example, depending on the embodiment, the vehicle 104 may have conditional automation (level 3), high automation (level 4), and / or full automation (level 5).
[0117] The vehicle 104 may include components such as a chassis, a body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other components of the vehicle. The vehicle 104 may include a propulsion system 650, such as an internal combustion engine, a hybrid power plant, an all-electric engine, and / or other propulsion system types. The propulsion system 650 may be connected to a drive train of the vehicle 104, which may include a transmission, to achieve propulsion of the vehicle 104. The propulsion system 650 may be controlled in response to receiving a signal from a throttle / accelerator 652.
[0118] When propulsion system 650 is in operation (e.g., when the vehicle is in motion), a steering system 654, which may include a steering wheel, may be used to guide vehicle 104 (e.g., along a desired path or route). Steering system 654 may receive signals from steering actuator 656. A steering wheel may be optional for fully automated (Level 5) functionality.
[0119] Brake sensor system 646 may be used to operate vehicle brakes in response to receiving signals from brake actuator 648 and / or brake sensors.
[0120] May include one or more system on chip (SoC) 604 ( Figure 6C ) and / or one or more GPUs may provide signals (e.g., representing commands) to one or more components and / or systems of the vehicle 104. For example, the one or more controllers may send signals to operate vehicle brakes through one or more brake actuators 648, operate the steering system 654 through one or more steering actuators 656, and operate the propulsion system 650 through one or more throttle / accelerators 652. The one or more controllers 636 may include one or more onboard (e.g., integrated) computing devices (e.g., supercomputers) that process sensor signals and output operating commands (e.g., signals representing commands) to enable autonomous driving and / or assist a human driver in driving the vehicle 104. The one or more controllers 636 may include a first controller 636 for autonomous driving functions, a second controller 636 for functional safety functions, a third controller 636 for artificial intelligence functions (e.g., computer vision), a fourth controller 636 for infotainment functions, a fifth controller 636 for redundancy in emergency situations, and / or other controllers. In some examples, a single controller 636 may handle two or more of the above functions, two or more controllers 636 may handle a single function, and / or any combination thereof.
[0121] The one or more controllers 636 may provide signals for controlling one or more components and / or systems of the vehicle 104 in response to sensor data received from one or more sensors (eg, sensor inputs). Sensor data may be obtained from, for example, but not limited to, one or more global navigation satellite system sensors 658 (e.g., one or more global positioning system sensors), one or more RADAR sensors 660, one or more ultrasonic sensors 662, one or more LIDAR sensors 664, one or more inertial measurement unit (IMU) sensors 666 (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetic compasses, one or more magnetometers, etc.), one or more microphones 696, one or more stereo cameras 668, one or more wide field of view cameras 670 (e.g., fisheye cameras), one or more infrared cameras 672, one or more surround cameras 674 (e.g., 360 degree cameras), one or more long-range and / or mid-range cameras 698, one or more speed sensors 644 (e.g., for measuring the speed of the vehicle 104), one or more vibration sensors 642, one or more steering sensors 640, one or more brake sensors (e.g., as part of a brake sensor system 646), and / or other sensor types.
[0122] The one or more controllers 636 may receive input (e.g., represented by input data) from the instrument cluster 632 of the vehicle 104 and provide output (e.g., represented by output data, display data, etc.) via a human machine interface (HMI) display 634, an audible annunciator, a speaker, and / or via other components of the vehicle 104. The output may include information such as vehicle speed, velocity, time, map data (e.g., Figure 6C The HMI display 634 may include information about the presence of one or more objects (e.g., road signs, warning signs, traffic light changes, etc.), and / or information about driving maneuvers that the vehicle has made, is making, or is about to make (e.g., changing lanes now, exiting 34B in two miles, etc.).
[0123] The vehicle 104 also includes a network interface 624 that can communicate via one or more networks using one or more wireless antennas 626 and / or one or more modems. For example, the network interface 624 can be capable of communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, etc. The one or more wireless antennas 626 can also enable communication between objects in the environment (e.g., vehicles, mobile devices, etc.) using a local area network (such as Bluetooth, Bluetooth LE, Z-Wave, ZigBee, etc.), and / or one or more low power wide area networks (LPWAN) (such as LoRaWAN, SigFox, etc.).
[0124] Figure 6B According to some embodiments of the present disclosure, Fig. 6A 1. An example of camera positions and fields of view for an example autonomous vehicle 104. The cameras and respective fields of view are an example embodiment and are not intended to be limiting. For example, additional and / or alternative cameras may be included and / or the cameras may be located at different locations on the vehicle 104.
[0125] The camera type used for the camera may include, but is not limited to, a digital camera that may be suitable for use with components and / or systems of the vehicle 104. One or more cameras may operate at automotive safety integrity level (ASIL) B and / or another ASIL. Depending on the embodiment, the camera type may have any image capture rate, such as 60 frames per second (fps), 620fps, 240fps, etc. The camera may be able to use a rolling shutter, a global shutter, other types of shutters, or a combination thereof. In some examples, the color filter array may include a red transparent transparent (RCCC) filter array, a red transparent transparent blue (RCCB) filter array, a red blue green transparent (RBGC) filter array, a Foveon X3 filter array, a Bayer sensor (RGGB) filter array, a monochrome sensor filter array, and / or other types of filter arrays. In some embodiments, a clear pixel camera, such as a camera with an RCCC, RCCB, and / or RBGC filter array, may be used in an effort to increase light sensitivity.
[0126] In some examples, one or more cameras can be used to perform advanced driver assistance system (ADAS) functions (e.g., as part of a redundant or fail-safe design). For example, a multi-function mono camera can be installed to provide functions including lane departure warning, traffic sign assistance, and intelligent headlight control. One or more cameras (e.g., all cameras) can record and provide image data (e.g., video) simultaneously.
[0127] One or more cameras can be mounted in a mounting assembly, such as a custom designed (3-D printed) assembly, so as to cut out stray light and reflections from within the vehicle (e.g., reflections from the dashboard reflected in the windshield mirror) that may interfere with the camera's image data capture capabilities. Referring to the wing mirror mounting assembly, the wing mirror assembly can be custom 3D printed so that the camera mounting plate matches the shape of the wing mirror. In some examples, one or more cameras can be integrated into the wing mirror. For side-view cameras, one or more cameras can also be integrated within the four pillars at each corner of the cabin.
[0128] A camera (e.g., a forward-facing camera) having a field of view that includes a portion of the environment in front of the vehicle 104 can be used for a surround view to help identify forward-facing paths and obstacles, as well as assist in providing information critical to generating an occupancy grid and / or determining a preferred vehicle path with the assistance of one or more controllers 636 and / or control SoCs. A forward-facing camera can be used to perform many of the same ADAS functions as LIDAR, including emergency braking, pedestrian detection, and collision avoidance. A forward-facing camera can also be used for ADAS functions and systems, including lane departure warning (“LDW”), autonomous cruise control (“ACC”), and / or other functions, such as traffic sign recognition.
[0129] A variety of cameras may be used in a forward-facing configuration, including, for example, a monocular camera platform including a CMOS (complementary metal oxide semiconductor) color imager. Another example may be one or more wide field of view cameras 670, which may be used to sense objects entering the field of view from the periphery (e.g., pedestrians, crossing traffic, or bicycles). Although Figure 6B Only one wide field of view camera is shown in the figure, and there can be any number of wide field of view cameras 670 on the vehicle 104. In addition, one or more remote cameras 698 (e.g., a long field of view stereo camera pair) can be used for depth-based object detection, especially for objects for which a neural network has not yet been trained. One or more remote cameras 698 can also be used for object detection and classification, as well as basic object tracking.
[0130] One or more stereo cameras 668 may also be included in the forward configuration. One or more stereo cameras 668 may include an integrated control unit including a scalable processing unit that may provide programmable logic (FPGA) and a multi-core microprocessor with an integrated CAN or Ethernet interface on a single chip. Such a unit may be used to generate a 3-D map of the vehicle environment, including distance estimates for all points in the image. Alternative one or more stereo cameras 668 may include one or more compact stereo vision sensors, which may include two camera lenses (one each on the left and right) and an image processing chip that may measure the distance from the vehicle to the target object and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane leaving warning functions. In addition to those described herein or as an alternative, one or more stereo cameras 668 of other types may be used.
[0131] A camera having a view of a portion of the environment including the sides of the vehicle 104 (e.g., a side view camera) can be used for surround view, providing information for creating and updating an occupancy grid, and for generating side impact collision warnings. For example, one or more surround cameras 674 (e.g., such as Figure 6B The four surround cameras 674 shown in FIG. 104 may be positioned on the vehicle 104. The one or more surround cameras 674 may include one or more wide field of view cameras 670, one or more fisheye cameras, one or more 360 degree cameras, and / or the like. For example, four fisheye cameras may be positioned on the front, rear, and sides of the vehicle. In an alternative arrangement, the vehicle may use three surround cameras 674 (e.g., left, right, and rear), and may utilize one or more other cameras (e.g., a forward-facing camera) as a fourth surround view camera.
[0132] A camera having a field of view of a portion of the environment including the rear of the vehicle 104 (e.g., a rear view camera) can be used for parking assistance, surround view, rear collision warning, and creating and updating an occupancy grid. A variety of cameras can be used, including but not limited to cameras that are also suitable as one or more forward-facing cameras (e.g., one or more long-range and / or mid-range cameras 698, one or more stereo cameras 668, one or more infrared cameras 672, etc.), as described herein.
[0133] Figure 6C According to some embodiments of the present disclosure, Fig. 6A104. It should be understood that this and other arrangements described herein are set forth by way of example only. Other arrangements and elements (e.g., machines, interfaces, functions, sequences, functional groupings, etc.) may be used in addition to or in place of those shown, and some elements may be omitted entirely. In addition, many of the elements described herein are functional entities that may be implemented as discrete or distributed components or in conjunction with other components, and may be implemented in any suitable combination and location. The various functions described herein as being performed by the entities may be performed by hardware, firmware, and / or software. For example, the various functions may be performed by a processor executing instructions stored in a memory.
[0134] Figure 6C Each of the components, features, and systems of the vehicle 104 is shown as being connected via a bus 602. The bus 602 may include a controller area network (CAN) data interface (optionally referred to herein as a "CAN bus"). The CAN may be a network internal to the vehicle 104 that assists in controlling various features and functions of the vehicle 104, such as actuation of brakes, acceleration, braking, steering, windshield wipers, etc. The CAN bus may be configured to have dozens or even hundreds of nodes, each with its own unique identifier (e.g., CAN ID). The CAN bus may be read to find steering wheel angle, ground speed, engine revolutions per minute (RPM), button position, and / or other vehicle status indicators. The CAN bus may be compliant with ASILB.
[0135] Although bus 602 is described as a CAN bus in this article, this is not restrictive. For example, FlexRay and / or Ethernet can be used in addition to or as an alternative to the CAN bus. In addition, although a single line is used to represent bus 602, this is not restrictive. For example, there can be any number of buses 602, which can include one or more CAN buses, one or more FlexRay buses, one or more Ethernet buses, and / or one or more other types of buses using different protocols. In some examples, two or more buses 602 can be used to perform different functions, and / or can be used for redundancy. For example, a first bus 602 can be used for collision avoidance functions, and a second bus 602 can be used for actuation control. In any example, each bus 602 can communicate with any component of the vehicle 104, and two or more buses 602 can communicate with the same component. In some examples, each SoC 604, each controller 636 and / or each computer in the vehicle can access the same input data (e.g., input from a sensor of the vehicle 104), and can be connected to a common bus, such as a CAN bus.
[0136] The vehicle 104 may include one or more controllers 636, such as those described herein. Fig. 6A The one or more controllers 636 may be used for various functions. The one or more controllers 636 may be coupled to any of the various other components and systems of the vehicle 104 and may be used to control the vehicle 104, the artificial intelligence of the vehicle 104, the infotainment of the vehicle 104, and / or the like.
[0137] The vehicle 104 may include one or more systems on a chip (SoC) 604. The SoC 604 may include one or more CPUs 606, one or more GPUs 608, one or more processors 610, one or more caches 612, one or more accelerators 614, one or more data stores 616, and / or other components and features not shown. The one or more SoCs 604 may be used to control the vehicle 104 in various platforms and systems. For example, the one or more SoCs 604 may be combined with an HD map 622 in a system (e.g., a system of the vehicle 104), and the HD map 622 may be downloaded from one or more servers (e.g., Fig.6D one or more servers 678) to obtain map refreshes and / or updates.
[0138] One or more CPUs 606 may include a CPU cluster or CPU complex (optionally referred to herein as a "CCPLEX"). One or more CPUs 606 may include multiple cores and / or L2 caches. For example, in some embodiments, one or more CPUs 606 may include eight cores in a coherent multiprocessor configuration. In some embodiments, one or more CPUs 606 may include four dual-core clusters, each with a dedicated L2 cache (e.g., a 2MB L2 cache). One or more CPUs 606 (e.g., CCPLEX) may be configured to support simultaneous cluster operations such that any combination of clusters of one or more CPUs 606 is active at any given time.
[0139] One or more CPUs 606 may implement power management capabilities including one or more of the following features: individual hardware blocks may be automatically clock gated when idle to save dynamic power; each core clock may be gated when the core is not actively executing instructions due to executing WFI / WFE instructions; each core may be independently power gated; each core cluster may be independently clock gated when all cores are clock gated or power gated; and / or each core cluster may be independently power gated when all cores are power gated. One or more CPUs 606 may also implement an enhanced algorithm for managing power states, where allowed power states and expected wakeup times are specified, and hardware / microcode determines the optimal power state for cores, clusters, and CCPLEX inputs. The processing core may support a simplified power state entry sequence in software, where work is offloaded to microcode.
[0140] One or more GPUs 608 may include an integrated GPU (optionally referred to herein as an "iGPU"). One or more GPUs 608 may be programmable and may be effective for parallel workloads. In some examples, one or more GPUs 608 may use an enhanced tensor instruction set. One or more GPUs 608 may include one or more streaming microprocessors, each of which may include an L1 cache (e.g., an L1 cache with at least 96KB storage capacity), and two or more streaming microprocessors may share an L2 cache (e.g., an L2 cache with 512KB storage capacity). In some embodiments, one or more GPUs 608 may include at least eight streaming microprocessors. One or more GPUs 608 may use one or more computing application programming interfaces (APIs). In addition, one or more GPUs 608 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA's CUDA).
[0141] One or more GPUs 608 may be power optimized for optimal performance in automotive and embedded use cases. For example, one or more GPUs 608 may be manufactured on fin field effect transistors (FinFETs). However, this is not restrictive, and one or more GPUs 608 may be manufactured using other semiconductor manufacturing processes. Each streaming microprocessor may include multiple mixed precision processing cores divided into multiple blocks. For example, but not limited to, 64 PF32 cores and 32 PF64 cores may be divided into four processing blocks. In such an example, each processing block may be allocated 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed precision NVIDIATENSOR COREs for deep learning matrix arithmetic, L0 instruction cache, warp scheduler, dispatch unit, and / or 64KB register files. In addition, the streaming microprocessor may include independent parallel integer and floating point data paths to provide efficient execution of workloads through mixed calculations and addressing calculations. The streaming microprocessor may include independent thread scheduling capabilities to enable finer-grained synchronization and cooperation between parallel threads. The streaming microprocessor may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.
[0142] One or more GPUs 608 may include high bandwidth memory (HBM) and / or a 16GB HBM2 memory subsystem to provide a peak memory bandwidth of approximately 900 GB / sec in some examples. In some examples, synchronous graphics random access memory (SGRAM), such as graphics double data rate type five synchronous random access memory (GDDR5), may be used in addition to or in lieu of HBM memory.
[0143] One or more GPUs 608 may include unified memory technology that includes access counters to allow more accurate migration of memory pages to the processors that access them most frequently, thereby improving the efficiency of memory ranges shared between processors. In some examples, address translation service (ATS) support may be used to allow one or more GPUs 608 to directly access one or more CPUs 606 page tables. In such an example, when one or more GPUs 608 memory management units (MMUs) experience a miss, an address translation request may be sent to one or more CPUs 606. In response, one or more CPUs 606 may look up a table for virtual-to-physical mapping of addresses in its pages and send the translation back to one or more GPUs 608. Therefore, unified memory technology may allow a single unified virtual address space to be used for memory of both one or more CPUs 606 and one or more CPUs 608, thereby simplifying one or more GPUs 608 programming and porting applications to one or more GPUs 608.
[0144] Additionally, one or more GPUs 608 may include access counters that can track the frequency of accesses to other processors' memory by one or more GPUs 608. The access counters can help ensure that memory pages are moved to the physical memory of the processor that accesses the page most frequently.
[0145] One or more SoCs 604 may include any number of caches 612, including those described herein. For example, one or more caches 612 may include an L3 cache that can be used for both one or more CPUs 606 and one or more GPUs 608 (e.g., connecting both one or more CPUs 606 and one or more GPUs 608). One or more caches 612 may include a write-back cache that can track the state of a line, such as by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). Depending on the embodiment, the L3 cache may include 4MB or more, although smaller cache sizes may be used.
[0146] One or more SoCs 604 may include one or more accelerators 614 (e.g., hardware accelerators, software accelerators, or a combination thereof). For example, one or more SoCs 604 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. Large on-chip memory (e.g., 4MB of SRAM) can enable hardware acceleration clusters to accelerate neural networks and other calculations. Hardware acceleration clusters can be used to supplement one or more GPUs 608 and unload some tasks of one or more GPUs 608 (e.g., to free up more cycles of one or more GPUs 608 to perform other tasks). As an example, one or more accelerators 614 can be used for target workloads (e.g., perceptual convolutional neural networks (CNNs), etc.), which are stable enough to be suitable for acceleration. The term "CNN" used herein may include all types of CNNs, including region-based or region-based convolutional neural networks (RCNNs) and fast RCNNs (e.g., for object detection).
[0147] One or more accelerators 614 (e.g., a hardware acceleration cluster) may include one or more deep learning accelerators (DLAs). One or more DLAs may include one or more tensor processing units (TPUs) that may be configured to provide an additional 10 trillion operations per second for deep learning applications and reasoning. A TPU may be an accelerator configured and optimized for performing image processing functions (e.g., for CNN, RCNN, etc.). One or more DLAs may also be optimized for a specific set of neural network types and floating point operations and reasoning. The design of one or more DLAs may provide higher performance per millimeter than a general-purpose GPU, and far exceeds the performance of a CPU. One or more TPUs may perform several functions, including single instance convolution functions, such as supporting INT8, INT16, and FP16 data types for features and weights, and post-processor functions.
[0148] One or more DLAs can quickly and efficiently execute neural networks (particularly CNNs) on processed or unprocessed data for any of a variety of functions, including, for example, but not limited to: a CNN for object identification and detection using data from a camera sensor; a CNN for distance estimation using data from a camera sensor; a CNN for emergency vehicle detection and identification and detection using data from a microphone; a CNN for facial recognition and vehicle owner identification using data from a camera sensor; and / or a CNN for safety and / or security-related events.
[0149] One or more DLAs can perform any function of one or more GPUs 608, and by using an inference accelerator, for example, a designer can target one or more DLAs or one or more GPUs 608 for any function. For example, a designer can focus processing of CNNs and floating point operations on one or more DLAs and leave other functions to one or more GPUs 608 and / or one or more other accelerators 614.
[0150] One or more accelerators 614 (e.g., a hardware acceleration cluster) may include one or more programmable vision accelerators (PVAs), which may alternatively be referred to herein as computer vision accelerators. One or more PVAs may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems (ADAS), autonomous driving, and / or augmented reality (AR) and / or virtual reality (VR) applications. One or more PVAs may provide a balance between performance and flexibility. For example, each of the one or more PVAs may include, for example, but not limited to, any number of reduced instruction set computer (RISC) cores, direct memory access (DMA), and / or any number of vector processors.
[0151] The RISC core can interact with an image sensor (e.g., an image sensor of any camera described herein), one or more image signal processors, etc. Each RISC core may include any amount of memory. Depending on the embodiment, the RISC core may use any of a number of protocols. In some examples, the RISC core may execute a real-time operating system (RTOS). The RISC core may be implemented using one or more integrated circuit devices, application specific integrated circuits (ASICs), and / or memory devices. For example, the RISC core may include an instruction cache and / or a tightly coupled RAM.
[0152] The DMA may enable components of one or more PVAs to access system memory independently of one or more CPUs 606. The DMA may support any number of features for providing optimizations to the PVA, including, but not limited to, support for multi-dimensional addressing and / or circular addressing. In some examples, the DMA may support up to six or more dimensions of addressing, which may include block width, block height, block depth, horizontal block stepping, vertical block stepping, and / or depth stepping.
[0153] A vector processor may be a programmable processor that may be designed to efficiently and flexibly execute programming for computer vision algorithms and provide signal processing capabilities. In some examples, the PVA may include a PVA core and two vector processing subsystem partitions. The PVA core may include a processor subsystem, one or more DMA engines (e.g., two DMA engines), and / or other peripherals. The vector processing subsystem may operate as the main processing engine of the PVA and may include a vector processing unit (VPU), an instruction cache, and / or a vector memory (e.g., VMEM). The VPU core may include a digital signal processor, such as a single instruction, multiple data (SIMD), a very long instruction word (VLIW) digital signal processor. The combination of SIMD and VLIW may increase throughput and speed.
[0154] Each vector processor may include an instruction cache and may be coupled to a dedicated memory. As a result, in some examples, each vector processor may be configured to execute independently of the other vector processors. In other examples, the vector processors included in a particular PVA may be configured to exploit data parallelism. For example, in some embodiments, multiple vector processors included in a single PVA may execute the same computer vision algorithm, but on different areas of an image. In other examples, the vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on the same image, or even execute different algorithms on sequential images or portions of images. Among them, any number of PVAs may be included in the hardware acceleration cluster, and any number of vector processors may be included in each PVA. In addition, one or more PVAs may include additional error correction code (ECC) memory to enhance overall system security.
[0155] One or more accelerators 614 (e.g., a hardware acceleration cluster) may include an on-chip computer vision network and SRAM to provide high-bandwidth, low-latency SRAM to one or more accelerators 614. In some examples. The on-chip memory may include at least 4MB of SRAM, including, for example, but not limited to, eight field-configurable memory blocks that can be accessed by both the PVA and DLA. Each pair of memory blocks may include an advanced peripheral bus (APB) interface, configuration circuits, controllers, and multiplexers. Any type of memory may be used. The PVA and DLA may access the memory through a backbone network that provides high-speed access to the memory for the PVA and DLA. The backbone may include an on-chip computer vision network that interconnects the PVA and DLA to the memory (e.g., using APB).
[0156] The on-chip computer vision network may include an interface that determines that both the PVA and DLA provide ready and valid signals before transmitting any control signals / addresses / data. Such an interface may provide separate phases and separate channels for sending control signals / addresses / data, as well as burst type communications for continuous data transmission. This type of interface may conform to ISO 26262 or IEC 61508 standards, although other standards and protocols may be used.
[0157] In some examples, one or more SoCs 604 may include a real-time ray tracing hardware accelerator, such as described in U.S. Patent Application No. 16 / 101,232 filed on August 10, 2018. The real-time ray tracing hardware accelerator may be used to quickly and efficiently determine the position and range of objects (e.g., within a world model), generate real-time visual simulations for use in RADAR signal interpretation, for sound propagation synthesis and / or analysis, for simulating SONAR systems, for general wave propagation simulations, for comparison with LIDAR data for positioning and / or other functions, and / or for other uses.
[0158] One or more accelerators 614 (e.g., a cluster of hardware accelerators) have a wide range of uses for autonomous driving. The PVA can be a programmable vision accelerator that can be used in key processing stages in ADAS and autonomous vehicles. The capabilities of the PVA are well suited for algorithmic domains that require predictable processing with low power consumption and low latency. In other words, the PVA performs well on semi-intensive or intensive conventional computations, even on small data sets, which require predictable runtimes with low latency and low power. Therefore, in the context of a platform for autonomous vehicles, the PVA is designed to run classic computer vision algorithms because they are efficient at object detection and integer math operations.
[0159] For example, according to one embodiment of the present technology, PVA is used to perform computer stereo vision. In some examples, semi-global matching based algorithms can be used, but this is not limiting. Many applications for level 3-5 autonomous driving require dynamic estimation / stereo matching (e.g., structure from motion, pedestrian recognition, lane detection, etc.). PVA can perform computer stereo vision functions on input from two monocular cameras.
[0160] In some examples, PVA can be used to perform dense optical flow. Processed RADAR is provided based on processing raw RADAR data (e.g., using 4D fast Fourier transform). In other examples, PVA is used for time-of-flight depth processing, for example, by processing raw time-of-flight data to provide processed time-of-flight data.
[0161] DLA can be used to run any type of network to enhance control and driving safety, including, for example, a neural network that outputs a confidence measure for each object detection. Such a confidence value can be interpreted as a probability, or to provide a relative "weight" of each detection compared to other detections. This confidence value enables the system to make further decisions about which detections should be considered true correct detections rather than false positive detections. For example, the system can set a threshold for confidence and only consider detections that exceed the threshold as true correct detections. In an automatic emergency braking (AEB) system, a false positive detection will cause the vehicle to automatically perform emergency braking, which is obviously undesirable. Therefore, only the most confident detections should be considered as triggers for AEB. DLA can run a neural network to regress confidence values. The neural network may take as its input at least some subset of parameters, such as bounding box dimensions, a ground plane estimate obtained (e.g., from another subsystem), inertial measurement unit (IMU) sensor 666 output related to the orientation and range of the vehicle 104, 3D position estimates of objects obtained from the neural network and / or other sensors (e.g., one or more LIDAR sensors 664 or one or more RADAR sensors 660), etc.
[0162] One or more SoCs 604 may include one or more data stores 616 (e.g., memory). One or more data stores 616 may be on-chip memory of one or more SoCs 604 that may store neural networks to be executed on the GPU and / or DLA. In some examples, one or more data stores 616 may be large enough to store multiple instances of the neural network for redundancy and safety. One or more data stores 612 may include one or more L2 or L3 caches 612. References to one or more data stores 616 may include references to memory associated with the PVA, DLA, and / or other accelerators 614, as described herein.
[0163] One or more SoCs 604 may include one or more processors 610 (e.g., embedded processors). One or more processors 610 may include a boot and power management processor, which may be a dedicated processor and subsystem to handle boot power and management functions and related security implementations. The boot and power management processor may be part of the boot sequence of one or more SoCs 604 and may provide runtime power management services. The boot power and management processor may provide clock and voltage programming, assist in system low power state transitions, management of one or more SoCs 604 thermal and temperature sensors, and / or management of one or more SoCs 604 power states. Each temperature sensor may be implemented as a ring oscillator whose output frequency is proportional to the temperature, and one or more SoCs 604 may use the ring oscillator to detect the temperature of one or more CPUs 606, one or more GPUs 608, and / or one or more accelerators 614. If it is determined that the temperature exceeds a threshold, the startup and power management processor may enter a temperature fault routine and place one or more SoCs 604 into a lower power state and / or place the vehicle 104 into a driver-to-safe-stop mode (eg, bringing the vehicle 104 to a safe stop).
[0164] The one or more processors 610 may also include a set of embedded processors that may be used as an audio processing engine. The audio processing engine may be an audio subsystem that implements full hardware support for multi-channel audio through multiple interfaces, as well as a wide and flexible range of audio I / O interfaces. In some examples, the audio processing engine is a dedicated processor core having a digital signal processor with dedicated RAM.
[0165] One or more processors 610 may also include an always-on processor engine that may provide the necessary hardware features to support low-power sensor management and wake-up use cases. The always-on processor engine may include a processor core, tightly coupled RAM, supporting peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.
[0166] One or more processors 610 may also include a safety cluster engine that includes a dedicated processor subsystem to handle safety management for automotive applications. The safety cluster engine may include two or more processor cores, tightly coupled RAM, supporting peripherals (e.g., timers, interrupt controllers, etc.), and / or routing logic. In safety mode, two or more cores may operate in lockstep mode and act as a single core with comparison logic to detect any differences between their operations.
[0167] The one or more processors 610 may also include a real-time camera engine, which may include a dedicated processor subsystem for handling real-time camera management.
[0168] The one or more processors 610 may also include a high dynamic range signal processor, which may include an image signal processor, which is a hardware engine that is part of the camera processing pipeline.
[0169] One or more processors 610 may include a video image synthesizer, which may be a processing block (e.g., implemented on a microprocessor) that implements video post-processing functions required by a video playback application to produce a final image for a player window. The video image synthesizer may perform lens distortion correction on one or more wide view cameras 670, one or more surround cameras 674, and / or in-cabin surveillance camera sensors. The in-cabin surveillance camera sensors are preferably monitored by a neural network running on another instance of the advanced SoC, configured to identify in-cabin events and respond accordingly. The in-cabin system may perform lip reading to activate cellular service and place a call, dictate an email, change the vehicle's destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web surfing. Certain features are available to the driver only when the vehicle is operating in autonomous mode and are disabled otherwise.
[0170] The video image synthesizer may include enhanced temporal noise reduction for both spatial noise reduction and temporal noise reduction. For example, where motion occurs in the video, the noise reduction appropriately weights the spatial information, thereby reducing the weight of information provided by adjacent frames. Where an image or portion of an image does not include motion, the temporal noise reduction performed by the video image synthesizer may use information from previous images to reduce noise in the current image.
[0171] The video image compositor may also be configured to perform stereoscopic rectification on the input stereoscopic footage frames. The video image compositor may also be used for user interface composition when the operating system desktop is in use, and the one or more GPUs 608 do not need to continuously render new surfaces. Even when the one or more GPUs 608 are powered on and active for 3D rendering, the video image compositor may be used to offload the GPU 608 to improve performance and responsiveness.
[0172] One or more SoCs 604 may also include a mobile industry processor interface (MIPI) camera serial interface for receiving video and input from a camera, a high-speed interface and / or a video input block and associated pixel input functionality that may be used for the camera. One or more SoCs 604 may also include one or more input / output controllers that may be controlled by software and may be used to receive I / O signals that are not committed to a specific role.
[0173] One or more SoCs 604 may also include a wide range of peripheral interfaces to enable communication with peripherals, audio codecs, power management, and / or other devices. One or more SoCs 604 may be used to process data from cameras (e.g., via Gigabit multimedia serial links and Ethernet connections), sensors (e.g., one or more LIDAR sensors 664, one or more RADAR sensors 660, etc., which may be connected via Ethernet), data from bus 602 (e.g., speed of vehicle 104, steering wheel position, etc.), data from one or more GNSS sensors 658 (e.g., connected via Ethernet or CAN bus). One or more SoCs 604 may also include dedicated high-performance mass storage controllers, which may include their own DMA engines and may be used to free the CPU 606 from routine data management tasks.
[0174] One or more SoCs 604 can be an end-to-end platform with a flexible architecture spanning automation levels 3-5, providing a comprehensive functional safety architecture that leverages and effectively utilizes computer vision and ADAS technologies for diversity and redundancy, provides a platform for a flexible and reliable driving software stack, and deep learning tools. One or more SoCs 604 can be faster, more reliable, and even more energy-efficient and space-efficient than traditional systems. For example, one or more accelerators 614, when combined with one or more CPUs 606, one or more GPUs 608, and one or more data stores 616, can provide a fast, effective platform for level 3-5 autonomous vehicles.
[0175] As a result, the technology offers capabilities and functionality that are not possible with traditional systems. For example, computer vision algorithms can be executed on a CPU, which can be configured using a high-level programming language such as the C programming language to perform various processing algorithms across a wide range of visual data. However, CPUs generally cannot meet the performance requirements of many computer vision applications, such as those related to execution time and power consumption. In particular, many CPUs are unable to execute complex object detection algorithms in real time, which is a requirement for in-vehicle ADAS applications and a requirement for practical Level 3-5 autonomous vehicles.
[0176] Compared to traditional systems, by providing a CPU complex, a GPU complex, and a hardware acceleration cluster, the techniques described herein allow multiple neural networks to be executed simultaneously and / or sequentially, and the results to be combined together to enable Level 3-5 autonomous driving functions. For example, a CNN executed on a DLA or dGPU (e.g., one or more GPUs 620) can include text and word recognition, allowing the supercomputer to read and understand traffic signs, including signs that the neural network has not been specifically trained on. The DLA can also include a neural network that is able to identify, interpret, and provide semantic understanding of the symbols, and pass that semantic understanding to a path planning module running on the CPU complex.
[0177] As another example, multiple neural networks may be run simultaneously, as may be required for level 3, level 4, or level 5 driving. For example, a warning sign consisting of "WARNING: FLASHING LIGHTS INDICATE ICE CONDITIONS" along with electric lights may be interpreted by several neural networks, either independently or collectively. The sign itself may be recognized as a traffic sign by a first deployed neural network (e.g., an already trained neural network), and the text "FLASHING LIGHTS INDICATE ICE CONDITIONS" may be interpreted by a second deployed neural network, which notifies the vehicle's path planning software (preferably executing on a CPU complex) that an icy condition exists when flashing lights are detected. Flashes of light may be identified by operating a third deployed neural network over multiple frames, thereby notifying the vehicle's path planning software of the presence (or absence) of flashing lights. All three neural networks may be run simultaneously, such as within a DLA and / or on one or more GPUs 608.
[0178] In some examples, a CNN for facial recognition and owner recognition can use data from a camera sensor to identify the presence of an authorized driver and / or owner of the vehicle 104. The always-on sensor processing engine can be used to unlock the vehicle and turn on the lights when the owner approaches the driver's door, and in security mode, disable the vehicle when the owner leaves the vehicle. In this way, one or more SoCs 604 provide security against theft and / or carjacking.
[0179] In another example, a CNN for emergency vehicle detection and identification can use data from microphone 696 to detect and identify emergency vehicle sirens. Compared to traditional systems that use general classifiers to detect sirens and manually extract features, one or more SoCs 604 use CNNs to classify environmental and urban sounds, as well as classify visual data. In a preferred embodiment, the CNN running on the DLA is trained to identify the relative approach speed of the emergency vehicle (e.g., by using the Doppler effect). The CNN can also be trained to identify emergency vehicles specific to the local area in which the vehicle is operating, as identified by one or more GNSS sensors 658. Thus, for example, when operating in Europe, the CNN will seek to detect European sirens, while in the United States, the CNN will seek to identify only North American sirens. Once an emergency vehicle is detected, a control program can be used to execute an emergency vehicle safety routine to slow the vehicle, pull to the side of the road, park the vehicle, and / or idle the vehicle with the assistance of ultrasonic sensors 662 until the emergency vehicle passes.
[0180] The vehicle may include one or more CPUs 618 (e.g., one or more discrete CPUs or one or more dCPUs) that may be coupled to one or more SoCs 604 via a high-speed interconnect (e.g., PCIe). For example, the one or more CPUs 618 may include an X86 processor. The one or more CPUs 618 may be used to perform any of a variety of functions, including, for example, arbitrating potentially inconsistent results between ADAS sensors and one or more SoCs 604, and / or monitoring the status and health of one or more controllers 636 and / or the infotainment SoC 630.
[0181] The vehicle 104 may include one or more GPUs 620 (e.g., one or more discrete GPUs or one or more dGPUs) that may be coupled to one or more SoCs 604 via a high-speed interconnect (e.g., NVIDIA's NVLINK). The one or more GPUs 620 may provide additional artificial intelligence functionality, such as by executing redundant and / or different neural networks, and may be used to train and / or update the neural network based on input from sensors of the vehicle 104 (e.g., sensor data).
[0182] The vehicle 104 may also include a network interface 624, which may include one or more wireless antennas 626 (e.g., one or more wireless antennas for different communication protocols, such as a cellular antenna, a Bluetooth antenna, etc.). The network interface 624 may be used to wirelessly connect to the cloud (e.g., to one or more servers 678 and / or other network devices), to other vehicles, and / or to computing devices (e.g., a passenger's client device) via the Internet. To communicate with other vehicles, a direct link may be established between the two vehicles and / or an indirect link may be established (e.g., across a network and through the Internet). A vehicle-to-vehicle communication link may be used to provide a direct link. The inter-vehicle communication link may provide the vehicle 104 with information about vehicles near the vehicle 104 (e.g., in front of the vehicle 104, to the side of the vehicle, and / or behind the vehicle). This functionality may be part of a cooperative adaptive cruise control function of the vehicle 104.
[0183] The network interface 624 may include a SoC that provides modulation and demodulation functions and enables one or more controllers 636 to communicate over a wireless network. The network interface 624 may include a radio frequency front end for up-conversion from baseband to radio frequency, and down-conversion from radio frequency to baseband. The frequency conversion may be performed by well-known processes, and / or may be performed using a superheterodyne process. In some examples, the radio frequency front end function may be provided by a separate chip. The network interface may include wireless functions for communicating over LTE, WCDMA, UMTS, GSM, CDMA2000, Bluetooth, Bluetooth LE, Wi-Fi, Z-Wave, ZigBee, LoRaWAN, and / or other wireless protocols.
[0184] The vehicle 104 may also include one or more data stores 628, which may include off-chip (e.g., outside of one or more SoCs 604) storage. The one or more data stores 628 may include one or more storage elements, including RAM, SRAM, DRAM, VRAM, flash memory, a hard disk, and / or other components and / or devices that can store at least one bit of data.
[0185] The vehicle 104 may also include one or more GNSS sensors 658. One or more GNSS sensors 658 (e.g., GPS and / or assisted GPS sensors) to assist with mapping, perception, occupancy grid generation, and / or path planning functions. Any number of one or more GNSS sensors 658 may be used, including, for example but not limited to, GPS using a USB connector with an Ethernet to serial (RS-232) bridge.
[0186] The vehicle 104 may also include one or more RADAR sensors 660. The vehicle 104 may use one or more RADAR sensors 660 for remote vehicle detection even in darkness and / or inclement weather conditions. The RADAR functional safety level may be ASIL B. One or more RADAR sensors 660 may use CAN and / or bus 602 (e.g., to transmit data generated by one or more RADAR sensors 660) to control and access object tracking data, and in some examples, Ethernet may be accessed to access raw data. Various RADAR sensor types may be used. For example, but not limited to, one or more RADAR sensors 660 may be suitable for front, rear, and side RADAR use. In some examples, one or more pulse Doppler RADAR sensors are used.
[0187] One or more RADAR sensors 660 may include different configurations, such as long distance with narrow field of view, short distance with wide field of view, short distance side coverage, etc. In some examples, the long-range RADAR can be used for adaptive cruise control functions. The long-range RADAR system can provide a wide field of view achieved by two or more independent scans, for example within a range of 250 meters. One or more RADAR sensors 660 can help distinguish between stationary and moving objects and can be used by the ADAS system for emergency brake assistance and forward collision warning. The long-range RADAR sensor may include a single-mode multimode RADAR with multiple (e.g., six or more) fixed RADAR antennas and high-speed CAN and FlexRay interfaces. In an example with six antennas, the central four antennas can create a focused beam pattern designed to record the surroundings of the vehicle 104 at higher speeds, and traffic in adjacent lanes has minimal interference. The other two antennas can expand the field of view so that vehicles entering or leaving the vehicle 104 lane can be quickly detected.
[0188] As an example, a medium-range RADAR system may include a range of up to 660 meters (front) or 80 meters (rear), and a field of view of up to 42 degrees (front) or 650 degrees (rear). A short-range RADAR system may include, but is not limited to, a RADAR sensor designed to be mounted on both ends of the rear bumper. When mounted on both ends of the rear bumper, such a RADAR sensor system may generate two beams that continuously monitor the blind spots behind the vehicle and beside the vehicle.
[0189] Short-range RADAR systems can be used in ADAS systems for blind spot detection and / or lane change assistance.
[0190] The vehicle 104 may also include one or more ultrasonic sensors 662. One or more ultrasonic sensors 662 may be positioned at the front, rear, and / or sides of the vehicle 104 and may be used for parking assistance and / or creating and updating an occupancy grid. A variety of one or more ultrasonic sensors 662 may be used, and different one or more ultrasonic sensors 662 may be used for different detection ranges (e.g., 2.5 meters, 4 meters). One or more ultrasonic sensors 662 may operate at a functional safety level of ASIL B.
[0191] The vehicle 104 may include one or more LIDAR sensors 664. The one or more LIDAR sensors 664 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. The one or more LIDAR sensors 664 may be functional safety level ASIL B. In some examples, the vehicle 104 may include multiple LIDAR sensors 664 (e.g., two, four, six, etc.) that may use Ethernet (e.g., to provide data to a Gigabit Ethernet switch).
[0192] In some examples, one or more LIDAR sensors 664 may be able to provide a list of objects and their distances with a 360-degree field of view. One or more commercial LIDAR sensors 664 may have an advertised range of approximately 104 meters, an accuracy of 2 cm-3 cm, and support, for example, a 104Mbps Ethernet connection. In some examples, one or more non-obtrusive LIDAR sensors 664 may be used. In such examples, one or more LIDAR sensors 664 may be implemented as small devices that can be embedded in the front, rear, sides, and / or corners of the vehicle 104. In such examples, one or more LIDAR sensors 664 may provide up to 620 degrees of horizontal field of view and 35 degrees of vertical field of view, providing a range of 200 meters even for low reflectivity objects. One or more front-facing LIDAR sensors 664 may be configured for a horizontal field of view between 45 degrees and 135 degrees.
[0193] In some examples, LIDAR technology, such as 3D flash LIDAR, may also be used. 3D flash LIDAR uses a laser flash as the emission source, illuminating about 200 meters around the vehicle. The flash LIDAR unit includes a receiver that records the laser pulse propagation time and reflected light on each pixel, which in turn corresponds to the range from the vehicle to the object. Flash LIDAR can allow each laser flash to produce a highly accurate and distortion-free image of the surrounding environment. In some examples, four flash LIDAR sensors can be deployed, one on each side of the vehicle 104. Available 3D flash LIDAR systems include solid-state 3D staring array LIDAR cameras with no moving parts other than the fan (e.g., non-scanning LIDAR devices). The flash LIDAR device can use 5 nanosecond Class I (eye-safe) laser pulses per frame, and can capture the reflected laser light in the form of a 3D range point cloud and co-registered intensity data. By using flash LIDAR, and because the flash LIDAR is a solid-state device with no moving parts, one or more LIDAR sensors 664 may be less susceptible to motion blur, vibration, and / or shock.
[0194] The vehicle may also include one or more IMU sensors 666. In some examples, the one or more IMU sensors 666 may be located at the center of the rear axle of the vehicle 104. The one or more IMU sensors 666 may include, for example but not limited to, one or more accelerometers, one or more magnetometers, one or more gyroscopes, one or more magnetic compasses, and / or other sensor types. In some examples, such as in a six-axis application, the one or more IMU sensors 666 may include an accelerometer and a gyroscope, while in a nine-axis application, the one or more IMU sensors 666 may include an accelerometer, a gyroscope, and a magnetometer.
[0195] In some embodiments, one or more IMU sensors 666 can be implemented as a miniature high-performance GPS-aided inertial navigation system (GPS / INS) that combines micro-electromechanical systems (MEMS) inertial sensors, a high-sensitivity GPS receiver, and advanced Kalman filtering algorithms to provide estimates of position, velocity, and attitude. Thus, in some examples, one or more IMU sensors 666 can enable the vehicle 104 to estimate heading by directly observing and correlating velocity changes from GPS to one or more IMU sensors 666, without the need for input from a magnetic sensor. In some examples, one or more IMU sensors 666 and one or more GNSS sensors 658 can be combined in a single integrated unit.
[0196] The vehicle may include one or more microphones 696 placed in and / or around the vehicle 104. The one or more microphones 696 may be used for emergency vehicle detection and identification, among other things.
[0197] The vehicle may also include any number of camera types, including one or more stereo cameras 668, one or more wide field of view cameras 670, one or more infrared cameras 672, one or more surround cameras 674, one or more long-range and / or mid-range cameras 698, and / or other camera types. The cameras may be used to capture image data around the entire perimeter of the vehicle 104. The type of camera used depends on the embodiment and requirements of the vehicle 104, and any combination of camera types may be used to provide the necessary coverage around the vehicle 104. In addition, depending on the embodiment, the number of cameras may vary. For example, a vehicle may include six cameras, seven cameras, ten cameras, twelve cameras, and / or another number of cameras. By way of example and not limitation, the cameras may support Gigabit Multimedia Serial Link (GMSL) and / or Gigabit Ethernet. Fig. 6A and Figure 6B , describes each camera in more detail.
[0198] The vehicle 104 may also include one or more vibration sensors 642. The one or more vibration sensors 642 may measure vibrations of a component of the vehicle (e.g., one or more axles). For example, changes in vibration may indicate changes in the road surface. In another example, when two or more vibration sensors 642 are used, the difference between the vibrations may be used to determine friction or slippage of the road surface (e.g., when the difference in vibration is between a powered drive shaft and a free-spinning shaft).
[0199] The vehicle 104 may include an ADAS system 638. In some examples, the ADAS system 638 may include a SoC. The ADAS system 638 may include autonomous / adaptive / automatic cruise control (ACC), cooperative adaptive cruise control (CACC), forward collision warning (FCW), automatic emergency braking (AEB), lane departure warning (LDW), lane keeping assist (LKA), blind spot warning (BSW), rear cross traffic warning (RCTW), collision warning system (CWS), lane centering (LC), and / or other features and functions.
[0200] The ACC system may use one or more RADAR sensors 660, one or more LIDAR sensors 664 and / or one or more cameras. The ACC system may include longitudinal ACC and / or lateral ACC. Longitudinal ACC monitors and controls the distance to the vehicle immediately in front of the vehicle 104 and automatically adjusts the vehicle speed to maintain a safe distance from the vehicle in front. Lateral ACC performs distance keeping and suggests that the vehicle 104 change lanes when necessary. Lateral ACC is related to other ADAS applications, such as LCA and CWS.
[0201] CACC uses information from other vehicles, which can be received from other vehicles via a wireless link via a network interface 624 and / or one or more wireless antennas 626, or indirectly via a network connection (e.g., via the Internet). A direct link can be provided by a vehicle-to-vehicle (V2V) communication link, while an indirect link can be an infrastructure-to-vehicle (I2V) communication link. Typically, the V2V communication concept provides information about the vehicle immediately ahead (e.g., the vehicle immediately ahead of vehicle 104 and in the same lane as vehicle 104), while the I2V communication concept provides information about traffic farther ahead. The CACC system can include either or both of the I2V and V2V information sources. Given information about the vehicle ahead of vehicle 104, CACC may be more reliable and it has the potential to improve traffic flow and reduce road congestion.
[0202] The FCW system is designed to warn the driver of hazards so that the driver can take corrective action. The FCW system uses a forward-facing camera and / or one or more RADAR sensors 660, which are coupled to a dedicated processor, DSP, FPGA and / or ASIC, which is electrically coupled to driver feedback, such as a display, speaker and / or vibration component. The FCW system can provide warnings, such as in the form of sounds, visual warnings, vibrations and / or rapid brake pulses.
[0203] The AEB system detects an impending forward collision with another vehicle or other object, and if the driver does not take corrective action within specified time or distance parameters, the AEB system may automatically apply brakes. The AEB system may use one or more forward-facing cameras and / or one or more RADAR sensors 660, which are coupled to a dedicated processor, DSP, FPGA and / or ASIC. When the AEB system detects a hazard, it typically first warns the driver to take corrective action to avoid the collision, and if the driver does not take corrective action, the AEB system may automatically apply brakes in an effort to prevent, or at least mitigate the effects of the predicted collision. The AEB system may include technologies such as dynamic brake support and / or braking for impending impact.
[0204] The LDW system provides visual, audible, and / or tactile warnings, such as steering wheel or seat vibrations, to warn the driver when the vehicle 104 crosses a lane marking. The LDW system does not activate when the driver indicates intentional departure from the lane by activating a turn signal. The LDW system may use a front side facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to driver feedback, such as a display, speaker, and / or vibration assembly.
[0205] The LKA system is a variation of the LDW system. If the vehicle 104 begins to leave the lane, the LKA system provides steering input or braking to correct the vehicle 104.
[0206] The BSW system detects and warns the driver of vehicles in the car's blind spot. The BSW system may provide visual, audible, and / or tactile alerts to indicate that it is unsafe to merge or change lanes. The system may provide additional warnings when the driver uses a turn signal. The BSW system may use one or more rear side cameras and / or one or more RADAR sensors 660 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to driver feedback such as a display, speaker, and / or vibration component.
[0207] When the vehicle 104 is backing up, the RCTW system can provide visual, audible, and / or tactile notifications when an object is detected outside of the rear-facing camera range. Some RCTW systems include AEB to ensure that the vehicle brakes are applied to avoid a collision. The RCTW system can use one or more rear-facing RADAR sensors 660 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to driver feedback such as a display, speaker, and / or vibration element.
[0208] Conventional ADAS systems may be prone to false positive results, which may be annoying and distracting to the driver, but are generally not catastrophic because the ADAS system warns the driver and allows the driver to determine whether the safety condition actually exists and act accordingly. However, in the autonomous vehicle 104, in the event of conflicting results, the vehicle 104 itself must decide whether to pay attention to the results from the main computer or the auxiliary computer (e.g., the first controller 636 or the second controller 636). For example, in some embodiments, the ADAS system 638 can be a backup and / or auxiliary computer for providing perception information to the backup computer rationality module. The backup computer rationality monitor can run redundant various software on hardware components to detect failures in perception and dynamic driving tasks. The output from the ADAS system 638 can be provided to the monitoring MCU. If the outputs of the main computer and the auxiliary computer conflict, the monitoring MCU must determine how to reconcile the conflict to ensure safe operation.
[0209] In some examples, the primary computer can be configured to provide a confidence score to the monitoring MCU, indicating the primary computer's confidence in the selected result. If the confidence score exceeds a threshold, the monitoring MCU can follow the instructions of the primary computer regardless of whether the secondary computer provides conflicting or inconsistent results. In the event that the confidence score does not meet the threshold and the primary and secondary computers indicate different results (e.g., conflict), the monitoring MCU can arbitrate between the computers to determine the appropriate result.
[0210] The monitoring MCU may be configured to run one or more neural networks that are trained and configured to determine conditions under which the auxiliary computer provides a false alarm based on outputs from the main computer and the auxiliary computer. Thus, one or more neural networks in the monitoring MCU may learn when the output of the auxiliary computer is trustworthy and when it is not. For example, when the auxiliary computer is a RADAR-based FCW system, one or more neural networks in the monitoring MCU may learn when the FCW system identifies a metal object that is not actually dangerous, such as a drain grate or manhole cover that triggers an alarm. Similarly, when the auxiliary computer is a camera-based LDW system, the neural network in the monitoring MCU may learn that overtaking the LDW and leaving the lane when there are cyclists or pedestrians is actually the safest maneuver. In an embodiment including one or more neural networks running on the monitoring MCU, the monitoring MCU may include at least one of a DLA or a GPU suitable for running one or more neural networks with associated memory. In a preferred embodiment, the monitoring MCU may include and / or be included as a component of one or more SoCs 604.
[0211] In other examples, the ADAS system 638 may include an auxiliary computer that uses traditional computer vision rules to perform ADAS functions. In this way, the auxiliary computer can use classical computer vision rules (if-then), and the presence of one or more neural networks in the monitoring MCU can improve reliability, safety, and performance. For example, diverse implementations and intentional non-identity make the entire system more fault-tolerant, especially failures caused by software (or software-hardware interface) functions. For example, if there is a software bug or error in the software running on the main computer, and the non-identical software code running on the auxiliary computer provides the same overall result, the monitoring MCU may be more confident that the overall result is correct and that the error in the software or hardware on the main computer will not cause a significant error.
[0212] In some examples, the output of the ADAS system 638 can be fed to the perception block of the main computer and / or the dynamic driving task block of the main computer. For example, if the ADAS system 638 indicates a forward collision warning due to an object immediately ahead, the perception block can use this information in identifying the object. In other examples, as described herein, the auxiliary computer can have its own trained neural network, thereby reducing the risk of false positives.
[0213] The vehicle 104 may also include an infotainment system SoC 630 (e.g., an in-vehicle infotainment system (IVI)). Although illustrated and described as an SoC, the infotainment system may not be a SoC and may include two or more discrete components. The infotainment system SoC 630 may include a combination of hardware and software that may be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., television, movies, streaming, etc.), phone (e.g., hands-free calling), network connectivity (e.g., LTE, Wi-Fi, etc.), and / or information services (e.g., navigation system, rear parking assist, radio data system, vehicle-related information such as fuel level, total distance covered, brake fuel level, oil level, door open / closed, air filter information, etc.) to the vehicle 104. For example, the infotainment system SoC 630 can be a radio, a disc player, a navigation system, a video player, USB and Bluetooth connectivity, in-car, in-car entertainment, Wi-Fi, steering wheel audio controls, hands-free voice control, a head-up display (HUD), an HMI display 634, a telematics device, a control panel (e.g., for controlling and / or interacting with various components, features, and / or systems), and / or other components. The infotainment system SoC 630 can also be used to provide information (e.g., visual and / or auditory) to one or more users of the vehicle, such as information from the ADAS system 638, autonomous driving information such as planned vehicle maneuvers, trajectories, surrounding environment information (e.g., intersection information, vehicle information, road information, etc.), and / or other information.
[0214] The infotainment system SoC 630 may include GPU functionality. The infotainment system SoC 630 may communicate with other devices, systems, and / or components of the vehicle 104 via a bus 602 (e.g., CAN bus, Ethernet, etc.). In some examples, the infotainment system SoC 630 may be coupled to a supervisory MCU so that the GPU of the infotainment system may perform some self-driving functions in the event of a failure of one or more host controllers 636 (e.g., the primary and / or backup computers of the vehicle 104). In such an example, the infotainment system SoC 630 may place the vehicle 104 in a driver safety stop mode, as described herein.
[0215] The vehicle 104 may also include an instrument cluster 632 (e.g., a digital instrument panel, an electronic instrument cluster, a digital instrument panel, etc.). The instrument cluster 632 may include a controller and / or a supercomputer (e.g., a discrete controller or a supercomputer). The instrument cluster 632 may include a set of instruments, such as a speedometer, a fuel level, an oil pressure, a tachometer, an odometer, a turn indicator, a shift position indicator, one or more seat belt warning lights, one or more parking brake warning lights, one or more engine fault lights, airbag (SRS) system information, lighting controls, safety system controls, navigation information, etc. In some examples, information may be displayed and / or shared between the infotainment system SoC 630 and the instrument cluster 632. In other words, the instrument cluster 632 may be included as part of the infotainment system SoC 630, and vice versa.
[0216] Fig.6D According to some embodiments of the present disclosure, for one or more cloud-based servers and Fig. 6A 6. System diagram of example autonomous vehicle 104 communications. System 676 may include one or more servers 678, one or more networks 690, and vehicles, including vehicle 104. One or more servers 678 may include multiple GPUs 684(A)-684(H) (collectively referred to herein as GPU 684), PCIe switches 682(A)-682(H) (collectively referred to herein as PCIe switches 682), and / or CPUs 680(A)-680(B) (collectively referred to herein as CPU 680). GPU 684, CPU 680, and PCIe switches may be interconnected with a high-speed interconnect, such as, but not limited to, NVLink interface 688 and / or PCIe connection 686 developed by NVIDIA. In some examples, GPU 684 is connected via NVLink and / or NVSwitch SoC, and GPU 684 and PCIe switch 682 are connected via a PCIe interconnect. Although eight GPUs 684, two CPUs 680, and two PCIe switches are shown, this is not limiting. According to embodiments, each of the one or more servers 678 may include any number of GPUs 684, CPUs 680, and / or PCIe switches. For example, each of the one or more servers 678 may include eight, sixteen, thirty-two, and / or more GPUs 684.
[0217] The one or more servers 678 may receive image data from the vehicle over the one or more networks 690 that indicates unexpected or changed road conditions, such as recently begun road work. The one or more servers 678 may send the neural network 692, updated neural network 692, and / or map information 694 to the vehicle over the one or more networks 690, including information about traffic and road conditions. Updates to the map information 694 may include updates to the HD map 622, such as information about construction sites, potholes, detours, flooding, and / or other obstacles. In some examples, the neural network 692, updated neural network 692, and / or map information 694 may be generated by new training and / or experience represented in data received from any number of vehicles in the environment, and / or based on training performed at a data center (e.g., using one or more servers 678 and / or other servers).
[0218] One or more servers 678 may be used to train a machine learning model (e.g., a neural network) based on training data. The training data may be generated by the vehicle, and / or may be generated in simulation (e.g., using a game engine). In some examples, the training data is labeled (e.g., a neural network benefits from supervised learning) and / or undergoes other preprocessing, while in other examples, the training data is not labeled and / or preprocessed (e.g., a neural network does not require supervised learning). Once the machine learning model is trained, the machine learning model may be used by the vehicle (e.g., transmitted to the vehicle via one or more networks 690, and / or the machine learning model may be used by one or more servers 678 to remotely monitor the vehicle.
[0219] In some examples, one or more servers 678 can receive data from the vehicle and apply the data to the latest real-time neural network for real-time intelligent reasoning. One or more servers 678 may include a deep learning supercomputer and / or a dedicated AI computer driven by one or more GPUs 684, such as the DGX and DGX Station machines developed by NVIDIA. However, in some examples, one or more servers 678 may include a deep learning infrastructure of a data center powered only by CPUs.
[0220] The deep learning infrastructure of one or more servers 678 may be capable of rapid, real-time inference, and may use this capability to assess and validate the health of the processor, software, and / or associated hardware in the vehicle 104. For example, the deep learning infrastructure may receive periodic updates from the vehicle 104, such as a series of images and / or objects that the vehicle 104 has located in that sequence of images (e.g., via computer vision and / or other machine learning object classification techniques). The deep learning infrastructure may run its own neural network to identify the object and compare it to the object identified by the vehicle 104, and if the results do not match and the infrastructure concludes that the AI in the vehicle 104 has failed, the one or more servers 678 may send a signal to the vehicle 104 instructing the fail-safe computer of the vehicle 104 to take control, notify the passengers, and complete a safe parking maneuver.
[0221] For inference, one or more servers 678 may include one or more GPUs 684 and one or more programmable inference accelerators (e.g., NVIDIA's TensorRT3). The combination of GPU-powered servers and inference acceleration can make real-time responses possible. In other examples, such as when performance is less important, servers powered by CPUs, FPGAs, and other processors can be used for inference.
[0222] Generalized computing devices
[0223] Figure 7 700 is a block diagram of an example of a computing device 700 suitable for implementing some embodiments of the present disclosure. The computing device 700 may include a bus 702 that directly or indirectly couples the following devices: a memory 704, one or more central processing units (CPUs) 706, one or more graphics processing units (GPUs) 708, a communication interface 710, an input / output (I / O) port 712, an input / output component 714, a power supply 716, and one or more presentation components 718 (e.g., one or more displays). In addition to the CPU 706 and the GPU 708, the computing device 700 may also include Figure 1 Additional logic devices not shown in FIG. Figure 7 As shown, for example but not limited to image signal processor (ISP), digital signal processor (DSP), ASIC, FPGA, etc.
[0224] although Figure 7The various blocks are shown connected to the bus 702 with wiring, which is not limiting and is for clarity only. For example, in some embodiments, a presentation component 718 such as a display device can be considered an I / O component 714 (e.g., if the display is a touch screen). As another example, the CPU 706 and / or the GPU 708 can include memory (e.g., the memory 704 can represent a storage device in addition to the memory of the GPU 708, the CPU 706, and / or other components). In other words, Figure 7 The computing devices described herein are illustrative only. “Workstation,” “Server,” “Laptop,” “Desktop,” “Tablet,” “Client Device,” “Mobile Device,” “Handheld Device,” “Gaming Console,” “Electronic Control Unit (ECU),” “Virtual Reality System,” and / or other device or system types (in Figure 7 There is no distinction between the computing devices as all are contemplated herein.
[0225] The bus 702 may represent one or more buses, such as an address bus, a data bus, a control bus, or a combination thereof. The bus 702 may include one or more bus types, such as an Industry Standard Architecture (ISA) bus, an Extended Industry Standard Architecture (EISA) bus, a Video Electronics Standards Association (VESA) bus, a Peripheral Component Interconnect (PCI) bus, a Peripheral Component Interconnect Express (PCIe) bus, and / or other types of buses.
[0226] Memory 704 may include any of a variety of computer-readable media. Computer-readable media may be any available media that can be accessed by computing device 700. Computer-readable media may include volatile and non-volatile media, as well as removable and non-removable media. By way of example and not limitation, computer-readable media may include computer storage media and communication media.
[0227] Computer storage media may include volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, and / or other data types. For example, memory 704 may store computer readable instructions (e.g., representing one or more programs and / or one or more program elements, such as an operating system. Computer storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by computing device 700. As used herein, computer storage media itself does not include signals.
[0228] Communication media may embody computer readable instructions, data structures, program modules and / or other data types in a modulated data signal such as a carrier wave or other transport mechanism, and includes any information delivery media. The term "modulated data signal" may refer to a signal that has one or more of its characteristics set or changed in a manner that encodes the information in the signal. By way of example and not limitation, communication media may include wired media, such as a wired network or direct wired connection, and wireless media, such as acoustic, RF, infrared and other wireless media. Any combination of the above should also be included within the scope of computer readable media.
[0229] One or more CPUs 706 may be configured to execute computer-readable instructions to control one or more components of the computing device 700 to perform one or more of the methods and / or processes described herein. Each CPU 706 may include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) capable of processing multiple software threads simultaneously. One or more CPUs 706 may include any type of processor, and may include different types of processors, depending on the type of computing device 700 implemented (e.g., a processor with fewer cores for a mobile device and a processor with more cores for a server). For example, depending on the type of computing device 700, the processor may be an ARM processor implemented using reduced instruction set computing (RISC) or an x86 processor implemented using complex instruction set computing (CISC). In addition to one or more microprocessors or auxiliary coprocessors (e.g., math coprocessors), the computing device 700 may also include one or more CPUs 706.
[0230] One or more computing devices 700 can use GPU 708 to render graphics (e.g., 3D graphics). One or more GPU 708 may include hundreds or thousands of cores, which can process hundreds or thousands of software threads simultaneously. One or more GPU 708 can generate pixel data of output image in response to rendering command (e.g., rendering command rendered from one or more CPU 706 via host interface). One or more GPU 708 may include graphics memory for storing pixel data, such as display memory. Display memory may be included as part of memory 704. One or more GPU 708 may include two or more GPUs operating in parallel (e.g., via link). When combined together, each GPU 708 can generate pixel data of different parts or different output images (e.g., first GPU of first image and second GPU of second image). Each GPU may contain its own memory, or may share memory with other GPUs.
[0231] In examples where computing device 700 does not include one or more GPUs 708 , one or more CPUs 706 may be used to render graphics.
[0232] The communication interface 710 may include one or more receivers, transmitters, and / or transceivers that enable the computing device 700 to communicate with other computing devices via an electronic communication network, including wired and / or wireless communications. The communication interface 710 may include components and functionality for enabling communication over any of a number of different networks, such as a wireless network (e.g., Wi-Fi, Z-Wave, Bluetooth, Bluetooth LE, ZigBee, etc.), a wired network (e.g., communicating over Ethernet), a low power wide area network (e.g., LoRaWAN, SigFox, etc.), and / or the Internet.
[0233] The I / O ports 712 can enable the computing device 700 to be logically coupled to other devices including I / O components 714, one or more presentation components 718, and / or other components, some of which can be built into (e.g., integrated into) the computing device 700. Illustrative I / O components 714 include microphones, mice, keyboards, joysticks, gamepads, game controllers, satellite dishes, scanners, printers, wireless devices, and the like. The I / O components 714 can provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by a user. In some cases, the input can be sent to an appropriate network element for further processing. The NUI can implement any combination of voice recognition, stylus recognition, facial recognition, biometrics, gesture recognition on and near the screen, air gestures, head and eye tracking, and touch recognition associated with the display of the computing device 700 (as described in more detail below). The computing device 700 may include a depth camera, such as a stereo camera system, an infrared camera system, an RGB camera system, touch screen technology, and combinations thereof, for gesture detection and recognition. Additionally, computing device 700 may include an accelerometer or gyroscope capable of detecting motion (e.g., as part of an inertial measurement unit (IMU)). In some examples, the output of the accelerometer or gyroscope may be used by computing device 700 to present an immersive augmented reality or virtual reality.
[0234] The power supply 716 may include a hardwired power supply, a battery power supply, or a combination thereof. The power supply 716 may provide power to the computing device 700 to enable the components of the computing device 700 to operate.
[0235] The one or more presentation components 718 may include a display (e.g., a monitor, a touch screen, a television screen, a heads-up display (HUD), other display types, or combinations thereof), speakers, and / or other presentation components. The one or more presentation components 718 may receive data from other components (e.g., one or more GPUs 708, one or more CPUs 706, etc.) and output data (e.g., as images, video, sound, etc.).
[0236] The present disclosure may be described in the general context of computer code or machine usable instructions, including computer executable instructions executed by a computer or other machine (such as a personal data assistant or other handheld device), such as a program module. Generally, program modules, including routines, programs, objects, components, data structures, etc., refer to code that performs specific tasks or implements specific abstract data types. The present disclosure may be practiced in a variety of system configurations, including handheld devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. The present disclosure may also be implemented in distributed computing environments, where tasks are processed by remote devices that are linked through a communications network.
[0237] As used herein, the description of "and / or" about two or more elements should be interpreted as meaning only one element or a combination of elements. For example, "element A, element B and / or element C" may include only element A, only element B, only element C, element A and element B, element A and element C, element B and element C, or elements A, B and C. In addition, "at least one of element A or element B" may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B.
[0238] The subject matter of the present disclosure is described in detail herein to meet statutory requirements. However, the description itself is not intended to limit the scope of the present disclosure. Instead, the inventors have contemplated that the claimed subject matter may also be embodied in other ways, to include different steps or combinations of steps similar to the steps described in this document, in conjunction with other existing or future technologies. In addition, although the terms "step" and / or "box" may be used herein to refer to different elements of the method employed, these terms should not be interpreted as implying any particular order among or between the various steps disclosed herein, unless and when the order is explicitly described for the various steps.
Claims
1. A method comprising: Receiving high dynamic range (HDR) source image data representing a source image; determining a tone control point based on source pixel values of the HDR source image data; determining a gain value based on a first curve corresponding to a first hue point among the hue control points and a flare suppression point among the hue control points, wherein the flare suppression point is used to indicate a maximum flare removal threshold; determining a tone mapping function defining a second curve corresponding to a second tone point among the first tone point and the tone control point, wherein the second curve at the first tone point corresponds to the gain value; as well as Target image data representing at least one target image is generated, wherein the target image data includes target pixel values defined by the tone mapping function.
2. The method of claim 1, further comprising: Subsequent to receiving the HDR source image data, additional HDR source image data representing additional source images is received, wherein generating the target image data comprises applying the tone mapping function to pixel values of the additional HDR source image data.
3. The method of claim 1, wherein the tone mapping function: mapping the first scalar value of the second hue point to a second scalar value; mapping the third scalar value of the first tone point to a fourth scalar value; and mapping a fifth scalar value of a third hue point in the hue control points to a sixth scalar value, The first hue point has a corresponding pixel value, and the corresponding pixel value is equidistant between the pixel values corresponding to the second hue point and the third hue point.
4. The method of claim 1, wherein a rate of change of the tone mapping function evaluated at a first scalar value of the first tone point is equal to each of a rate of change of the gain value and the first curve.
5. The method of claim 1, further comprising: Determine a region of interest ROI of the source image; as well as At least a portion of the tone control points is determined based on a portion of the HDR source image data corresponding to the ROI of the source image.
6. The method of claim 1, wherein determining the tone control point comprises: generating logarithmically transformed image data values based on the source pixel values; determining a mean value of the log-transformed image data values; as well as The first tone point is determined based on exponentiation of the mean value of the log-transformed image data values.
7. The method of claim 1, wherein determining a tone control point comprises: generating filtered source image data by applying each of a first tonal filter and a second tonal filter to the HDR source image data; as well as The first tone point is determined based on the filtered source image data.
8. The method of claim 1, wherein determining a tone control point comprises: determining a first subset of the source pixel values, wherein a value of each pixel included in the first subset is greater than a value of each pixel of the source pixel values excluded from the first subset; determining a second subset of the source pixel values, wherein a value of each pixel included in the second subset is less than a value of each pixel of the source pixel values excluded from the second subset; determining a third hue point among the hue control points based on the first subset of the source pixel values, the third hue point having a higher corresponding pixel value than the first hue point; as well as The second tint point is determined based on the second subset of the source pixel values, the second tint point having a lower corresponding pixel value than the first tint point.
9. The method of claim 1, wherein determining a tone control point comprises: determining a second hue point based on a minimum value of the target pixel values, the second hue point having a lower corresponding pixel value than the first hue point; determining the first tone point based on a midtone value of the target pixel value; and A third hue point among the hue control points is determined based on the maximum value of the target pixel values, the third hue point having a corresponding pixel value greater than that of the first hue point.
10. The method of claim 1, wherein the HDR source image data is captured by at least one camera device mounted on a vehicle.
11. The method of claim 1 , further comprising: Determining the tone mapping function using a general purpose processor of a camera device that captures the HDR source image data; and The target image data is generated using a pipeline of an image processor ISP of the camera device.
12. The method of claim 1, wherein the HDR source image data is captured by at least one camera device mounted on a robot.
13. The method of claim 1, further comprising: generating a plurality of statistical measures of the source pixel values; and At least a portion of the tone control points are determined based on the plurality of statistical metrics.
14. The method of claim 1: generating color compressed target data by applying a gamma compression function to the target image data; and Low dynamic range (SDR) image data is generated based on the color compressed target data.
15. The method of claim 1, further comprising: clipping each of the source pixel values that is less than a sparkle suppression threshold indicated by the sparkle suppression point, the sparkle suppression point having a lower corresponding pixel value than the first hue point; as well as Each of the source pixel values greater than a highlight compression threshold indicated by a third one of the tone control points is clipped, the third tone point having a corresponding pixel value greater than the first tone point.
16. A system comprising: Processor device; as well as A computer-readable storage medium coupled to the processor device and having instructions stored thereon that, when executed by the processor device, result in the performance of actions comprising: receiving first source image data representing a first source image; determining a tone control point based on a first source pixel value of the first source image; determining a gain value based on a first curve corresponding to a first control point among the tone control points and a flare suppression point among the tone control points, wherein the flare suppression point is used to indicate a maximum flare removal threshold; determining a tone mapping function defining a second curve corresponding to a second control point of the first control point and the tone control point, wherein the second curve at the first control point corresponds to the gain value; receiving second source image data representing a second source image; and Target image data is generated by applying the tone mapping function to second source pixel values of the second source image.
17. The system of claim 16, wherein the system is incorporated in an autonomous vehicle, the autonomous vehicle comprising an image sensor that generates at least one of the first source image data or the second source image data, wherein the at least one of the first source image data or the second source image data is used as an input to one or more deep neural networks to produce an output for controlling the autonomous vehicle.
18. The system of claim 16, wherein the actions further comprise: Determining at least a portion of the tone control points using a general purpose processor of the camera device; and The target image data is generated using an image processor of the camera device.
19. A method comprising: Receiving HDR image data representing a high dynamic range HDR image; determining a tone control point based on pixel values of the HDR image; determining a gain value based on a first curve corresponding to a first control point among the tone control points and a flare suppression point among the tone control points, wherein the flare suppression point is used to indicate a maximum flare removal threshold; determining a tone mapping function defining a second curve corresponding to a second control point of the first control point and the tone control point, wherein the second curve at the first control point corresponds to the gain value; as well as Based on the tone mapping function and at least a portion of the pixel values of the HDR image, lower dynamic range image data representing an image with a lower dynamic range than the HDR image is generated.
20. The method of claim 19, wherein the tone mapping function is determined so that a rate of change of the second curve evaluated at the first of the tone control points is equal to a rate of change of the first curve defined by the first of the tone control points and the flare suppression point.
21. The method of claim 19, wherein the tone mapping function is a piecewise function comprising a plurality of parameter functions based on the tone control point.
