Image processing device and image processing program

The image processing device addresses misalignment and distortion in composite images by using road surface information to correct parallax and set virtual viewpoints, ensuring a natural and seamless wide-field image generation.

JP2024124195AInactive Publication Date: 2024-09-12KK TOKAI RIKA DENKI SEISAKUSHO +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023032195
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing systems struggle with misalignment and distortion when combining images from multiple cameras, particularly for road surfaces with few distinct features, leading to noise and disturbances in the composite image.

Method used

An image processing device that captures overlapping images from multiple cameras, utilizes road surface information to correct pixel and parallax information, and sets virtual viewpoints to generate a wide-field image without distortions or double images.

Benefits of technology

The device effectively suppresses image shifts and disturbances, particularly on road surfaces, by accurately identifying and correcting parallax and pixel information, resulting in a more natural and seamless composite image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024124195000001
    Figure 2024124195000001
Patent Text Reader

Abstract

To provide an image processing device and an image processing program, suppressing an occurrence of image shift or disturbance when a plurality of images are composited.SOLUTION: An image processing device according to the present disclosure, when capturing images by means of a plurality of image capture devices mounted on a vehicle, generates a wide field-of-view image by compositing a plurality of captured images such that portions of captured regions overlap with one another. The image processing device includes: an acquisition unit that can acquire the plurality of images captured by the plurality of image capture devices; a road surface information storage unit that stores road surface information including information relating to a region corresponding to a road surface, which is travelled by the vehicle and which is in the plurality of images captured by the plurality of image capture devices; a correction unit that, based on the road surface information, identifies the region corresponding to the road surface in an overlapping portion where the plurality of images acquired by the acquisition unit overlap and corrects pixel information for the region corresponding to the road surface; and a composition unit that composites the plurality of images.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an image processing device and an image processing program. [Background technology]

[0002] A wide-field image is generated by synthesizing images captured by two or more cameras installed at intervals on a vehicle, etc. When synthesizing images in this way, it is common to correct image misalignment using a predetermined virtual screen (projection position) as a reference.

[0003] The following Patent Document 1 describes that when capturing images using multiple imaging devices and synthesizing multiple images captured so that an overlapping area is formed where the captured areas of the images overlap, an image for a virtual viewpoint set to correspond to the overlapping area is generated by interpolating from the images captured by the multiple imaging devices. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-67977 Summary of the Invention [Problem to be solved by the invention]

[0005] When generating an interpolated image from two images as in Patent Document 1, it is relatively easy to generate a composite image without misalignment or distortion for objects with clear characteristics among those reflected in the overlapping portion, such as other vehicles whose boundaries are easy to identify, because the corresponding relationship of the object is easy to identify and noise is unlikely to be included. On the other hand, objects with relatively few characteristics, in particular the road surface on which the vehicle runs and the white lines of the same shape formed on the road surface, tend to include noise when identifying the corresponding relationship of the object, and are prone to image misalignment and distortion when composited.

[0006] In view of the above-mentioned problems, an object of the present disclosure is to provide an image processing device and an image processing program that suppress the occurrence of image misalignment or distortion when combining multiple images. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, an image processing device according to a first aspect of the present disclosure is an image processing device that generates a wide-field image by combining multiple images captured by multiple imaging devices mounted on a vehicle so that parts of the imaging areas of the images overlap, and includes an acquisition unit capable of acquiring the multiple images captured by the multiple imaging devices, a road surface information storage unit that stores road surface information including information about an area corresponding to the road surface on which the vehicle is traveling in the multiple images captured by the multiple imaging devices, a correction unit that identifies an area corresponding to the road surface within the overlapping area where the multiple images acquired by the acquisition unit overlap based on the road surface information and corrects pixel information of the area corresponding to the road surface, and a synthesis unit that synthesizes the multiple images.

[0008] In the image processing device as described above, the area corresponding to the road surface in the image can be accurately identified, and the distance from the imaging device to the road surface captured in the image is not erroneously recognized, etc. Furthermore, the composite image is less likely to be displaced or distorted.

[0009] An image processing device according to a second aspect of the present disclosure is an image processing device according to the first aspect of the present disclosure, wherein the synthesis unit includes a virtual viewpoint setting unit that sets at least one virtual viewpoint for the overlap portion, an interpolated image generation unit that generates an image for the virtual viewpoint set by the virtual viewpoint setting unit by interpolating from the multiple images, and a connection unit that connects the interpolated image generated by the interpolated image generation unit to an image of the multiple images excluding the overlap portion.

