Image processing device, image processing method, and program

The image processing device enhances vehicle recognition by using depth maps and area classification to detect large vehicles and those partially hidden, addressing limitations of machine learning and pattern matching.

JP7571862B2Active Publication Date: 2024-10-23NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023509969
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-30
Publication Date
2024-10-23
Estimated Expiration
2041-03-30

AI Technical Summary

Technical Problem

Existing vehicle recognition technologies, particularly machine learning and pattern matching, struggle with accurately identifying large vehicles due to their size and varying cargo aspects, leading to incomplete or inaccurate recognition.

Method used

An image processing device and method that utilizes depth map information to identify vehicle regions through area classification and continuity analysis, combining first and second vehicle detection methods to enhance recognition accuracy.

Benefits of technology

Effectively recognizes large vehicles and those partially obscured by analyzing pixel distance information and boundaries, improving detection capabilities beyond traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571862000001
    Figure 0007571862000001
  • Figure 0007571862000002
    Figure 0007571862000002
  • Figure 0007571862000003
    Figure 0007571862000003
Patent Text Reader

Abstract

With regard to a photographic subject of each pixel of a photographed image that has been obtained, the present invention recognizes to which region class the photographic subject belongs from among a plurality of different specified region classes pertaining to the photographic subject. With regard to a region in a photographed image indicating the region class of a vehicle among a plurality of different region classes, distance information of each pixel in the region is acquired from depth map information corresponding to the photographed image, and a position at which continuity of the distance information is interrupted is determined to be a boundary of a different vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device, an image processing method, and a program. [Background technology]

[0002] As a technology for recognizing vehicles in an image, it is known to use a vehicle recognition model obtained by pattern matching or machine learning. As a related technology, Patent Document 1 discloses a technology that uses two devices, a camera and a laser radar, to determine the vehicle's presence area based on the overlap of the vehicle's presence area detected by each device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 08-329393 Summary of the Invention [Problem to be solved by the invention]

[0004] However, when it comes to recognizing large vehicles, machine learning may not work well because the vehicle may be too large to fit into the image, and the cargo on a large vehicle may vary in size. Therefore, there is a demand for technology that uses images to recognize vehicles that cannot be recognized by pattern matching or machine learning.

[0005] SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide an image processing device, an image processing method, and a program that solve the above-mentioned problems. [Means for solving the problem]

[0006] According to a first aspect of the present invention, an image processing device comprises an area recognition means for recognizing to which of a plurality of different area classes specified for the subject the subject of each pixel of an acquired captured image belongs, and a vehicle detection means for acquiring distance information of each pixel of an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and determining that the position where the continuity of the distance information is interrupted is the boundary between different vehicles.

[0007] According to a second aspect of the present invention, an image processing method recognizes which of a plurality of different area classes specified for the subject the subject of each pixel of an acquired captured image belongs to, obtains distance information for each pixel of an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and determines the position where the continuity of the distance information is interrupted as the boundary between different vehicles.

[0008] According to a third aspect of the present invention, the program causes a computer of an image processing device to function as an area recognition means for recognizing to which of a plurality of different area classes specified for the subject the subject of each pixel of an acquired captured image belongs, and a vehicle detection means for acquiring distance information of each pixel of an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and determining that the position where the continuity of the distance information is interrupted is the boundary between different vehicles. Effect of the Invention

[0009] According to the present invention, it is possible to use images to recognize vehicles that cannot be recognized by pattern matching or machine learning. [Brief description of the drawings]

[0010] [Figure 1] 1 is a diagram showing an overview of an image processing system according to an embodiment of the present invention. [Diagram 2] 1 is a hardware configuration diagram of an image processing apparatus according to an embodiment of the present invention. [Diagram 3] 1 is a functional block diagram of an image processing apparatus according to an embodiment of the present invention. [Figure 4] FIG. 1 is a diagram showing an outline of processing performed by an image processing device according to an embodiment of the present invention. [Diagram 5] FIG. 4 is a diagram showing a processing flow of the image processing device according to the present embodiment. [Figure 6] FIG. 1 is a diagram showing a minimum configuration of an image processing device according to an embodiment of the present invention. [Figure 7] FIG. 11 is a diagram showing a processing flow of an image processing device with a minimum configuration according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] An image processing apparatus according to an embodiment of the present invention will now be described with reference to the drawings. FIG. 1 is a diagram showing an outline of an image processing system including an image processing device according to this embodiment. As shown in Fig. 1, the image processing system 100 is configured by connecting an image processing device 1 and a camera 2 mounted on a vehicle 20 via a wireless communication network or a wired communication network. The image processing system 100 may include a server device 3. The server device 3 may be communicatively connected to the image processing device 1 and the camera 2. In this embodiment, the camera 2 captures an image including a road and a vehicle traveling on the road. The camera 2 outputs the image to the image processing device 1. The image processing device 1 uses the image acquired from the camera 2 to recognize the vehicle appearing in the image.

