Information processing apparatus

The information processing device improves background detection accuracy in moving vehicles by generating an estimated background image with shadow correction, addressing false detections in dynamic environments.

JP2024118228AActive Publication Date: 2024-08-30TOYOTA JIDOSHA KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023024554
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-08-30
Estimated Expiration
2043-02-20

AI Technical Summary

Technical Problem

Conventional background subtraction methods in moving vehicles struggle to accurately distinguish between shadows and foreground objects due to dynamic backgrounds and changing interior conditions, leading to false detections.

Method used

An information processing device generates an estimated background image by adding shadows to a calibration image and correcting color tone, using a model that estimates shadow regions and excludes them from the foreground detection process.

Benefits of technology

This approach enhances the accuracy of background detection by excluding moving shadows and maintaining consistent background representation, reducing false positives and enabling efficient foreign object detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118228000001
    Figure 2024118228000001
Patent Text Reader

Abstract

To increase the detection accuracy of an image background.SOLUTION: An information processing apparatus comprises a control unit which executes: acquiring a real image as an image captured by an imaging unit; acquiring a calibration image as an image captured by the imaging unit in the past and as an image serving as a reference for a current background; creating a model to which the estimation of an area where a shadow(s) exists and color tone correction are executed based on the real image; and creating an estimated background image as an image to which the shadow(s) corresponding to the real image has been added and color tone correction has been executed with respect to the calibration image based on the calibration image and the model and as a background image corresponding to the real image.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device. [Background technology]