[0010] In the image processing device as described above, by providing a virtual viewpoint for synthesis, it is possible to obtain a wide-field image without problems such as the occurrence of double images of the subject or disappearance of the subject.

[0011] An image processing device according to a third aspect of the present disclosure is an image processing device according to the first or second aspect of the present disclosure, wherein the road surface information includes disparity information of an area corresponding to the road surface, and the correction unit corrects the disparity information in pixel information of the area corresponding to the road surface based on the road surface information.

[0012] In the image processing device as described above, the correction unit appropriately corrects the disparity information of the area corresponding to the road surface, so that when the images are synthesized, the inclusion of noise in the area corresponding to the road surface can be suppressed.

[0013] An image processing device according to a fourth aspect of the present disclosure is the image processing device according to the third aspect of the present disclosure, wherein the disparity information includes information on a distance from the imaging device to an object; The correction unit corrects the disparity information in pixel information of an area corresponding to the road surface such that the distance specified by the disparity information in the pixel information of the area corresponding to the road surface is greater than or equal to the distance specified by the disparity information in the road surface information.

[0014] In the image processing device as described above, if the distance from the imaging device to the area corresponding to the road surface is erroneously recognized, it is possible to make the distance closer to the correct distance by performing a correction.

[0015] An image processing device according to a fifth aspect of the present disclosure is an image processing device according to any one of the first to fourth aspects of the present disclosure, further including a road surface information update unit that extracts feature points of the road surface from the multiple images and updates the road surface information.

[0016] In the image processing device as described above, it is possible to realize correction according to the characteristics of the road surface on which the vehicle is traveling.

[0017] An image processing program according to a sixth aspect of the present disclosure causes a computer to operate as any one of the image processing devices described above in the first to fifth aspects.

[0018] In the image processing program described above, the correction unit corrects the information on the area corresponding to the road surface, so that the synthesized image is less likely to be distorted or distorted. Effect of the Invention

[0019] According to the image processing device and image processing program of the present disclosure, it is possible to suppress the occurrence of image misalignment or distortion when combining multiple images. [Brief description of the drawings]

[0020] [Figure 1] 1 is a schematic structural diagram illustrating an example of a hardware configuration of an image processing device according to an embodiment of the present disclosure. [Diagram 2] 2 is an explanatory diagram of two imaging devices applied to the image processing device shown in FIG. 1, viewed from a direction intersecting the optical axis. [Diagram 3] 2 is a schematic block diagram showing an example of a software configuration of the image processing device shown in FIG. 1. [Figure 4] 2 is a flowchart showing an example of an image processing process using the image processing device shown in FIG. 1. [Diagram 5] 2 is a diagram showing an example of images captured by the two cameras shown in FIG. 1 at the same timing. [Figure 6] FIG. 6 is a diagram showing an example of a wide-field image obtained by combining the two captured images shown in FIG. 5. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Hereinafter, each embodiment for carrying out the present disclosure will be described with reference to the drawings. In addition, the scope necessary for the description to achieve the object of the present disclosure will be shown in a schematic manner below, and the scope necessary for the description of the relevant part of the present disclosure will be mainly described, and the parts for which description is omitted will be described according to the publicly known technology. In addition, the same or similar reference numerals are given to the same or corresponding members in the drawings, and duplicate descriptions are omitted. Furthermore, when a single drawing contains a plurality of the same or corresponding members, in order to make the drawing easier to see, only some of them may be given reference numerals.

[0022] FIG. 1 is a schematic structural diagram showing an example of a hardware configuration of an image processing device according to an embodiment of the present disclosure. The image processing device 1 according to the present embodiment may be capable of generating a wide-field image by synthesizing images captured by two cameras (specifically, an L camera 2 and an R camera 3 described later) that are adjacently arranged with a predetermined gap in the width direction of the vehicle, among cameras as an example of a plurality of imaging devices mounted on a vehicle. The generated wide-field image can be displayed on a monitor (specifically, a monitor 4 described later) mounted in the vehicle, for example. The wide-field image is preferably an image that can assist the field of view of a user, for example, a driver of the vehicle. An example of such an image is the rear view of the vehicle.

[0023] The image processing device 1 according to the present embodiment may be configured, for example, by a known computer including a microcontroller. More specifically, it may be configured by at least a part of an ECU (Electronic Control Unit) mounted on a vehicle. As shown in FIG. 1, the image processing device 1 may include at least a processor 11, a ROM (Read Only Memory) 12 and a RAM (Random Access Memory) 13 as examples of memory, a storage 14, and an input / output interface 15. These components may be connected to each other via an internal bus so as to be able to communicate with each other.