[0012] FIG. 2 is a diagram showing the hardware configuration of the image processing device. As shown in this figure, the image processing device 1 is a computer equipped with various hardware components such as a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a HDD (Hard Disk Drive) 104, a communication module 105, and a database 106. The server device 3 also has a similar configuration.

[0013] FIG. 3 is a functional block diagram of the image processing device. The image processing device 1 starts up when the power is turned on based on the start of the vehicle 20, and executes a pre-stored image processing program. As a result, the image processing device 1 exhibits the functions of an image acquisition unit 11, a depth map generation unit 12, an area recognition unit 13, a first vehicle detection unit 14, a second vehicle detection unit 15, a matching processing unit 16, and an output unit 17.

[0014] The image acquisition unit 11 acquires an image from the camera 2 . The depth map generator 12 generates depth map information using an image acquired from the camera 2. The depth map information is information that holds distance information to a subject in the camera 2 for each pixel of the image based on the image acquired from the camera 2. The area recognition unit 13 recognizes to which of a plurality of different area classes designated for the subject the subject of each pixel of the acquired image belongs. The first vehicle detection unit 14 obtains distance information for each pixel in an area in the image that indicates a vehicle area class from the depth map information, determines the position where the continuity of the distance information is interrupted to be the boundary between different vehicles, and identifies the area of ​​a single vehicle based on the boundary and the distance information indicated by each pixel that indicates the vehicle area class. The second vehicle detection unit 15 identifies the area of ​​the vehicle appearing in the captured image or the depth map information by using a vehicle recognition model obtained by pattern matching or machine learning. The matching processing unit 16 identifies the area of ​​each vehicle appearing in the captured image based on the recognition results from the first vehicle detection unit 14 and the second vehicle detection unit 15. The output unit 17 outputs the processing result of the matching processing unit 16 .

[0015] Based on the positional relationship between the area of ​​the single vehicle and an area of ​​an area class that indicates a road among area classes, the first vehicle detection unit 14 excludes the area of ​​the single vehicle from the vehicle area if the area of ​​the single vehicle does not border an area of ​​an area class that indicates a road. The first vehicle detection unit 14 also determines whether the size of the area of ​​the single vehicle corresponds to a size of a vehicle, and excludes the area of ​​the single vehicle from the vehicle area if the size does not correspond to a size of a vehicle.

[0016] FIG. 4 is a diagram showing an outline of processing performed by the image processing device. FIG. 4 shows a captured image (40) acquired by the image processing device 1 from the camera, a processing result (41) of the processing by the first vehicle detection unit 14 (first vehicle detection processing), a processing result (42) of the processing by the second vehicle detection unit 15 (second vehicle detection processing), and a processing result (43) of the matching processing. A truck is recognized in the processing result (41) of the first vehicle detection processing. The image processing device 1 acquires a captured image (S1). The depth map generating unit 12 generates depth map information using the captured image (S2), and recognizes to which of a plurality of different area classes designated for objects appearing in the captured image each pixel belongs (S3). The image processing device 1 performs a first vehicle detection processing (S4). In this first vehicle detection processing, for example, a large vehicle that is difficult to recognize in the second vehicle detection processing can be detected. The image processing device 1 performs a second vehicle detection processing (S5). It is assumed that vehicles other than large vehicles can be detected in this second detection image. The image processing device 1 uses the processing results of the first vehicle detection process (41) and the processing results of the second vehicle detection process (42) to generate a vehicle recognition result (43) including the overlapping areas of vehicles that were recognized in each image (S6). The image processing device 1 outputs the vehicle recognition result (43). This output destination may be a storage device such as the database 106.

[0017] FIG. 5 is a diagram showing a processing flow of the image processing device. The processing flow of the image processing device 1 will be explained step by step below. While the vehicle 20 is traveling, the camera 2 outputs a captured image generated by shooting to the image processing device 1. The image acquisition unit 11 of the image processing device 1 acquires an image and outputs it to the depth map generation unit 12. The depth map generation unit 12 generates depth map information based on the acquired captured image (step S101). Note that the image acquisition unit 11 may acquire the depth map information generated by the camera 2 in advance. In this case, the depth map generation unit 12 does not need to be provided in the image processing device 1. The depth map information is an image in which pixels in the image contain information on the distance from the camera 2 to the subject. The depth map information may be generated by a known technology. The depth map generation unit 12 outputs the depth map information to the first vehicle detection unit 14.