[0002] A technology is known that uses a Gram matrix to simultaneously represent and learn the texture, color, brightness pattern, and movement of a dynamically changing background in a scene from which the background is photographed, making it possible to separate the background from the foreground based on information such as texture, even when a brightness value similar to that of the background is input (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-058903 A Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present disclosure is to improve the accuracy of detecting the background of an image. [Means for solving the problem]

[0005] One aspect of the present disclosure is Acquiring an actual image which is an image captured by an imaging unit; acquiring a calibration image which is an image captured by the imaging unit in the past and serves as a reference for a current background; generating a model for estimating a shadow area and correcting a color tone based on the real image; generating an estimated background image by adding a shadow corresponding to the actual image to the calibration image and performing color correction on the calibration image based on the calibration image and the model, the estimated background image being an image of a background corresponding to the actual image; The information processing device is provided with a control unit that executes the above.

[0006] Another aspect of the present disclosure is a method for providing Mobility as a Service (MaaS) using the above-described information processing device.

[0007] Further, another aspect of the present disclosure is an information processing method in which a computer executes the processing in the above-mentioned information processing device, a program for causing a computer to execute the processing, or a storage medium that non-temporarily stores the program. Effect of the Invention

[0008] According to the present disclosure, it is possible to improve the accuracy of detecting the background of an image. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a diagram illustrating a hardware configuration of a vehicle according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of functional components of an ECU according to the embodiment. [Diagram 3] 13A and 13B are diagrams illustrating examples of images when a control unit determines whether or not a foreign object is present. [Figure 4] FIG. 13 is a diagram for explaining an estimated shadow model. [Diagram 5] 11 is a flowchart of a process for generating a floor surface replaced image in an ECU of a vehicle according to an embodiment. [Figure 6] 11 is a flowchart illustrating an example of a process for generating an estimated shadow model. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Conventional background subtraction methods assume that images are captured with a fixed camera, and detect fast-moving objects as the foreground. In a moving vehicle, in addition to the background seen from the window, shadows inside the vehicle may move relatively quickly. If such shadows are extracted as the foreground, there is a risk that a person or object may be detected as having entered a restricted area.

[0011] It is also possible to detect people or objects by comparing images taken at the time of shipment from the factory with images acquired in real time. However, if the interior is changed after shipment from the factory, or stickers are put on the floor, these may be judged as foreign objects.

[0012] Therefore, an information processing device as one aspect of the present disclosure includes a control unit configured to execute the following operations: acquiring an actual image, which is an image captured by an imaging unit; acquiring a calibration image, which is an image captured in the past by the imaging unit and serves as a reference for the current background; generating a model that estimates an area where a shadow exists and corrects the color tone based on the actual image; and generating an estimated background image, which is an image of the background corresponding to the actual image, in which a shadow corresponding to the actual image is added to the calibration image and the color tone is corrected, based on the calibration image and the model.

[0013] The real image is, for example, an image captured by the imaging unit in real time. The real image may be, for example, an image at the current time. The calibration image is an image corresponding to the background at the current time, for example, an image captured after stickers are put on the floor or the interior is changed, and is an image captured in a state where there are no foreign objects. The calibration image is an image captured by the imaging unit every time the floor surface is changed or when the number of false detections of foreign objects increases due to the influence of dirt. The calibration image is an image captured in a state where there is no person. The real image and the calibration image are acquired by the control unit after being captured by the imaging unit.

[0014] The control unit also generates a model for estimating a region where a shadow exists and correcting the color tone based on the real image. This model is generated by, for example, extracting a shadow candidate region that is a candidate for a shadow region from the luminance distribution of the real image, extracting an estimated shadow region from the shadow candidate region by comparing it with an estimated background image generated previously, and determining a correction parameter for bringing the color tone of the calibration image closer to that of the real image by comparing the real image with the calibration image. In this model, the region where a person exists is excluded from the region where a shadow exists.

[0015] In this way, the control unit generates a model that estimates an area where a shadow exists based on the actual image. Then, by applying this model to the calibration image, an estimated background image is generated, which is an image to which a shadow has been added to the calibration image. This estimated background image is an image that is generated by simulating the background at the time when the actual image was captured. Furthermore, the estimated background image is an image from which foreign objects have been removed. In this way, an image equivalent to the background can be obtained.

[0016] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The configurations of the following embodiments are examples, and the present disclosure is not limited to the configurations of the embodiments. In addition, the following embodiments can be combined as much as possible.

[0017] First Embodiment FIG. 1 is a diagram showing a hardware configuration of a vehicle 10 according to an embodiment. For example, the vehicle 10 is a vehicle used in MaaS and capable of autonomous driving. The vehicle 10 includes an ECU 100, which is an electronic control unit, a camera 21, and an output unit 22. These components are connected to each other by a CAN bus, which is a bus for an in-vehicle network.

[0018] The ECU 100 has a computer configuration. The ECU 100 includes a processor 101, a main memory unit 102, an auxiliary memory unit 103, and a communication unit 104. These are connected to each other via a bus. The processor 101 is an example of a control unit.

[0019] The processor 101 is a central processing unit (CPU), a digital signal processor (DSP), etc. The processor 101 controls the vehicle 10 and performs calculations for various information processing. The main memory unit 102 is a RAM (Random Access Memory), a ROM (Read Only Memory), etc. The auxiliary memory unit 103 is an EPROM (Erasable Programmable ROM), a hard disk drive, etc. Hard Disk Drive (HDD), removable media, etc. The auxiliary storage unit 103 stores an operating system (OS), various programs, various tables, etc. The processor 101 loads the programs stored in the auxiliary storage unit 103 into a working area of ​​the main storage unit 102 and executes them, and each component unit, etc. is controlled through the execution of these programs. In this way, the ECU 100 realizes a function that meets a predetermined purpose. The main storage unit 102 and the auxiliary storage unit 103 are computer-readable recording media.

[0020] The communication unit 104 is a means for communicating with a center server or a user terminal via a network. The communication unit 104 is, for example, a LAN (Local Area Network) interface board or a wireless communication circuit for wireless communication. For example, the vehicle 10 can be remotely monitored via the communication unit 104.

[0021] The camera 21 is a means for capturing images of the interior of the vehicle 10. The camera 21 captures images of at least the floor surface near the entrance and exit of the vehicle 10. The camera 21 captures images using an imaging element such as a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The images obtained by capturing images may be either still images or videos.

[0022] The output unit 22 is a means for presenting information to passengers or crew members, and may be, for example, an LCD (Liquid Crystal Display) panel, an EL (Electroluminescence) panel, a lamp ( The output unit 22 may be a warning light, a speaker, etc. Alternatively, the output unit 22 may be a means for notifying an external center server or the like of an abnormality via the communication unit 104.

[0023] Next, functional components of the ECU 100 of the vehicle 10 will be described. Fig. 2 is a diagram showing an example of functional components of the ECU 100 according to the embodiment. The ECU 100 includes a control unit 110 as a functional component. The processor 101 of the ECU 100 executes the processing of the control unit 110 according to a computer program on the main memory unit 102.

[0024] The control unit 110 analyzes the image acquired from the camera 21 and judges whether or not a foreign object is present. FIG. 3 is a diagram showing an example of an image when the control unit 110 judges whether or not a foreign object is present. The control unit 110 generates or acquires an ideal floor image 31, a calibration image 32, an actual image 33, an estimated floor image 34, and a floor-surface-replaced image 35, and stores them in the auxiliary storage unit 103, and performs judgment based on these images. These images correspond to a floor surface 42 including an entrance / exit 41 of the vehicle 10, and correspond to the same location. A door 41A is provided at the entrance / exit 41. The ideal floor image 31 is an example of an ideal background image, the estimated floor image 34 is an example of an estimated background image, and the floor-surface-replaced image 35 is an example of a background-replaced image. .

[0025] The ideal floor surface image 31 is an image captured at the time of shipment from the factory, and is an image of the initial state. Since this image is common to other vehicles, the control unit 110 may acquire an image captured in another vehicle of the same type, for example, from a center server. The control unit 110 performs machine learning on whether or not a foreign object exists. Then, the control unit 110 determines whether or not a foreign object exists based on this machine learning model. This machine learning uses the ideal floor surface image 31 captured in another vehicle of the same type. This machine learning may also be performed in another vehicle of the same type. Alternatively, when a user performs a predetermined input for acquiring the ideal floor surface image 31 at the time of shipment from the factory, the camera 21 may capture an image of the floor surface, and the image acquired at this time may be the ideal floor surface image 31. In this case, a user interface for capturing the ideal floor surface image 31 may be provided.

[0026] The calibration image 32 is an image captured when a change occurs on the floor surface 42 of the vehicle 10, and in the example of FIG. 3, it is an image captured after a sticker 43 is affixed to the floor surface 42. The calibration image 32 is an image captured in a state where no foreign object is present. For example, when a user performs a predetermined input for acquiring the calibration image 32, an image may be captured by the camera 21, and the image acquired at this time may be used as the calibration image 32. In this case, a user interface for capturing the calibration image 32 may be provided. For example, the calibration image 32 may be captured every day before the vehicle 10 is operated.

[0027] The real image 33 is an image captured in real time by the camera 21. The real image 33 may include a foreign object 44, such as an object or a person, and a shadow 45. The control unit 110 causes the camera 21 to capture the real image 33 at a predetermined cycle, for example.

[0028] The estimated floor image 34 is an image of the floor surface at the time when the pseudo-generated real image 33 was captured (which may be the current time). The estimated floor image 34 is generated by adding a shadow to the calibration image 32 and correcting the color tone. The control unit 110 generates the estimated floor image 34 by using an estimated shadow model. The estimated shadow model is a model that estimates the state of the floor surface 42 and the shadow. Note that conventional techniques can be used as a method for extracting the shadow from the real image 33. For example, the estimated shadow model includes information on each of the shadow candidate area, the estimated shadow area, the illumination correction parameters, and the estimated human area.

[0029] FIG. 4 is a diagram for explaining the estimated shadow model. The shadow candidate area 33A is an area that can be considered as a shadow, and is extracted from the overall brightness distribution of the real image 33. A known technique can be used for the model for this extraction. The estimated shadow area 33B is an area of ​​the shadow candidate area 33A that can be said to have a texture similar to that of the previous estimated floor image 34A, and is extracted from the shadow candidate area 33A. The previous estimated floor image 34A is an estimated floor image generated in the previous routine, and is stored in the auxiliary storage unit 103. At this time, an area that is similar to the texture of the shadow part in the previous estimated floor image 34A is extracted. However, the shadow candidate area 33A is an area excluding the estimated human area described later. A known technique can be used for the model for this extraction. The illumination correction parameter is a correction coefficient for bringing the color tone of the calibration image 32 closer to the color tone of the real image 33. The control unit 110 determines the illumination correction parameter for each of the estimated shadow area 33B and the estimated bright area that is the area other than the estimated shadow area 33B. The illumination correction parameters are determined by comparing the calibration image 32 with the actual image 33. A known technique can be used for the illumination correction parameters. The estimated human region is a region where a person is estimated to exist, and is obtained by general deep learning or the like.

[0030] In this way, an estimated shadow model is generated. Since this estimated shadow model does not change over time with respect to the real image 33, it becomes possible to exclude fast-moving shadows as described below.

[0031] The floor-surface-replaced image 35 is an image in which the background of the real image 33 is replaced with the ideal floor image 31. The control unit 110 detects the floor surface 42 by comparing the real image 33 with the estimated floor image 34. A known technique can be used for this detection. For example, a background subtraction method may be used. Then, the control unit 110 generates the floor-surface-replaced image 35 by replacing the part of the floor surface 42 detected in the real image 33 with an image of the same part of the ideal floor image 31. At this time, the foreign object 44 remains as it is in the floor-surface-replaced image 35 without being replaced.

[0032] Based on the floor surface replaced image 35 thus generated, the control unit 110 detects the foreign object 44. For example, a model for detecting the foreign object 44 generated by deep learning or the like may be stored in the auxiliary storage unit 103. A known technology may be adopted as a technology for detecting the foreign object 44 based on the floor surface replaced image 35. For example, the foreign object 44 may be detected by a heuristic method in which the foreground has a predetermined area or more. Also, a simple two-class classification technology of normal and abnormal may be used.

[0033] When the control unit 110 detects the foreign object 44, it executes, for example, a notification process. In this notification process, for example, a warning is issued from the output unit 22. For example, a voice announcement may be made to move the foreign object 44 away from the entrance 41, or a display may be displayed to move the foreign object 44 away from the entrance 41. Furthermore, when the control unit 110 detects the foreign object 44, it may not open or close the door 41A.

[0034] Next, a process of generating the floor surface replaced image 35 in the ECU 100 of the vehicle 10 will be described. Fig. 5 is a flowchart of a process of generating the floor surface replaced image 35 in the ECU 100 of the vehicle 10 according to the embodiment. The process shown in Fig. 5 is executed in the ECU 100 at predetermined time intervals. Note that the ideal floor surface image 31 will be described as having already been stored in the auxiliary storage unit 103.

[0035] In step S101, the control unit 110 determines whether or not there is a request to capture the calibration image 32. The calibration image 32 is captured when the state of the floor surface 42 changes. Therefore, for example, when the state of the floor surface 42 changes, a request to capture the calibration image 32 is transmitted from the center server via the communication unit 104. Alternatively, for example, when a predetermined input is made to a user interface in the vehicle 10, the control unit 110 determines that there is a request to capture the calibration image 32. If a positive determination is made in step S101, the process proceeds to step S102, and if a negative determination is made, the process proceeds to step S103.

[0036] In step S102, the control unit 110 captures the calibration image 32. The control unit 110 instructs the camera 21 to capture an image, and stores the captured image as the calibration image 32 in the auxiliary storage unit 103.

[0037] In step S103, the control unit 110 captures the actual image 33. The control unit 110 instructs the camera 21 to capture an image, and stores the captured image as the actual image 33 in the auxiliary storage unit 103.

[0038] In step S104, the control unit 110 generates an estimated shadow model. Here, FIG. 6 is a flowchart showing an example of a process for generating an estimated shadow model. In step S201, the control unit 110 extracts a shadow candidate region 33A based on the actual image 33. Here, Areas that can be considered as shadows are extracted from the brightness distribution of the entire image. In step S202, the control unit 110 extracts, from among the shadow candidate areas 33A, areas that can be considered to have a texture similar to that of the estimated floor image (previous estimated floor image 34A) generated in the previous routine shown in FIG. 5, as estimated shadow areas. Note that whether or not the textures can be considered to be similar may be determined according to conditions previously stored in the auxiliary storage unit 103. In step S203, the control unit 110 compares the calibration image 32 with the actual image 33 to determine illumination correction parameters for each of the estimated shadow area 33B and the estimated bright area.

[0039] Returning to FIG. 5, in step S105, the control unit 110 generates an estimated floor image 34 based on the calibration image 32 captured in step S102 and the estimated shadow model generated in step S104. The generated estimated floor image 34 is stored in the auxiliary storage unit 103. In step S106, the control unit 110 detects the floor surface 42 based on the actual image 33 captured in step S103 and the estimated floor image 34 generated in step S105. At this time, the floor surface 42 is detected with the foreign object 44 shown in the actual image 33 removed. In other words, the control unit 110 detects the background portion.

[0040] In step S107, the control unit 110 acquires the ideal floor image 31. Since the ideal floor image 31 is stored in advance in the auxiliary storage unit 103, the control unit 110 reads the ideal floor image 31 from the auxiliary storage unit 103. In step S108, the control unit 110 generates a floor-replaced image 35 by replacing the part of the floor surface 42 detected in step S106 with the corresponding part in the ideal floor image 31 acquired in step S107.

[0041] The floor surface replaced image 35 thus generated is an image in which the foreign object 44 remains and shadows and stickers have been removed. Since the floor surface (which may be the background) is in the same state as when machine learning for detecting the foreign object 44 was performed, the foreign object 44 can be detected with high accuracy by utilizing the trained machine learning model.

[0042] Here, if a sticker or the like is attached to the floor surface when machine learning is performed, or the interior is changed to a different pattern, there is a risk that the sticker or interior material will be detected as a foreign object when a machine learning model is used to detect a foreign object. In addition, while the vehicle 10 is traveling, the state of light entering the vehicle through the window changes from moment to moment, and the shape of the shadow on the floor also changes from moment to moment. Therefore, there is a risk that the shadow will be detected as a foreign object with conventional logic.

[0043] In contrast, in this embodiment, by replacing the portion determined to be a floor surface portion with a previously prepared ideal floor surface image 31, it is possible to easily detect the foreign object 44, for example, by using a trained machine learning model. Therefore, since large-scale calculations such as performing machine learning again after the vehicle 10 starts operating are not required, maintenance costs can be significantly reduced.

[0044] <Other embodiments> The above embodiment is merely an example, and the present disclosure may be modified as appropriate within the scope of the gist of the disclosure. The processes and means described in the present disclosure may be freely combined and implemented as long as no technical contradiction occurs. In addition, a process described as being performed by one device may be shared and executed by multiple devices. Alternatively, a process described as being performed by different devices may be executed by one device. In a computer system, the hardware configuration (server configuration) by which each function is realized can be flexibly changed. For example, the process in the above embodiment may be executed by a computer outside the vehicle.

[0045] In one example, the vehicle 10 or the ECU 100 according to the embodiment utilizes mobility. 5 and 6 may be executed when providing a service (MaaS) using the vehicle 10 or the ECU 100. In this case, the information processing method according to the above-described processing procedure is an example of a MaaS (Mobility as a Service) providing method.

[0046] The present disclosure can also be realized by supplying a computer program implementing the functions described in the above embodiments to a computer, and having one or more processors of the computer read and execute the program. Such a computer program may be provided to the computer by a non-transitory computer-readable storage medium connectable to the system bus of the computer, or may be provided to the computer via a network. Non-transitory computer-readable storage media include, for example, any type of disk, such as a magnetic disk (floppy disk, hard disk drive (HDD), etc.), an optical disk (CD-ROM, DVD disk, Blu-ray disk, etc.), a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic card, a flash memory, an optical card, and any type of medium suitable for storing electronic instructions. [Explanation of symbols]

[0047] 10 Vehicles 21 Camera 100 ECU 101 Processor 102 Main memory 103 Auxiliary storage 104 Communications Department 110 Control section

Claims

1. Acquiring an actual image which is an image captured by an imaging unit; acquiring a calibration image which is an image captured by the imaging unit in the past and serves as a reference for a current background; generating a model for estimating a shadow area and correcting a color tone based on the real image; generating an estimated background image by adding a shadow corresponding to the actual image to the calibration image and performing color correction on the calibration image based on the calibration image and the model, the estimated background image being an image of a background corresponding to the actual image; An information processing device comprising a control unit configured to execute the above.

2. The control unit is Obtaining an ideal background image which is an image in an initial state; generating a background-replaced image based on the actual image, the estimated background image, and the ideal background image, the background-replaced image being an image in which a background portion of the actual image is replaced with a corresponding portion of the ideal background image; determining whether or not a foreign object is present based on the background-replaced image; The information processing apparatus of claim 1 , further configured to execute the steps:

3. a storage unit that stores a trained machine learning model that determines the presence or absence of the foreign object based on the ideal background image; The control unit determines the presence or absence of the foreign object by inputting the background-replaced image to the trained machine learning model. The information processing device according to claim 2 .

4. The imaging unit is disposed inside a vehicle and captures an image of at least an entrance / exit of the vehicle. The information processing device according to claim 1 .

5. The control unit is extracting a shadow candidate region that is a candidate for a shadow region from a luminance distribution of the real image; extracting an estimated shadow region from the shadow candidate region by comparing it with a previously generated estimated background image; determining a correction parameter for approximating a color tone of the calibration image to a color tone of the actual image by comparing the actual image with the calibration image; generating the model by executing The information processing device according to claim 1 .

Citation Information

Patent Citations

  • Video processing device, video processing method, and video processing program

    JP2019204333A

  • Learning device, learning method, program and recording medium

    JP2020086626A

  • Model generating device, estimating device, model generating method, and model generating program

    JP2021082154A

  • Vehicular slope device

    JP2022121153A

  • Image recognizing device

    JP2010058903A