[0024] The processor 11 may be configured, for example, as a CPU (Central Processing Unit) and may be capable of executing various programs and controlling each part. Specifically, the processor 11 may be capable of reading various programs stored in the ROM 12 or the storage 14 and executing the programs using the RAM 13 as a working area. The processor 11 may be capable of controlling each component constituting the image processing device 1 and performing various arithmetic processing according to the programs.

[0025] The ROM 12 may be capable of storing various programs and various data, and the RAM 13 may be capable of temporarily storing programs or data as a working area.

[0026] The storage 14 can be configured with a recording medium such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. The storage 14 may store various programs including an operating system and various data (e.g., road surface information) required to operate the image processing device 1. In this embodiment, the ROM 12 or the storage 14 may store an image processing program and various data for generating a wide-field image from images captured by each camera.

[0027] The input / output interface 15 may be capable of acquiring captured images 112, 113 (see FIG. 5) from the L camera 2 and the R camera 3, and transmitting a wide-field image 200 (see FIG. 6) to the monitor 4. Specifically, the input / output interface 15 may be connected to at least the L camera 2, the R camera 3, and the monitor 4 via wired or wireless communication, and may be capable of mutual data communication.

[0028] Fig. 2 is an explanatory diagram of two imaging devices applied to the image processing device shown in Fig. 1, viewed from a direction intersecting the optical axis. As shown in Fig. 2, the L camera 2 and the R camera 3 are an example of a plurality of imaging devices mounted on a vehicle, and in particular refer to two cameras that capture images with their imaging areas partially overlapping. Fig. 2 illustrates an example in which the L camera 2 and the R camera 3 are stereo cameras installed at the rear of the vehicle.

[0029] The L camera 2 and the R camera 3 may be two-dimensional cameras using imaging elements such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The L camera 2 refers to a camera located on the left side of the vehicle relative to the R camera 3, and the R camera 3 refers to a camera located on the right side of the vehicle relative to the L camera 2. In this embodiment, the L camera 2 and the R camera 3 are exemplified as cameras that are similar except for their positions, but the functions, sizes, etc. may be different.

[0030] 2, the optical axes of the L camera 2 and the R camera 3 are not parallel to each other but point outward, and it is preferable to make the fields of view of the L camera 2 and the R camera 3 different in order to obtain a wide-field image with a wider field of view. Note that, although the optical axes of the L camera 2 and the R camera 3 are mutually outward-facing in FIG. 2, they may be parallel to each other.

[0031] The imaging area 102 of the L camera 2 and the imaging area 103 of the R camera 3 partially overlap. Therefore, the captured images captured by these cameras have overlapping portions 104 (see FIG. 2). In the image processing device 1 according to this embodiment, it is possible to suppress the occurrence of misalignment and disturbance when synthesizing the images of the overlapping portions 104. Note that the imaging areas 102 and 103 of each camera shown in FIG. 2 are examples of imaging areas used to generate a wide-field image, but the field of view range of each camera (in other words, the imageable angle of view) may be wider than these imaging areas 102 and 103. A specific image synthesis process will be described later.

[0032] The monitor 4 may be for providing the wide-field image generated by the image processing device 1 to a user, for example, a driver of a vehicle. The monitor 4 may be configured with a known display device such as a liquid crystal display (LCD) or an organic electro-luminescent display (OELD), and a display driver for displaying a desired image on the display device. The monitor 4 may be disposed, for example, in place of a rearview mirror in the vehicle, or in an appropriate location in the instrument panel in the vehicle.

[0033] Fig. 3 is a schematic block diagram showing an example of the software configuration of the image processing device shown in Fig. 1. As shown in Fig. 3, the image processing device 1 according to this embodiment includes at least an acquisition unit 21 capable of acquiring a plurality of images captured by the L camera 2 and the R camera 3, a road surface information storage unit 22 in which road surface information including information on an area corresponding to the road surface on which the vehicle runs in the plurality of images captured by the L camera 2 and the R camera 3 is stored, a correction unit 23 that specifies an area corresponding to the road surface in an overlapping portion 104 where the plurality of images acquired by the acquisition unit 21 overlap based on the road surface information, corrects pixel information of the area corresponding to the road surface, and a synthesis unit 24 that synthesizes the plurality of images. In addition to the above-mentioned configuration, the image processing device 1 according to this embodiment may further include an output unit 25 that outputs an image (wide-field image) synthesized by the synthesis unit 24 to the monitor 4.

