Vehicle assistance method and vehicle assistance device
The vehicle support method improves road sign recognition in low-resolution areas by extracting repeating patterns, calculating image movement, and performing super-resolution processing to enhance recognition accuracy for precise vehicle control.
Patent Information
- Application Number
- JP2020196878
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2024-08-16
- Estimated Expiration
- 2040-11-27
AI Technical Summary
Existing road sign recognition technologies using camera images struggle with low image resolution in areas far from the host vehicle, leading to inaccurate template matching results.
A vehicle support method that extracts repeating pattern regions from multiple images, sets these regions as reference areas, calculates movement between images, and performs super-resolution processing to generate high-resolution images for improved road structure recognition.
Enhances the accuracy of recognizing road structures in low-resolution areas by generating high-resolution images, enabling precise vehicle control and accurate automatic driving.
Smart Images

Figure 0007535442000006 
Figure 0007535442000012 
Figure 0007535442000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle assistance method and a vehicle assistance device. [Background technology]
[0002] A road sign recognition technology using camera images has been known for some time (Patent Document 1). The invention described in Patent Document 1 recognizes road signs, which are road structures, by performing template matching on camera images. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-191281 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in areas where the image resolution is low, such as areas far from the vehicle, template matching does not produce the desired results.
[0005] The present invention has been made in consideration of the above problems, and its object is to provide a vehicle assistance method and a vehicle assistance device that can improve the recognition accuracy of road structures in areas where the image resolution is low. [Means for solving the problem]
[0006] A vehicle assistance method according to one aspect of the present invention includes extracting a repeating pattern area, which is an area in which a repeating pattern having a spatial frequency component equal to or higher than a predetermined frequency exists, from each of a plurality of images captured at different times; a reference region is set within the entire region of the plurality of images captured at a predetermined time, excluding a region above the center of the image that is at infinity from the repeating pattern region; a comparison region is set within the entire region of the plurality of images captured after the predetermined time, excluding a region above the center of the image that is at infinity from the repeating pattern region; and an amount of movement on the image is calculated using an overlapping region between the reference region and the comparison region; The multiple images are aligned based on the amount of movement, and super-resolution processing is performed using the aligned multiple images to generate a super-resolution image that exceeds the resolution of the image captured by the camera, and road structures are recognized based on the super-resolution image. Effect of the Invention
[0007] According to the present invention, it is possible to improve the recognition accuracy of road structures in areas where the image resolution is low. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a configuration diagram of a vehicle assistance device 1 according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram for explaining an example of a method for extracting a repeated pattern area. [Diagram 3] FIG. 3 is a diagram for explaining an example of a method for dividing an image. [Figure 4] FIG. 4 is a diagram illustrating an example of a frequency analysis result. [Diagram 5] FIG. 5 is a diagram for explaining an example of a method for extracting a repeated pattern area. [Figure 6] FIG. 6 is a diagram for explaining an example of a method for extracting a repeated pattern area. [Figure 7] FIG. 7 is a diagram illustrating an example of the super-resolution processing. [Figure 8] FIG. 8 is a flowchart illustrating an example of the operation of the vehicle assistance device 1. [Figure 9] FIG. 9 is a flowchart illustrating an example of an operation of the vehicle assistance device 2. [Figure 10] FIG. 10 is a configuration diagram of a vehicle assistance device 3 according to a third embodiment of the present invention. [Figure 11] FIG. 11 is a diagram illustrating an example of a region of interest 70. As shown in FIG. [Figure 12] FIG. 12 is a flowchart illustrating an example of an operation of the vehicle assistance device 3. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the description of the drawings, the same parts are given the same reference numerals and the description will be omitted.
[0010] An example of the configuration of the vehicle assistance device 1 will be described with reference to Fig. 1. As shown in Fig. 1, the vehicle assistance device 1 includes a camera 10, a storage device 11, a controller 20, a steering actuator 12, an accelerator pedal actuator 13, and a brake actuator 14.
[0011] The vehicle assistance device 1 may be mounted on a vehicle having an automatic driving function, or may be mounted on a vehicle not having an automatic driving function. The vehicle assistance device 1 may also be mounted on a vehicle capable of switching between automatic driving and manual driving. The automatic driving function may be a driving assistance function that automatically controls only some of the vehicle control functions such as steering control, braking force control, and driving force control to assist the driver in driving. In this embodiment, the vehicle assistance device 1 will be described as being mounted on a vehicle having an automatic driving function.
[0012] The camera 10 has an imaging element such as a charge-coupled device (CCD) or a complementary metal oxide semiconductor (CMOS). The location where the camera 10 is installed is not particularly limited, but as an example, the camera 10 is installed in front, on the side, or behind the vehicle. The camera 10 continuously captures images of the surroundings of the vehicle at a predetermined cycle. In other words, the camera 10 acquires a plurality of images captured at different times. The camera 10 detects objects (pedestrians, bicycles, motorbikes, other vehicles, etc.) present around the vehicle, and information ahead of the vehicle (demarcation lines, traffic lights, signs, pedestrian crossings, intersections, etc.). The images captured by the camera 10 are stored in a storage device 11. Hereinafter, the images captured at different times T1, T2, . . . , Tn are referred to as images I1, I2, . . . , In.
[0013] The storage device 11 mainly stores images captured by the camera 10. The storage device 11 is, for example, configured with a HDD (Hard Disk Drive) and an SSD (Solid State Drive).
[0014] The controller 20 is a general-purpose microcomputer equipped with a CPU (Central Processing Unit), a memory, and an input / output unit. A computer program for functioning as the vehicle assistance device 1 is installed in the microcomputer. By executing the computer program, the microcomputer functions as a plurality of information processing circuits equipped in the vehicle assistance device 1. Note that here, an example is shown in which the plurality of information processing circuits equipped in the vehicle assistance device 1 are realized by software, but it is of course possible to configure the information processing circuits by preparing dedicated hardware for executing each information processing shown below. In addition, the plurality of information processing circuits may be configured by individual hardware. The controller 20 includes a repeated pattern area extraction unit 21, an image shift unit 22, a super-resolution processing unit 23, a road structure recognition unit 24, and a vehicle control unit 25 as an example of a plurality of information processing circuits.
[0015] The repeated pattern area extraction unit 21 divides the images I1, I2, ..., In captured by the camera 10 into small areas of arbitrary size, and if a repeated pattern exists in each small area, extracts that small area as a repeated pattern area. When calculating the amount of movement of the image, the repeated pattern area extraction unit 21 sets maximum values for the top, bottom, left, and right of the image. The maximum value is the largest value that is expected to move during one frame. If it is assumed that the four directions, top, bottom, left, and right, are all L pixels in the same way, the size of the small area must be at least (2L+1) x (2L+1). This is to prevent erroneous calculation of the amount of movement.
[0016] If the small regions divided in this way are R1, R2, ..., Rn, frequency analysis of each small region will determine whether a repeating pattern exists. When a two-dimensional FFT (FAST FOURIER TRANSFORM) is performed on the small region, the frequency intensity in the horizontal direction (hereinafter x direction) and vertical direction (hereinafter y direction) is detected two-dimensionally. Here, it is confirmed whether a repeating component exists in the x direction or y direction. In the x direction, all rows of the FFT result are added up for each x-direction frequency component. In the y direction, all columns of the FFT result are added up for each y-direction frequency component. From the frequency components in one direction obtained as a result, the maximum value H2 of the frequency intensity is compared with the previous minimum value H1 in a specified period (maximum value L or less), and if it is equal to or greater than a certain ratio, the small region is extracted as a repeating pattern region.
[0017] Furthermore, after performing frequency analysis on multiple small regions in an image, if the repeating pattern region exceeds a certain ratio α of the entire region of image I1, the repeating pattern region extraction unit 21 sets the entire image I1 as a reference image, and sets the region excluding the repeating pattern region as a reference region. On the other hand, if the repeating pattern region is equal to or less than the certain ratio α of the entire region of the image, the repeating pattern region extraction unit 21 sets the entire image I1 as a reference image, and sets the entire region of image I1 as a reference region. The certain ratio α is the minimum ratio that affects the accuracy when performing super-resolution processing. When the movement amount is calculated for each small region, and the average movement amount for each small region is calculated as the movement amount for the entire region, and a maximum value L, which is the maximum error, is calculated only for the repeating pattern region, αL is obtained as the total movement amount.
[0018] When the desired enlargement ratio in super-resolution processing is N, measurements must be performed with a resolution of 1 / N, so an accuracy of 1 / 2N is required when rounding is taken into account. In order for αL to be smaller than 1 / 2N, α must be smaller than 1 / 2NL. For this reason, when performing super-resolution processing in an area of 1 / 2NL or more for the desired enlargement ratio N and the maximum value L for the movement amount calculation, the accuracy of the super-resolution processing is likely to decrease. In order to calculate the movement amount in 1 / N units for the desired enlargement ratio N, at least N pixels are required when using the average movement amount of each pixel in the vertical direction, so if there are no pixels of N or more in the vertical or horizontal directions of the reference area excluding the repeated pattern area, the super-resolution processing is not performed.
[0019] The image shifting unit 22 calculates the amount of movement between the images, and aligns the images by moving them by the calculated amount of movement. The image movement amount is the amount of movement between two images. For example, SSD (Sum of Squared Difference), SAD (Sum of Absolute Difference), ZNCC (Zero-mean Normalized Cross-Correlation), etc. are used to calculate the amount of movement. Specifically, the image shifting unit 22 calculates the similarity by shifting one pixel at a time in the vertical and horizontal directions within the search range, and calculates the amount of movement to the place with the highest similarity as the amount of movement. A reference image is required to compare two images. Therefore, an image I1 captured at time T1 is used as the reference image. If image I1 is called reference image R1, reference image R1 has A pixels in the horizontal direction and B pixels in the vertical direction. The center coordinates of reference image R1 are (X1, Y1) as representative coordinates.
[0020] Next, in image I2 captured at time T2, a predetermined search range is set based on coordinates (X1, Y1). For example, if S pixels are set up top, bottom, left, and right, the search range will be from (X1-S, Y1-S) to (X1+S, Y1+S). The coordinates of the center of image I2 are (a, b). Reference image R1 and image I2 are compared, and the center coordinates (aM, bM) with the highest pixel similarity become the destination of (X1, Y1). The destination of (X1, Y1) is called (X2, Y2).
[0021] Similarly, in image I3 captured at time T3, a search range is set based on (X2, Y2). Reference image R1 and image I3 are compared, and (X3, Y3), which is the destination of (X2, Y2), is set. At this time, image shifting unit 22 may use a predetermined number of frames to update the image at that time as reference image R1. In similarity calculation, A×B pixels, which are all pixels of reference image R1, are used, and the luminance values of the same coordinates of reference image R1 and comparison image are compared. The comparison images refer to images I2 and I3.
[0022] In the case of SAD, the sum of the absolute values of the luminance differences is calculated, and in the case of SSD, the sum of the squares of the luminance differences is calculated. In addition, if the similarity is lower than the threshold value at any central pixel in the search range, the movement amount calculation is stopped. In this embodiment, in order to calculate the movement amount of the road structure without being influenced by buildings, guardrails, etc. having a repeating pattern around the vehicle, the repeating pattern area is excluded from the similarity calculation. Therefore, the area excluding the repeating pattern area extracted by the repeating pattern area extraction unit 21 in the reference image R1 is set as the reference area, and the area excluding the repeating pattern area extracted by the repeating pattern area extraction unit 21 in each comparison image is set as the comparison area, and the pixels where both areas overlap are used for the similarity calculation. As a result, the movement amount obtained is in pixel units. In order to calculate the movement amount of the pixel after the decimal point, an approximation calculation is performed using the similarity calculation result. For example, the method of Non-Patent Document 1 is used for such an approximation calculation. Non-Patent Document 1: "Motoki Arai, Kazuhiko Sumi, and Takashi Matsuyama. Optimization of correlation functions and subpixel estimation methods in image block matching. Information Processing Society of Japan Research Report Computer Vision and Image Media (CVIM) 2004.40 (2004-CVIM-144) (2004): 33-40."
[0023] By using the method of Non-Patent Document 1, the amount of movement of the decimal point of the pixel is calculated. When the desired enlargement ratio in the super-resolution processing is N, the image shift unit 22 rounds the amount of movement to 1 / N pixel. The image shift unit 22 sets the amount of movement (MX2, MY2)...(MXn, MYn) from the center coordinate (X1, Y1) of time T1 at each time T2...Tn. After that, the image shift unit 22 approximately enlarges the images J1, J2...Jn, which have a size of A pixels in the horizontal direction and B pixels in the vertical direction and are centered on the center coordinates (X1, Y1), (X2, Y2)...(Xn, Yn) at each time, by N times. As a result, the images K1, K2...Kn are generated. Methods of approximately enlargement include nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, etc. The approximately enlarged image is returned by multiplying the amount of movement, which is 1 / N pixel unit, by N times. The image shifting unit 22 performs position alignment by shifting the comparison image relative to the reference image R1 so that the center coordinates match.
[0024] The super-resolution processing unit 23 performs super-resolution processing using the images aligned by the image shift unit 22 to generate an image with high resolution. Here, the number of images required for the super-resolution processing is Z. The super-resolution processing unit 23 calculates the luminance value of each pixel by averaging the images K1, K2, Kz that are enlarged N times by the image shift unit 22 and have the same central coordinates. However, if the super-resolution processing unit 23 cannot track from the reference image R1 when Z images are not collected, or if the area where the super-resolution processing is performed is filled with moving objects, the super-resolution processing unit 23 stops the super-resolution processing. The super-resolution processing is a technique for generating an image with high resolution by referring to multiple images. In this embodiment, the resolution of the reference image R1 is increased by performing alignment so that the comparison image is superimposed on the reference image R1. In other words, an image exceeding the resolution of the image captured by the camera 10 is generated. The image generated by the super-resolution processing unit 23 is output to the road structure recognition unit 24.
[0025] The road structure recognition unit 24 recognizes road structures using the images input from the super-resolution processing unit 23. In this embodiment, road structures are defined as stationary objects. Specifically, road structures include structures such as lanes, stop lines, pedestrian crossings, road markings such as arrows, side strips, curbs, signs, and traffic lights. As an example of a method for recognizing road structures, segmentic segmentation is used, which recognizes what type of object each pixel is. The road structure recognition unit 24 outputs the recognition result to the vehicle control unit 25.
[0026] The vehicle control unit 25 controls the steering actuator 12, the accelerator pedal actuator 13, and the brake actuator 14 using the road structures recognized by the road structure recognition unit 24. The super-resolution processing makes stationary object areas clearer, thereby improving the recognition accuracy of road structures.
[0027] Next, an example of a method for extracting a repeat pattern area will be described with reference to FIGS.
[0028] Image 40 shown in Fig. 2 is an image captured by camera 10 while the host vehicle is traveling. For convenience of explanation, an example of a method for extracting a repeating pattern area will be explained using image 50, which is a portion of image 40 shown in Fig. 2. Of course, the repeating pattern area may be extracted from the entire image 40 by the method described below. Image 40 is assumed to be an image captured at time T1.
[0029] As shown in FIG. 3, the repeated pattern area extraction unit 21 divides the image 50 captured by the camera 10 into small areas of an arbitrary size. In FIG. 3, the small areas are indicated by symbols 50a to 50p. In FIG. 3, the image 50 is divided into 16 small areas. Next, the repeated pattern area extraction unit 21 judges whether or not a repeated pattern exists in each of the small areas 50a to 50p. Specifically, the repeated pattern area extraction unit 21 performs a two-dimensional FFT on each of the small areas 50a to 50p. An example of the two-dimensional FFT result is shown in FIG. 4. The result shown in FIG. 4 is the result for the x direction of an arbitrary small area. The vertical axis of FIG. 4 indicates the magnitude of the frequency component, and the horizontal axis indicates the frequency. As shown in FIG. 4, from the frequency components in one direction (here, the x direction), a maximum value H2 indicating the frequency intensity is compared with the previous minimum value H1 in a predetermined period (maximum value L or less), and if the ratio is equal to or greater than an arbitrary ratio, the small area is extracted as a repeated pattern area.
[0030] An example of the results of extracting a repeating pattern area is shown in Figure 5. The area surrounded by reference numeral 51 in Figure 5 is an area in which a repeating pattern having spatial frequency components equal to or higher than a predetermined frequency exists. In Figure 5, nine small areas, 50b, 50c, 50d, 50f, 50g, 50h, 50j, 50k, and 50i, are extracted as repeating pattern areas. Note that the area surrounded by reference numeral 51 includes buildings, which are stationary objects.
[0031] 5, the repeated pattern area exceeds a certain ratio α of the entire area of image 50, so the repeated pattern area extraction unit 21 sets the entire image 50 as a reference image. In other words, the repeated pattern area extraction unit 21 sets the image 50 itself as the reference image.
[0032] Furthermore, the repeated pattern area extraction unit 21 sets the area excluding the repeated pattern area as the reference area. The area excluding the repeated pattern area is the range surrounded by the reference symbol 52 in Fig. 6. In other words, the seven small areas 50a, 50e, 50i, 50m, 50n, 50o, and 50p are the area excluding the repeated pattern area.
[0033] The same processing as above is performed on images captured after time T2. Images captured after time T2 are images used for alignment with image 40 captured at time T1, and correspond to the comparison image described above. The area of this comparison image excluding the repeated pattern area is defined as the comparison area. If the comparison area of the image captured at time T2 is comparison area 2 and the comparison area of the image captured at time T3 is comparison area 3, image shifting unit 22 calculates the similarity between the reference area and comparison area 2, and calculates the similarity between the reference area and comparison area 3. If there is an image captured after time T4, the similarity is calculated in the same manner.
[0034] If the similarity is equal to or greater than the threshold, the image shifter 22 calculates the amount of movement on the image based on the similarity, and moves each comparison image relative to the reference image to align them. The super-resolution processor 23 then performs super-resolution processing using the images aligned by the image shifter 22. In this way, in this embodiment, the area excluding the repeating pattern area is used to calculate the similarity. In the super-resolution processing, the entire area including the repeating pattern area is used. As shown in FIG. 7, the image 50 becomes clear by such super-resolution processing. The cleared image is indicated by the reference symbol 53. In this way, according to this embodiment, the amount of movement between images can be calculated by excluding the repeating pattern area in the image, so that a high-resolution image can be generated. This improves the recognition accuracy of road markings, traffic lights, signs, and the like that are far from the vehicle. This enables the vehicle control unit 25 to quickly perform control appropriate for road markings, traffic lights, and signs, thereby realizing high-precision automatic driving.
[0035] Next, an example of the operation of the vehicle assistance device 1 will be described with reference to the flowchart of FIG.
[0036] In step S101, the surroundings of the vehicle are captured by the camera 10 mounted on the vehicle. The process proceeds to step S103, and if a reference image has been set (YES in step S103), the process proceeds to step S115. On the other hand, if a reference image has not been set (NO in step S103), the process proceeds to step S105.
[0037] In step S105, the repeated pattern area extraction unit 21 divides the image 50 captured by the camera 10 into small areas of any size (see FIG. 3). The process proceeds to step S107, where the repeated pattern area extraction unit 21 performs a two-dimensional FFT on each of the small areas 50a to 50p (see FIGS. 3 and 4). If a repeated pattern area is present (YES in step S109), the repeated pattern area extraction unit 21 sets the entire image 50 as a reference image. The repeated pattern area extraction unit 21 also sets the area excluding the repeated pattern area as a reference area (step S111).
[0038] On the other hand, if no repeat pattern area exists (NO in step S109), the repeat pattern area extraction unit 21 sets the entire image 50 as a reference image. The repeat pattern area extraction unit 21 also sets the entire area of the image 50 as a reference area (step S113).
[0039] In step S115, the repeat pattern area extraction unit 21 performs 2D FFT on the images captured after time T2 in the same manner as the image captured at time T1. The process proceeds to step S117, where the repeat pattern area extraction unit 21 sets an area excluding the repeat pattern area in the images captured after time T2 as a comparison area. The process proceeds to step S119, where the image shift unit 22 calculates the similarity between the reference area and the comparison area. As described above, the image shift unit 22 calculates the similarity of an area where the reference area and the comparison area overlap within a predetermined range. The luminance values of the same coordinates of the reference area and the comparison area are compared as the similarity. If the similarity is equal to or greater than the threshold (YES in step S121), the process proceeds to step S123. On the other hand, if the similarity is smaller than the threshold (NO in step S121), the process ends.
[0040] In step S123, the image shift unit 22 calculates the amount of movement between the images as described above, and aligns the comparison image by moving the calculated amount of movement. In step S125, the super-resolution processing unit 23 generates an image with high resolution using the image aligned by the image shift unit 22. In step S127, the image generated by the super-resolution processing unit 23 is output to the road structure recognition unit 24. In step S129, the road structure recognition unit 24 recognizes road structures using the image input from the super-resolution processing unit 23. In step S131, the vehicle control unit 25 controls the steering actuator 12, the accelerator pedal actuator 13, and the brake actuator 14 using the road structures recognized by the road structure recognition unit 24. The image becomes clearer by the super-resolution processing. This improves the recognition accuracy of the road structures.
[0041] (Action and effect) As described above, the vehicle assistance device 1 according to the first embodiment provides the following advantageous effects.
[0042] The vehicle assistance device 1 includes a camera 10 that captures the surroundings of the vehicle multiple times at different times, and a controller 20 that processes the multiple images captured by the camera 10 at different times. The controller 20 extracts a repeating pattern area, which is an area in which a repeating pattern having a spatial frequency component equal to or higher than a predetermined frequency exists, from each of the multiple images, and calculates the amount of movement on the image based on an image of an area excluding the repeating pattern area in each of the multiple images. The controller 20 aligns the multiple images based on the amount of movement, and performs super-resolution processing using the aligned multiple images. The controller 20 generates a super-resolution image that exceeds the resolution of the image captured by the camera, and recognizes road structures based on the super-resolution image. In this way, the vehicle assistance device 1 can calculate the amount of movement between images by excluding the repeating pattern area in the image, making it possible to generate a high-resolution image. This improves the recognition accuracy of road markings, traffic lights, signs, etc. that are far from the vehicle.
[0043] Consider performing super-resolution processing to detect distant road structures that cannot be detected by template matching in the above-mentioned conventional technology. If a repeating pattern is present in the area where super-resolution processing is performed, the calculation accuracy of the amount of movement decreases, and the amount of movement to be aligned for addition processing is shifted. This makes it impossible to perform super-resolution processing on the road structure to be recognized, and there is a risk of the background becoming blurred. According to the first embodiment, since the repeating pattern area in the image is excluded, the amount of movement between images can be calculated without being influenced by buildings, guardrails, etc. that have repeating patterns. This makes it possible to generate high-resolution images.
[0044] In addition, the controller 20 divides each of the multiple images into regions (small regions) of a predetermined size, and performs frequency analysis on the divided regions. The controller 20 determines whether or not a repeating pattern exists in the divided regions based on the frequency analysis results. This makes it possible to determine which small regions have a repeating pattern. In addition, since only periods less than the maximum value L are processed, processing can be omitted for low frequencies that have little effect.
[0045] The controller 20 also sets the number of images Z to be used for the super-resolution processing. This ensures the number of images required for the desired enlargement ratio. The controller 20 performs the super-resolution processing when the number of images captured by the camera 10 is equal to or greater than the set number Z.
[0046] Second embodiment Next, a vehicle assistance device 2 (not shown) according to a second embodiment of the present invention will be described. The second embodiment differs from the first embodiment in the function of a repeated pattern area extraction unit 21. Configurations that overlap with those in the first embodiment will be referred to by reference numerals and their description will be omitted. The following description will focus on the differences.
[0047] The function of the repeated pattern area extraction unit 21 to extract a repeated pattern area is the same as that of the first embodiment. The repeated pattern area extraction unit 21 extracts an area having a predetermined height in real space from within the extracted repeated pattern area. The area having a predetermined height in real space is an area above the center of the image, which is at infinity in the image. By extracting such an area as an area having a predetermined height in real space, it is possible to reduce the influence of buildings and the like located far away from the vehicle. As another method, there is also a method of extracting a predetermined height in real space by distance measurement using the camera 10.
[0048] The repeat pattern area extraction unit 21 sets an area obtained by excluding an area having a predetermined height in real space from the repeat pattern area as a reference area. Note that the whole image I1 is set as a reference image in the same manner as in the first embodiment. The same process is performed on images captured after time T2.
[0049] Next, an operation example of the vehicle assistance device 2 will be described with reference to the flowchart shown in Fig. 9. However, since the processes in steps S201 to S209 and S213 to S231 are similar to the processes in steps S101 to S109 and S113 to S131 shown in Fig. 8, the description thereof will be omitted.
[0050] In step S211, the repeated pattern area extraction unit 21 sets an area obtained by excluding an area having a predetermined height in real space from the repeated pattern area as a reference area.
[0051] (Action and effect) As described above, the vehicle assistance device 2 according to the second embodiment provides the following advantageous effects.
[0052] The controller 20 sets, as a reference region, an area obtained by excluding an area having a predetermined height in real space from a repeating pattern area for all areas of an image captured at a predetermined time among a plurality of images. The controller 20 sets, as a comparison region, an area obtained by excluding an area having a predetermined height in real space from a repeating pattern area for all areas of an image captured after a predetermined time among a plurality of images. The controller 20 calculates the amount of movement on the image using an overlapping area between the reference region and the comparison region. This allows the amount of movement to be calculated excluding areas having a predetermined height in real space (areas other than the road surface such as buildings, poles, and guardrails), improving the accuracy of calculating the amount of movement. The predetermined time is, for example, the above-mentioned time T1. The predetermined time or later is, for example, the above-mentioned time T2 or later.
[0053] Third embodiment Next, a vehicle assistance device 3 according to a third embodiment of the present invention will be described with reference to Fig. 10. The third embodiment differs from the first embodiment in that the controller 20 further includes a region of interest setting unit 26. Configurations that overlap with those in the first embodiment will be referred to by reference numerals and their description will be omitted. The following description will focus on the differences.
[0054] The region of interest setting unit 26 sets a region of interest. The region of interest is a region in which super-resolution processing is performed.
[0055] Next, an example of a region of interest will be described with reference to Fig. 11. The image 40 shown in Fig. 11 is the same as the image 40 shown in Fig. 2. Reference numeral 70 in Fig. 11 indicates a region of interest. As can be seen from Fig. 11, the region of interest 70 is smaller than the image 40. In the first embodiment, the super-resolution processing is performed on the entire image 40, but in the third embodiment, the super-resolution processing is performed on the region of interest 70. This reduces the computational load compared to the first embodiment.
[0056] The method of setting the region of interest 70 is not particularly limited, but for example, a region where road markings, traffic lights, signs, etc. exist far from the vehicle is set as the region of interest 70. As described in FIG. 7, such a distant region becomes clear by super-resolution processing. The super-resolution processing improves the recognition accuracy of road markings, traffic lights, signs, etc. far from the vehicle. This enables the vehicle control unit 25 to perform control suitable for road markings, traffic lights, and signs as soon as possible. This realizes highly accurate automatic driving. The region of interest 70 may be set in the upper half of the image 40. The upper half of the image 40 means a region farther from the vehicle than the lower half. The region of interest 70 is also set in the same manner for images captured after time T2.
[0057] Next, an operation example of the vehicle assistance device 3 will be described with reference to the flowchart shown in Fig. 12. However, since the processes of steps S301 to S303, S305 to S309, and S315 to S331 are similar to the processes of steps S101 to S103, S105 to S109, and S115 to S131 shown in Fig. 8, their description will be omitted.
[0058] In step S304, region of interest setting unit 26 sets an area far from the vehicle in which road markings, traffic lights, signs, etc. exist as region of interest 70.
[0059] In step S311, the repeated pattern area extraction unit 21 sets the entire region of interest 70 as a reference image. The repeated pattern area extraction unit 21 also sets the region of interest 70 excluding the repeating pattern area as a reference region. In step S313, the repeated pattern area extraction unit 21 sets the entire region of interest 70 as a reference image. The repeated pattern area extraction unit 21 also sets the entire region of image 50 as a reference region.
[0060] (Action and effect) As described above, the vehicle assistance device 3 according to the third embodiment provides the following advantageous effects.
[0061] The controller 20 sets an area for super-resolution processing for each of the multiple images as a region of interest 70. The controller 20 sets an area excluding repeating pattern areas for the region of interest 70 of an image captured at a specified time among the multiple images as a reference region, and sets an area excluding repeating pattern areas for the region of interest 70 of an image captured after the specified time among the multiple images as a comparison region. The controller 20 calculates the amount of movement on the image using the overlapping area between the reference region and the comparison region. This makes it possible to increase the resolution of only the region of interest (e.g., an area far from the vehicle) that is desired to be focused on in the image.
[0062] The desired magnification is defined as N, and the maximum amount of movement between one frame is defined as L. When the size of the repeating pattern area in the region of interest 70 is 1 / (2N×L) or more, the controller 20 sets the region of the region of interest 70 of the image captured at a specified time, excluding the repeating pattern area, as a reference region. The controller 20 also sets the region of the region of interest 70 of the image captured after the specified time, excluding the repeating pattern area, as a comparison region. The controller 20 calculates the amount of movement on the image using the overlapping area between the reference region and the comparison region. As a result, when the size of the repeating pattern area is less than 1 / (2N×L), the super-resolution processing is omitted.
[0063] Furthermore, the controller 20 stops generating the super-resolution image when the number of pixels that are not in the repeating pattern area within the region of interest 70 is less than the square of N. This ensures the accuracy of the super-resolution image.
[0064] Each of the functions described in the above embodiments may be implemented by one or more processing circuits. A processing circuit includes a programmed processing device, such as a processor including electrical circuitry. A processing circuit also includes devices such as application specific integrated circuits (ASICs) or circuit components arranged to perform the described functions.
[0065] As described above, the embodiment of the present invention has been described, but the description and drawings forming a part of this disclosure should not be understood as limiting this invention. From this disclosure, various alternative embodiments, examples and operating techniques will become apparent to those skilled in the art.
[0066] When the number of images required for performing the super-resolution process is set to Z as described above, images with center pixels aligned are stored for Z frames, and the super-resolution process is performed. However, if the number of images captured by the camera 10 does not reach the set number Z, and if there is no area having a similarity equal to or greater than the threshold within the search range for calculating the amount of movement in the images captured after a predetermined time, the super-resolution processor 23 may perform the super-resolution process using images that have been aligned up to that time. This can improve the recognition accuracy of road structures.
[0067] Furthermore, if the number of images captured by camera 10 is less than the set number Z, and if there is no region having a similarity equal to or greater than the threshold within the search range for calculating the amount of movement in the images captured after the specified time, super-resolution processor 23 may wait a specified time until the set number Z is collected before performing super-resolution processing. This allows super-resolution processing to be performed without interruption even if the moving object passes through the entire region of interest 70. [Explanation of symbols]
[0068] 1~3 Vehicle support equipment 10. Camera 11 Storage device 12 Steering actuator 13 Accelerator pedal actuator 14 Brake Actuator 20 Controller 21 Pattern area extraction unit 22 Image shift section 23 Super-resolution processing section 24 Road structure recognition section 25 Vehicle control unit 26 Region of interest setting section
Claims
1. A vehicle assistance method comprising: a camera that captures an image of an area around a vehicle at different times; and a controller that processes the images captured by the camera at different times, The controller: extracting a repeating pattern area, which is an area in which a repeating pattern having a spatial frequency component equal to or higher than a predetermined frequency exists, from each of the plurality of images; setting, as a reference region, an area obtained by excluding an area above a center of the image that is at infinity in the repeating pattern area from an entire area of an image captured at a predetermined time among the plurality of images; setting, as a comparison region, an area obtained by excluding an area above a center of the image that is at infinity in the repeating pattern area from an entire area of the images captured after the predetermined time among the plurality of images; Calculating a movement amount on the image using an overlapping area between the reference area and the comparison area; aligning the images based on the amount of movement; performing super-resolution processing using the aligned images to generate a super-resolution image having a resolution exceeding that of the image captured by the camera; Recognizing road structures based on the super-resolution image A vehicle assistance method comprising:
2. The controller: Dividing each of the plurality of images into regions having a predetermined size; Frequency analysis is performed on the divided regions. Based on the result of the frequency analysis, it is determined whether or not a repeating pattern exists in the divided area.
2. The method of claim 1, wherein the vehicle assistance system is a vehicle assistance system.
3. The controller: Set the number of images to be used in the super-resolution processing; The super-resolution process is performed when the number of images captured by the camera is equal to or greater than a set number.
2. The method of claim 1, wherein the vehicle assistance system is a vehicle assistance system.
4. The controller: Set the number of images to be used in the super-resolution processing; When the number of images captured by the camera does not reach the set number, and when there is no area having a similarity equal to or greater than a threshold within the search range for calculating the amount of movement in the images captured after the predetermined time, the super-resolution process is performed using the images that have been aligned up to that time.
2. The method of claim 1, wherein the vehicle assistance system is a vehicle assistance system.
5. The controller: Set the number of images to be used in the super-resolution processing; If the number of images captured by the camera does not reach the set number, and if there is no area having a similarity equal to or greater than a threshold within the search range for calculating the amount of movement in the images captured after the specified time, the super-resolution process is waited for a specified time until the set number of images is collected.
2. The method of claim 1, wherein the vehicle assistance system is a vehicle assistance system.
6. A camera that captures images of the surroundings of the vehicle multiple times at different times; a controller for processing a plurality of images captured by the camera at different times; The controller: extracting a repeating pattern area, which is an area in which a repeating pattern having a spatial frequency component equal to or higher than a predetermined frequency exists, from each of the plurality of images; setting, as a reference region, an area obtained by excluding an area above a center of the image that is at infinity in the repeating pattern area from an entire area of an image captured at a predetermined time among the plurality of images; setting, as a comparison region, an area obtained by excluding an area above a center of the image that is at infinity in the repeating pattern area from an entire area of the images captured after the predetermined time among the plurality of images; Calculating a movement amount on the image using an overlapping area between the reference area and the comparison area; aligning the images based on the amount of movement; performing super-resolution processing using the aligned images to generate a super-resolution image having a resolution exceeding that of the image captured by the camera; Recognizing road structures based on the super-resolution image A vehicle assistance device comprising:
Citation Information
Patent Citations
Passing vehicle detection device, and rear side alarm device for drive supporting system
JP2003306102A
Image processor and image processing program
JP2011182084A
Image processor and image processing method
JP2012253748A
Road sign display device
JP2015191281A
Image processing device, image processing method, and program
JP2016179348A
