Image processing device

The image processing device addresses brightness inconsistencies by adjusting brightness with a higher target value and mode switching, improving visibility and reducing noise in stitched images, especially in dark conditions.

JP2024146487APending Publication Date: 2024-10-15AISIN CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023059416
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing image processing devices struggle with brightness inconsistencies when combining images from multiple imaging units, leading to discomfort and visibility issues, particularly in dark environments where images become too dark or noise is emphasized.

Method used

An image processing device that adjusts brightness using a first target brightness higher than the average with a positive value and switches modes based on brightness information, employing linear interpolation with adjustable slopes to correct brightness uniformly across overlapping regions.

Benefits of technology

Prevents images from becoming difficult to see by enhancing brightness in dark environments while minimizing noise, ensuring smooth transitions and maintaining visibility across stitched images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146487000001_ABST
    Figure 2024146487000001_ABST
Patent Text Reader

Abstract

To provide an image processing device capable of preventing images from becoming difficult to see even when a plurality of images captured in a relatively dark environment are stitched together to display a peripheral image.SOLUTION: An image processing device includes a region of interest setting unit that sets multiple regions of interest included in multiple overlapping regions where two adjacent imaged regions overlap, and a first setting unit that sets a correction value for correcting the brightness of the multiple images on the basis of a first target brightness, the first target brightness is a value obtained by adding a first positive value to the average brightness of all the regions of interest and is equal to or less than a first threshold value that is greater than the first positive value.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to an image processing device. [Background technology]

[0002] Conventionally, there is known an image processing device that captures the surroundings of a vehicle from different directions using multiple imaging units (cameras) installed in the vehicle, processes the captured images (e.g., viewpoint conversion), and connects the images to generate a surrounding image (e.g., an overhead image). In such an image processing device, there may be a difference in brightness (luminance) between the images captured by each imaging unit due to the mounting position of the imaging unit, the imaging (shooting) direction, the shooting time, whether the headlights are on, the difference in the degree of aperture adjustment for each imaging unit, etc. As a result, the brightness of the surrounding image generated by connecting the images may differ depending on the direction, and the brightness difference may be noticeable at the connecting position, resulting in an unnatural image.

[0003] Therefore, a technology has been proposed for correcting the luminance to suppress discomfort and the like. For example, a technology has been proposed for correcting the luminance when combining images from a plurality of imaging units, using the luminance closest to the average luminance of all images among the average luminances of the plurality of images captured by each imaging unit as a target value (see, for example, Patent Document 1). Also, a technology has been proposed for correcting the luminance to match a fixed target value when combining images from a plurality of imaging units (see, for example, Patent Document 2). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 3297040 [Patent Document 2] JP 2019-186620 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, when the luminance is corrected by using the luminance closest to the average luminance of all images among the average luminances of the multiple images captured by each imaging unit as the target value, for example, in a dark environment such as at night, the target luminance value is low, and the corrected image becomes dark overall. This makes the corrected image difficult to see. In addition, when the luminance is corrected to match a fixed target value, the target value in a dark environment such as at night is the same as the target value in a bright environment such as during the day, so the noise components generated in the image capture in a dark environment such as at night are also corrected to be brighter. This makes the noise components emphasized, making the corrected image difficult to see.

[0006] Therefore, one of the objectives of an embodiment of the present invention is to provide an image processing device that can prevent images from becoming difficult to see, even when multiple images captured in a relatively dark environment are stitched together to display a peripheral image. [Means for solving the problem]

[0007] An image processing device according to an embodiment of the present invention includes an acquisition unit that acquires multiple images, in which imaged areas partially overlap, captured by multiple imaging units provided in a vehicle as the surrounding conditions of the vehicle, a region of interest setting unit that sets multiple regions of interest included in multiple overlapping regions where two adjacent imaged areas overlap, and a first setting unit that sets a correction value for correcting the luminance of the multiple images based on a first target luminance, wherein the first target luminance is a value obtained by adding a first positive value to the average luminance of all the regions of interest and is a value equal to or less than a first threshold value that is greater than the first positive value.

[0008] According to such a configuration, for example, since the first target luminance is a value obtained by adding a first positive value to the average luminance of all the regions of interest and is equal to or less than a first threshold value that is greater than the first positive value, it is possible to increase the luminance of an image captured in a relatively dark environment and prevent noise components in the image from being emphasized. Therefore, even when a plurality of images captured in a relatively dark environment are stitched together to display a peripheral image, it is possible to prevent the image from becoming difficult to see.

[0009] The image processing device, for example, includes a mode switching unit that switches between a first mode and a second mode based on information regarding brightness, and the first setting unit sets the correction value according to the first target luminance in the first mode, and sets the correction value according to a second target luminance that is equal to or greater than the first target luminance in the second mode, and the second target luminance is the first threshold value.

[0010] According to this configuration, the target luminance can be set according to the first mode and the second mode. Also, according to this configuration, since the second target luminance is the first threshold value, it is possible to prevent the luminance corrected in the first mode from becoming too high.

[0011] The image processing device includes, for example, a second setting unit, and the first setting unit sets, using the first target luminance, a first correction value that corrects the luminance of a first region of interest included in a first overlapping region where a first imaged region, which is one of a pair of imaged regions separated by the vehicle, and a second imaged region, which is one of the pair of imaged regions adjacent to the first imaged region, overlap, and a second correction value that corrects the luminance of a second region of interest included in a second overlapping region where the first imaged region and a third imaged region, which is the other imaged region adjacent to the first imaged region, overlap, and the second setting unit sets, using the first correction value and the second correction value, individual correction values ​​that correct the luminance of at least a region between the first region of interest and the second region of interest in the first imaged region.