[0034] The acquisition unit 21 and the output unit 25 can be realized mainly by the input / output interface 15. The captured images acquired by the acquisition unit 21 are sent to various parts of the synthesis unit 24 to generate a composite image, and the composite image generated by the synthesis unit 24 is sent from the output unit 25 to the monitor 4 and can be provided to the user as a wide-field image.

[0035] The road surface information storage unit 22 may store road surface information, particularly information related to the road surface captured by each camera, and can be realized mainly by the storage 14 and / or the ROM 12. The road surface information stored in this road surface information storage unit 22 includes at least information related to the distance between the camera and the road surface. The road surface information can be collected by measuring or calculating the installation position of each camera and the distance from the camera to the road surface, for example, when calibrating each camera, but the method of collecting the road surface information is not particularly limited. In addition, this road surface information is used when correcting the image in the correction unit 23.

[0036] In this embodiment, the road surface information is exemplified as being composed of disparity values ​​(one example of disparity information) of the road surface included in the imaging regions 102, 103 of each camera. The disparity value is a value expressed in number of pixels that represents the distance between points (pixels) at which the same object is captured when estimating the depth of the object by using a technique called stereo matching for two images capturing the same object. This disparity value correlates with the distance to the object, and the value decreases as the object becomes farther away. Therefore, it can be said that the disparity value includes information regarding the distance from the camera to the object. The road surface information may be composed of information other than the above-mentioned disparity value.

[0037] As described above, the road surface information is composed of information related to the distance from the camera to the road surface, but the distance may change depending on the condition of the road surface on which the vehicle is traveling (for example, when the road surface is generally inclined to the left or right). Therefore, it is preferable that the image processing device 1 according to this embodiment further includes a road surface information update unit 26 capable of extracting characteristic points of the road surface on which the vehicle is actually traveling and updating the road surface information based on the characteristic points.

[0038] The road surface information update unit 26 may be capable of updating the road surface information by detecting characteristic points of the road surface on which the vehicle is traveling while the vehicle is traveling. Here, the characteristic points of the road surface may be, for example, the inclination angle of the road surface or the road surface condition. The detection of the characteristic points of the road surface may be realized by applying, for example, a well-known white line detection technology.

[0039] The correction unit 23 identifies an area in the overlap portion 104 that corresponds to the road surface in the captured image, and corrects pixel information of the area that corresponds to the road surface. The road surface information stored in the road surface information storage unit 22 is used for the correction by the correction unit 23. In this embodiment, the correction unit 23 is exemplified as one that functions as a part of the interpolation image generation unit 32, which will be described later, that is included in the synthesis unit 24. Hereinafter, the image of the overlap portion 104 after correction by the correction unit 23 is also referred to as a corrected image.

[0040] More specifically, the correction unit 23 may correct the disparity information in the pixel information of the region corresponding to the road surface in the captured image, which is in the overlap portion 104, such that the distance specified by the disparity information in the pixel information of the region corresponding to the road surface is equal to or greater than the distance specified by the disparity information in the road surface information. The correction process by the correction unit 23 will be described in detail later.

[0041] Incidentally, when generating a composite image of the overlapping portion 104, if the image information of the L camera 2 and the image information of the R camera 3 are simply composited, a phenomenon may occur in which a subject on the back side of the virtual screen 100 appears double (double image) due to mutual parallax. The double image depends on the interval (distance) between the L camera 2 and the R camera 3. In addition, if the image information of the L camera 2 and the image information of the R camera 3 are simply composited, the imaging areas 102, 103 are formed in a fan shape, so that a blind spot area 106 (see FIG. 2) is formed in front of the virtual screen 100.

[0042] In the image processing device 1 according to the present embodiment, an image at a virtual viewpoint with adjusted parallax is generated from the image captured by the L camera 2 and the image captured by the R camera 3, and the occurrence of double images and the blind spot area 106 are reduced. The viewpoints may be generated at equal intervals, but narrowing the viewpoint intervals can make the seams less noticeable. Furthermore, among the generated images (interpolated images), on the side connected to the part other than the overlap part 104 of the image captured by the L camera 2, the virtual viewpoint is set to the vicinity of the position of the L camera 2, and on the side connected to the part other than the overlap part 104 of the image captured by the R camera 3 of the generated wide-field image, the virtual viewpoint is set to the vicinity of the position of the R camera 3, so that the seams at the parts joined at the image joining part can be made less noticeable.