[0018] The area recognition unit 13 acquires the captured image and depth map information. The area recognition unit 13 recognizes the objects captured in the captured image by area class, such as sky, wall, road, moving object (traffic participant), person, etc. (step S102). The area recognition unit 13 may use a known technique for recognizing the captured image by area class indicating a plurality of different objects. In this process, the area recognition unit 13 generates area recognition information that holds the probability that each pixel of the captured image belongs to each area class. The area recognition information is array information of probability information for each area class for each pixel of the captured image. The area recognition unit 13 outputs the probability information for each area class of each pixel to the first vehicle detection unit 14.

[0019] The area recognition unit 13 may use an area class calculation model that receives a captured image as input and outputs the probability of belonging to a plurality of predetermined area classes to calculate the probability of each pixel of the captured image for each area class. The area class calculation model may be, for example, a model that receives a large number of images as input, uses information indicating the area class of each pixel of the images as ground truth data, and learns the relationship between them through machine learning.

[0020] The first vehicle detection unit 14 acquires a captured image and depth map information including information on the probability of each region class for each pixel in the captured image. The first vehicle detection unit 14 identifies a region of pixels that is estimated to be a vehicle when the probability of the region class of a vehicle in the captured image is equal to or greater than a threshold. This region is referred to as a vehicle estimation region. For each pixel included in the vehicle estimation region, the first vehicle detection unit 14 compares distance information with adjacent pixels to determine whether the distance difference between the adjacent pixels is equal to or less than a predetermined distance difference at which the pixels are considered to be the same object. The first vehicle detection unit 14 identifies a group of adjacent pixels in which the distance difference between the adjacent pixels is equal to or less than the predetermined distance difference at which the pixels are considered to be the same object as a region of one vehicle (step S103). The first vehicle detection unit 14 may also identify adjacent pixels in the vehicle estimation region in which the distance difference between the adjacent pixels is equal to or greater than the predetermined distance difference at which the pixels are considered to be the same object, and determine that the adjacent pixels are a boundary between vehicles or a boundary between a vehicle and an object other than a vehicle, thereby identifying the region of one vehicle. This process is one aspect of a process in which the image processing device 1 acquires distance information for each pixel in an area in a captured image that indicates a vehicle area class, and determines the position where the continuity of the distance information is interrupted as the boundary between different vehicles.

[0021] The first vehicle detection unit 14 may exclude the area of ​​the single vehicle from the area of ​​the vehicle when the area of ​​the single vehicle does not border the area of ​​the area class indicating a road based on the positional relationship between the area of ​​the single vehicle identified in the above-mentioned process and the area of ​​the area class indicating a road. The first vehicle detection unit 14 determines whether the probability of the pixel below the pixel constituting the lower side of the rectangular range indicating the area of ​​the single vehicle being an area of ​​the area class indicating a road is equal to or greater than a threshold. As an example, the first vehicle detection unit 14 determines that the area of ​​the single vehicle is bordering the area of ​​the area class indicating a road when the probability of the pixel below the pixel constituting the lower side of the rectangular range indicating the area of ​​the single vehicle being an area of ​​the area class indicating a road is equal to or greater than a threshold. As another example, the first vehicle detection unit 14 determines that the area of ​​the single vehicle is not bordering the area of ​​the area class indicating a road when the probability of the pixel below the pixel below the pixel constituting the lower side of the rectangular range indicating the area of ​​the single vehicle being an area of ​​the area class indicating a road is less than a threshold.

[0022] The first vehicle detection unit 14 compares the side length of the rectangular range including the area of ​​one vehicle identified in the above process with the side length range of the size corresponding to the vehicle. If the side length of the rectangular range including the area of ​​one vehicle identified in the above process is not included in the side length range of the size corresponding to the vehicle, the first vehicle detection unit 14 may determine that the area indicated by the rectangular range is not a vehicle area and may exclude it from the vehicle area.