[0012] According to this configuration, the luminance of the area between the first area of ​​interest and the second area of ​​interest is corrected by an individual correction value based on the first correction value and the second correction value, thereby preventing the corrected luminance in the area between the first area of ​​interest and the second area of ​​interest from becoming too high.

[0013] In the image processing device, for example, the second setting unit calculates the individual correction value based on an interpolation formula that linearly interpolates between the first correction value and the second correction value, and the slope of the interpolation formula is adjustable.

[0014] According to this configuration, for example, it is possible to prevent the brightness from being modified to an extremely large extent, and to prevent the image from becoming unnaturally too bright or too dark. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a schematic plan view showing an example of a vehicle in which an image processing device according to an embodiment can be mounted. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a configuration of an image processing system including the image processing device according to the embodiment. [Diagram 3] FIG. 3 is an exemplary block diagram of the configuration of the CPU of the image processing device according to the embodiment. [Figure 4] FIG. 4 is a schematic bird's-eye view illustrating an imaged region imaged by each imaging unit and an overlapping region thereof according to the embodiment. [Diagram 5] FIG. 5 is a schematic diagram showing an example of the luminance distribution of an original image to be processed by the image processing device according to the embodiment and a setting position of a region of interest (ROI). [Figure 6] FIG. 6 is a diagram illustrating a target luminance for a dark mode according to the embodiment. [Figure 7]FIG. 7 is a flowchart illustrating an example of a processing flow when luminance correction is performed using a fixed target luminance in the image processing device according to the embodiment. [Figure 8] FIG. 8 is a diagram illustrating an example of a part of the processing of an image processing device according to an embodiment, and is a schematic diagram showing a linear interpolation formula corresponding to the correction, in which the luminance of a region of interest in an imaged area in front of a vehicle is corrected to a fixed target luminance. [Figure 9] FIG. 9 is a diagram for explaining a case where correction is performed based on the luminance set by the linear interpolation formula of FIG. 8, and is a schematic diagram showing an example of change in luminance state before and after correction of the imaged area in front of the vehicle. [Figure 10] FIG. 10 is a diagram illustrating an example of a part of the processing of an image processing device according to an embodiment, and is a schematic diagram showing a linear interpolation formula corresponding to the correction in which the luminance of a region of interest in an imaged area on the side of a vehicle is corrected to a fixed target luminance. [Figure 11] FIG. 11 is a schematic diagram showing an example of the luminance state of a surrounding image generated when luminance correction is performed on an imaged area around a vehicle. [Figure 12] FIG. 12 is a schematic diagram showing an example of limiting the amount of correction based on an upper correction limit value and a lower correction limit value according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Exemplary embodiments of the present invention are disclosed below. The configurations of the embodiments described below, as well as the actions, results, and effects brought about by the configurations, are merely examples. The present invention can be realized with configurations other than those disclosed in the following embodiments, and it is possible to obtain at least one of various effects based on the basic configurations and derivative effects.

[0017] FIG. 1 is a schematic plan view of a vehicle 10 on which an image processing device of the present embodiment is mounted. The vehicle 10 may be, for example, an automobile (internal combustion engine automobile) using an internal combustion engine (engine, not shown) as a drive source, an automobile (electric automobile, fuel cell automobile, etc.) using an electric motor (motor, not shown) as a drive source, or an automobile (hybrid automobile) using both of them as drive sources. The vehicle 10 may be equipped with various transmissions and various devices (systems, parts, etc.) required to drive the internal combustion engine and the electric motor. The type, number, layout, etc. of devices related to the drive of the wheels 12 (front wheels 12F, rear wheels 12R) of the vehicle 10 may be set in various ways.

[0018] As illustrated in FIG. 1, the vehicle 10 is provided with a plurality of imaging units 14, for example, four imaging units 14a to 14d. The imaging units 14 are digital cameras incorporating imaging elements such as a CCD (Charge Coupled Device) or a CIS (CMOS Image Sensor). The imaging units 14 can output video data (captured image data, image information) at a predetermined frame rate. Each imaging unit 14 has a wide-angle lens or a fisheye lens, and can capture a range (imaged area) of, for example, 140° to 220° in the horizontal direction. The optical axis of the imaging unit 14 can be set to point diagonally downward. Thus, the imaging unit 14 sequentially captures the surrounding conditions outside the vehicle 10, including the road surface on which the vehicle 10 can move, marks (including arrows, division lines, lines indicating parking spaces, lane separation lines, etc.) attached to the road surface, and objects (for example, pedestrians, vehicles, etc.), and outputs the captured image data.

[0019] The imaging unit 14 is provided on the outer periphery of the vehicle 10. The imaging unit 14a is provided, for example, on the front side of the vehicle 10, that is, on the front side in the vehicle longitudinal direction and at an end portion substantially in the center in the vehicle width direction, for example, on the front bumper 10a or the front grille, and can capture a front image (front imaged area) including the front end portion of the vehicle 10 (for example, the front bumper 10a). The imaging unit 14b is provided, for example, on the left end portion of the vehicle 10, for example, on the left door mirror 10b, and can capture a left side image (left side imaged area) including an area centered on the left side of the vehicle 10 (for example, an area from the left front to the left rear). The imaging unit 14c is provided, for example, on the right end portion of the vehicle 10, for example, on the right door mirror 10c, and can capture a right side image (right side imaged area) including an area centered on the right side of the vehicle 10 (for example, an area from the right front to the right rear). In addition, the imaging unit 14d is provided at the rear of the vehicle 10, i.e., at the rear side in the vehicle fore-and-aft direction and at an end portion approximately in the center in the vehicle width direction, for example, at a position above the rear bumper 10d, and is capable of capturing a rear image (rear imaged area) including the rear end portion of the vehicle 10 (for example, the rear bumper 10d).