[0043] In order to generate the above-mentioned images, the synthesis unit 24 in the image processing device 1 may include a virtual viewpoint setting unit 31 that sets at least one virtual viewpoint for the overlap unit 104, an interpolated image generation unit 32 that generates an image for the virtual viewpoint set by the virtual viewpoint setting unit 31, and a connection unit 33 that connects the interpolated image generated by the interpolated image generation unit 32 with images among the multiple images excluding the overlap unit 104.

[0044] The L camera 2 and the R camera 3 may each be connected to an interpolated image generating unit 32 of the image processing device 1 via the acquisition unit 21. In addition, the interpolated image generating unit 32 can generate a virtual viewpoint between the L camera 2 and the R camera 3 based on an instruction from, for example, the virtual viewpoint setting unit 31, and generate an image seen from the virtual viewpoint as an interpolated image.

[0045] In other words, as shown in Fig. 2, virtual cameras 110 are installed between the L camera 2 and the R camera 3 to capture an interpolated image from each viewpoint. The number of virtual cameras 110 may be specified by the virtual viewpoint setting unit 31. The number of virtual cameras 110 is one or more, and the practical maximum number depends on the image width of the overlapping portion 104 to be generated. In this case, a different virtual viewpoint is set for each pixel width of the generated image. The number of virtual cameras 110 may be set depending on the subject to be captured by the L camera 2 and the R camera 3, accuracy conditions (for example, limitations on the deviation width of double images), etc.

[0046] The virtual viewpoint setting unit 31 may be connected to the interpolated image generating unit 32 and be capable of determining the number and positions of the virtual cameras 110 based on images captured by the L camera 2 and the R camera 3. The viewpoint position can be indicated by a value t in which the internal division ratio of the position of the L camera 2 and the position of the R camera 3 is t:1-t, and viewpoint position information can be output to an appropriate place in the interpolated image generating unit 32 (specifically, the parallax detection unit 41 and the image mixing unit 44) as a map t(x, y) indicating t corresponding to each pixel (x, y) of the overlapping unit 104.

[0047] The above-mentioned t may be a numerical value (decimal) between 0 and 1, and for example, t=0 can correspond to the position of the L camera 2, and t=1 can correspond to the position of the R camera 3. Therefore, of the generated images, the side connected to the image of the area captured by the L camera 2 alone (L-side image 122 shown in Figs. 5 and 6) by the connection unit 33 takes a value close to 0, and conversely, the side connected to the image of the area captured by the R camera 3 alone (L-side image 123 shown in Figs. 5 and 6) takes a value close to 1, and changes continuously between them. For example, at the intermediate position, t=0.5.

[0048] The interpolated image generating unit 32 sends out the interpolated images (see the virtual camera optical axis (viewpoint) group 108 shown in FIG. 2) generated according to the number of set virtual cameras 120 to the connecting unit 33. Note that, for example, viewpoint interpolation technology can be applied to the generation process of the images of the virtual viewpoints in the interpolated image generating unit 32.

[0049] In addition to the interpolated image, it is preferable that the images captured by the L camera 2 and the R camera 3 are also input to the connection unit 33. This connection unit 33 can generate a composite image, i.e., a wide-field image, by connecting the image captured by the L camera 2, the image captured by the R camera 3, and a plurality of interpolated images.

[0050] The wide-field image generated by linking in linking section 33 is output to output section 25 and displayed on monitor 4 as described above.

[0051] 3, the interpolated image generating unit 32 may include a disparity detecting unit 41, a disparity adjusting unit 42, an image transforming unit 43, and an image mixing unit 44. In addition, the above-mentioned correcting unit 23 may function as a part of the interpolated image generating unit 32. The interpolated image generating unit 32 will be described in detail below.

[0052] The images captured by the L camera 2 and the R camera 3 are acquired by the acquisition unit 21 and input to a parallax detection unit 41 in the interpolated image generation unit 32. In addition, the parallax detection unit 41 receives input of viewpoint instruction information from the virtual viewpoint setting unit 31.

[0053] The disparity detection unit 41 calculates a disparity map d of the images captured by the L camera 2 and the R camera 3 based on the following formulas (1) and (2). Note that x and y are two-dimensional image coordinates. The disparity map d(x, y) based on the L camera 2 can be found as follows.

number

[0054] This disparity map d(x,y) is a map of values ​​that match the R image when each pixel L(x,y) of the image captured by the L camera 2 is moved horizontally by a pixel width of -d(x,y). In other words, the disparity map is an image that represents disparity values ​​in units of the number of pixels. In reality, they do not match mathematically perfectly, but are calculated by stereo matching. There are various methods for stereo matching, such as block matching and semi-global block matching, but the specific method of stereo matching is not limited in this embodiment.