[0023] The first vehicle detection unit 14 finally generates a processing result (41) of the first vehicle detection process including coordinate information of a rectangular range indicating an area identified as an area of ​​one vehicle (step S104). When multiple vehicles are captured in one captured image, the first vehicle detection unit 14 may generate a processing result of the first vehicle detection process including coordinate information of a rectangular range of the areas of each of the multiple vehicles by a similar process. The first vehicle detection unit 14 outputs the processing result (41) of the first vehicle detection process to the matching processing unit 16. According to the processing of the first vehicle detection unit 14, by using the depth map information and area class information of each pixel in the captured image, it becomes possible to detect special vehicles, large vehicles traveling in the vicinity, vehicles with parts hidden, and the like that are difficult to recognize by pattern matching or machine learning.

[0024] In parallel with the first vehicle detection process in the first vehicle detection unit 14, the second vehicle detection unit 15 acquires a photographed image from the image acquisition unit 11 and performs a second vehicle detection process. Specifically, the second vehicle detection unit 15 identifies the area of ​​the vehicle appearing in the photographed image using a pattern matching technique. Alternatively, the second vehicle detection unit 15 inputs the acquired photographed image to a vehicle recognition model obtained by generating by machine learning of the vehicle appearing in the photographed image in a past machine learning process. The second vehicle detection unit 15 acquires a vehicle recognition result after inputting the photographed image to the vehicle recognition model. The second vehicle detection unit 15 identifies the area of ​​the vehicle appearing in the photographed image to be recorded in the vehicle recognition result. The second vehicle detection unit 15 may identify the areas of a plurality of vehicles in the photographed image. The second vehicle detection unit 15 generates a processing result (42) of the second vehicle detection process including coordinate information of a rectangular range indicating the area identified as the area of ​​the vehicle (step S105). The second vehicle detection unit 15 outputs the processing result (42) of the second vehicle detection process to the matching processing unit 16.

[0025] The matching processing unit 16 acquires the processing result (41) of the first vehicle detection processing and the processing result (42) of the second vehicle detection processing. The matching processing unit 16 compares the vehicle area included in the processing result (41) of the first vehicle detection processing with the vehicle area included in the processing result (42) of the second vehicle detection processing, and identifies areas in each processing result that overlap by a predetermined size or more (step S106). When the matching processing unit 16 identifies vehicle areas in the processing result (41) of the first vehicle detection processing and the processing result (42) of the second vehicle detection processing that overlap by a predetermined size or more, it determines them as the area of ​​one vehicle. Note that the area that overlaps by a predetermined size or more when comparing each detection result may be, for example, each area where the positions of the areas are almost the same and overlap by a predetermined area or more when the areas of the corresponding vehicles in the captured images shown by each detection result are overlapped, or each area where the rectangles of the vehicle areas identified in each area overlap by a predetermined ratio or more.

[0026] The matching processing unit 16 outputs to the output unit 17 a vehicle recognition result including coordinates in the image indicating the area (rectangle) of one or more vehicles identified only in the processing result (41) of the first vehicle detection process, coordinates in the image indicating the area (rectangle) of one or more vehicles identified only in the processing result (42) of the second vehicle detection process, coordinates in the image indicating an area determined to be an area of ​​one vehicle that overlaps by a predetermined size or more in the processing result (41) of the first vehicle detection process and the processing result (42) of the second vehicle detection process, and the captured image (step S107). The output unit 17 records the vehicle recognition result in the database 106. This allows the user to check the captured image and the areas of the vehicles recognized in the first vehicle detection process and the second vehicle detection process in the captured image based on the vehicle recognition result.

[0027] The output unit 17 may generate and output a recognition result image in which the color of a rectangle in the area of ​​the vehicle included in the vehicle recognition result acquired from the matching processing unit 16 is updated to a highlight color, or may generate and output a recognition result image in which a rectangular image surrounding the area of ​​the vehicle in the captured image is superimposed on the captured image. The output destination of the vehicle recognition result and the recognition result image of the output unit 17 may be the server device 3, another display device, a user terminal, etc.

[0028] According to the above-mentioned processing, the image processing device 1 installed in the vehicle performs the above-mentioned processing, but a drive recorder equipped with a camera 2 or an external server device 3 may have the same function as the image processing device 1 and identify the vehicle area in the captured image in the same manner as the above-mentioned processing.

[0029] FIG. 6 is a diagram showing the minimum configuration of an image processing device. FIG. 7 is a diagram showing a processing flow of an image processing device with a minimum configuration. The image processing device 1 includes at least an area recognition means 61 and a vehicle detection means 62. The area recognition means 61 recognizes to which of a plurality of different area classes designated for the subject the subject of each pixel of the acquired photographed image belongs (step S701). The vehicle detection means 62 acquires distance information for each pixel in a region in the depth map information that indicates a vehicle region class among multiple different region classes, and determines the position where the continuity of the distance information is interrupted as the boundary between different vehicles (step S702).

