Image processing device, image processing method, and program
The system uses long and short exposure cameras to reduce pixel resolution, detect saturation, and estimate object movement to suppress ghost distances, ensuring accurate distance measurements for collision avoidance and cruise control.
Patent Information
- Application Number
- JP2023019057
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-02-10
AI Technical Summary
Existing image processing systems for collision avoidance and cruise control in vehicles suffer from the occurrence of ghost distances due to lens glare, leading to inaccurate distance measurements.
The system employs a combination of long and short exposure cameras to capture images, reduces pixel resolution in saturated areas, detects saturation regions, estimates object movement, and generates distance images using threshold-compliant distance information to suppress ghost distances.
Accurately determines distance information, reducing the occurrence of ghost distances and ensuring reliable collision avoidance and cruise control by using threshold-compliant distance information.
Smart Images

Figure 2024113830000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device, an image processing method, and a program. [Background technology]
[0002] In recent years, systems have been put into practical use that detect vehicles traveling ahead of the vehicle and either avoid a collision with the preceding vehicle (collision avoidance control) or maintain a safe distance from the preceding vehicle (cruise control).
[0003] In this type of technology, the external environment in front of the vehicle is grasped from image information obtained by an imaging device, for example, and appropriate control is executed. In order to appropriately execute the above control, it is important to accurately grasp the distance to a vehicle or the like that is present ahead of the host vehicle. For this reason, for example, a method is known in which the distance is calculated based on the parallax between an object captured in a right image and a left image acquired by a stereo camera.
[0004] In addition, in order to achieve even greater accuracy in distance measurement, an image processing device has been disclosed that includes a long-exposure distance image generation unit that captures images with long exposure, calculates parallax from a first long-exposure image and a second long-exposure image from a first long-exposure camera and a second long-exposure camera that are arranged at a predetermined interval, and generates a long-exposure distance image, a short-exposure distance image generation unit that captures images with short exposure, calculates parallax from a first short-exposure image and a second short-exposure image from a first short-exposure camera and a second short-exposure camera that are arranged at a predetermined interval, and generates a short-exposure distance image, and a distance image generation unit that combines the long-exposure distance image and the short-exposure distance image to generate a distance image (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2021-156579 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, in the technology described in Patent Document 1, the mask image is generated by calculations only on a pixel-by-pixel basis, so that, for example, if diffuse reflection (glare) occurs beyond the pixel, there is a risk that an incorrect distance (ghost distance) will be generated at the glare position.
[0007] Therefore, the present invention has been made in consideration of the above-mentioned problems, and aims to provide an image processing device, an image processing method, and a program that suppress the occurrence of ghost distances due to lens glare and ensure valid distance information. [Means for solving the problem]
[0008] Form 1: One or more embodiments of the present invention include a long exposure distance image generation unit that is arranged at a predetermined interval and calculates a parallax from a first long exposure image from a first long exposure camera that captures images by long exposure and a second long exposure image from a second long exposure camera, and generates a long exposure distance image; a short long exposure distance image generation unit that is arranged at a predetermined interval and calculates a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, and generates a short exposure distance image; and a short long exposure distance image generation unit that compresses the number of pixels of a pixel area in which a peripheral area including a light-emitting object of a forward vehicle is captured in the long exposure distance image and the short exposure distance image, to generate a low-resolution image. The present invention proposes an image processing device comprising: a low-resolution unit that reduces the resolution of an image captured by the long-exposure distance image to a low resolution; a detection unit that detects pixel areas where saturation occurs in the pixel areas of the low-resolution long-exposure distance image; an estimation unit that estimates the movement distance of a specific object from the movement amount of the specific object in the pixel area where saturation occurs in the low-resolution long-exposure distance image based on the detection result of the detection unit; and if the difference between the estimated movement distance of the specific object and the actual movement distance of the vehicle is within a predetermined threshold range, an image processing unit that generates a distance image for the pixel area where saturation occurs in the long-exposure distance image using distance information of the pixel area where saturation occurs.
[0009] Form 2: One or more embodiments of the present invention propose an image processing device in which the image processing unit generates a distance image using distance information of the pixel area in which the light emitter of the forward vehicle is imaged in the short-exposure distance image, for areas where the pixel area in which the saturation occurs in the long-exposure distance image overlaps with the pixel area in which the light emitter of the forward vehicle is imaged in the short-exposure distance image.
[0010] Form 3: One or more embodiments of the present invention propose an image processing device in which the image processing unit generates a distance image using distance information of the long exposure distance image or the short exposure distance image for pixel areas other than the pixel areas where saturation occurs in the long exposure distance image.
[0011] Mode 4: One or more embodiments of the present invention propose an image processing device in which the image processing unit varies the range of the predetermined threshold value and the size of compressed pixels of the image according to weather conditions.
[0012] Form 5: One or more embodiments of the present invention propose an image processing device in which, when light from a light source of an oncoming vehicle or a light source around the road is reflected in the image, the image processing unit generates the distance image from the long-exposure distance image or the short-exposure distance image in which the light reflection, including the saturation of the light source, is excluded.
[0013] Mode 6: One or more embodiments of the present invention are an image processing method in an image processing device including a long exposure distance image generation unit, a short exposure distance image generation unit, a resolution reduction unit, a detection unit, an estimation unit, and an image processing unit, the long exposure distance image generation unit being arranged at a predetermined interval and calculating a parallax from a first long exposure image from a first long exposure camera that captures images by long exposure and a second long exposure image from a second long exposure camera, and generating a long exposure distance image; a second step in which the short exposure distance image generation unit is arranged at a predetermined interval and calculating a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, and generating a short exposure distance image; and a second step in which the resolution reduction unit calculates a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, and generating a short exposure distance image. The present invention proposes an image processing method comprising: a third step of compressing the number of pixels of a block in which an image of a surrounding area including a light object is captured, thereby reducing the resolution; a fourth step of the detection unit detecting a pixel area in which saturation is occurring in the pixel area of the low-resolution long exposure distance image, the detection unit; a fifth step of the estimation unit estimating the movement distance of a specific object from the movement amount of the specific object in the pixel area in the low-resolution long exposure distance image, the estimation unit based on the detection result in the fourth step; and a sixth step of the image processing unit generating a distance image for the pixel area in which saturation is occurring in the long exposure distance image, using distance information of the pixel area in which saturation is occurring, if the difference between the movement distance of the specific object estimated in the fifth step and the actual movement distance of the vehicle is within a predetermined threshold range.
[0014] Mode 7: One or more embodiments of the present invention are a program for causing a computer to execute an image processing method in an image processing device including a long exposure distance image generation unit, a short exposure distance image generation unit, a resolution reduction unit, a detection unit, an estimation unit, and an image processing unit, the program including a first step in which the long exposure distance image generation unit calculates a parallax from a first long exposure image from a first long exposure camera that captures images by long exposure and a second long exposure image from a second long exposure camera, the long exposure distance image generation unit being arranged at a predetermined interval and calculating a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, the short exposure distance image generation unit being arranged at a predetermined interval and calculating a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, the short exposure distance image generation unit being arranged at a predetermined interval and calculating a parallax from a first short exposure image from a first short exposure camera that captures images by short exposure and a second short exposure image from a second short exposure camera, the short exposure distance image generation unit being arranged at a predetermined interval and calculating a parallax from a The present invention proposes a program for causing a computer to execute the following steps: a third step of compressing the number of pixels of blocks in which an image of a surrounding area including a light-emitting object of a forward vehicle is captured, thereby reducing the resolution; a fourth step of the detection unit detecting a pixel area where saturation is occurring in the pixel area of the low-resolution long-exposure distance image; a fifth step of the estimation unit estimating a movement distance of a specific object from the movement amount of the specific object in the pixel area where saturation is occurring in the low-resolution long-exposure distance image based on the detection result in the fourth step; and a sixth step of the image processing unit generating a distance image for the pixel area where saturation is occurring in the long-exposure distance image using distance information of the pixel area where saturation is occurring, if the difference between the movement distance of the specific object estimated in the fifth step and the actual movement distance of the vehicle is within a predetermined threshold range.
[0015] Form 8: One or more embodiments of the present invention include one or more processors and one or more memories communicatively connected to the one or more processors, the one or more processors including a long exposure distance image generation unit arranged at a predetermined interval and configured to calculate a parallax from a first long exposure image from a first long exposure camera capturing an image by long exposure and a second long exposure image from a second long exposure camera, and generate a long exposure distance image; a short long exposure distance image generation unit arranged at a predetermined interval and configured to calculate a parallax from a first short exposure image from a first short exposure camera capturing an image by short exposure and a second short exposure image from a second short exposure camera, and generate a short exposure distance image; and a long exposure distance image generation unit configured to generate a long exposure distance image from the long exposure distance image and the short exposure distance image, The present invention proposes an image processing device comprising: a low-resolution unit that compresses the number of pixels in a pixel area in which an image of a surrounding area including a light-emitting object of a vehicle is captured, thereby reducing the resolution; a detection unit that detects pixel areas where saturation occurs in the pixel area of the low-resolution long-exposure distance image; an estimation unit that estimates the movement distance of a specific object from the movement amount of the specific object in the pixel area in the low-resolution long-exposure distance image where saturation occurs based on the detection result of the detection unit; and an image processing unit that generates a distance image for the pixel area in the long-exposure distance image where saturation occurs, using distance information of the pixel area where saturation occurs, if the difference between the estimated movement distance of the specific object and the actual movement distance of the vehicle is within a predetermined threshold value. Effect of the Invention
[0016] According to one or more embodiments of the present invention, it is possible to suppress the occurrence of ghost distances due to lens glare and ensure valid distance information. [Brief description of the drawings]
[0017] [Figure 1] 1 is a diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. [Figure 2A] 1 is a diagram illustrating an example of an image obtained when a forward vehicle is imaged using a long exposure according to an embodiment of the present invention; [Figure 2B] 4 is a diagram illustrating an example of an image obtained when a forward vehicle is imaged with a short exposure time according to the embodiment of the present invention; FIG. [Figure 3A] FIG. 3 is a schematic diagram showing a case where the image of FIG. 2(A) is reduced in resolution according to the embodiment of the present invention. [Figure 3B] FIG. 3 is a schematic diagram showing a case where the image of FIG. 2(B) according to the embodiment of the present invention is made into a lower resolution image. [Figure 4] FIG. 2 is a process flow diagram of the image processing apparatus according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] <Embodiment> An image processing device 1 according to this embodiment will be described with reference to FIGS.
[0019] <About the image processing device 1> As shown in FIG. 1, an image processing apparatus 1 according to this embodiment includes a processor 100 and a memory 200.
[0020] The processor 100 executes various types of image processing. In this embodiment, the processor 100 performs image processing including, for example, a long-exposure distance image generation process, a short-exposure distance image generation process, an image resolution reduction process, a saturation area detection process from a low-resolution image, a movement distance estimation process of a specific object, and a distance image generation process. The details of each process will be described later.
[0021] The memory 200 is composed of a ROM (Read Only Memory) or a RAM (Random Access Memory) and the like, and saves and stores programs and various data. In this embodiment, the memory 200 includes a storage unit 210, and saves and stores, for example, control programs and generated image data.
[0022] An imaging device that supplies images to the image processing device 1 according to this embodiment includes an imaging device 10 and an imaging device 20, as shown in FIG. The imaging device 10 and the imaging device 20 are, for example, cameras arranged above the windshield inside the vehicle at a predetermined interval in the vehicle width direction. The imaging devices 10 and 20 constitute a pair of stereo cameras, and the distance is measured and a distance image is generated by utilizing the parallax between the image captured by the imaging device 10 and the image captured by the imaging device 20. Here, the distance image is, for example, an image that is colored according to distance, and the distance in the distance image is the distance from the imaging devices 10 and 20 to a specific object that is being measured. The imaging device 10 includes a long exposure camera 10A and a short exposure camera 10B, and the imaging device 20 includes a long exposure camera 20A and a short exposure camera 20B. The long exposure camera 10A captures an image by exposing for a longer period of time than the short exposure camera 10B. A long exposure image captured by the long exposure camera 10A is, for example, an image as shown in FIG. 2A, and a short exposure image captured by the short exposure camera 10B is, for example, an image as shown in FIG. 2B. The long-exposure image captured by the long-exposure camera 10A is an image in which the saturation caused by the light-emitting body at the rear of the forward vehicle can be confirmed over a wide range, for example, as shown in Fig. 2A. On the other hand, the short-exposure image captured by the short-exposure camera 10B is characterized in that the saturation caused by the light-emitting body at the rear of the forward vehicle can be confirmed over a narrow range, for example, as shown in Fig. 2B.
[0023] <Configuration of the processor 100> As shown in Figure 1, the processor 100 of the image processing device 1 of this embodiment is configured to include a long-exposure distance image generation unit 110, a short-exposure distance image generation unit 120, a low-resolution unit 130, a detection unit 140, an estimation unit 150, an image processing unit 160, and a control unit 170.
[0024] The long exposure distance image generation unit 110 calculates the parallax from a first long exposure image from a long exposure camera 10A (first long exposure camera) that captures images by long exposure and a second long exposure image from a long exposure camera 20A (second long exposure camera), and generates a long exposure distance image. The long exposure distance image generated in the long exposure distance image generation unit 110 is output to the control unit 170 described later via the bus line BL, and the control unit 170 temporarily stores the input long exposure distance image in the memory unit 210.
[0025] The short-exposure distance image generation unit 120 calculates parallax from a first short-exposure image from a short-exposure camera 10B (first short-exposure camera) that captures images by short-exposure and a second short-exposure image from a short-exposure camera 20B (second short-exposure camera), and generates a short-exposure distance image. The short-exposure distance image generated in the short-exposure distance image generation unit 120 is output to the control unit 170 described later via the bus line BL, and the control unit 170 temporarily stores the input short-exposure distance image in the memory unit 210.
[0026] The resolution reduction unit 130 reduces the number of pixels in the pixel area in which the surrounding area including the light emitter of the forward vehicle is captured in the long-exposure distance image and the short-exposure distance image, thereby reducing the resolution of the long-exposure distance image and the short-exposure distance image. Figures 3A and 3B are schematic diagrams showing images obtained by compressing a pixel area of 600 pixels x 300 pixels centered on the light source of the vehicle ahead into a pixel area of 6 pixels x 3 pixels in a long-exposure distance image and a short-exposure distance image, for example, to reduce the resolution. In FIG. 3A, the pixel region ISA with a light gradation is a pixel region where saturation of the light emitter IB is observed in the long exposure distance image with reduced resolution. In FIG. 3B, the pixel area DSA with the dark gradation is a pixel area where saturation of the light emitter IB is observed in the long exposure distance image with reduced resolution. The image generated by the resolution lowering section 130 is output to a control section 170 (described later) via a bus line BL, and the control section 170 temporarily stores the input generated image in a storage section 210. The resolution reduction method may be a method of using the pixel with the maximum brightness or a smoothing method, but it may also be a combination of these or other methods.
[0027] The detector 140 detects pixel regions in which saturation occurs within the pixel regions of the long exposure distance image whose resolution has been reduced. In the example of FIG. 3A, for example, the detection unit 140 detects a pixel area ISA with a light gradation in the long exposure distance image with reduced resolution. Information on the pixel area ISA detected by the detection unit 140 is output to the control unit 170 described later via the bus line BL, and the control unit 170 temporarily stores the input information on the pixel area ISA in the memory unit 210.
[0028] Based on the detection result of the detection section 140, the estimation section 150 estimates the movement distance of the specific object from the movement amount of the specific object in a pixel area ISA where saturation occurs in the low-resolution long exposure distance image. The movement distance information of the specific object estimated by the estimation unit 150 is output to the control unit 170 described later via the bus line BL, and the control unit 170 temporarily stores the input estimated movement distance information of the specific object in the memory unit 210.
[0029] When the difference between the distance traveled by a specific object estimated by the estimation unit 150 and the actual distance traveled by the vehicle is within a predetermined threshold range, the image processing unit 160 generates a distance image for pixel regions ISA where saturation occurs in the long exposure distance image, using distance information of the pixel regions ISA where saturation occurs. Here, the range of the specified threshold value can be, for example, a case where the difference between the estimated movement distance of a specific object and the actual movement distance of the vehicle is ±1 m, taking into account the type of object to be controlled and other disturbance factors. For areas where pixel area ISA where saturation occurs in the long-exposure distance image overlaps with pixel area DSA in which the light emitter IB of the forward vehicle is imaged in the short-exposure distance image, image processing unit 160 generates a distance image using distance information of pixel area DSA in which the light emitter IB of the forward vehicle is imaged in the short-exposure distance image. For pixel regions other than pixel region ISA where saturation occurs in the long exposure distance image, image processing unit 160 generates a distance image using distance information from the long exposure distance image or the short exposure distance image. The image processor 160 varies the range of the predetermined threshold and the size of the compressed pixels of the image according to the weather conditions. When light from an oncoming vehicle's light source IB or light sources IB around the road is reflected in the image, the image processing unit 160 generates a distance image from a long-exposure distance image or a short-exposure distance image that excludes reflected light including saturation.
[0030] The control unit 170 controls the overall operation of the image processing device 1 based on a control program stored in a ROM (Random Access Memory) (not shown). In this embodiment, the control unit 170 performs image processing control including, for example, long exposure distance image generation processing by the long exposure distance image generation unit 110, short exposure distance image generation processing by the short exposure distance image generation unit 120, image resolution reduction processing by the resolution reduction unit 130, saturation area detection processing from the low resolution image by the detection unit 140, movement distance estimation processing of a specific object by the estimation unit 150, and distance image generation processing by the image processing unit 160.
[0031] <Processing of image processing device 1> The processing of the image processing device 1 according to this embodiment will be described with reference to FIG.
[0032] The control unit 170 controls the long exposure distance image generating unit 110 to execute a long exposure distance image generating process for generating a long exposure distance image (step S110). The long exposure distance image generated in the long exposure distance image generation unit 110 is output to the control unit 170 via the bus line BL, and the control unit 170 temporarily stores the input long exposure distance image in the memory unit 210.
[0033] The control unit 170 controls the short exposure distance image generating unit 120 to execute a short exposure distance image generating process for generating a short exposure distance image (step S120). The short-exposure distance image generated in the short-exposure distance image generation unit 120 is output to the control unit 170 via the bus line BL, and the control unit 170 temporarily stores the input short-exposure distance image in the memory unit 210. It should be noted that steps S110 and S120 are executed simultaneously in parallel.
[0034] The control unit 170 reads out from the memory unit 210 the long-time exposure distance image generated by the long-time exposure distance image generation unit 110 and the short-time exposure distance image generated by the short-time exposure distance image generation unit 120, outputs them to the resolution reduction unit 130, and controls the resolution reduction unit 130 to perform a low-resolution process to reduce the resolution of the long-time exposure distance image and the short-time exposure distance image (step S130). The image generated in the resolution lowering section 130 is output to the control section 170 via the bus line BL, and the control section 170 temporarily stores the input low-resolution image in the storage section 210.
[0035] The control unit 170 controls the resolution reduction unit 130 to read the low-resolution long exposure distance image from the memory unit 210 and output it to the detection unit 140, and controls the detection unit 140 to perform a detection process to detect pixel areas where saturation is occurring in the pixel areas of the low-resolution long exposure distance image (step S140). Information on pixel area ISA detected by detection unit 140 is output to control unit 170 via bus line BL, and control unit 170 temporarily stores the input information on pixel area ISA in storage unit 210.
[0036] The control unit 170 reads out information about the pixel area ISA detected by the detection unit 140 from the memory unit 210 and outputs it to the estimation unit 150, and controls the estimation unit 150 to execute a movement distance estimation process to estimate the movement distance of a specific object from the movement amount of the specific object in the pixel area ISA where saturation has occurred in the low-resolution long exposure distance image based on the information about the detected pixel area ISA (step S150). The movement distance information of the specific object estimated by the estimation unit 150 is output to the control unit 170 via the bus line BL, and the control unit 170 temporarily stores the input estimated movement distance information of the specific object in the memory unit 210.
[0037] The control unit 170 reads out from the memory unit 210 the long-exposure distance image generated by the long-exposure distance image generation unit 110, the short-exposure distance image generated by the short-exposure distance image generation unit 120, and the movement distance information of a specific object estimated by the estimation unit 150, and controls the image processing unit 160 to perform a distance image generation process to generate a distance image using the distance information of the pixel area ISA where saturation is occurring for the pixel area ISA where saturation is occurring in the long-exposure distance image if the difference between the estimated movement distance of the specific object and the actual movement distance of the vehicle is within a predetermined threshold range, and outputs the processing result of the image processing unit 160 to the driving control unit, thereby completing all processing (step S160).
[0038] <Actions and Effects> As described above, the image processing device 1 of this embodiment is equipped with a resolution reduction unit 130 that compresses the number of pixels in a pixel area in which the surrounding area including the light emitter IB of the forward vehicle is captured in a long-exposure distance image and a short-exposure distance image, thereby reducing the resolution. In the distance image in which the light-emitting object IB of the forward vehicle is captured, images in which saturated and non-saturated light are expanded are also captured. When distance is calculated from a distance image that contains an image of this expanded light, ghost distance occurs. On the other hand, in the long-exposure distance image and the short-exposure distance image, if the number of pixels in the pixel area in which the surrounding area including the light emitter IB of the forward vehicle is captured is compressed and the resolution is reduced, the pixels that capture the expanded light can be enlarged to determine whether or not they are saturated. Therefore, by lowering the resolution of the distance image, it is possible to accurately determine whether or not there is saturation, and to suppress the occurrence of ghost distances. Moreover, the image processing device 1 according to this embodiment includes a detection section 140 that detects pixel regions in which saturation occurs in the pixel regions of the long exposure distance image whose resolution has been reduced. That is, the detection unit 140 detects pixel regions in which saturation occurs, targeting pixel regions in the long exposure distance image whose resolution has been reduced. Therefore, the pixel areas of the low-resolution long exposure distance image can be clearly distinguished into pixel areas where saturation occurs and pixel areas where saturation does not occur, and the pixel areas where saturation occurs can be accurately detected. In addition, the image processing device 1 of this embodiment is equipped with an image processing unit 160 that generates a distance image for pixel areas where saturation occurs in the long exposure distance image when the difference between the estimated movement distance of a specific object and the actual movement distance of the vehicle is within a predetermined threshold range, using distance information of the pixel areas where saturation occurs. Here, the estimated movement distance of a specific object is the movement distance of a specific object estimated from the amount of movement of the specific object in a pixel area where saturation occurs in the low-resolution long exposure distance image. In other words, when there is a large discrepancy between the estimated movement distance of a specific object and the actual movement distance of the host vehicle, the degree to which saturation affects the distance calculation is large. Therefore, if the deviation between the estimated movement distance of a specific object and the actual movement distance of the vehicle is within a predetermined threshold range, that is, the degree to which saturation affects the distance calculation is small and using the distance information of the pixel area where saturation occurs in generating a distance image does not impair reliability, the distance image is generated using the distance information of the pixel area where saturation occurs. This makes it possible to obtain the necessary distance information even in a situation where saturation occurs. In addition, the specified threshold range is intended to avoid collisions with objects ahead on the road on which the vehicle is traveling, specifically, a vehicle ahead equipped with an light emitter IB, and pedestrians and animals that are imaged by reflecting surrounding light. In particular, the amount of distance-related information obtained from pedestrians, animals, and the like that are captured by reflecting surrounding light is small. Therefore, when the deviation between the estimated movement distance of a specific object and the actual movement distance of the vehicle is within a predetermined threshold range, a distance image can be generated using distance information of the pixel area where saturation is occurring, thereby making it possible to avoid a collision with an object ahead on the roadway on which the vehicle is traveling. Therefore, according to the image processing device 1 of this embodiment, it is possible to suppress the occurrence of ghost distances due to lens glare and ensure valid distance information.
[0039] The image processing unit 160 of the image processing device 1 in this embodiment generates a distance image for areas where a pixel area where saturation occurs in the long-exposure distance image overlaps with a pixel area in which the light emitter IB of the forward vehicle is imaged in the short-exposure distance image, using distance information of the pixel area in which the light emitter IB of the forward vehicle is imaged in the short-exposure distance image. That is, the area where a pixel area where saturation occurs in the long-exposure distance image overlaps with a pixel area in which the light emitter IB of the forward vehicle is captured in the short-exposure distance image is a region with strong saturation. Therefore, in areas where a pixel area where saturation occurs in the long-exposure distance image overlaps with a pixel area in which the light emitter IB of the forward vehicle is captured in the short-exposure distance image, a distance image is generated using distance information from the pixel area in which the light emitter IB of the forward vehicle is captured in the short-exposure distance image, which has less lens glare. Therefore, according to the image processing device 1 of this embodiment, it is possible to suppress the occurrence of ghost distances due to lens glare and ensure valid distance information.
[0040] The image processing unit 160 of the image processing device 1 according to this embodiment generates a distance image using distance information of the long exposure distance image or the short exposure distance image for pixel areas other than those in which saturation occurs in the long exposure distance image. That is, for pixel regions other than those in which saturation occurs in the long exposure distance image, a distance image is generated using distance information from the high resolution long exposure distance image or the high resolution short exposure distance image. It is preferable to determine whether to use the distance information of the long-exposure distance image or the short-exposure distance image based on the edge strength and degree of saturation in the pixel region caused by the other light emitter IB.
[0041] The image processing unit 160 of the image processing device 1 according to this embodiment varies the range of the predetermined threshold value and the size of compressed pixels of the image according to the weather conditions. In other words, when the weather is rainy or snowing, rainwater or snow will adhere to the outer surface of the windshield, reducing the image quality of the long-exposure distance image or short-exposure distance image, and there is a high possibility that the saturation caused by the light emitter IB will be captured as being greater than it actually is. Therefore, in the case of weather conditions such as rain or snow, for example, it is desirable to adjust the predetermined threshold range. Therefore, according to the image processing device 1 according to this embodiment, even if disturbance occurs, it is possible to suppress the occurrence of ghost distances due to lens glare and ensure valid distance information.
[0042] When light from an oncoming vehicle's light source IB or light sources IB around the road is reflected in an image, the image processing unit 160 of the image processing device 1 of this embodiment generates a distance image from a long-exposure distance image or a short-exposure distance image that excludes the reflected light, including the saturation of the light source IB. In other words, it is possible to detect the reflection of light including saturation caused by the light emitting object IB of an oncoming vehicle or the light emitting object IB in the vicinity of the road, and the light emitting object IB of an oncoming vehicle or the light emitting object IB in the vicinity of the road. On the other hand, by being able to detect light sources IB such as the headlights of oncoming vehicles and light sources IB such as street lights around the road, it is possible to accurately determine not only pixels where saturation is occurring, but also the expected ghost distance occurrence area, which includes areas where ghost distance is likely to occur, such as around light sources IB. Therefore, a process can be performed to suppress the occurrence of ghost distance in areas where ghost distance is expected to occur, so that even if external disturbances occur, the occurrence of ghost distance due to lens glare can be suppressed and valid distance information can be secured.
[0043] The image processing device 1 of the present invention can be realized by recording the processing of the processor 100 in a recording medium readable by a computer system, and having the processor 100 read and execute the program recorded on this recording medium. The computer system here includes hardware such as an OS and peripheral devices.
[0044] Furthermore, "computer system" also includes the homepage providing environment (or display environment) if a WWW (World Wide Web) system is used. The above program may be transmitted from a computer system in which the program is stored in a storage device or the like to another computer system via a transmission medium, or by transmission waves in the transmission medium. Here, the "transmission medium" that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
[0045] The program may be for implementing some of the functions described above, or may be a so-called differential file (differential program) that can implement the functions described above in combination with a program already recorded in the computer system.
[0046] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Explanation of symbols]
[0047] 1. Image processing device 10. Imaging device 20. Imaging device 100;Processor 110: Long-exposure distance image generation unit 120: Short-time exposure distance image generation unit 130; Low-resolution section 140:Detection section 150;Estimation part 160 Image processing unit 170; Control section 200;Memory 210;Memory part
Claims
1. a long exposure distance image generator that calculates a parallax between a first long exposure image from a first long exposure camera that captures an image by long exposure and a second long exposure image from a second long exposure camera, the long exposure distance image generator being disposed at a predetermined interval and that generates a long exposure distance image; a short / long exposure distance image generating unit that calculates a parallax from a first short-exposure image from a first short-exposure camera that captures an image by short-exposure and a second short-exposure image from a second short-exposure camera that are arranged at a predetermined interval and that generate a short-exposure distance image; a resolution reducing unit that reduces the number of pixels in a pixel area in which a peripheral area including a light emitter of a forward vehicle is captured in the long-exposure distance image and the short-exposure distance image; a detection unit that detects pixel regions in which saturation occurs in a pixel region of the long exposure distance image whose resolution has been reduced; an estimation unit that estimates a movement distance of a specific object from an amount of movement of the specific object in a pixel region where the saturation occurs in the long exposure distance image whose resolution has been reduced based on a detection result of the detection unit; an image processing unit that generates a distance image for a pixel region where saturation occurs in the long exposure distance image by using distance information of the pixel region where saturation occurs when the difference between the estimated movement distance of the specific object and the actual movement distance of the host vehicle is within a predetermined threshold range; An image processing device comprising:
2. The image processing device described in claim 1, characterized in that, for areas where the pixel area in the long-exposure distance image where the saturation occurs overlaps with the pixel area in the short-exposure distance image in which the light-emitting object of the forward vehicle is imaged, the image processing unit generates a distance image using distance information of the pixel area in the short-exposure distance image in which the light-emitting object of the forward vehicle is imaged.
3. The image processing device according to claim 2, characterized in that the image processing unit generates a distance image using distance information of the long exposure distance image or the short exposure distance image for pixel areas other than the pixel areas in which the saturation occurs in the long exposure distance image.
4. 2. The image processing apparatus according to claim 1, wherein the image processing unit varies the range of the predetermined threshold value and the size of compressed pixels of the image depending on weather conditions.
5. The image processing device described in claim 1, characterized in that, when light from an oncoming vehicle or an oncoming vehicle's light source around the road is reflected in the image, the image processing unit generates the distance image from the long-exposure distance image or the short-exposure distance image in which the light reflection, including the saturation of the light source, is excluded.
6. An image processing method in an image processing device including a long-exposure distance image generating unit, a short-exposure distance image generating unit, a resolution reducing unit, a detection unit, an estimation unit, and an image processing unit, comprising: a first step in which the long exposure distance image generating unit calculates a parallax between a first long exposure image from a first long exposure camera and a second long exposure image from a second long exposure camera, the first long exposure image generating unit being disposed at a predetermined interval and capturing an image by long exposure, to generate a long exposure distance image; a second step in which the short-exposure distance image generating unit calculates a parallax between a first short-exposure image from a first short-exposure camera and a second short-exposure image from a second short-exposure camera, the first short-exposure camera and the second short-exposure image being arranged at a predetermined interval and capturing an image by short-exposure, to generate a short-exposure distance image; a third step in which the resolution reducing unit reduces the number of pixels of a block in which a peripheral area including a light-emitting object of a forward vehicle is captured in the long-exposure distance image and the short-exposure distance image, thereby reducing the resolution; a fourth step in which the detection unit detects a pixel area in which saturation occurs in a pixel area of the long exposure distance image whose resolution has been reduced; a fifth step in which the estimation unit estimates a movement distance of a specific object from an amount of movement of the specific object in a pixel region in which saturation occurs in the long exposure distance image whose resolution has been reduced based on the detection result in the fourth step; and a sixth step in which, when a difference between the moving distance of the specific object estimated in the fifth step and an actual moving distance of the vehicle is within a predetermined threshold range, the image processing unit generates a distance image for a pixel region in which saturation occurs in the long exposure distance image by using distance information of the pixel region in which saturation occurs; An image processing method comprising:
7. A program for causing a computer to execute an image processing method in an image processing device including a long-exposure distance image generating unit, a short-exposure distance image generating unit, a resolution reducing unit, a detection unit, an estimation unit, and an image processing unit, the program comprising: a first step in which the long exposure distance image generating unit calculates a parallax between a first long exposure image from a first long exposure camera and a second long exposure image from a second long exposure camera, the first long exposure image generating unit being disposed at a predetermined interval and capturing an image by long exposure, to generate a long exposure distance image; a second step in which the short-exposure distance image generating unit calculates a parallax between a first short-exposure image from a first short-exposure camera and a second short-exposure image from a second short-exposure camera, the first short-exposure camera and the second short-exposure image being arranged at a predetermined interval and capturing an image by short-exposure, to generate a short-exposure distance image; a third step in which the resolution reducing unit reduces the number of pixels of a block in which a peripheral area including a light-emitting object of a forward vehicle is captured in the long-exposure distance image and the short-exposure distance image, thereby reducing the resolution; a fourth step in which the detection unit detects a pixel area in which saturation occurs in a pixel area of the long exposure distance image whose resolution has been reduced; a fifth step in which the estimation unit estimates a movement distance of a specific object from an amount of movement of the specific object in a pixel region in which saturation occurs in the long exposure distance image whose resolution has been reduced based on the detection result in the fourth step; and a sixth step in which, when a difference between the moving distance of the specific object estimated in the fifth step and an actual moving distance of the vehicle is within a predetermined threshold range, the image processing unit generates a distance image for a pixel region in which saturation occurs in the long exposure distance image by using distance information of the pixel region in which saturation occurs; A program for causing a computer to execute the following.
8. one or more processors; and one or more memories communicatively coupled to the one or more processors; Equipped with The one or more processors: a long exposure distance image generator that calculates a parallax between a first long exposure image from a first long exposure camera that captures an image by long exposure and a second long exposure image from a second long exposure camera, the long exposure distance image generator being disposed at a predetermined interval and that generates a long exposure distance image; a short / long exposure distance image generating unit that calculates a parallax from a first short-exposure image from a first short-exposure camera that captures an image by short-exposure and a second short-exposure image from a second short-exposure camera that are arranged at a predetermined interval and that generate a short-exposure distance image; a resolution reducing unit that reduces the number of pixels in a pixel area in which a peripheral area including a light emitter of a forward vehicle is captured in the long-exposure distance image and the short-exposure distance image; a detection unit that detects pixel regions in which saturation occurs in a pixel region of the long exposure distance image whose resolution has been reduced; an estimation unit that estimates a movement distance of a specific object from an amount of movement of the specific object in a pixel region where the saturation occurs in the long exposure distance image whose resolution has been reduced based on a detection result of the detection unit; an image processing unit that generates a distance image for a pixel region where saturation occurs in the long exposure distance image by using distance information of the pixel region where saturation occurs when the difference between the estimated movement distance of the specific object and the actual movement distance of the host vehicle is within a predetermined threshold range; An image processing device comprising:
Citation Information
Patent Citations
Image processor, image processor for vehicle, image display device for vehicle and vehicle controller
JP2009065360A
Image processing device, image processing method, mobile equipment, and program
JP2021156579A