[0055] Similarly, a disparity map d(x, y) based on the R camera 3 can be obtained as follows.

number

[0056] Equation (1) is the parallax based on the L camera 2, and equation (2) is the parallax based on the R camera 3, and the calculation results of both equations are almost the same. However, taking into consideration the existence of areas that are only photographed by the L camera 2 and areas that are only photographed by the R camera 3, it is better to use both equations (1) and (2).

[0057] As described above, the disparity map d(x, y) calculated by the disparity detection unit 41 represents the disparity values ​​as an image. Disparity values ​​are more susceptible to noise when calculating disparity values ​​for a featureless object than when calculating disparity values ​​for a featureful object. In particular, it is not easy to calculate disparity values ​​with high accuracy for road surface portions that occupy a relatively large area with a single color or have a continuous simple pattern. Therefore, in the image processing device 1 according to this embodiment, the correction unit 23 corrects the road surface portions in the captured images to be synthesized, thereby suppressing the occurrence of misalignment and disturbance in the synthesized image of the road surface portions.

[0058] Specifically, the correction unit 23 first identifies an area corresponding to the road surface from within the captured image. The area corresponding to the road surface can be identified by calculation, for example, by identifying the angle of view of each camera, the mounting position of the camera, and the mounting angle of the camera. Next, the correction unit 23 refers to the parallax value as the road surface information stored in the road surface information storage unit 22 as the lower limit value of the parallax value calculated as the information of each pixel of the area corresponding to the identified road surface, and judges whether the parallax value calculated in the area corresponding to the road surface is greater than the lower limit value. If the parallax value calculated in the area corresponding to the road surface is greater than the above-mentioned lower limit value, it is judged that a correct parallax value has been calculated, and if it is equal to or less than the lower limit value, it is judged that an incorrect parallax value has been calculated, and replaces the calculated parallax value with the lower limit value, i.e., the parallax value of the road surface stored in the road surface information storage unit 22. A series of operations is performed for each pixel of the area corresponding to the road surface.

[0059] By performing the above-mentioned correction, the disparity value of the area corresponding to the road surface included in the corrected image becomes equal to or greater than the disparity value of the road surface, thereby significantly reducing the risk of the distance to the road surface being mistakenly perceived as greater than the actual distance.

[0060] The calculation result of the formula (1) and the correction result by the correction unit 23 are sent to the parallax adjustment unit 42. The parallax adjustment unit 42 receives the viewpoint position information from the virtual viewpoint setting unit 31.

[0061] The parallax adjustment unit 42 may calculate a deformation amount for parallax adjustment. Specifically, the parallax adjustment unit 42 calculates a deformation amount dL for parallax adjustment using the formula (3) based on the correction result of the image captured by the L camera 2 and the viewpoint position information.

number

[0062] The calculation result of equation (3) is sent to the image transformation unit 43. Image information captured by the L camera 2 is input to the image transformation unit 43. Based on the calculation result of equation (3) in the parallax adjustment unit 42 and the image information of the L camera 2, the image transformation unit 43 executes a transformation process to further correct the parallax of the image captured by the L camera 2 using equation (4).

number

[0063] The image information of the L camera 2 after the transformation process executed by the image transformation unit 43 is sent to the image mixing unit 44.

[0064] Similar to the case of the L camera 2 described above, the parallax adjustment unit 42 calculates the deformation amount dR for parallax adjustment based on the correction result of the image captured by the R camera 3 and the viewpoint position information, using equation (5).

number

[0065] The calculation result of equation (5) is sent to the image transformation unit 43. Image information captured by the R camera 3 is input to the image transformation unit 43. Based on the calculation result of equation (5) in the parallax adjustment unit 42 and the image information of the R camera 3, the image transformation unit 43 executes a transformation process to further correct the parallax of the image captured by the R camera 3 using equation (6).

number

[0066] The image information of the R camera 3 after the transformation process executed by the image transformation unit 43 is sent to the image mixing unit 44.

[0067] The image mixer 44 receives viewpoint instruction information from the viewpoint position instruction unit 31. The image mixer 44 superimposes images for each viewpoint (images for each viewpoint of the virtual camera) based on equation (7).

number

[0068] This synthesis is known as α-blending processing. By making the adoption ratio (1-t):t the inverse of the internal division ratio of the position of the L camera 2 and the R camera 3, the image changes gradually and the gap caused by the difference in image quality between the cameras is eliminated. In addition, in the part where images are linked, the image from the camera that is linked is used almost 100%, so the gap between the images to be linked is also eliminated.