[0020] The image processing device of this embodiment can generate images with a wider viewing angle and generate virtual images (bird's-eye view images (planar images), side view images, front view images, etc.) of the vehicle 10 viewed from above, the front, the side, etc., by performing arithmetic processing and image processing based on the captured image data obtained by the multiple imaging units 14. Note that the captured image data (images) captured by each imaging unit 14 are provided with overlapping areas so that no missing areas are generated when the images are joined together. For example, the left end area in the vehicle width direction of the captured image data captured by the imaging unit 14a overlaps with the front end area in the vehicle front-rear direction of the captured image data captured by the imaging unit 14b. Then, a process of joining (combining) the two images is performed. Similarly, an overlapping area is provided for the front image and the right side image, the left side image and the rear image, and the rear image and the right side image, and a process of joining (combining) the two images is performed.

[0021] FIG. 2 is an exemplary block diagram of the configuration of an image processing system 100 including an image processing device mounted on a vehicle 10. A display device 16 and an audio output device 18 are provided in the cabin of the vehicle 10. The display device 16 is, for example, a liquid crystal display (LCD) or an organic electroluminescent display (OLED). The audio output device 18 is, for example, a speaker. The display device 16 is covered with a transparent operation input unit 20 such as a touch panel. An occupant (for example, a driver) can visually recognize an image displayed on the display screen of the display device 16 through the operation input unit 20. The occupant can also perform operation input by touching, pressing, or moving the operation input unit 20 with a finger or the like at a position corresponding to the image displayed on the display screen of the display device 16. The display device 16, the audio output device 18, the operation input unit 20, and the like are provided in a monitor device 22 located, for example, in the center of the dashboard of the vehicle 10 in the vehicle width direction, i.e., the left-right direction. The monitor device 22 may have an operation input unit (not shown) such as a switch, a dial, a joystick, a push button, etc. The monitor device 22 may also be used as, for example, a navigation system or an audio system.

[0022] As illustrated in FIG. 2, the image processing system 100 includes an ECU 24 (Electronic Control Unit) in addition to the imaging unit 14 (14a to 14d) and the monitor device 22. In the image processing system 100, the ECU 24 and the monitor device 22 are electrically connected via an in-vehicle network 26 serving as an electric communication line. The in-vehicle network 26 is configured as, for example, a CAN (Controller Area Network). The ECU 24 can control various systems by sending control signals via the in-vehicle network 26. The ECU 24 can also receive operation signals from the operation input unit 20 and various switches, detection signals from various sensors (not shown), and the like, via the in-vehicle network 26. The ECU 24 is an example of an image processing device.

[0023] The ECU 24 transmits data related to surrounding images and sounds generated based on the captured image data acquired from the imaging unit 14 to the monitor device 22. The ECU 24 includes, for example, a CPU 24a (Central Processing Unit), a ROM 24b (Read Only Memory), a RAM 24c (Random Access Memory), a display control unit 24d, a sound control unit 24e, and an SSD 24f (Solid State Drive, flash memory).

[0024] The CPU 24a reads out a program stored (installed) in a non-volatile storage device such as the ROM 24b, and executes arithmetic processing according to the program. The ROM 24b stores each program and parameters required for executing the program. The CPU 24a includes various modules such as those shown in FIG. 3, and executes processing related to images displayed on the display device 16. For example, as an example of processing, the CPU 24a executes correction processing, arithmetic processing, image processing, etc. on the captured image data captured by the imaging unit 14 to generate a peripheral image (e.g., an overhead image) by stitching together multiple images. The details of the CPU 24a will be described later.

[0025] The RAM 24c temporarily stores various data used in the calculations of the CPU 24a. The display control unit 24d mainly performs data conversion of images to be displayed on the display device 16 among the calculations of the ECU 24. The audio control unit 24e mainly performs processing of audio data to be output by the audio output device 18 among the calculations of the ECU 24. The SSD 24f is a rewritable non-volatile storage unit, and can store data even when the power of the ECU 24 is turned off. The CPU 24a, the ROM 24b, the RAM 24c, and the like can be integrated in the same package. The ECU 24 may be configured to use other logic calculation processors such as a DSP (Digital Signal Processor) or logic circuits instead of the CPU 24a. The SSD 24f may be replaced by an HDD (Hard Disk Drive), or the SSD 24f and the HDD may be provided separately from the ECU 24.

[0026] In this embodiment, the ECU 24 controls image generation processing of images to be displayed on the display device 16 through cooperation between hardware and software (control program). The ECU 24 performs image processing, such as viewpoint conversion processing, on the captured image data (image) captured by the imaging unit 14 and performs brightness correction on the image when displaying the captured image on the display device 16. When front, rear, left, and right images are stitched together, the ECU 24 suppresses inconveniences such as reduced continuity between images due to differences in brightness and images becoming partially or entirely too bright or too dark, thereby suppressing reduced visibility of the entire image (peripheral images and overhead images generated by stitching together).

[0027] FIG. 3 is an exemplary block diagram of a configuration for implementing the image processing of this embodiment in the CPU 24a included in the ECU 24. Note that configurations other than those for executing the image processing of this embodiment in the CPU 24a are omitted from the illustration. The CPU 24a includes various modules for executing image processing including the brightness correction as described above. The various modules are implemented by the CPU 24a reading out a program installed and stored in a storage device such as the ROM 24b and executing the program. For example, as shown in FIG. 3, the CPU 24a includes an acquisition unit 28, a mode switching unit 30, a region of interest setting unit 31, a first setting unit 32 (first setting unit), a second setting unit 34 (second setting unit), and the like. The second setting unit 34 includes a linear interpolation unit 34a, a slope setting unit 34b, a brightness setting unit 34c, and the like.

[0028] The acquisition unit 28 acquires the images captured by each imaging unit 14 via the display control unit 24d. Each imaging unit 14 (14a to 14d) can capture an image of an imaged area 36 as shown in FIG. 4. Each imaged area 36 includes an overlapping area 38 in which each imaged area 36 partially overlaps with an adjacent imaged area 36 as described above. The left side of the imaged area 36F in the vehicle width direction in front of the vehicle 10 and the front side of the imaged area 36SL on the left side of the vehicle 10 form an overlapping area 38FL. The rear side of the imaged area 36SL in the vehicle width direction in the imaged area 36 and the left side of the imaged area 36R in the vehicle width direction in the rear of the vehicle 10 form an overlapping area 38RL. The right side of the imaged area 36R in the vehicle width direction in the imaged area 36 and the rear side of the imaged area 36SR on the right side of the vehicle 10 form an overlapping area 38RR. The vehicle front side of imaged area 36SR and the vehicle width direction right side of imaged area 36F in imaged area 36 form an overlapping area 38FR. Each imaging unit 14 may attach an identification code for each imaging unit 14 to the captured image data and output the image data to acquisition unit 28, or an identification code for identifying the output source may be attached to each captured image data acquired by acquisition unit 28.

[0029] In this embodiment, for example, when processing is performed with a focus on the imaged area 36F, one (e.g., the imaged area 36F) of the pair of imaged areas 36 (e.g., the imaged area 36F and the imaged area 36R) that are separated by the vehicle 10 may be referred to as a first imaged area. Also, one of the pair of imaged areas 36 (e.g., the imaged area 36SL and the imaged area 36SR) adjacent to the first imaged area may be referred to as a second imaged area (e.g., the imaged area 36SL). And, the overlapping area 38 (overlapping area 38FL) where the first imaged area and the second imaged area overlap may be referred to as a first overlapping area. Similarly, the other of the pair of imaged areas 36 (e.g., the imaged area 36SL and the imaged area 36SR) adjacent to the first imaged area may be referred to as a third imaged area (e.g., the imaged area 36SR). An overlapping area 38 (overlapping area 38FR) where the first imaged area and the third imaged area overlap may be referred to as a second overlapping area. Note that the pair of imaged areas 36 separated by the vehicle 10 may be imaged areas 36SL and 36SR, for example. In this case, the second imaged area is either the imaged area 36F or the imaged area 36R, and the third imaged area is the other.

[0030] The mode switching unit 30 switches (sets) the target setting mode based on information related to brightness (hereinafter also referred to as brightness information). The target setting modes are, for example, a light mode and a dark mode. That is, the mode switching unit 30 switches between the light mode and the dark mode based on the brightness information. The light mode is an example of a second mode, and is also referred to as a day mode. The dark mode is an example of a first mode, and is also referred to as a night mode.

[0031] The brightness information is, for example, the brightness of an image captured by the imaging unit 14 and acquired by the acquisition unit 28. For example, when the ECU 24 is started, the mode switching unit 30 sets the target setting mode to the bright mode. When the target setting mode is set to the bright mode, the mode switching unit 30 switches the target setting mode to the dark mode if the average brightness of the images captured by any of the imaging units is equal to or less than the dark mode switching threshold. The dark mode switching threshold is, for example, 80, but is not limited thereto. Also, when the target setting mode is set to the dark mode, the mode switching unit 30 switches the target setting mode to the bright mode if the average brightness of each of the images captured by all of the imaging units 14 is equal to or more than the bright mode switching threshold. The bright mode switching threshold is, for example, 120, but is not limited thereto.

[0032] 5, the region of interest setting unit 31 sets a plurality of regions of interest 40 (40FL, 40RL, 40RR, 40FR) to be referred to when performing brightness adjustment in a plurality of overlapping regions 38 of the imaged region 36 acquired by the acquisition unit 28. One region of interest 40 is set for one overlapping region 38. The region of interest 40 is, for example, a rectangular region having a predetermined length in the vehicle width direction and the front-rear direction of the vehicle 10, and the brightness of the region of interest 40 is, for example, the average value of the brightness of each pixel included in the region of interest 40. In addition, when the position of the region of interest 40 is specified in this embodiment, the position is, for example, the center position of the region of interest 40 (the midpoint in the vehicle width direction and the front-rear direction).

[0033] In addition, each imaging unit 14 automatically performs aperture adjustment (gain adjustment) during imaging, and brightness adjustment (luminance adjustment) of each imaged region 36 is performed. As a result, when there are many bright regions in the imaged region 36, the aperture value is increased and a darker image with reduced brightness is captured. Conversely, when there are many dark regions in the imaged region 36, the aperture value is decreased and a brighter image with improved brightness is captured. Therefore, as shown in FIG. 5, for example, in the region of interest 40FL included in the overlapping region 38FL, the brightness (luminance) may differ between a portion corresponding to the region of interest 40FL on the imaged region 36F side and a portion corresponding to the region of interest 40FL on the imaged region 36SL side. For example, in FIG. 5, when the luminance is expressed in 256 gradations from 0 to 255 ("0" being dark and "255" being bright), for example, in the case of the region of interest 40FL included in the overlapping region 38FL, the luminance on the side of the imaged region 36F is "250" which is bright, and the luminance on the side of the imaged region 36SL is "100" which is darker than the side of the imaged region 36F. In FIG. 5, a number marked with "100" or the like indicates the luminance. In other drawings, a number marked in the region of interest 40 may indicate the luminance. In addition, the region of interest setting unit 31 may set the setting position of the region of interest 40 to a predetermined position, or may change the setting position according to the luminance distribution of the region of interest 36.

[0034] The first setting unit 32 sets a correction value for correcting the luminance of the multiple images based on a first target luminance. Specifically, the first setting unit 32 corrects the luminance of the region of interest 40 by a predetermined value. For example, consider a first imaged region (e.g., imaged region 36F) that is one of a pair of imaged regions 36 (e.g., imaged region 36F and imaged region 36R) that are separated from each other by the vehicle 10. The first setting unit 32 corrects the luminance of a first region of interest (e.g., region of interest 40FL) included in a first overlapping region (e.g., overlapping region 38FL) where the first imaged region (e.g., imaged region 36F) and a second imaged region (e.g., imaged region 36SL) that is one of the pair of imaged regions 36 adjacent to the first imaged region overlap. Similarly, the first setting unit 32 corrects the luminance of a second region of interest (region of interest 40FR) included in a second overlapping region (e.g., overlapping region 38FR) in which a first imaged region (e.g., imaged region 36F) overlaps with a third imaged region (e.g., imaged region 36SR) that is the other imaged region 36 adjacent to the first imaged region. Similarly, the first setting unit 32 corrects the luminance of regions of interest 40RL and 40RR.

[0035] In this embodiment, when the first setting unit 32 corrects the brightness of the region of interest 40 by a predetermined value, it can do so by using target brightness corresponding to the light mode and the dark mode, for example.

[0036] For example, in the case of the bright mode, the first setting unit 32 determines a correction value so that the brightness becomes a bright mode target brightness value, which is a target brightness for the bright mode determined as a predetermined value, and performs the brightness correction. In the case of the bright mode, for example, the first setting unit 32 performs the correction using a correction value so that the brightness of the region of interest 40 becomes a bright mode target brightness (for example, "200" of 256 gradations) that is considered to have relatively good visibility and that is derived in advance through experiments, etc. Note that the bright mode target brightness is not limited to "200" of 256 gradations, and may be, for example, "130", etc.

[0037] In addition, in the case of the dark mode, the first setting unit 32 performs correction using a correction value such that the luminance of the region of interest 40 becomes the target luminance for the dark mode, which is the target luminance for the dark mode. As shown in FIG. 6, the target luminance for the dark mode is a value obtained by adding a first positive value to the average luminance (average luminance of all regions of interest) of all the regions of interest 40 (40FL, 40RL, 40RR, 40FR) and is equal to or less than a first threshold value that is greater than the first positive value. The target luminance for the dark mode is equal to or less than the target luminance for the light mode. In other words, the target luminance for the light mode is equal to or greater than the target luminance for the dark mode. The first positive value is, for example, "20", but is not limited thereto. A specific example of the correction by the first setting unit 32 will be described later.

[0038] That is, in the case of the dark mode (first mode), the first setting unit 32 sets the first correction value and the second correction value based on the target luminance for the dark mode (first target luminance), and in the case of the bright mode (second mode), the first correction value and the second correction value are set based on the target luminance for the bright mode (second target luminance) that is equal to or higher than the target luminance for the dark mode.

[0039] The second setting unit 34 sets at least the luminance between the adjacent regions of interest 40 based on the correction values ​​of each of the regions of interest. For example, when the region of interest 40FL on the left side of the imaged region 36F in the vehicle width direction is set as the first region of interest, the correction value for correcting the region of interest 40FL to a fixed target luminance set by the first setting unit 32 is set as the first correction value. Similarly, when the region of interest 40FR on the right side of the imaged region 36F in the vehicle width direction is set as the second region of interest, the correction value for correcting the region of interest 40FL to a fixed target luminance set by the first setting unit 32 is set as the second correction value. In this case, the linear interpolation unit 34a uses the first correction value and the second correction value to generate, for example, a linear interpolation formula (a straight line connecting the first correction value and the second correction value) for performing linear interpolation. Then, based on the generated linear interpolation formula (for example, the linear interpolation formula), the luminance of the region between the two regions of interest 40 is corrected. That is, the linear interpolation unit 34a generates the linear interpolation formula by connecting the correction values ​​for the two adjacent regions of interest 40 with a straight line, for example.

[0040] The gradient setting unit 34b corrects the gradient of the linear interpolation equation generated by the linear interpolation unit 34a when the gradient is equal to or greater than a predetermined limit value. For example, when the luminance of one of the adjacent regions of interest 40 is significantly different from the target luminance set by the first setting unit 32, the gradient of the linear interpolation equation generated by the linear interpolation unit 34a becomes large. As a result, for example, a portion around the region of interest 40 that is darker than the region of interest 40 may be corrected to a brighter direction due to the influence of the correction of the luminance of the region of interest 40. As a result, a correction is made to increase the luminance more than necessary, resulting in so-called "whiteout." The gradient setting unit 34b corrects the gradient of the linear interpolation equation generated by the linear interpolation unit 34a by a predetermined magnification. For example, this magnification is set to 1 when the gradient of the linear interpolation equation is smaller than the limit value, and is set to a value greater than 0 and less than 1 in order to reduce the gradient when the gradient is equal to or greater than a predetermined value.

[0041] The luminance setting unit 34c sets an individual correction value for correcting the luminance of at least a region between a first region of interest (e.g., region of interest 40FL) and a second region of interest (e.g., region of interest 40FR) based on a linear interpolation formula (e.g., a straight-line interpolation formula) generated by the linear interpolation unit 34a. When the linear interpolation formula generated by the linear interpolation unit 34a is a linear interpolation formula for the imaged region 36F in front of the vehicle 10, the luminance setting unit 34c performs luminance correction for the region in the vehicle longitudinal direction in the imaged region 36F in accordance with this linear interpolation formula. Therefore, in the case of the imaged region 36F, the region in the vehicle longitudinal direction is corrected for luminance with a similar correction value (correction amount). In addition, the luminance setting unit 34c sets an upper correction limit value and a lower correction limit value for the individual correction value.

[0042] An example of the processing of the image processing system 100 (ECU 24) configured in this manner will be described with reference to the flowchart in FIG. 7, and in addition to FIGS. 1 to 5, FIGS. 8 to 12.

[0043] Using the flowchart in FIG. 7, the luminance correction that is executed when the target luminance (the target luminance for the bright mode, the target luminance for the dark mode) is set as a predetermined value by the first setting unit 32 will be described.

[0044] First, the CPU 24a judges whether it is time to generate a bird's-eye view peripheral image centered on the vehicle 10 (S100). This judgment is positive, for example, when the CPU 24a judges the operation state of the vehicle 10 (for example, when the shift lever is moved to a position for reverse driving, etc.) or when the driver performs a display request operation via the operation input unit 20, etc. If the CPU 24a judges that a peripheral image is to be generated (Yes in S100), the acquisition unit 28 acquires an image (image information) of the imaged area 36 captured by each imaging unit 14 (S101). Note that if it is judged that it is not time to generate a peripheral image (No in S100), the flow of FIG. 7 is temporarily terminated.

[0045] Next, the mode switching unit 30 sets a mode (target setting mode) (S102). The mode switching unit 30 selectively sets the light mode and the dark mode by the above-mentioned method.

[0046] Next, the region of interest setting unit 31 sets a region of interest 40 in the imaged region 36 of each of the acquired images (S103).

[0047] In addition, the first setting unit 32 sets the target luminance (the target luminance for the bright mode, the target luminance for the dark mode) according to the set target setting mode (S104). In the following, as the process after S4, first, the case of the bright mode will be described.

[0048] In the bright mode, when the luminance in the region of interest 40 of each imaged region 36 is as shown in FIG. 5, the first setting unit 32 sets a target luminance for bright mode (e.g., "200" in 256 gradations) for each region of interest 40 that is determined as a predetermined value (S104), and sets a correction value for correcting the luminance of the region of interest 40 to the target luminance (e.g., "200") (S105). FIG. 8 shows an example of correcting the luminance of the imaged region 36F in front of the vehicle 10, which is an example of correction in the bright mode. In the case of the imaged region 36F, the luminance of the region of interest 40FL on the left side in the vehicle width direction (X-axis direction) is "250" in 256 gradations, and the luminance of the region of interest 40FR on the right side in the vehicle width direction is "150" in 256 gradations. In contrast, when the target brightness set by the first setting unit 32 is "200" with 256 gradations, in the imaged area 36F, the region of interest 40FL is set to a correction value of "-50" as the brightness value M, and the region of interest 40FR is set to a correction value of "+50".

[0049] The linear interpolation unit 34a generates the linear interpolation formula 42 (42F) using the correction value (N=-50) of the region of interest 40FL and the correction value (N=+50) of the region of interest 40FR set by the first setting unit 32 (S106). As a result, the correction amount of the luminance in the vehicle width direction (X-axis direction) between the region of interest 40FL and the region of interest 40FR is indicated by the linear interpolation formula 42F. Then, the luminance setting unit 34c corrects (sets) the luminance of the region between the region of interest 40FL and the region of interest 40FR based on the correction value (individual correction value) calculated by the generated linear interpolation formula 42F. Similarly, the luminance of the region in the vehicle front-rear direction (Z-axis direction) in the imaged region 36F is set (corrected) with a similar correction value (S107). As a result, as shown in FIG. 9, the imaged area 36F before correction is corrected so that the brightness on the left side in the vehicle width direction (part of the area of ​​interest 40FL) becomes darker, for example from "250" to "200", and the brightness on the right side in the vehicle width direction (part of the area of ​​interest 40FR) becomes brighter, for example from "150" to "200".

[0050] The CPU 24a monitors whether the above-mentioned correction process is completed for the entire screen (S108). If the correction process is not completed (No in S108), the process returns to S101, and the region of interest setting unit 31, the first setting unit 32, and the second setting unit 34 execute the above-mentioned process for the imaged region 36R, the imaged region 36SL, and the imaged region 36SR.

[0051] For example, the region of interest setting unit 31, the first setting unit 32, and the second setting unit 34 execute the same processing as described above for the imaged region 36R behind the vehicle 10. As a result, the imaged region 36R before correction is corrected so that the luminance of the left side in the vehicle width direction (region of interest 40RL) becomes brighter from "50" to "200", and the luminance of the right side in the vehicle width direction (region of interest 40RR) becomes brighter from "50" to "200".

[0052] Similarly, the region of interest setting unit 31, the first setting unit 32, and the second setting unit 34 perform similar corrections for the imaged region 36SL on the left side of the vehicle 10 and the imaged region 36SR on the right side of the vehicle 10, as shown in Fig. 10. For example, in the case of the imaged region 36SL, the luminance of the region of interest 40FL on the front side in the vehicle longitudinal direction (Z-axis direction) is "100" in 256 gradations, and the luminance of the region of interest 40RL on the rear side is "50" in 256 gradations. In contrast, when the target luminance set by the first setting unit 32 is "200" in 256 gradations, the first setting unit 32 sets a correction value of "+100" as the luminance value M for the region of interest 40FL, and sets a correction value of "+150" for the region of interest 40RL on the rear side. The linear interpolation unit 34a generates a linear interpolation formula 42L using the correction value (N=+100) of the region of interest 40FL and the correction value (N=+150) of the region of interest 40RL set by the first setting unit 32. Similarly, in the case of the imaged region 36SR, the luminance of the region of interest 40FR on the front side in the vehicle longitudinal direction (Z-axis direction) is "100" in 256 gradations, and the luminance of the region of interest 40RR on the rear side is "50" in 256 gradations. In contrast, when the target luminance set by the first setting unit 32 is "200" in 256 gradations, the first setting unit 32 sets the correction value of "+100" as the luminance value M for the region of interest 40FR, and sets the correction value of "+150" for the region of interest 40RR on the rear side. The linear interpolation unit 34a uses the correction value (N=+100) of the region of interest 40FR set by the first setting unit 32 and the correction value (N=+150) of the region of interest 40RR to generate a linear interpolation formula 42R.

[0053] As a result, the correction amount of the luminance in the vehicle front-rear direction (Z-axis direction) between the region of interest 40FL and the region of interest 40RL in the imaged region 36SL is represented by the linear interpolation formula 42L, and the individual correction amount of the luminance in the vehicle front-rear direction (Z-axis direction) between the region of interest 40FR and the region of interest 40RR in the imaged region 36SR is represented by the linear interpolation formula 42R. Then, the luminance setting unit 34c corrects the luminance of the region between the region of interest 40FL and the region of interest 40RL and the region in the vehicle width direction (X-axis direction) in the imaged region 36SL with the same individual correction amount based on the linear interpolation formula 42L. Also, the luminance setting unit 34c corrects the luminance of the region between the region of interest 40FR and the region of interest 40RR and the region in the vehicle width direction (X-axis direction) in the imaged region 36SR with the same individual correction amount based on the linear interpolation formula 42R.

[0054] When the correction process is completed for all the images (images of the imaged region 36F, imaged region 36R, imaged region 36SL, and imaged region 36SR) (Yes in S108), the CPU 24a uses the display control unit 24d to join the images together to generate a bird's-eye view peripheral image, and displays it on the display device 16 (S109), and updates the peripheral image by repeating the process from S100 in the next processing cycle. In this case, as shown in FIG. 11, the luminance of each of the interest regions 40 (40FL, 40RL, 40RR, and 40FR) becomes "200" in 256 gradations, and the peripheral image 44 can be generated by smoothly joining the imaged regions 36 (36F, 36SL, 36R, and 36SR). In addition, since the luminance between each of the interest regions 40 is also corrected by the linear interpolation formula 42, the generation of too bright or too dark parts is suppressed, and the image content can be easily recognized in any part of the peripheral image 44.

[0055] In the above process, when the dark mode is set in S102, the target luminance for the dark mode is set in S104, and the process from S105 onward is executed using this target luminance for the dark mode in the same manner as in the case of the light mode. In this case, an example of the luminance before correction is as follows. In the region of interest 40FL, the luminance on the imaged region 36F side is "50", and the luminance on the imaged region 36SL side is "140". In the region of interest 40FR, the luminance on the imaged region 36F side is "45", and the luminance on the imaged region 36SR side is "100". In the region of interest 40RL, the luminance on the imaged region 36SL side is "35", and the luminance on the imaged region 36R side is "80". In the region of interest 40RR, the luminance on the imaged region 36SR side is "70", and the luminance on the imaged region 36R side is "30". These luminances are corrected using the target luminance for the dark mode. Note that the luminance is not limited to the above.

[0056] However, there may be cases where the brightness difference between adjacent regions of interest 40 is originally large. In such a case, when the first setting unit 32 sets the target brightness in the same manner as in the above-mentioned case, a linear interpolation formula 42 with a large slope may be generated. In this case, for example, pixels may be corrected to be too bright, resulting in so-called "whiteout." Therefore, the slope setting unit 34b can correct the slope of the linear interpolation formula 42 generated by the linear interpolation unit 34a by the above-mentioned predetermined magnification.

[0057] In the embodiment, when the luminance setting unit 34c sets a correction value (individual correction value) for correcting the luminance based on the linear interpolation formula 42, the luminance setting unit 34c may limit the correction value. For example, as shown in FIG. 12, an upper correction limit value and a lower correction limit value are set for the correction value, and according to the linear interpolation formula 42, as the correction amount of the luminance increases, the set individual correction amount is set to fall between the upper correction limit value and the lower correction limit value. In this case, the correction amount of the luminance is also relaxed, and the "blown out highlight" can be suppressed. In FIG. 12, as an example, Z1 indicates the coordinates of the region of interest 40FL, Z2 indicates the coordinates of the region of interest 40RR, F100 indicates the luminance before correction of the region of interest 40FL, and F101 indicates the luminance before correction of the region of interest 40RR. The upper correction limit value and the lower correction limit value may be set as fixed values ​​in advance, or may be set according to the calculated slope of the linear interpolation formula 42.

[0058] As described above, in this embodiment, the target brightness for dark mode (first target brightness) is a value obtained by adding a first positive value to the average brightness of all regions of interest 40, and is a value equal to or less than a first threshold value that is greater than the first positive value.

[0059] According to such a configuration, for example, since the first target luminance is a value obtained by adding a first positive value to the average luminance of all the regions of interest 40 and is equal to or less than a first threshold value that is greater than the first positive value, it is possible to increase the luminance of an image captured in a relatively dark environment and prevent noise components in the image from being emphasized. Therefore, even when a plurality of images captured in a relatively dark environment are stitched together to display a peripheral image, it is possible to prevent the image from becoming difficult to see.

[0060] In this embodiment, the mode switching unit 30 switches between the dark mode (first mode) and the light mode (second mode) based on information related to brightness. In the dark mode, the first setting unit 32 sets the first correction value and the second correction value according to the target luminance for the dark mode, and in the light mode, sets the first correction value and the second correction value according to the target luminance for the light mode that is equal to or greater than the target luminance for the dark mode.

[0061] According to this configuration, the target luminance can be set according to the dark mode and the light mode.

[0062] Moreover, the target luminance for the light mode is the first threshold value.

[0063] According to this configuration, since the bright mode luminance is the first threshold value, it is possible to prevent the luminance corrected in the dark mode from becoming too high.

[0064] Moreover, the second setting unit 34 sets an upper correction limit value and a lower correction limit value for the individual correction value.

[0065] According to such a configuration, it is possible to prevent the luminance from being corrected to an extremely large extent, and it is possible to prevent the image from becoming unnaturally too bright or too dark.

[0066] Moreover, the second setting unit 34 calculates the individual correction value based on an interpolation formula that linearly interpolates between the first correction value and the second correction value, and the slope of the interpolation formula is adjustable.

[0067] According to this configuration, for example, it is possible to prevent the brightness from being modified to an extremely large extent, and to prevent the image from becoming unnaturally too bright or too dark.

[0068] In addition, in the present embodiment, the imaging unit 14b is fixed to the left door mirror 10b, and the imaging unit 14c is fixed to the right door mirror 10c. In this case, by using an image captured with the doors of the vehicle 10 closed, it is possible to accurately join the images captured by the imaging units 14a and 14d. Therefore, when the doors are open, the display control unit 24d cannot accurately join the images. Therefore, the CPU 24a may generate a surrounding image as a reference without performing the brightness correction process described above.

[0069] The program for image processing executed by the CPU 24a of this embodiment may be configured to be provided by recording it on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a digital versatile disk (DVD) in an installable or executable format.

[0070] Furthermore, the image processing program may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the image processing program executed in the present embodiment may be provided or distributed via a network such as the Internet.

[0071] In the above embodiment, the information on brightness (brightness information) used for switching between the light mode and the dark mode is the brightness of the image, but the present invention is not limited thereto. For example, the information on brightness may be information (illumination switch signal) indicating the state (on state, off state) of the illumination switch of the vehicle 10, or the detection result of the convenience light sensor (comfort light sensor signal). For example, when the information on brightness is the illumination switch, the mode switching unit 30 sets the light mode when the illumination switch is off, and sets the dark mode when the illumination switch is on. When the information on brightness is the convenience light sensor, the mode switching unit 30 sets the light mode when the brightness around the vehicle 10 detected by the convenience light sensor is equal to or greater than a predetermined threshold, and sets the dark mode when the brightness around the vehicle 10 detected by the convenience light sensor is less than a predetermined threshold.

[0072] Although the embodiments and modifications of the present invention have been described, these embodiments and modifications are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0073] 10...vehicle, 14, 14a, 14b, 14c, 14d...imaging unit, 16...display device, 24...ECU (image processing device), 28...acquisition unit, 30...mode switching unit, 31...region of interest setting unit, 32...first setting unit (first setting unit), 34...second setting unit (second setting unit), 36, 36F, 36SL, 36SR, 36R...imaged area, 38, 38FL, 38FR, 38RL, 38RR...overlapping area, 40, 40FL, 40FR, 40RL, 40RR...region of interest, 42...linear interpolation formula, 44...surrounding image.