[0030] Each of the above-mentioned devices has a computer system inside. The steps of each of the above-mentioned processes are stored in a computer-readable recording medium in the form of a program, and the above processes are performed by the computer reading and executing this program. Here, the computer-readable recording medium refers to a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, etc. Also, the computer program may be distributed to a computer via a communication line, and the computer that receives the program may execute the program.

[0031] The program may be a program for implementing some of the above-mentioned functions, or may be a so-called differential file (differential program) that can implement the above-mentioned functions in combination with a program already recorded in the computer system. [Explanation of symbols]

[0032] 1. Image processing device 2. Camera 3. Server equipment 11. Image acquisition section 12. Depth map generator 13...Area recognition section 14 First vehicle detection unit 15 Second vehicle detection unit 16 Matching processing unit 17 Output section

Claims

1. an area recognition means for recognizing to which of a plurality of different area classes the subject of each pixel of the acquired photographic image belongs; a first vehicle detection means for acquiring distance information for each pixel in an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and outputting a first vehicle detection processing result that indicates an area of ​​a vehicle of a size equivalent to the size of the vehicle among each area determined as a boundary between different vehicles at a position where the continuity of the distance information is interrupted; a second vehicle detection means for inputting the captured image into a vehicle recognition model generated by machine learning, and outputting a second vehicle detection processing result indicating a vehicle area; a matching processing means for outputting a matching processing result that indicates an area where the area of ​​the vehicle indicated by the first vehicle detection processing result and the area of ​​the vehicle indicated by the second vehicle detection processing result overlap by a predetermined amount or more as the area of ​​one vehicle; An image processing device comprising:

2. A depth map generating means for generating the depth map information based on the captured image, the depth map information holding distance information from a photographing device to a subject appearing in the captured image for each pixel of the captured image; The image processing device according to claim 1 .

3. The first vehicle detection means identifies an area of ​​one of the vehicles based on a position where the continuity is broken and distance information indicated by each pixel of an area indicating an area class of the vehicle.

3. The image processing device according to claim 1 or 2.

4. The first vehicle detection means excludes the area of ​​the single vehicle from the area of ​​the vehicle when the area of ​​the single vehicle does not border the area of ​​the area class indicating the road, based on a positional relationship between the area of ​​the single vehicle and an area of ​​an area class indicating a road among the area classes. The image processing device according to claim 3 .

5. The first vehicle detection means determines whether the size of the area of ​​one vehicle corresponds to a size of a vehicle, and if the size does not correspond to a size of a vehicle, excludes the area of ​​the one vehicle from the area of ​​the vehicle. The image processing device according to any one of claims 1 to 4.

6. Recognizing which of a plurality of different area classes the subject of each pixel of the acquired photographed image belongs to; obtain distance information for each pixel in an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and output a first vehicle detection processing result that indicates a vehicle area of ​​a size equivalent to the size of the vehicle among each area where a position where the continuity of the distance information is interrupted is determined to be a boundary between different vehicles; inputting the captured image into a vehicle recognition model generated by machine learning, and outputting a second vehicle detection processing result indicating a vehicle area; outputting a matching process result indicating an area where the area of ​​the vehicle indicated by the first vehicle detection process result and the area of ​​the vehicle indicated by the second vehicle detection process result overlap by a predetermined size or more as the area of ​​one vehicle; Image processing methods.

7. The computer of the image processing device an area recognition means for recognizing to which of a plurality of different area classes the subject of each pixel of the acquired photographic image belongs; a first vehicle detection means for acquiring distance information for each pixel in an area in the captured image that indicates a vehicle area class among the plurality of different area classes from depth map information corresponding to the captured image, and outputting a first vehicle detection processing result that indicates an area of ​​a vehicle of a size equivalent to the size of the vehicle among each area determined as a boundary between different vehicles at a position where the continuity of the distance information is interrupted; a second vehicle detection means for inputting the captured image into a vehicle recognition model generated by machine learning, and outputting a second vehicle detection processing result indicating a vehicle area; a matching processing means for outputting a matching processing result indicating an area where the area of ​​the vehicle indicated by the first vehicle detection processing result and the area of ​​the vehicle indicated by the second vehicle detection processing result overlap by a predetermined size or more as an area of ​​one vehicle; A program that functions as a

Citation Information

Patent Citations

  • Preceding vehicle detector

    JP1996329393A

  • Method and device for evaluating image

    JP2009037622A

  • Video-based localization and mapping method and system

    JP2020516853A