[0069] The interpolated image I(x, y) of the overlap portion 104 superimposed by the image mixing unit 44 is temporarily stored in the storage 14 or the like, and is sent to the above-mentioned connection unit 33 at a predetermined timing (a state in which the image of the L camera 2 and the image of the R camera 3 are synchronized). It is preferable to perform synchronization between the cameras before the parallax detection by the parallax detection unit 41.

[0070] Next, the image processing process performed by the image processing device 1 according to this embodiment including the above-mentioned configuration will be described below mainly with reference to FIGS.

[0071] Fig. 4 is a flow chart showing an example of an image processing process using the image processing device shown in Fig. 1. Fig. 5 is a diagram showing an example of a captured image captured at the same timing by the two cameras shown in Fig. 1, where Fig. 5(A) shows an example of an image captured by the R camera, and Fig. 5(B) shows an example of an image captured by the L camera. The series of image processes shown below may be implemented by executing an image processing program that operates a computer constituting the image processing device 1. The image processing program may be stored in a recording means inside the computer, such as the storage 14, or may be provided in the form of a computer-readable recording medium.

[0072] When the image processing device 1 is powered on and the image processing process starts, first, as shown in Fig. 4, the L camera 2 and the R camera 3 operate to start capturing images, and in parallel with this, the acquisition unit 21 starts acquiring the captured images 112, 113 (see Fig. 5) captured by the L camera 2 and the R camera 3 (step S1). Next, viewpoint position indication information is acquired from the virtual viewpoint setting unit 31 (step S2).

[0073] The acquired captured images 112, 113 and viewpoint position indication information are sent to the interpolated image generation unit 32, and the parallax detection unit 41 executes parallax detection processing based on the L camera 2 and parallax detection processing based on the R camera 3 in the overlap unit 104 (step S3).

[0074] When the disparity detection unit 41 calculates the disparity value, it is determined whether or not there is an area corresponding to a road surface in the captured images 112, 113 (step S4). If it is determined that there is an area corresponding to a road surface (Yes in step S4), it is then determined whether or not the disparity value calculated in the area corresponding to the road surface is smaller than the disparity value of the road surface as the road surface information stored in the road surface information storage unit 22 (step S5).

[0075] If the disparity value calculated in the area corresponding to the road surface is smaller than the disparity value of the road surface (Yes in step S5), it is determined that the calculated disparity value contains noise, and the correction unit 23 performs a correction process for the disparity value (step S6). Specifically, a correction is performed to replace the disparity value calculated in the area corresponding to the road surface with the disparity value of the road surface.

[0076] When the above correction process is completed, a parallax adjustment process based on the parallax of the L camera 2 and a parallax adjustment process based on the parallax of the R camera 3 are executed (step S7). Then, an image deformation process based on the L camera 2 and an image deformation process based on the R camera 3 are executed (step S8).

[0077] When the above-mentioned image transformation process based on the L camera 2 and the image transformation process based on the R camera 3 are completed, an image of the overlap portion 104 based on the L camera 2 and an image of the overlap portion 104 based on the R camera 3 are obtained. Next, the image of the overlap portion 104 based on the L camera 2 and the image of the overlap portion 104 based on the R camera 3 are mixed to generate an interpolated image (step S9). The generated interpolated image may be temporarily stored.

[0078] When the interpolated image is generated, the connecting unit 33 connects the images to obtain a wide-field image (step S10). Specifically, an image 122 excluding the overlapping portion 104 from the image 112 captured by the L camera 2 (hereinafter, this image will be referred to as the "L-side image") and an image 113 excluding the overlapping portion 104 from the image 113 captured by the R camera 3 (hereinafter, this image will be referred to as the "R-side image") 123 are acquired, and the L-side image 122, the R-side image 123, and the temporarily stored interpolated image are connected together.

[0079] Finally, an image display process for the connected image is executed (step S11). The image display process refers to outputting the wide-field image (composite image) connected by the connection unit 33 to the monitor 4 via the output unit 25 and displaying it on the monitor 4.

[0080] The above-described series of processes can be continuously executed while the image processing device is in operation, thereby causing the monitor 4 to continuously display the wide-field image as a moving image.