Claims

1. an acquisition unit that acquires a plurality of images, the imaged areas of which partially overlap, captured by a plurality of imaging units provided in a vehicle as a surrounding situation of the vehicle; a region of interest setting unit that sets a plurality of regions of interest included in a plurality of overlapping regions where two adjacent imaged regions overlap; a first setting unit that sets a correction value for correcting the luminance of the plurality of images based on a first target luminance; Equipped with the first target luminance is a value that is equal to or less than a first threshold value that is an average value of luminances of all the regions of interest plus a first positive value and is greater than the first positive value; Image processing device.

2. a mode switching unit that switches between a first mode and a second mode based on information regarding brightness; the first setting unit sets the correction value by the first target luminance in the first mode, and sets the correction value by a second target luminance that is equal to or greater than the first target luminance in the second mode; the second target luminance is the first threshold value; The image processing device according to claim 1 .

3. A second setting unit is provided, the first setting unit sets, using the first target luminance, a first correction value that corrects the luminance of a first region of interest included in a first overlapping region where a first imaged region that is one of a pair of imaged regions separated by the vehicle and a second imaged region that is one of the pair of imaged regions adjacent to the first imaged region overlap, and a second correction value that corrects the luminance of a second region of interest included in a second overlapping region where the first imaged region overlaps with a third imaged region that is the other imaged region adjacent to the first imaged region; the second setting unit sets an individual correction value for correcting luminance of at least a region between the first region of interest and the second region of interest in the first imaged region, using the first correction value and the second correction value. The image processing device according to claim 1 .

4. the second setting unit calculates the individual correction value based on an interpolation formula that linearly interpolates between the first correction value and the second correction value; The slope of the interpolation formula is adjustable. The image processing device according to claim 3 .

Citation Information

Patent Citations

  • Image processing system

    JP2019186620A

  • In-vehicle camera image synthesis display method and device

    JP3297040B1