[0081] 6 is a diagram showing an example of a wide-field-of-view image obtained by synthesizing the captured images shown in FIG. 5, where FIG. 6(A) shows an example of a wide-field-of-view image when no correction is performed by the correction unit, and FIG. 6(B) shows an example of a wide-field-of-view image when correction is performed by the correction unit. As shown in FIG. 6(A), the wide-field-of-view image 300 generated without correction of the parallax value by the correction unit 23 has image distortion in a part of the area corresponding to the road surface in the overlapping portion 104 (particularly the part indicated by the arrow X in FIG. 6(A)). In contrast, the wide-field-of-view image 200 generated by performing the correction of the parallax value by the correction unit 23 described above has a natural image without distortion in the image of the overlapping portion 104 as shown in FIG. 6(B).

[0082] As described above, in the image processing device 1 according to the present embodiment, the parallax value of the area corresponding to the road surface in the image of the overlapping portion 104 is corrected by the correction unit 23, so that it is possible to suppress the occurrence of misalignment or distortion in the image of the area corresponding to the road surface when the images are synthesized. This makes it possible to provide a more natural wide-field-of-view image to the user.

[0083] In the above-described embodiment, the L camera 2 and the R camera 3 constituting a stereo camera are illustrated as an example of an imaging device, but the imaging device is not limited to these cameras. For example, the imaging device may generate a wide-field image by synthesizing images captured by a camera installed at the rear of the vehicle and a camera installed in a portion corresponding to the door mirror of the vehicle. Alternatively, the imaging device may synthesize images captured by a plurality of cameras mounted on the vehicle and capable of functioning as an around-view monitor.

[0084] In each of the above embodiments, the processor 11, which is configured with a CPU or the like, may read and execute a program stored in the ROM 12 or the storage 14, and a processor other than the processor 11 may execute the process. In this case, the other processor may be a dedicated electric circuit, such as a PLD (Programmable Logic Device) whose circuit configuration can be changed after manufacture, such as an FPGA (Field-Programmable Gate Array), and an ASIC (Application Specific Integrated Circuit), which is a processor having a circuit configuration designed exclusively for executing a specific process. In addition, the image processing process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types, for example, by multiple FPGAs, or a combination of a CPU and an FPGA. In addition, the hardware configuration of these various processors may be an electric circuit combining circuit elements such as semiconductor elements.

[0085] The present disclosure is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present disclosure. All of these modifications are included in the technical concept of the present disclosure. In the present disclosure, each component may be present in one or more of the above-described embodiments, provided that no contradiction occurs. [Explanation of symbols]

[0086] 1 Image processing device 2 L camera (an example of an imaging device) 3 R camera (an example of an imaging device) 21 Acquisition Department 22 Road surface information storage unit 23 Correction section 24 Synthesis section 26 Road surface information update department 31 Virtual viewpoint setting section 32 Interpolated image generation unit 33 Connecting part 104 Overlap 112 Images taken by the L camera 113 R camera images

Claims

1. An image processing device that generates a wide-field image by synthesizing a plurality of images captured by a plurality of imaging devices mounted on a vehicle such that the imaging areas of the plurality of images overlap each other, the image processing device comprising: an acquisition unit capable of acquiring the plurality of images captured by the plurality of imaging devices; a road surface information storage unit in which road surface information including information on an area corresponding to a road surface on which the vehicle is traveling in the plurality of images captured by the plurality of imaging devices is stored; a correction unit that identifies an area corresponding to a road surface within an overlapping portion where the multiple images acquired by the acquisition unit overlap based on the road surface information, and corrects pixel information of the area corresponding to the road surface; A synthesis unit that synthesizes the multiple images. Image processing device.

2. The synthesis unit is a virtual viewpoint setting unit that sets at least one virtual viewpoint for the overlapping portion; an interpolated image generating unit that generates an image for the virtual viewpoint set by the virtual viewpoint setting unit by interpolating the plurality of images; a connection unit that connects the interpolated image generated by the interpolated image generation unit and an image of the plurality of images excluding the overlapping portion, The image processing device according to claim 1 .

3. the road surface information includes disparity information of an area corresponding to the road surface, The correction unit corrects disparity information in pixel information of an area corresponding to the road surface based on the road surface information. The image processing device according to claim 1 .

4. the parallax information includes information regarding a distance from the imaging device to an object; the correction unit corrects disparity information in pixel information of the region corresponding to the road surface such that a distance specified by disparity information in the pixel information of the region corresponding to the road surface is equal to or greater than a distance specified by the disparity information in the road surface information. The image processing device according to claim 3 .

5. a road surface information update unit that extracts feature points of the road surface from the plurality of images and updates the road surface information, The image processing device according to claim 1 .

6. Computer, 6. The image processing device according to claim 1, Image processing program.

Citation Information

Patent Citations

  • Image processing device and image processing program

    JP2021067977A