Information processing device, information processing method, and program
The information processing device estimates and learns to prioritize important image areas for efficient data reduction by replacing less critical regions with alternative data, improving data transmission efficiency.
Patent Information
- Application Number
- JP2023502286
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-24
- Filing Date
- 2022-02-14
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2042-02-14
AI Technical Summary
Existing image processing techniques struggle to accurately determine which areas of an image should have high quality and which should have low quality, making it difficult to efficiently reduce the amount of encoded data while maintaining important areas.
An information processing device that acquires input data, estimates the importance of regions within the data, replaces regions with alternative data based on importance, and learns to improve estimation through evaluation values, using methods like neural networks and genetic algorithms.
The device effectively estimates important and non-important areas in images, allowing for reduced data transmission while maintaining image quality in critical regions, thus enhancing data processing efficiency.
Smart Images

Figure 0007552852000002 
Figure 0007552852000037 
Figure 0007552852000045
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, and program Regarding. [Background technology]
[0002] As one of the image processing techniques, a technique is known in which the amount of encoded data is reduced by varying the quality of an image for each region included in the image. For example, Patent Document 1 discloses a technique in which, in an image captured by an imaging device, the resolution of a first partial region is maintained while the resolution of a region other than the first partial region is reduced. Such techniques attempt to degrade the quality of less important regions without degrading the quality of more important regions. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 2018-056838 Summary of the Invention [Problem to be solved by the invention]
[0004] However, the technology of Patent Document 1 has room for improvement in terms of which areas should have their quality set high and which areas should have their quality lowered; in other words, how to estimate important areas where quality should be kept high and non-important areas where quality should be lowered.
[0005] One aspect of the present invention is to provide a technique that can suitably estimate important and non-important areas in an image. [Means for solving the problem]
[0006] An information processing device according to one aspect of the present invention comprises an acquisition means for acquiring input data including at least one of image data and point cloud data, an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, a replacement means for generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data according to the importance, an evaluation means for deriving an evaluation value by referring to the replaced data, and a learning means for training the estimation means by referring to the evaluation value.
[0007] (delete)
[0008] An information processing method according to one aspect of the present invention includes obtaining input data including at least one of image data and point cloud data, estimating the importance of each of a plurality of regions included in a frame indicated by the input data, generating substituted data by replacing at least one of the plurality of regions included in the input data with alternative data according to the importance, deriving an evaluation value by referring to the substituted data, and training an estimation means by referring to the evaluation value.
[0009] (delete)
[0010] A recording medium according to one aspect of the present invention causes a computer to function as: an acquisition means for acquiring input data including at least one of image data and point cloud data; an estimation means for estimating importance of each of a plurality of regions included in a frame indicated by the input data; a replacement means for generating replaced data by replacing at least one of the plurality of regions included in the input data with alternative data according to the importance; an evaluation means for deriving an evaluation value by referring to the replaced data; and a learning means for training the estimation means by referring to the evaluation value. program It is.
[0011] (delete) Effect of the Invention
[0012] According to one aspect of the present invention, it is possible to provide a technique that can suitably estimate important and non-important areas in an image. [Brief description of the drawings]
[0013] [Figure 1] 1 is a block diagram showing a configuration of an information processing device according to a first exemplary embodiment of the present invention. [Diagram 2] 1 is a flowchart showing the flow of an information processing method executed by an information processing device according to a first exemplary embodiment of the present invention. [Diagram 3] FIG. 2 is a block diagram showing a configuration of another information processing device according to the first exemplary embodiment of the present invention. [Figure 4] 13 is a flowchart showing a flow of an information processing method executed by another information processing device according to the first exemplary embodiment of the present invention. [Diagram 5] FIG. 11 is a block diagram showing a configuration of an information processing system including an information processing device according to a second exemplary embodiment of the present invention. [Figure 6A] 11 is an example of video data acquired by an information processing device according to an exemplary embodiment 2 of the present invention. [Figure 6B] 6B is an example of a result of evaluating the importance of the video data shown in FIG. 6A. [Figure 6C] FIG. 6C is a diagram in which a partial area of the video data shown in FIG. 6B is replaced with noise according to the importance of the video data. [Figure 7A] 11 is an example of video data acquired by an information processing device according to an exemplary embodiment 2 of the present invention. [Figure 7B] 7B is an example of a result of evaluating the importance of the video data shown in FIG. 7A. [Figure 7C] FIG. 7C is a diagram in which a partial area of the video data shown in FIG. 7B is replaced with an image having a large quantization error according to the importance of the video data. [Figure 8] FIG. 11 is a diagram showing an example of point cloud data processed by an information processing device according to an exemplary embodiment 2 of the present invention. [Figure 9] 11 is a flowchart showing an example of the flow of a learning method for learning a method for estimating the importance of data, which is executed by an information processing device according to a second exemplary embodiment of the present invention. [Figure 10] 10 is a flowchart of the simulation evaluation step shown in FIG. [Figure 11] 10 is a flowchart of another example of the simulation evaluation step shown in FIG. 9 . [Figure 12] FIG. 11 is a block diagram showing a configuration of an information processing system according to a second exemplary embodiment. [Figure 13] 11 is a flowchart showing an example of the flow of a learning method for learning a method for estimating the importance of data, which is executed by an information processing device according to an exemplary embodiment 3 of the present invention. [Figure 14] 14 is a flowchart of the loss evaluation step shown in FIG. 13. [Figure 15] 14 is a flowchart of another example of the loss evaluation step shown in FIG. 13 . [Figure 16] 11 is a flowchart showing an example of the flow of a learning method for learning a method of estimating the importance of an area included in data, which is executed by an information processing device according to an exemplary embodiment 4 of the present invention. [Figure 17] 17 is a flowchart of the simulation evaluation step shown in FIG. 16. [Figure 18] FIG. 11 is a block diagram showing a configuration of an image processing system according to a fifth exemplary embodiment of the present invention. [Figure 19] FIG. 11 is a flow chart showing the flow of an image processing method according to an exemplary embodiment 5 of the present invention. [Figure 20A] FIG. 11 is a diagram showing an example of an image acquired in step S102b of the processing method according to the fifth exemplary embodiment of the present invention. [Figure 20B] FIG. 13 is a schematic diagram showing an example of the importance estimated in step S104b according to the fifth exemplary embodiment of the present invention. [Figure 20C] FIG. 11 is a schematic diagram showing preliminary quality parameters estimated in step S105b according to the fifth exemplary embodiment of the present invention; [Figure 21A] 13 is a flowchart showing a first processing example of a flow S106b of a processing method according to the fifth exemplary embodiment of the present invention. [Figure 21B] FIG. 13 is a schematic diagram showing quality parameters according to Processing Example 1 of flow S106b of the processing method according to the fifth exemplary embodiment of the present invention. [Figure 22] FIG. 13 is a block diagram showing a configuration of an information processing system according to an exemplary embodiment 6 of the present invention. [Figure 23A] This is one frame of a video captured by the imaging unit. [Figure 23B] 13 is an example of a result of estimating an area of high importance using reference data. [Figure 23C] 13 is an example of a diagram in which an area other than an area estimated to be of high importance is replaced with alternative data. [Figure 24A] This is a frame image before preprocessing. [Figure 24B] 13 is an example of an image obtained by applying segmentation processing to a frame image before preprocessing. [Figure 24C] 13 is an example of a heat map in which importance is estimated using a segmentation image. [Figure 25A] This is a frame image before preprocessing. [Figure 25B] 1 is an example of a depth map generated or obtained from a frame image before preprocessing. [Figure 25C] 1 is an example of a heat map in which importance is estimated using a depth map. [Figure 26A] This is a frame image before preprocessing. [Figure 26B] 13 is an example of a result of a process for detecting an object from a frame image before preprocessing. [Figure 26C] 13 is an example of a diagram in which only the bounding boxes of the object detection results are classified according to importance. [Figure 26D] 13 is an example of a heatmap that estimates importance based on the placement of classified bounding boxes. [Figure 27]13 is an example of a flowchart showing the flow of a simulation evaluation method S4A among the learning methods for training an estimation unit. [Figure 28] 13 is an example of a flowchart showing the flow of a simulation evaluation method S5A. [Figure 29] 13 is an example of a flowchart showing the flow of a simulation evaluation method S10A. [Diagram 30] 13 is an example of a flowchart showing the flow of a loss evaluation method S7A in a simulation. [Diagram 31] 13 is an example of a flowchart showing the flow of a loss evaluation method S8A in a simulation. [Diagram 32] FIG. 13 is a block diagram showing a configuration of an information processing system 600 according to an exemplary embodiment 7 of the present invention. [Diagram 33] FIG. 1 is a configuration diagram for realizing an information processing device and an image processing device by software. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Example 1 A first exemplary embodiment of the present invention will be described in detail with reference to the drawings. This exemplary embodiment is a basic form of the exemplary embodiments described later. An information processing device 1 according to this exemplary embodiment is a device that learns a method of replacing a part of an area included in input data including at least one of image data and point cloud data with alternative data according to importance.
[0015] (Configuration of information processing device 1) The configuration of an information processing device 1 according to the present exemplary embodiment 1 will be described with reference to FIG. 1. FIG. 1 is a block diagram showing the configuration of the information processing device 1. As shown in FIG. 1, the information processing device 1 includes an acquisition unit 10, an estimation unit 11, a replacement unit 12, an evaluation unit 13, and a learning unit 14. The acquisition unit 10 is an embodiment of the acquisition means described in the claims. The estimation unit 11 is an embodiment of the estimation means described in the claims. The replacement unit 12 is an embodiment of the replacement means described in the claims. The evaluation unit 13 is an embodiment of the evaluation means described in the claims. The learning unit 14 is an embodiment of the learning means described in the claims.
[0016] As an example, the information processing device 1 can be used to process image data or point cloud data acquired from a viewpoint of a moving body such as an autonomous vehicle, a robot, or a drone. More specifically, the information processing device 1 can be used to process image data or point cloud data acquired by an imaging device or a distance measuring device mounted on the moving body. Hereinafter, each component of the information processing device 1 will be described.
[0017] The acquisition unit 10 acquires input data including, for example, at least one of image data and point cloud data. The input data acquired by the acquisition unit 10 is, for example, image data captured by a camera or the like, or point cloud data measured by a distance measuring device such as a three-dimensional Lidar (Light Detection And Ranging). The image data may be still image data or moving image data. In other words, the data may be a single piece of data or a plurality of pieces of data acquired continuously. The method by which the acquisition unit 10 acquires image data or point cloud data from a camera or a three-dimensional Lidar or the like is not limited. As an example, the acquisition unit 10 can acquire these data using wired communication, wireless communication, or a combination thereof.
[0018] The estimation unit 11 estimates the importance of each of a plurality of regions included in a frame indicated by the input data. In this embodiment, the importance is an index indicating the degree to which the region contains information necessary for achieving the purpose of using the input data.
[0019] As an example, consider a case where the input data is a video image taken from a moving object such as an automobile for remotely monitoring or operating the operation of the moving object. A moving object is not limited to a vehicle on which a person rides, but also includes an unmanned device for transporting goods such as a drone. In this case, an area including traffic information of a road on which the moving object travels, or an area including people or objects around the moving object in the direction of travel, is considered to be of high importance for achieving the purpose of safely monitoring or operating the operation of the moving object. An example of an index of importance is an evaluation value derived by an evaluation unit described later.
[0020] The estimation unit 11 may use various algorithms such as a neural network algorithm or a genetic algorithm, for example. The estimation unit 11 may include a self-attention module, for example.
[0021] The replacement unit 12 generates replaced data by replacing at least one of a plurality of regions included in the input data with alternative data according to the importance. In this embodiment, the alternative data is data that has a smaller data amount when encoded than the input data.
[0022] Examples of substitute data include noise data such as Gaussian noise, and image data in which a quantization parameter (QP: Quantum Parameter) is set to be larger (quantization error is increased) than in the image before replacement.
[0023] The evaluation unit 13 derives an evaluation value by referring to the replaced data. In this embodiment, the evaluation value is an index indicating to what extent the purpose of using the input data is achieved when the replaced data is referred to, for example, when the replaced data is used.
[0024] As an example, the evaluation value may be a reward value given when the replaced data is input to the controller and a driving simulation is executed. Alternatively, the input data before and the replaced data may be input to the controller and the difference between the output values of the replaced data may be used as the evaluation value.
[0025] The learning unit 14 refers to the evaluation value and causes the estimation unit 11 to learn. In this embodiment, learning means updating various parameters used when the estimation unit estimates the importance so as to obtain a higher evaluation value.
[0026] As an example, various parameters used for estimation by the estimation unit may be adjusted and updated so that the area or combination of areas to be replaced with alternative data is changed and the reward value given by inputting it to the controller is increased. Alternatively, various parameters used for estimation by the estimation unit may be adjusted and updated so that the difference in output when data before and after replacement is input to the controller is reduced.
[0027] In the embodiment shown in FIG. 1, the acquisition unit 10, the estimation unit 11, the replacement unit 12, the evaluation unit 13, and the learning unit 14 are described as being incorporated in one information processing device 1, but they do not necessarily need to be incorporated in one information processing device. For example, all or part of the acquisition unit 10, the estimation unit 11, the replacement unit 12, the evaluation unit 13, and the learning unit 14 may be arranged separately. These may be connected by wired communication or wireless communication. In addition, all or part of the acquisition unit 10, the estimation unit 11, the replacement unit 12, the evaluation unit 13, and the learning unit 14 may be on the cloud. This point is also the same for the device configurations shown below.
[0028] (Effects of information processing device 1) As described above, the information processing device 1 according to the present exemplary embodiment is configured to estimate the importance of each region included in the input data, derive an evaluation value by referring to data replaced with substitute data according to the importance, and train the estimation unit by referring to the evaluation value. Therefore, the information processing device 1 according to the present exemplary embodiment has an effect of providing a technique that can suitably estimate important and non-important regions in an image.
[0029] (Flow of information processing method S1) Next, the flow of the information processing method (learning method) S1 according to this exemplary embodiment will be described with reference to FIG. 2. FIG. 2 is a flowchart showing the flow of the information processing method S1 executed by the information processing device 1. As shown in FIG. 2, the information processing method S1 includes the following steps. First, in step S10, input data is acquired. Specifically, the acquisition unit 10 acquires input data including at least one of image data and point cloud data. As an example, the acquisition unit 10 can acquire image data of a still image or a video from a camera as input data. In addition, the acquisition unit 10 may acquire point cloud data from a three-dimensional Lidar as input data. The method by which the acquisition unit 10 acquires image data or point cloud data from a camera, a three-dimensional Lidar, or the like is not limited. As an example, the acquisition unit 10 can acquire these data using wired communication, wireless communication, or a combination thereof.
[0030] Next, in step S11, the importance is estimated. Specifically, the estimation unit 11 estimates the importance of each of a plurality of regions included in the frame indicated by the input data. As an example, the estimation unit 11 can use an algorithm such as a neural network algorithm or a genetic algorithm.
[0031] Next, in step S12, the input data is replaced with alternative data. Specifically, the replacement unit 12 replaces at least one of a plurality of regions included in the input data with alternative data according to the importance, thereby generating replaced data. As an example, the replacement unit 12 can replace the input data with noise data such as Gaussian noise, or image data with a quantization parameter set larger than that of the image before replacement.
[0032] Next, in step S13, an evaluation value is derived. Specifically, the evaluation unit 13 derives the evaluation value by referring to the replaced data. As an example, the evaluation unit 13 can derive, as the evaluation value, a reward value obtained by inputting the replaced data to the controller, or a difference between output values when the data before and after the replacement are input to the controller.
[0033] Next, in step S14, the estimation unit 11 is trained. Specifically, the learning unit 14 trains the estimation unit 11 by referring to the evaluation value. As an example, the learning unit 14 trains the estimation unit so that the reward value becomes larger or the difference becomes smaller.
[0034] (Effect of information processing method S1) As described above, the information processing method S1 according to this exemplary embodiment is configured to obtain input data including at least one of image data and point cloud data, estimate the importance of each of a plurality of regions included in a frame indicated by the input data, generate replaced data by replacing at least one of a plurality of regions included in the input data with substitute data according to the importance, derive an evaluation value by referring to the replaced data, and cause the estimation unit 11 to learn by referring to the evaluation value. Therefore, the information processing method S1 according to this exemplary embodiment has an effect of providing a technique that can suitably estimate important regions and non-important regions in an image.
[0035] (Configuration of information processing device 2) Next, the configuration of the information processing device 2 according to the present exemplary embodiment 1 will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the configuration of the information processing device 2. As shown in Fig. 3, the information processing device 2 includes an acquisition unit 20 and an estimation unit 21. The acquisition unit 20 is an embodiment of the acquisition means described in the claims. The estimation unit 21 is an embodiment of the estimation means described in the claims.
[0036] The acquisition unit 20 acquires input data including at least one of image data and point cloud data. That is, the acquisition unit 20 may have the same configuration as the acquisition unit 10 of the above-described information processing device 1, and the input data acquired by the acquisition unit 20 may be the same as the input data acquired by the acquisition unit 10.
[0037] The estimation unit 21 estimates the importance of each of a plurality of regions included in a frame indicated by the input data acquired by the acquisition unit 20. The estimation unit 21 is trained by referring to replaced data obtained by replacing at least one of the plurality of regions included in the input data with alternative data according to the importance. In other words, the estimation unit 21 can use the estimation unit 11 trained by the learning unit 14 of the information processing device 1 described above.
[0038] (Effects of information processing device 2) As described above, the information processing device 2 according to this exemplary embodiment is configured to include an acquisition unit 20 and an estimation unit 21. The acquisition unit 20 acquires input data including at least one of image data and point cloud data, and the estimation unit 21 estimates the importance of each of a plurality of regions included in a frame indicated by the input data acquired by the acquisition unit 20. Therefore, the information processing device 2 according to this exemplary embodiment has an effect of providing a technique capable of suitably estimating important regions and non-important regions in an image.
[0039] (Flow of information processing method S2) Next, the flow of the information processing method (estimation method) S2 according to the present exemplary embodiment 1 will be described with reference to Fig. 4. Fig. 4 is a flowchart showing the flow of the information processing method S2 executed by the information processing device 2. As shown in Fig. 4, the information processing method S2 includes the following steps.
[0040] First, in step S20, input data is acquired. Specifically, the acquisition unit 20 acquires the input data including at least one of image data and point cloud data.
[0041] Next, in step S21, the importance is estimated. Specifically, the estimation unit 21 estimates the importance of each of a plurality of regions included in the frame indicated by the input data. Note that the estimation unit 21 may have learned by referring to replaced data obtained by the information processing device 1 replacing at least one of a plurality of regions included in the input data with alternative data according to the importance.
[0042] (Effect of information processing method S2) As described above, the information processing method S2 according to this exemplary embodiment is configured to acquire input data including at least one of image data and point cloud data, and estimate the importance of each of a plurality of regions included in a frame indicated by the input data. Therefore, the information processing device 2 according to this exemplary embodiment has an effect of providing a technique that can suitably estimate important and non-important regions in an image.
[0043] Exemplary embodiment 2 A second exemplary embodiment of the present invention will be described in detail with reference to the drawings. Note that the description of components having the same functions as those described in the first exemplary embodiment will be omitted as appropriate.
[0044] (Configuration of information processing device 3) The information processing device 3 described in this exemplary embodiment 2 is a device that evaluates the importance of video (video images) captured by a video camera mounted on an autonomous vehicle. An autonomous vehicle is an example of a moving object that is automatically driven by an autonomous driving controller based on video captured by the video camera. The video captured by the video camera is also transmitted as surveillance video to a driving monitoring center and is monitored on a monitor by a monitor. The monitor looks at the surveillance video displayed on the monitor to confirm that there are no abnormalities, and if an abnormality occurs or is likely to occur, takes appropriate measures such as remotely operating the autonomous vehicle himself. In this way, the operation of the moving object can be safely monitored or operated.
[0045] The surveillance video is transmitted to the driving monitoring center via a wireless communication network including the Internet. However, the demand for wireless communication networks such as the Internet has been increasing in recent years, and there is not enough available communication bandwidth. If the transmission data capacity of the surveillance video during autonomous driving is large, there is a risk that the surveillance video will be distorted and sufficient monitoring will not be possible if the available communication bandwidth decreases due to deterioration of the communication state, etc. Therefore, it is preferable to reduce such a risk by transmitting surveillance video with the minimum necessary data capacity.
[0046] The information processing device 3 is a learning device that learns important areas and unimportant areas in an image in order to reduce the amount of data of the image (monitoring image) to be transmitted to the driving monitoring center. Note that an important area in this embodiment refers to an area that needs to be monitored to ensure the safe operation of an autonomous vehicle. Also, a unimportant area refers to an area that is less important than an important area.
[0047] (Information processing system 300) The configuration of an information processing system 300 according to an exemplary embodiment 2 will be described below. Fig. 5 is a block diagram showing the configuration of an information processing system 300 including an information processing device 3. As shown in Fig. 5, the information processing system 300 includes an information processing device 3 and a mobile object 40. The information processing device 3 includes a control unit 30, a communication unit 36, an output unit 37, and a memory 38. The mobile object 40 includes an imaging unit (video camera) 41 and a transmission unit 42. The video camera 41 is an on-board camera mounted on the mobile object 40, and the transmission unit 42 transmits the video captured by the video camera 41 to the information processing device 3, for example, by wireless communication.
[0048] The control unit 30 includes an acquisition unit 31, an estimation unit 32, a replacement unit 33, an evaluation unit 34, and a learning unit 35. These will be described later.
[0049] The communication unit 36 receives the video data transmitted from the transmission unit 42. The communication unit 36 may receive the video data via wireless communication or wired communication.
[0050] The output unit 37 outputs at least a part of the data generated inside the information processing device 3, such as the acquired data, the replaced data, various parameters set in the estimation unit 32, information on the importance estimated by the estimation unit 32, or an evaluation value. The output data may be displayed on a display device or the like, or may be transmitted to the outside.
[0051] The memory 38 temporarily or non-temporarily stores various programs and various data referenced by the control unit 30.
[0052] Next, a description will be given of components included in the control unit 30. The acquisition unit 31, the estimation unit 32, the replacement unit 33, the evaluation unit 34, and the learning unit 35 of the control unit 30 have functions equivalent to those of the acquisition unit 10, the estimation unit 11, the replacement unit 12, the evaluation unit 13, and the learning unit 14 of the information processing device 1.
[0053] The acquisition unit 31 acquires video data from the video camera 41. 6001 in Fig. 6A is one frame of a video acquired by the acquisition unit 31 from the video camera 41. Frame 6001 shows a car 71 traveling ahead, a road 72, a center line 73, sidewalks 74 and 75, a field 76 next to the sidewalk 75, a background 77, a sky 78, and the like.
[0054] The estimation unit 32 estimates the importance (necessity of monitoring) of an area in an image 6001 of one frame. 6002 shown in FIG. 6B is a heat map in which the estimation unit 32 estimates the importance. In an actual heat map, the importance is indicated by color, but in the heat map 6002, the importance is indicated by the degree of shading for convenience, and the darker the area, the higher the importance. The area 81 of the heat map 6002 includes a car 71, a road 72 including a center line 73, a sidewalk 75, a field 76 next to the sidewalk, etc., and is understood to be an area of high importance. Moreover, the area 82 includes a sidewalk 74 on the driving lane side, a part of the background 77, etc., and is understood to be an area of high importance. Conversely, the area 83 is a road on which no car is traveling and the sky, and is understood to be an area of relatively low importance compared to the areas 81 and 82.
[0055] As an example, the estimation unit 32 estimates the importance using a self-attention module. The self-attention module is a known module that has an algorithm that pays attention to its own intermediate calculation results and determines the data to be read from them. The function generated by the self-attention module includes a parameter for weighting. A method for training the estimation unit 32 will be described later.
[0056] The replacement unit 33 replaces data of low importance areas in the image 6001 with alternative data. Specifically, the replacement unit 33 replaces one or more areas selected in ascending order of importance and having a predetermined ratio in the frame with alternative data. The alternative data is data with a smaller data amount (data size) than the original data. The replaced image 6003 shown in FIG. 6C includes an area 92 in which an area 83 of the heat map 6002 with low importance has been replaced with noise data. The noise data has a smaller data size than the original image data. Area 91 is an area of high importance and is therefore not replaced with noise data.
[0057] The replacement unit 33 may replace data in an area of low importance with data other than noise, for example, image data with a large quantization error. In other words, the substitute data used by the replacement unit 33 is data including at least one of noise and image data with a large quantization error. FIGS. 7A to 7C are diagrams showing a method of replacing data in an area of low importance of an image with image data with a large quantization error by setting a large quantization parameter. An image 7001 in FIG. 7A and a heat map 7002 in FIG. 7B are the same as an image 6001 in FIG. 6A and a heat map 6002 in FIG. 6B. An image 7003 shown in FIG. 7C is an image in which an area of low importance 83 is replaced with image data with a large quantization error. By setting a large quantization parameter, the data size can be reduced.
[0058] The evaluation unit 34 derives an evaluation value when the replaced image 6003 or image 7003 is used. Specifically, the evaluation unit 34 derives the evaluation value by referring to, for example, an output from a controller of a moving body to which the replaced image is input. The replaced image 6003 or image 7003 has a part with a large amount of noise or quantization error. If such a replaced image does not affect the safe driving of an autonomous vehicle, a high evaluation value is given to the replaced image. A specific example of the evaluation unit 34 will be described later.
[0059] The learning unit 35 trains the estimation unit 32 by referring to the evaluation value derived by the evaluation unit 34. A specific example of the learning unit 35 will be described later.
[0060] The data acquired by the acquisition unit 31 may be still image data instead of moving image data. Also, instead of image data, the data may be point cloud data acquired by, for example, a 3D Lidar. The point cloud data is a distance measuring device that irradiates infrared rays, lasers, etc., receives reflected waves from each point on an object, and derives the direction and distance to each point. The point cloud data is a collection of data indicating the direction and distance to each point of an object acquired by such a distance measuring device.
[0061] Fig. 8 shows an example of an image based on point cloud data that can be processed by the information processing device 3. Fig. 8 is a diagram showing an image of point cloud data acquired by 3D Lidar. It is possible to estimate the importance of each region for point cloud data as in the case of an image. In the case of point cloud data, the replacement unit 33 adds noise to point data of regions with low importance.
[0062] In the information processing device 3 described above, the image data acquired by the acquisition unit 31 is moving image data acquired from the video camera 41. However, the image data acquired by the acquisition unit 31 is not limited to this, and may be, for example, a virtual simulation image created by a simulation computer that simulates an image from an in-vehicle camera.
[0063] (Effects of information processing device 3) As described above, the information processing device 3 according to the present exemplary embodiment 2 employs a configuration including the control unit 30, the communication unit 36, the output unit 37, and the memory 38. Therefore, according to the information processing device 3 according to the present exemplary embodiment, in addition to the effects of the information processing device 1 according to the exemplary embodiment 1, the effect of being able to output and confirm at least a part of the data generated inside the information processing device 3, such as input data, replaced data, various set parameters, or evaluation values, can be obtained.
[0064] (Specific examples of learning methods) Next, a method S3 for training the estimation unit 32 including the self-attention module will be described with reference to the drawings. Fig. 9 is a flowchart showing an example of the flow of the learning method (information processing method) S3 for training the estimation unit 32. The learning method S3 is a method for learning using a simulated video used in an autonomous driving simulation.
[0065] First, in step S30, the control unit 30 initializes data of the self-attention module.
[0066] Next, in step S31, the control unit 30 acquires parameters of the self-attention module. The parameters acquired during the first simulation are parameters arbitrarily set and input by the user.
[0067] Next, in step S32, the evaluation unit 34 executes a simulation and performs an evaluation. In this embodiment, the simulation executed is an automatic driving simulation, and the control unit 30 derives a reward value from the result. A detailed flow of the simulation evaluation will be described later with reference to a different drawing.
[0068] Next, in step S33, the evaluation unit 34 calculates an average reward. The average reward is an average value of reward values as evaluation values repeatedly derived a predetermined number of times in a simulation evaluation described later. Specifically, in the simulation evaluation, as described later, a series of simulation steps are repeated a predetermined number of times. At that time, the reward values derived in each simulation step are accumulated. Then, the value obtained by dividing the final accumulated value of reward values by the predetermined number of times is the average value of reward values.
[0069] Next, in step S34, the control unit 30 updates the parameters of the self-attention module. Specifically, the learning unit 35 updates the parameters based on the magnitude of the reward value derived in step S33 so that the reward value becomes larger. Specifically, the learning unit 35 updates the parameters based on the magnitude of the average value of the reward value so that the average value of the reward value becomes larger.
[0070] Next, in step S35, the control unit 30 determines whether or not a predetermined number of simulation evaluations have been performed. If it is determined in step S35 that a predetermined number of simulation evaluations have been performed (step S35: YES), the learning flow ends. On the other hand, if it is determined that a predetermined number of simulation evaluations have not been performed (step S35: NO), the process returns to step S31. In step S31, the control unit 30 acquires the parameters updated in step S34.
[0071] Next, a detailed flow of the simulation evaluation step of step S32 will be described with reference to the drawings. FIG. 10 is a flowchart of the simulation evaluation method S4. In this embodiment, the simulation evaluation is performed using an automatic driving simulator. The automatic driving simulator is a device that simulates automatic driving performed by an automatic driving controller on a computer based on a video that simulates a video captured by an on-board camera. For example, the open source CARLA can be used as the automatic driving simulator.
[0072] First, in step S40, the control unit 30 initializes the data of the automatic driving simulator.
[0073] Next, in step S41, the control unit 30 acquires input data from the autonomous driving simulator. Specifically, the acquisition unit 31 acquires simulated video data from the autonomous driving simulator as input data, and transmits the input data to the estimation unit 32.
[0074] Next, in step S42, the control unit 30 estimates the importance of the acquired input data. Specifically, the estimation unit 32 divides frame data of the video data into a plurality of regions, and estimates the importance of each region using a self-attention module.
[0075] Next, in step S43, the control unit 30 replaces a predetermined percentage of the areas with alternative data in ascending order of importance. Specifically, for example, the predetermined percentage is set to 40%. In this case, the replacement unit 33 selects areas in ascending order of importance, and stops selection when the total data size (or image area) of the selected areas becomes 40% or more of the whole. Then, the replacement unit 33 replaces all the selected areas with alternative data.
[0076] Next, in step S44, the control unit 30 inputs the replaced image to the automatic driving controller, and obtains a control command output by the automatic driving controller.
[0077] Next, in step S45, the evaluation unit 34 inputs a control command to the autonomous driving simulator to obtain a reward, and adds it to the cumulative reward value. Accumulation of reward means, for example, adding the reward value of the nth (n is an integer equal to or greater than 2) simulation step to the sum of the reward values of the 1st to the n-1th simulation steps. That is, the cumulative reward value up to the nth step is calculated by adding the reward value of the nth step to the sum of the reward values of the 1st to the n-1th steps.
[0078] If the driving result of the autonomous driving simulator to which the control command is input is a safe driving, a high reward value is given. Conversely, if the driving result of the autonomous driving simulator is a driving that is unsafe, a low reward value is given. Whether or not the driving was safe may be considered mainly based on whether or not there was an accident.
[0079] Next, in step S46, the control unit 30 judges whether or not all the simulation steps have been completed. That is, it judges whether or not all the simulated images held by the autonomous driving simulator have been replaced and input to the controller. If it is judged in step S46 that all have been completed or that an accident has occurred (step S46: YES), the process proceeds to step S47. If it is judged in step S46 that all have not been completed (step S46: NO), the process returns to step S41.
[0080] In step S47, the control unit 30 judges whether or not a predetermined number of simulations have been completed. The predetermined number of simulations is, for example, a number of times sufficient for calculating an average reward. If it is judged in step S47 that the predetermined number of simulations have been completed (step S47: YES), the simulation evaluation step is terminated and the process proceeds to step S33 in FIG. 9. If it is judged in step S47 that the predetermined number of simulations have not been completed (step S47: NO), the process returns to step S40.
[0081] (Variation of learning method 1) Instead of the simulation evaluation flow shown in FIG. 10, the following simulation evaluation flow may be used. That is, in the simulation evaluation method S4 described with reference to FIG. 10, the ratio of replacement with alternative data is fixed to a predetermined value. However, if the replacement ratio is fixed to a constant value, the learned importance estimation method may become extreme. Specifically, the importance estimation results may become polarized. In that case, it is preferable to set multiple replacement ratios, perform simulation evaluation, and average the results. The method is described below.
[0082] FIG. 11 is a detailed flowchart of the simulation evaluation method S5, which is a modified example of the simulation evaluation step. In this simulation evaluation, a plurality of replacement ratios are set in advance. For example, three replacement ratios, 10%, 30%, and 40%, are set, and the number of simulations at each replacement ratio is determined. For example, the replacement ratio is 10% twice, 30% twice, and 40% twice. The replacement unit 33 generates data after replacement for each of a plurality of predetermined ratios different from each other. Then, the evaluation unit 34 derives a preliminary evaluation value for each of the replaced data generated by the replacement unit 33, and derives an evaluation value by taking an average of the preliminary evaluation values. The preliminary evaluation value is an evaluation value evaluated at one replacement ratio. Then, the preliminary evaluation values derived at all replacement ratios are averaged to obtain a final evaluation value. Note that the expression "preliminary evaluation value" is introduced to clearly distinguish it from the "evaluation value" that is finally derived, and the term "preliminary" does not limit this exemplary embodiment.
[0083] Under the above premise, steps S50 to S57 are the same as steps S40 to S47 in the flowchart of FIG. 10. The difference is that if step S57 is judged as OK (YES), the process proceeds to step S58. In step S58, the estimation unit 32 judges whether or not all simulations for each predetermined ratio have been completed. If it is judged in step S58 that all have been completed (step S58: YES), the simulation evaluation step is terminated and the process proceeds to step S33 in FIG. 9. If it is judged in step S58 that all have not been completed (step S58: NO), the process returns to step S50. Then, the predetermined ratio that has not been completed is set and the simulation step is repeated. By the above learning methods S3, S4, and S5, the estimation unit 32 can learn a method for estimating the importance of a data area.
[0084] (Information processing system 400) Next, a configuration of an information processing system 400 according to an exemplary embodiment 2 will be described. Fig. 12 is a block diagram showing a configuration of an information processing system 400 including an information processing device. As shown in Fig. 12, the information processing system 400 includes an information processing device 4 and a mobile object 60. The information processing device 4 is a device that estimates the importance of each of the areas included in a frame indicated by input data.
[0085] The information processing device 4 includes a control unit 50, a communication unit 53, an output unit 54, and a memory 55. The moving object 60 includes an imaging unit (video camera) 61 and a transmission unit 62. The communication unit 53, the memory 55, the video camera 61, and the transmission unit 62 have the same functions as the communication unit 36, the memory 38, the video camera 41, and the transmission unit 42 described in the information processing system 300, and therefore the description thereof will be omitted.
[0086] The control unit 50 includes an acquisition unit 51 and an estimation unit 52. The acquisition unit 51 acquires a target image via a communication unit 53. The estimation unit 52 estimates the importance of a region of the image acquired by the acquisition unit 51. The estimation unit 52 can use the estimation unit 32 learned by the information processing system 300 described above.
[0087] The information processing device 4 outputs importance information indicating the importance estimated by the estimation unit 52 from the output unit 54. The importance information is at least a part of data generated inside the information processing device 4, such as the acquired image data, various parameters set in the estimation unit 52, and information on the importance estimated by the estimation unit 52. The output from the output unit 54 may be in the form of an image in which the importance of each of multiple regions included in the target image is indicated, or may be a set of region identification information for distinguishing multiple regions from each other and the importance of the region. The output data may be displayed on a display device or the like, or may be transmitted to the outside.
[0088] The information processing method (estimation method) executed by the information processing device 4 is similar to the information processing method (estimation method) S2 described in the first embodiment, and therefore will not be described here.
[0089] The information processing system 300 and information processing methods S3, S4, and S5 according to the above exemplary embodiment 2 can provide a technique for suitably estimating an important area and a non-important area in an image. Also, the information processing system 400 according to the exemplary embodiment 2 can provide a technique for suitably estimating an important area and a non-important area in an image. Specifically, it is possible to estimate the importance of each area included in a video captured by a video camera mounted on a moving object.
[0090] Exemplary embodiment 3 Next, a detailed description will be given of an exemplary embodiment 3 of the present invention with reference to the drawings. An information processing device 3A according to the exemplary embodiment 3 has the same configuration as the information processing device 3 described in the exemplary embodiment 2, and therefore a description of the configuration of the information processing device 3A will be omitted. In the following description, the components of the information processing device 3A will be described using the same reference numerals as the components of the information processing device 3.
[0091] In the information processing device 3A according to this embodiment, the evaluation unit 34 derives the evaluation value by further referring to the input data. The evaluation unit 34 derives the evaluation value by referring to the output of a predetermined controller when the input data is input to the predetermined controller and the output of the predetermined controller when the replaced data is input to the predetermined controller. Specifically, the evaluation unit 34 derives the evaluation value as the difference between the output of the predetermined controller when the input data is input to the predetermined controller and the output of the predetermined controller when the replaced data is input to the predetermined controller. Then, the learning unit 35 trains the estimation unit 32 so as to reduce the evaluation value.
[0092] (Specific examples of learning methods) A specific example of a learning method performed by the estimation unit 32 of the information processing device 3A will be described with reference to the drawings. Fig. 13 is a flowchart showing an example of the flow of a learning method (information processing method) S6 executed by the information processing device 3A according to the exemplary embodiment 3 to learn a method for estimating the importance of an area included in data.
[0093] First, in step S60, the control unit 30 initializes the data of the self-attention module.
[0094] Next, in step S61, the control unit 30 acquires parameters of the self-attention module. The parameters acquired during the first simulation are parameters arbitrarily set and input by the user.
[0095] Next, in step S62, the control unit 30 executes a simulation to perform loss evaluation on the learning data. The executed simulation is an automatic driving simulation, and the evaluation unit 34 derives a loss value from the result of the simulation. In other words, the evaluation value is a loss value derived from the output of the controller. A detailed flow of the loss evaluation will be described later with reference to a different drawing.
[0096] Next, in step S63, the control unit 30 updates the parameters of the self-attention module. Specifically, the learning unit 35 updates the parameters of the self-attention module so that the accumulated loss value is reduced. In other words, the learning unit 35 trains the estimation unit 32 so that the loss value is reduced.
[0097] Next, in step S64, the control unit 30 determines whether or not a predetermined number of simulation evaluations have been performed. If it is determined in step S64 that a predetermined number of simulation evaluations have been performed (step S64: YES), the learning flow ends. On the other hand, if it is determined that a predetermined number of simulation evaluations have not been performed (step S64: NO), the process returns to step S61. In step S61, the estimation unit 32 acquires the parameters updated in step S63.
[0098] Next, a detailed flow of the loss evaluation step S62 will be described with reference to the drawings. Fig. 14 is a flowchart of the loss evaluation method S7. The loss evaluation is performed using an automatic driving simulator.
[0099] First, in step S70, the control unit 30 initializes the data of the automatic driving simulator.
[0100] Next, in step S71, the control unit 30 acquires input data from the learning data. Specifically, the estimation unit 32 acquires, via the acquisition unit 31, frame data selected from a simulated video image of an in-vehicle camera as the learning data, as the input data.
[0101] Next, in step S72, the control unit 30 estimates the importance of the acquired input data. Specifically, the estimation unit divides the frame data into a plurality of regions, and estimates the importance of each region using a self-attention module.
[0102] Next, in step S73, the control unit 30 replaces a predetermined percentage of the areas with alternative data in ascending order of importance. Specifically, for example, the predetermined percentage is set to 40%. In this case, the replacement unit 33 selects areas in ascending order of importance, and stops selection when the total data size (or image area) of the selected areas reaches 40% or more of the whole. Then, all the selected areas are replaced with alternative data.
[0103] Next, in step S74, the evaluation unit 34 inputs the replaced image to the automatic driving controller and obtains the control command A output by the automatic driving controller.
[0104] Next, in step S75, the evaluation unit 34 inputs the original image (the image before replacement) to the automatic driving controller, and obtains the control command B output by the automatic driving controller.
[0105] Next, in step S76, the evaluation unit 34 calculates a loss value from control command A and control command B, and adds it to the cumulative value of the loss values. Accumulating the loss values means, for example, adding the loss value when the nth (n is an integer equal to or greater than 2) piece of input data is used to the sum of the loss values when the 1st to the n-1th input data are used. In other words, the cumulative value of the loss values up to the nth time is calculated by adding the loss value for the nth time to the sum of the loss values from the 1st to the n-1th time.
[0106] Next, in step S77, the control unit 30 judges whether or not all the learning data has been completed. That is, it judges whether or not all the frame data selected from the simulation video has been replaced and input to the controller. If it is judged in step S77 that all the learning data has been completed (step S77: YES), the flow ends the loss evaluation and proceeds to step S63 in FIG. 13. If it is judged in step S77 that all the learning data has not been completed (step S77: NO), the flow returns to step S71.
[0107] (Specific example of steps S74 to S76) Although this embodiment is not limited to this, a specific example of steps S74 to S76 will be described. There are three types of control commands that are output when an image is input to the automatic driving controller: a throttle opening command (acceleration command), a brake strength command (deceleration command), and a steering command (direction change command). In this case, it is assumed that the control commands when the image before replacement is input are an acceleration command of 0.0, a deceleration command of 1.0, and a direction change command of 0.0. It is also assumed that the control commands when the image after replacement is input are an acceleration command of 0.5, a deceleration command of 0.0, and a direction change command of -0.1. In this case, the evaluation unit 34 can use, for example, the mean square sum as the loss value. That is, Loss value = ((0.5-0.0)2 + (0.0-1.0)2 + (-0.1-0.0)2) / 3 =0.42 (In the above formula, the symbol " / " represents division.)
[0108] (Variation 2 of learning method) Instead of the loss evaluation flow shown in Fig. 14, the following loss evaluation flow may be used. That is, in the loss evaluation method S7 described with reference to Fig. 14, the ratio of replacement with alternative data is fixed to a predetermined value. However, for the reasons described in Modification 1 of the learning method of the exemplary embodiment 2, it is preferable to set multiple replacement ratios, perform loss evaluation, and average the results. The method is described below.
[0109] FIG. 15 is a detailed flowchart of the loss evaluation method S8, which is a modified example of the simulation evaluation step. In this loss evaluation, a plurality of replacement ratios are set in advance. For example, three replacement ratios are set, namely, 10%, 30%, and 40%. The number of simulations at each replacement ratio is determined. For example, a replacement ratio of 10% is set twice, a replacement ratio of 30% is set twice, and a replacement ratio of 40% is set twice. The replacement unit 33 generates data after replacement for each of a plurality of predetermined ratios different from each other. The evaluation unit 34 derives a preliminary loss value for each of the replaced data generated by the replacement unit 33, and derives an evaluation value by averaging the preliminary loss values. The preliminary loss value is a loss value evaluated at one replacement ratio. The preliminary loss values derived at all replacement ratios are averaged to obtain a final evaluation value.
[0110] Under the above premise, steps S80 to S87 are the same as steps S70 to S77 in the flowchart of FIG. 14. The difference is that if step S87 is judged as YES, the flow proceeds to step S88. In step S88, the control unit 30 judges whether or not all simulations for each predetermined ratio have been completed. If it is judged that all have been completed (step S88: YES) in step S88, the loss evaluation step is terminated, and the flow proceeds to step S63 in FIG. 13. If it is judged that all have not been completed (step S88: NO) in step S88, the flow returns to step S80. Then, the predetermined ratio that has not been completed is set and the simulation step is repeated. By the above learning methods S6, S7, and S8, the estimation unit 32 can learn a method for estimating the importance of an area included in data.
[0111] The information processing device 3A and the information processing methods S6, S7, and S8 according to the above exemplary embodiment 3 can provide a technique that can suitably estimate important and non-important areas in an image.
[0112] Exemplary embodiment 4 Next, a fourth exemplary embodiment of the present invention will be described in detail with reference to the drawings. An information processing device 5 according to the fourth exemplary embodiment has the same configuration as the information processing device 3 described in the second exemplary embodiment, and therefore the configuration of the information processing device 5 will not be described. In the following description, the components of the information processing device 5 will be described using the same reference numerals as the components of the information processing device 3.
[0113] In the information processing device 5 according to this embodiment, the evaluation unit 34 derives an evaluation value by further referring to the data size of the data after replacement. Then, the learning unit 35 trains the estimation unit 32 so that the data size of the data after replacement is reduced. Even if an area of low importance estimated by the estimation unit 32 trained by the reward or loss value is replaced with noise, the data size may not necessarily be reduced. For example, the sky with little change may not contribute to reducing the data size even if it is turned into noise. The reason for turning an area of low importance into noise was to reduce the data size, so this does not achieve the purpose. Therefore, it may be preferable to have the estimation unit 32 learn an estimation method taking into account the data size after replacement.
[0114] (Specific examples of learning methods) A specific example of a learning method performed by the estimation unit 32 of the information processing device 5 will be described with reference to the drawings. Fig. 16 is a flowchart showing an example of the flow of a learning method (information processing method) S9 executed by the information processing device 5 according to the exemplary embodiment 4 to learn a data importance estimation method.
[0115] First, in step S90, the control unit 30 initializes the data of the self-attention module.
[0116] Next, in step S91, the control unit 30 acquires parameters of the self-attention module. The parameters acquired during the first simulation are parameters arbitrarily set and input by the user.
[0117] Next, in step S92, the control unit 30 executes a simulation and evaluates it. In this embodiment, the simulation executed is an automatic driving simulation, and the control unit 30 derives a reward value and a data size from the result. A detailed flow of the simulation evaluation will be described later with reference to a different drawing.
[0118] Next, in step S93, the evaluation unit 34 calculates the average reward and the average data size. The average reward is as described in the second exemplary embodiment. The data size is the data size after replacement. The average data size is the average of the data sizes obtained in multiple simulation evaluations. In this case, if the average reward is Ra, the average data size is Va, and the predetermined coefficient is α (α>0), the evaluation value is Ra-αVa In other words, the smaller the average data size, the larger the evaluation value. Here, the specific value of the predetermined coefficient does not limit this exemplary embodiment, but as an example, it can be appropriately set according to the possible range of the average reward, the possible range of the average data size, and the desired encoded data size.
[0119] Next, in step S94, the control unit 30 updates the parameters of the self-attention module. Specifically, the learning unit 35 updates the parameters so as to increase the evaluation value based on the magnitude of the evaluation value derived in step S93 from the average reward and the average data size.
[0120] Next, in step S95, the control unit 30 determines whether or not a predetermined number of simulation evaluations have been performed. If it is determined in step S95 that a predetermined number of simulation evaluations have been performed (step S95: YES), the learning flow ends. On the other hand, if it is determined that a predetermined number of simulation evaluations have not been performed (step S95: NO), the process returns to step S91. In step S91, the control unit 30 acquires the parameters updated in step S94.
[0121] Next, a detailed flow of the simulation evaluation step S92 will be described with reference to the drawings. Fig. 17 is a flowchart of the simulation evaluation method S10. In this embodiment, the simulation evaluation is performed using an automatic driving simulator.
[0122] First, in step S101, the control unit 30 initializes data of the automatic driving simulator.
[0123] Next, in step S102, the control unit 30 acquires input data from the autonomous driving simulator. Specifically, the acquisition unit 31 acquires simulated video data from the autonomous driving simulator as input data, and transmits the input data to the estimation unit 32.
[0124] Next, in step S103, the control unit 30 estimates the importance of the region of the acquired input data. Specifically, the estimation unit 32 divides frame data of the video data into a plurality of regions and estimates the importance of each region using a self-attention module.
[0125] Next, in step S104, the control unit 30 replaces a predetermined percentage of the areas with substitute data in ascending order of importance, replaces all the selected areas with substitute data, and encodes the image data after replacement.
[0126] Next, in step S105, the control unit 30 decodes the encoded data, i.e., restores the replaced image data.
[0127] Next, in step S106, the control unit 30 inputs the decoded image data to the automatic driving controller and obtains a control command.
[0128] Next, in step S107, the control unit 30 inputs a control command to the autonomous driving simulator to obtain a reward, and adds the reward to an accumulated value. The accumulation of rewards is as described in the first exemplary embodiment.
[0129] Next, in step S108, the control unit 30 judges whether or not all the simulation steps have been completed. That is, it judges whether or not all the simulated images held by the autonomous driving simulator have been replaced and input to the controller. If it is judged in step S108 that all the steps have been completed or that an accident has occurred (step S108: YES), the process proceeds to step S109. If it is judged in step S108 that all the steps have not been completed (step S108: NO), the process returns to step S102.
[0130] In step S109, the control unit 30 acquires the data size after encoding. Specifically, the evaluation unit 34 acquires the data size after encoding of the replaced image data encoded in step S104.
[0131] In step S110, the control unit 30 judges whether or not a predetermined number of simulations have been completed. The predetermined number of simulations is, for example, a number of times sufficient to calculate the average reward and the average data size after encoding. If it is judged in step S110 that the predetermined number of simulations have been completed (step S110: YES), the simulation evaluation step is terminated and the process proceeds to step S93 in FIG. 16. If it is judged in step S110 that the predetermined number of simulations have not been completed (step S110: NO), the process returns to step S101.
[0132] The information processing device 5 and information processing methods S9 and S10 according to the above-described fourth exemplary embodiment can provide a technique for suitably estimating important and non-important areas in an image.
[0133] Exemplary embodiment 5 Next, an exemplary embodiment 5 of the present invention will be described in detail with reference to the drawings. This exemplary embodiment is one form of an exemplary embodiment of an image display system. The image display system 10b according to this exemplary embodiment estimates importance and quality parameters for each of a plurality of regions included in an acquired image, and then determines quality parameters by referring to the estimated importance and quality parameters. This is a system that transmits encoded data that is encoded using the determined quality parameters, and displays it on a display unit.
[0134] (Image display system configuration) The configuration of an image display system 10b according to the fifth exemplary embodiment will be described with reference to Fig. 18. Fig. 18 is a block diagram showing the configuration of the image display system 10b. As shown in Fig. 18, the image display system 10b includes an image processing device 100b, a display device 200b, and a moving object 300b.
[0135] As an example, the image display system 10b can be used for remote control of a moving object such as an autonomous vehicle, a robot, or a drone. In such remote control, for example, an image captured by a camera installed in the moving object is processed by the image processing device 100b, and the processed image is transmitted to a remote location such as an operation monitoring center. The transmitted image is received by the display device 200b disposed in the remote location, and the image is displayed by the display unit 206b. This allows a person from the remote location to monitor whether the moving object is operating properly.
[0136] The display unit 206b may be a liquid crystal display panel that displays images, but is not limited to this.
[0137] The image processing device 100b and the display device 200b included in the image display system 10b will be described below.
[0138] (Description of the moving object) In the fifth exemplary embodiment, a moving object 300b is illustrated and explained. As shown in Fig. 18, the moving object 300b includes an imaging unit 302b and a communication unit 304b. Each of them will be explained below.
[0139] The imaging unit 302b may be an imaging device such as a camera, for example. The imaging unit 302b may acquire still images or may acquire moving images. The imaging unit 302b preferably acquires an image including an angle of view in the traveling direction (forward) of the moving body 300b, but this does not limit the present exemplary embodiment. As an example, the imaging unit 302b may acquire an image including an angle of view in the opposite direction (rear) to the traveling direction of the moving body 300b, or may acquire an image including an angle of view in a direction perpendicular to the traveling direction of the moving body (side).
[0140] The communication unit 304b transmits the image captured by the imaging unit 302b to the image processing device 100b. As an example, the communication unit 304b may be configured to include an antenna and transmit encoded data using wireless communication, but this does not limit the present embodiment, and wired communication or a combination of wireless communication and wired communication may be used.
[0141] (Configuration of image processing device) 18, the image processing device 100b includes an acquisition unit 102b, an importance estimation unit 104b, a quality parameter estimation unit 105b, a quality parameter determination unit 106b, an encoding unit 108b, and a transmission unit 110b. Each of these will be described below.
[0142] (Acquisition Department) The acquisition unit 102b acquires an image. The image acquired by the acquisition unit 102b is an image captured from the moving object 300b. A specific example of the process performed by the acquisition unit 102b will be described later.
[0143] (Importance estimation part) The importance estimation unit 104b estimates the importance of each of a plurality of regions included in the image acquired by the acquisition unit 102b. The importance estimation unit 104b according to this exemplary embodiment is the same as the estimation unit described in the exemplary embodiments 1 and 2. 11、 21 and the Estimation Department 、32、 52, and can be constructed using an inference model trained by the following learning process, as an example.
[0144] (Substitution step) At least one of a plurality of regions included in the learning image acquired by the acquisition unit 102b is replaced with alternative data according to the importance estimated by the importance estimation unit 104b, thereby generating replaced data.
[0145] (Evaluation step) The evaluation value is derived by referring to the data after the replacement. Here, in the evaluation step, the learning image before replacement acquired by the acquisition unit 102b may be further referred to.
[0146] (Learning Steps) The importance estimation unit 104b is trained by referring to the evaluation value. Here, the importance estimation unit 104b can train by updating various parameters of the inference model functioning as the importance estimation unit 104b according to the evaluation value. A specific example of the processing by the importance estimation unit 104b will be described later.
[0147] (Quality parameter estimation part) The quality parameter estimation unit 105b estimates a preliminary quality parameter for each of a plurality of regions included in the image acquired by the acquisition unit 102b. As an example, the quality parameter estimation unit 105 estimates the preliminary quality parameter so that the encoding efficiency is improved when the image is encoded. As an example, the estimation of the preliminary quality parameter prior to the determination of the quality parameter can be performed using a video encoding technique such as H265, but this is not a limitation of this exemplary embodiment.
[0148] In this exemplary embodiment, the expression "preliminary quality parameters" is introduced formally to avoid confusion with the "quality parameters" determined by the quality parameter determination unit 106b described later. The term "preliminary" does not represent any substantial limitation in the video encoding technology.
[0149] In this exemplary embodiment, an example of the "preliminary quality parameter" may be a quantization parameter (QP: Quantum Parameter) for specifying the coarseness of the quantization process applied to the target image, similar to the "quality parameter".
[0150] Moreover, the "multiple regions" referred to by the quality parameter estimation unit 105b do not need to be the same as the "multiple regions" referred to by the importance estimation unit 104b. As an example, the "multiple regions" referred to by the quality parameter estimation unit 105b may be regions called "coding units" or "macroblocks" that are generated or referenced in a video coding technique. On the other hand, the "multiple regions" referred to by the importance estimation unit 104b may be individual attention regions that are generated or referenced by a Self-Attention algorithm, as an example.
[0151] The specific processing performed by the quality parameter estimation unit 105b will be described later with reference to another drawing.
[0152] (Quality Parameter Determination Unit) The quality parameter determination unit 106b determines a quality parameter for each of the multiple regions by referring to the importance and the estimated preliminary quality parameter. The quality parameter determination unit 106b according to this exemplary embodiment determines a quality parameter by referring to not only the importance but also the preliminary quality parameter. As an example, the quality parameter determination unit 106b can set a quality parameter to have a positive correlation with the importance estimated by the importance estimation unit 104 and the preliminary quality parameter estimated by the quality parameter estimation unit. That is, the quality parameter determination unit 106b can set a quality parameter such that the higher the importance estimated by the importance estimation unit 104b, the higher the image quality of the region.
[0153] As described above, in general, the "multiple regions" referred to by the quality parameter estimation unit 105b may not be the same as the "multiple regions" referred to by the importance estimation unit 104b. In other words, each of the multiple regions (e.g., region R1a, region R2a, region R3a, ...) to which the quality parameter estimation unit 105b assigns preliminary quality parameters may not completely overlap each of the multiple regions (e.g., region R1b, region R2b, region R3b) to which the importance estimation unit 104b assigns importance.
[0154] In such a case, the quality parameter determination unit 106b can be configured to determine the quality parameters of the region to which the quality parameter estimation unit 105b has assigned a preliminary quality parameter by referring to any region that is included in or overlaps with the region to which the importance estimation unit 104b has assigned an importance.
[0155] As an example, when a region R1a to which the quality parameter estimation unit 105b has assigned a preliminary quality parameter includes or overlaps with a plurality of regions R1b and regions R2b to which the importance estimation unit 104b has assigned importance, the quality parameter determination unit 106b can be configured to determine the quality parameter of region R1a by referring to at least one of the importance assigned to region R1b and region R2b.
[0156] (encoding section) The encoding unit 108b generates encoded data by encoding the target image using the quality parameters determined by the quality parameter determination unit 106b. 。
[0157] (Transmitter) The transmission unit 110b transmits the encoded data generated by the encoding unit 108b. 。
[0158] As an example, the transmitting unit 110b may be equipped with an antenna and configured to transmit encoded data using wireless communication, but this is not a limitation of this embodiment, and wired communication may also be used, or a combination of wireless communication and wired communication may also be used.
[0159] (Display Device Configuration) The display device 200b includes a receiving unit 202b, a decoding unit 204b, and a display unit 206b.
[0160] The receiving unit 202b is an embodiment of the receiving means set forth in the claims. The display unit 206b is an embodiment of the display means set forth in the claims.
[0161] The receiving unit 202b receives the encoded data transmitted from the transmitting unit 110b.
[0162] The decoding unit 204b decodes the coded data received by the receiving unit 202b and converts it into image data.
[0163] Although the specific decoding algorithm used by the decoding unit 204b does not limit this exemplary embodiment, it is preferable that the decoding algorithm adopts an algorithm corresponding to the encoding algorithm used by the encoding unit 108b. The decoding unit 204b may adopt a configuration in which the decoding process for each of the multiple regions is performed by referring to the quality parameters determined for that region by the quality parameter determination unit 106b and included in the encoded data.
[0164] As a result, the quality of the image decoded by the decoding unit 204b conforms to the quality parameters determined by the quality parameter determination unit 106b.
[0165] The display unit 206b displays the image decoded by the decoding unit 204b. 。
[0166] (Effects of image display system) According to the image display system 10b configured as above, the image processing device 100b can specify the roughness of the encoding process according to the importance of each of the regions included in the target image captured from the moving object. Therefore, the image data captured from the moving object and encoded is suitably reduced, and the transmission load can be suitably suppressed.
[0167] Hereinafter, the flow of the display method in the image display system 10b according to the fifth exemplary embodiment will be described with reference to FIGS. (Explanation of the display method in the image display system) Fig. 19 is a flow diagram showing the flow of a display method in the image display system 10b according to exemplary embodiment 5, and shows a flowchart S100b showing the flow of processing in the image processing device 100b and a flowchart S200b showing the flow of processing in the display device 200b. As shown in Fig. 19, the flowchart S100b showing the flow of processing in the image processing device 100b according to exemplary embodiment 5 includes steps S102b to S110b.
[0168] Moreover, a flowchart S200b showing the flow of processing in the display device 200b according to the fifth exemplary embodiment includes steps S202b, S204b, and S206b.
[0169] 20A to 20C are diagrams for explaining a specific example of a display method in the image display system 10b according to the fifth exemplary embodiment, and the images and schematic diagrams shown in these drawings have a mutual correspondence. An image 702 shown in FIG. 20A shows an example of an image captured from a moving object acquired by the acquisition unit 102b in step S102b. A schematic diagram 704 shown as FIG. 20B shows the importance estimated for each of the multiple regions by the importance estimation unit 104b in step S104b. A schematic diagram 706 shown as FIG. 20C shows the preliminary quality parameters estimated for each of the multiple regions by the quality parameter estimation unit 105b in step S105b. An exemplary process flow will be described later with reference to these drawings.
[0170] Figures 21A and 21B show a processing example of step S106b of the display method in the image display system 10b according to the exemplary embodiment 5. A flow chart S1060a shown in Figure 21A shows a flow of a processing example of determining the quality parameters in step S106b shown in Figure 19. A schematic diagram 802 shown in Figure 21B shows quality parameters determined by the processing example in step S106b for each of the multiple regions in the schematic diagram 706 shown in Figure 21C.
[0171] Hereinafter, the flow of the display method in the image display system 10b according to the fifth exemplary embodiment will be described with reference to FIGS.
[0172] (Explanation of the process flow in the image processing device) (Step S102b) In step S102b, in the process of the image processing device 100b according to the fifth exemplary embodiment, the acquisition unit 102b acquires a captured image. Acquisition section 10 Since the configuration is the same as that described above, the description will be omitted.
[0173] An example of an image acquired in step S102b is shown in Fig. 20A as image 702. This image 702 is an image captured by the imaging unit 302 of the moving body 300b, which in this specific example is a moving vehicle. The image 702 is a still image including an angle of view in the traveling direction (forward) of the moving body 300b (a moving vehicle), and a preceding vehicle traveling ahead is captured near the center of the image.
[0174] (Step S104b) In step S104b, in the process in the image processing device 100b according to the fifth exemplary embodiment, the importance estimation unit 104b estimates the importance of each of a plurality of regions included in the image. The process in the importance estimation unit 104b according to this step includes the same process as that explained in the image display system 10b, and therefore the explanation already given will be omitted.
[0175] An example of the importance estimated by the importance estimation unit 104b in step S104b is shown as a schematic diagram 704 in Fig. 20B. The importance estimation unit 104b divides the image 702 acquired in step S102b into 24 regions of 6 columns and 4 rows, as shown in the schematic diagram 704 in Fig. 20B as an example, and estimates the importance of each of the 24 regions.
[0176] In addition, in this importance estimation process, the importance estimation unit 104b classifies each of the multiple areas included in the image 702 acquired in step S102b into either an important area (IR) or a non-important area (NIR) according to its importance.
[0177] As an example, the importance estimation unit 104b classifies the 24 areas of the image 702 into six important areas (IR) near where the preceding vehicle is captured and the rest of the areas (NIR) as shown in the schematic diagram 704 in FIG. 20B.
[0178] The importance estimation unit 104b assigns the highest importance (0.9 shown for three areas in the schematic diagram 704) to the area with the highest importance (the area that includes the image of the preceding vehicle). Similarly, the importance estimation unit 104b assigns relatively high importance (0.5 and 0.6 shown for the other three areas in the schematic diagram 704) to areas that are estimated to have relatively high importance (the surrounding areas that include the image of the preceding vehicle).
[0179] Furthermore, the importance estimation unit 104b assigns the lowest importance value (0.1 in the schematic diagram 704) to the region estimated to have the lowest importance (the region in the top row of the schematic diagram 704). In the other non-important regions (NIR), the importance estimation unit 104b estimates that the importance is low, and assigns a low importance value (0.2 in the schematic diagram 704) to regions of the target region that are far from the important region (IR). Furthermore, the importance estimation unit 104b assigns a relatively low importance value (0.3 in the schematic diagram 704) to regions adjacent to the important region (IR) estimated to have a relatively low importance.
[0180] (Step S105b) In step S105b, in the processing in the image processing device 100b according to the fifth exemplary embodiment, the quality parameter estimation unit 105b estimates a preliminary quality parameter for each of a plurality of regions included in the image. Here, as an example, the quality parameter estimation unit 105b estimates the preliminary quality parameter so as to improve the coding efficiency when the image is coded. The quality parameter estimation unit 105b according to this exemplary embodiment is similar to the processing of the quality parameter estimation unit 105b described in the configuration of the image processing device 100b according to the fifth exemplary embodiment, and therefore the description already given will be omitted.
[0181] In this step S105b, an example of the preliminary quality parameters estimated by the quality parameter estimation unit 105b is shown as a schematic diagram 706 in Fig. 20C. As shown in the schematic diagram 706 in Fig. 20C, the quality parameter estimation unit 105b divides the image 702 acquired in step S102b into 24 regions of 6 columns and 4 rows, as an example, and estimates preliminary quality parameters for each of the 24 regions. Here, in the specific example shown in Fig. 20A to Fig. 20C, the "multiple regions" referred to by the quality parameter estimation unit 105b and the "multiple regions" referred to by the importance estimation unit 104b are divided into the same 24 regions of 6 columns and 4 rows, but this does not limit this exemplary embodiment, and as described above, the "multiple regions" of both may generally be different from each other.
[0182] In the example shown in the schematic diagram 706 of Fig. 20C, the area to which a smaller quality parameter is assigned has a higher quality than the area to which a larger quality parameter is assigned. That is, in the schematic diagram 706, the area to which a quality parameter indicated by 40 is assigned has the lowest quality, and the area to which a quality parameter indicated by 10 is assigned has the highest quality.
[0183] (Step S106b) In step S106b, in the processing in the image processing device 100b according to exemplary embodiment 5, the quality parameter determination unit 106b determines quality parameters for each of the multiple regions by referring to the importance estimated by the importance estimation unit 104b and the preliminary quality parameters estimated by the quality parameter estimation unit 105b.
[0184] In this exemplary embodiment, step S106b will be described using a specific example.
[0185] (Processing example of step S106b) Fig. 21A is a flowchart and a schematic diagram 802 showing a processing example of step S106b (this processing example may be denoted by the reference character S1060a). The processing example S1060a will be described in further detail below with reference to Fig. 21A.
[0186] (Step S1061a) Step S1061a is the start of a loop process for a plurality of regions, in which each of the plurality of regions included in the target image is processed in sequence in a predetermined order.
[0187] (Step S1062a) Next, in step S1062a, the quality parameter determination unit 106b judges whether the importance of the target region is equal to or greater than a threshold. Here, the target region refers to a region to be processed among a plurality of regions of the preliminary quality parameters estimated by the quality parameter estimation unit 105b. If the importance of the target region is equal to or greater than the threshold (YES in the judgment step), the quality parameter determination unit 106b proceeds to the next process without performing any processing on the target region. That is, in the target region whose importance is equal to or greater than the threshold, the preliminary quality parameter is determined as the quality parameter as it is. On the other hand, if the importance of the target region is not equal to or greater than the threshold (in other words, if it is a value lower than the threshold) (NO in the judgment step), the process proceeds to step S1063a.
[0188] Note that the specific value of the threshold value does not limit this exemplary embodiment, but as an example, it can be determined in advance according to a desired amount of encoded data.
[0189] A schematic diagram 802 shown in Fig. 21B shows how quality parameters are determined by this processing example in each region shown in the schematic diagram 706 in Fig. 20C. As shown in the schematic diagram 802 in Fig. 21B, in the important region (IR), the preliminary quality parameters shown in the schematic diagram 706 in Fig. 20C are directly set as the quality parameters. That is, in the target region (important region IR) whose importance is equal to or greater than the threshold, the preliminary quality parameters are directly determined as the quality parameters.
[0190] (Step S1063a) In step S1063a, the quality parameter determination unit 106b determines a quality parameter to reduce the image quality of the target region. That is, for a target region whose importance is lower than a threshold, a quality parameter having a value larger than the value of the preliminary quality parameter assigned to the target region is assigned to the target region.
[0191] As an example, the quality parameter determination unit 106b assigns a quality parameter having a value greater than the preliminary quality parameter shown in schematic diagram 706 of FIG. 20C to each region included in the non-important region (NIR), as shown in schematic diagram 802 of FIG. 21B.
[0192] (Step S1065a) This step S1065a is the end of the loop process for multiple regions.
[0193] Returning now to FIG. 19, the steps following step S106b will be described.
[0194] (Step S108b) In step S108b, in the process in the image processing device 100b according to the fifth exemplary embodiment, the encoding unit 108b encodes the image using the quality parameters determined by the quality parameter determination unit 106b to generate encoded data.
[0195] (Step S110b) In step S110b, in the processing in the image processing device 100b according to the fifth exemplary embodiment, the transmission unit 110b transmits the encoded data encoded by the encoding unit 108. The processing in this step by the transmission unit 110b is the same as the processing by the transmission unit 110b described in the configuration of the image processing device 100b according to the third exemplary embodiment, and therefore a detailed description thereof will be omitted here.
[0196] (Explanation of the process flow in the display device) The process flow in the display device 200b will be explained below step by step.
[0197] (Step S202b) In step S202b, in the process in the display device 200b according to the fifth exemplary embodiment, the receiving unit 202b receives the encoded data transmitted from the transmitting unit 110b. The process in this step in the receiving unit 202b is similar to the process described in the display device 200b according to the third exemplary embodiment, and therefore a detailed description thereof will be omitted here.
[0198] (Step S204b) In step S204b, in the process of the display device 200b according to the fifth exemplary embodiment, the decoding unit 204b decodes the encoded data received by the receiving unit 202b and converts it into image data. 。
[0199] (Step S206b) In step S206b, in the process in the display device 200b according to the fifth exemplary embodiment, the display unit 206b displays an image based on the image data obtained from the decoding unit 204b. 。
[0200] (Effects of the display method of the image display system) As described above, according to the display method of the image display system 10b, it is possible to specify the roughness of the encoding process according to the importance for each of a plurality of regions included in the target image captured from a moving body. In particular, in the processing example S1060a of the exemplary embodiment 5, the image data captured from the moving body and encoded is suitably reduced. Therefore, according to the display method of the image display system 10b, the transmission load can be suitably suppressed. Also, in the processing example S1060b of the exemplary embodiment 5, the image data captured from the moving body and encoded is suitably reduced, so that the transmission load can be suitably suppressed, and the image of the important region can be displayed with high quality.
[0201] Exemplary embodiment 6 (Information processing system 500) Next, the sixth exemplary embodiment of the present invention will be described in detail with reference to the drawings. FIG. 22 is a block diagram showing a configuration of an information processing system 500 according to the sixth exemplary embodiment. As shown in FIG. 22, the information processing system 500 includes an information processing device 6 and a mobile object 40. The information processing device 6 includes a control unit 70, a communication unit 76, an output unit 77, and a memory 78. The mobile object 40 includes an imaging unit (video camera) 41 and a transmission unit 42. The communication unit 76, the output unit 77, and the memory 78 of the information processing device 6 have the same configuration as the communication unit 36, the output unit 37, and the memory 38 described in the second exemplary embodiment, so that the description thereof will be omitted. In addition, the imaging unit 41 and the transmission unit 42 of the mobile object 40 have the same configuration as the imaging unit 41 and the transmission unit 42 described in the second exemplary embodiment, so that the description thereof will be omitted.
[0202] The control unit 70 includes an acquisition unit 71, an estimation unit 72, a replacement unit 73, an evaluation unit 74, and a learning unit 75. The acquisition unit 71, the replacement unit 73, the evaluation unit 74, and the learning unit 75 have the same configurations as the acquisition unit 31, the replacement unit 33, the evaluation unit 34, and the learning unit 35 of the control unit 30 described in the exemplary embodiment 2, and therefore the description thereof will be omitted.
[0203] The estimation unit 72 includes a reference data generation unit 721 in addition to the configuration of the estimation unit 32 described in the exemplary embodiment 2. The reference data generation unit 721 generates reference data for a frame indicated by the video data (an example of input data) acquired by the acquisition unit 71, using the video data. The reference data is data obtained by preprocessing the video data (input data) to make it easier for the estimation unit 72 to estimate the importance of each of a plurality of regions of the video data.
[0204] The reference data may have a reduced amount of information compared to the video data before preprocessing. In order to estimate the importance of each of the multiple regions of the video data, the estimation unit 72 can estimate the importance of each of the predetermined regions using the reference data with the reduced amount of information of the video data. In other words, the estimation unit 72 estimates the importance of each of the multiple regions included in the frame using the reference data related to the frame indicated by the input data (video data).
[0205] FIG. 23 is a diagram showing an example of a process in which the information processing device 6 replaces an area of video data with alternative data according to importance. FIG. 23A is one frame of a moving image captured by the imaging unit 41. FIG. 23B is an example of a result of the estimation unit 72 estimating an area of high importance using reference data generated by the reference data generation unit 721. The area surrounded by a white square in the figure is an area that the estimation unit 72 estimates to have high importance. FIG. 23C is an example of a diagram in which the replacement unit 73 replaces an area other than the area that the estimation unit 72 estimates to have high importance with alternative data. In the image shown in FIG. 23C, the image of the area other than the area estimated to have high importance is replaced with an image with a lower resolution.
[0206] The reference data generated or acquired by the reference data generating unit 721 includes, as an example, a segmentation image obtained by applying a segmentation process to a frame. The reference data also includes, as an example, a depth map corresponding to the frame. The reference data also includes, as an example, an object detection result obtained by applying a process for detecting an object to the frame. However, the types of reference data are not limited to these. For example, the reference data may be data that identifies a moving object or the moving direction of the object from multiple frame images. A moving object is likely to be a vehicle or a person, and therefore is considered to have a high importance. The estimation unit 72 may also estimate the importance of each of multiple areas included in the frame using at least one or all of the above reference data.
[0207] (Segmentation processing) Fig. 24 is a diagram showing an example of estimating importance using reference data generated by applying segmentation processing to a frame. Fig. 24A is a frame image before preprocessing, and Fig. 24B is an example of an image obtained by applying segmentation processing to the frame by the reference data generating unit 721. Fig. 24C is an example of a heat map in which the estimation unit 72 estimates importance using the generated segmentation image. As shown in Fig. 24C, a heat map is obtained in which the importance of the vehicle ahead, the sidewalk, the boundary between the road and the sidewalk, etc. is high.
[0208] Segmentation processing is processing for dividing an image into cohesive regions. Examples of segmentation processing include, but are not limited to, semantic segmentation for predicting a class label for each pixel, instance segmentation for predicting a class label for each object, and panoptic segmentation, which is a combination of these.
[0209] (Depth Map) FIG. 25 is a diagram showing an example of estimating importance using a depth map corresponding to a frame as reference data. FIG. 25A is a frame image before preprocessing, and FIG. 25B is an example of a depth map generated by the reference data generating unit 721 from that image. In the illustrated depth map, the closer the distance, the lighter the color is. FIG. 25C is an example of a heat map in which the estimation unit 72 estimates importance using this depth map. In this example, the estimation unit 72 obtains a heat map in which the importance of areas close to the object or areas where a person is present is high.
[0210] In the example shown in FIG. 25, the reference data generating unit 721 generates a depth map from an RGB (Red, Green, Blue) image. However, the method of acquiring the depth map is not limited to this, and the depth map may be acquired using a depth camera or the like. For example, when the imaging unit 41 is a stereo camera (depth camera) or a 3D Lidar or the like, the estimation unit 72 may estimate the importance using a depth image (depth data) acquired by the acquisition unit 71 from the imaging unit 41. In this case, the reference data generating unit 721 does not need to generate reference data.
[0211] The information processing device 6 may estimate the importance of each of a plurality of regions of the video data by using a depth map (or depth data). That is, the information processing device 6 includes a control unit 70, which includes an acquisition unit 71, an estimation unit 72, a replacement unit 73, an evaluation unit 74, and a learning unit 75. The acquisition unit 71 acquires input data including at least one of image data and point cloud data. The estimation unit 72 estimates the importance of each of a plurality of regions included in a frame indicated by the input data by using the depth map. The replacement unit 73 generates replaced data by replacing at least one of a plurality of regions included in the input data with alternative data according to the importance. The evaluation unit 74 derives an evaluation value by referring to the replaced data. The learning unit 75 causes the estimation unit 72 to learn by referring to the evaluation value.
[0212] The estimation unit 72 may further include a reference data generating unit 721 that generates or acquires a depth map. The reference data generating unit 721 generates or acquires a depth map as reference data related to a frame from the input data. The reference data generating unit 721 may generate a depth map from an RGB image as input data, or may acquire depth data from a device capable of measuring distance, such as a depth camera or a 3D Lidar. The reference data generating unit 721 may be a part of the estimation unit 72.
[0213] (Processing to detect objects) FIG. 26 is a diagram showing an example of estimating importance using an object detection result obtained by applying a process for detecting an object to a frame as reference data. FIG. 26A is a frame image before preprocessing, and FIG. 26B is an example of a diagram showing a result of a process performed by the reference data generating unit 721 to detect an object from the image. As shown in the figure, a detected object is surrounded by a bounding box. It is not necessary to detect all objects in the frame. Next, the estimation unit 72 classifies only the bounding box of the object detection result according to importance, as shown in FIG. 26C. In the example shown in the figure, the higher the importance, the darker the bounding box is displayed, and it can be seen that cars, people, etc. are estimated to be more important. Furthermore, the estimation unit 72 estimates importance for each region based on the arrangement of the classified bounding boxes, as shown in FIG. 26D.
[0214] The process of detecting an object may be executed by the reference data generating unit 721. Alternatively, the acquisition unit 71 may execute the process of detecting an object. In that case, the information processing device 6 does not need to include the reference data generating unit 721.
[0215] In the above example, the reference data generating unit 721 performs any one of the segmentation process, the depth map generation process, and the object detection process. However, the present invention is not limited to this example, and the reference data generating unit 721 may perform two or more processes, or all processes, of the segmentation process, the depth map generation process, the object detection process, and other processes. The estimation unit 72 may estimate the importance of each of the multiple regions included in the frame by referring to the multiple reference data generated or acquired by the reference data generating unit 721. This also applies to the exemplary embodiment described below.
[0216] Furthermore, the estimation unit 72 may estimate the importance of each of a plurality of regions included in a frame by using the input data before preprocessing in addition to one or more pieces of reference data generated or acquired by the reference data generation unit 721. This also applies to the exemplary embodiments described below.
[0217] (Simulation evaluation method S4A) Next, a learning method for training the estimation unit 72 will be described. As an example of the learning method for training the estimation unit 72, the learning method (information processing method) S3 described in the exemplary embodiment 2 using FIG. 9 can be used. Specifically, the learning method S3 is a method of learning using a simulated video used in an autonomous driving simulation so as to increase the calculated reward. Since the details of the learning method S3 are as described in the exemplary embodiment 2, the description here will be omitted, and another exemplary embodiment of the simulation evaluation method S4 in step S32 of the information processing method S3 will be described with reference to the drawings.
[0218] 27 is an example of a flowchart showing a flow of a simulation evaluation method S4A among the learning methods for training the estimation unit 72. The simulation evaluation method S4A according to this exemplary embodiment is a method for performing evaluation using an autonomous driving simulator. For example, the open source CARLA can be used as the autonomous driving simulator.
[0219] 27, the simulation evaluation method S4A includes the following steps: In step S40, the control unit 70 initializes data of the automatic driving simulator.
[0220] Next, in step S41, the control unit 70 acquires input data from the autonomous driving simulator. Specifically, the acquisition unit 71 acquires simulated video data from the autonomous driving simulator as input data and transmits it to the estimation unit 72.
[0221] Next, in step S421, the control unit 70 judges whether or not to generate or acquire reference data related to the frame from the acquired input data. If it is judged in step S421 that reference data is to be generated or acquired (step S421: YES), the process proceeds to step S422, where the reference data generating unit 721 generates or acquires reference data related to the frame indicated by the input data. Next, in step S423, the estimation unit 72 estimates the importance using the reference data. Specifically, the estimation unit 72 divides the reference data into a plurality of regions, and estimates the importance of each region using a self-attention module. After that, the flow proceeds to step S43.
[0222] On the other hand, if it is determined in step S421 that the reference data is not to be generated or acquired (step S421: NO), the process proceeds to step S424, where the estimation unit 72 estimates the importance of each of the multiple regions included in the frame of the input data. After that, the flow proceeds to step S43.
[0223] In step S421, the criterion for determining whether to generate or acquire reference data is not particularly limited, but as an example, the number of objects (segmentation target areas) included in the input data may be used as a criterion. In other words, when a large number of small objects are included in an image, there is a risk that the learning efficiency will decrease because a large number of combinations of objects included in the segmented areas for estimating importance are generated. In such a case, it is preferable to evaluate the importance using reference data with a reduced amount of information. For example, when the input data is a video from a vehicle traveling on a city road, the amount of information is expected to be relatively large compared to a video from a vehicle traveling in the suburbs, so it may be determined that the reference data is generated or acquired. Conversely, when the input data is a video from a vehicle traveling in the suburbs or on a vehicle-only road, the amount of information is expected to be relatively small, so it may be determined that the reference data is not generated or acquired.
[0224] Next, in step S43, the control unit 70 replaces a predetermined percentage of the areas with alternative data in ascending order of importance. Specifically, for example, the predetermined percentage is set to 40%. In this case, the replacement unit 73 selects areas in ascending order of importance, and stops selection when the total data size (or image area) of the selected areas becomes 40% or more of the whole. Then, the replacement unit 73 replaces all the selected areas with alternative data.
[0225] Next, in step S44, the control unit 70 inputs the replaced image to the automatic driving controller, and obtains a control command output by the automatic driving controller.
[0226] Next, in step S45, the evaluation unit 74 inputs a control command to the autonomous driving simulator to obtain a reward, and adds it to the cumulative reward value. Accumulation of reward means, for example, adding the reward value of the nth (n is an integer equal to or greater than 2) simulation step to the sum of the reward values of the 1st to the n-1th simulation steps. That is, the cumulative reward value up to the nth step is calculated by adding the reward value of the nth step to the sum of the reward values of the 1st to the n-1th steps.
[0227] If the driving result of the autonomous driving simulator to which the control command is input is a safe driving, a high reward value is given. Conversely, if the driving result of the autonomous driving simulator is a driving that is unsafe, a low reward value is given. Whether or not the driving was safe may be considered mainly based on whether or not there was an accident.
[0228] Next, in step S46, the control unit 70 judges whether or not all the simulation steps have been completed. That is, it judges whether or not all the simulated images held by the autonomous driving simulator have been replaced and input to the controller. If it is judged in step S46 that all have been completed or that an accident has occurred (step S46: YES), the process proceeds to step S47. If it is judged in step S46 that all have not been completed (step S46: NO), the process returns to step S41.
[0229] In step S47, the control unit 70 judges whether or not a predetermined number of simulations have been completed. The predetermined number of simulations is, for example, a number of times sufficient to calculate an average reward. If it is judged in step S47 that the predetermined number of simulations have been completed (step S47: YES), the simulation evaluation step is terminated and the process proceeds to step S33 in FIG. 9. If it is judged in step S47 that the predetermined number of simulations have not been completed (step S47: NO), the process returns to step S40. By repeating the simulation evaluation in this manner, the average reward can be calculated.
[0230] (Simulation evaluation method S5A) Instead of the simulation evaluation flow shown in FIG. 27, the following simulation evaluation flow may be used. That is, in the simulation evaluation method S4A described with reference to FIG. 27, the ratio of replacement with alternative data is fixed to a predetermined value. However, if the replacement ratio is fixed to a constant value, the learned importance estimation method may become extreme. Specifically, the importance estimation result may become polarized. In that case, it is preferable to set multiple replacement ratios, perform simulation evaluation, and average the results. The method is described below.
[0231] FIG. 28 is an example of a flowchart of the simulation evaluation method S5A. In this simulation evaluation, a plurality of replacement ratios are set in advance. For example, three replacement ratios, 10%, 30%, and 40%, are set, and the number of simulations at each replacement ratio is determined. For example, the replacement ratio is 10% twice, 30% twice, and 40% twice. The replacement unit 73 generates data after replacement for each of a plurality of predetermined ratios different from each other. Then, the evaluation unit 74 derives a preliminary evaluation value for each of the replaced data generated by the replacement unit 73, and derives an evaluation value by taking an average of the preliminary evaluation values. The preliminary evaluation value is an evaluation value evaluated at one replacement ratio. Then, the preliminary evaluation values derived at all replacement ratios are averaged to obtain a final evaluation value. Note that the expression "preliminary evaluation value" is introduced to clearly distinguish it from the "evaluation value" that is finally derived, and the term "preliminary" does not limit this exemplary embodiment.
[0232] Under the above premise, steps S50 to S57 are the same as steps S40 to S47 in the flowchart of FIG. 27. The difference is that if step S57 is judged as OK (YES), the process proceeds to step S58. In step S58, the estimation unit 72 judges whether or not all simulations for each predetermined ratio have been completed. If it is judged in step S58 that all have been completed (step S58: YES), the simulation evaluation step is terminated and the process proceeds to step S33 in FIG. 9. If it is judged in step S58 that all have not been completed (step S58: NO), the process returns to step S50. Then, the predetermined ratio that has not been completed is set and the simulation step is repeated. By repeating the simulation evaluation in this manner, the average reward can be calculated.
[0233] (Simulation evaluation method S10A) In the above-mentioned exemplary embodiment 4, an example in which the evaluation unit 34 of the information processing device 5 derives an evaluation value by further referring to the data size of the replaced data, and the learning unit 35 trains the estimation unit 32 using the average reward and the average data size has been described with reference to Fig. 16 and Fig. 17. In this exemplary embodiment, a modified example of the simulation evaluation method in which the estimation unit 72 including a reference data generation unit 721 estimates importance by using the reference data generated by the reference data generation unit 721 will be described.
[0234] 29 is an example of a flowchart showing the flow of a simulation evaluation method S10A. In the simulation evaluation method S10A, the evaluation unit 74 further refers to the data size of the replaced data to derive an evaluation value, and the learning unit 75 trains the estimation unit 72 so that the data size of the replaced data becomes smaller. Here, a case where the simulation evaluation is performed using an automatic driving simulator will be described.
[0235] First, in step S101, the control unit 70 initializes the data of the automatic driving simulator.
[0236] Next, in step S102, the control unit 70 acquires input data from the autonomous driving simulator. Specifically, the acquisition unit 71 acquires simulated video data from the autonomous driving simulator as input data, and transmits the input data to the estimation unit 72.
[0237] Next, in step S1021, the control unit 70 judges whether or not to generate or acquire reference data related to the frame from the acquired input data. If it is judged in step S1021 that reference data is to be generated or acquired (step S1021: YES), the process proceeds to step S1022, where the reference data generating unit 721 generates or acquires reference data related to the frame indicated by the input data. Next, in step S1023, the estimation unit 72 estimates the importance using the reference data. Specifically, the estimation unit 72 divides the reference data into a plurality of regions, and estimates the importance of each region using a self-attention module. After that, the flow proceeds to step S104.
[0238] On the other hand, if it is determined in step S1021 that the reference data is not to be generated or acquired (step S1021: NO), the process proceeds to step S1024, where the estimation unit 72 estimates the importance of each of the multiple regions included in the frame of the input data. After that, the flow proceeds to step S104.
[0239] Next, in step S104, the control unit 70 replaces a predetermined percentage of the areas with substitute data in ascending order of importance, replaces all the selected areas with substitute data, and encodes the image data after replacement.
[0240] Next, in step S105, the control unit 70 decodes the encoded data, i.e., restores the replaced image data.
[0241] Next, in step S106, the control unit 70 inputs the decoded image data to the automatic driving controller and obtains a control command.
[0242] Next, in step S107, the control unit 70 inputs a control command to the autonomous driving simulator to obtain a reward, and adds the reward to an accumulated value. The accumulation of rewards is as described in the first exemplary embodiment.
[0243] Next, in step S108, the control unit 70 judges whether or not all the simulation steps have been completed. That is, it judges whether or not all the simulated images held by the autonomous driving simulator have been replaced and input to the controller. If it is judged in step S108 that all have been completed or that an accident has occurred (step S108: YES), the process proceeds to step S109. If it is judged in step S108 that all have not been completed (step S108: NO), the process returns to step S102.
[0244] In step S109, the control unit 70 acquires the data size after encoding. Specifically, the evaluation unit 74 acquires the data size after encoding of the replaced image data encoded in step S104.
[0245] Next, in step S110, the control unit 70 judges whether or not a predetermined number of simulations have been completed. The predetermined number of simulations is, for example, a number of times sufficient to calculate the average reward and the average data size after encoding. If it is judged in step S110 that the predetermined number of simulations have been completed (step S110: YES), the simulation evaluation step is terminated and the process proceeds to step S93 in FIG. 16. If it is judged in step S110 that the predetermined number of simulations have not been completed (step S110: NO), the process returns to step S101. By repeating the simulation evaluation in this manner, the average reward can be calculated.
[0246] (Loss Evaluation Method S7A) In the above-described exemplary embodiment 3, the learning method for performing loss evaluation on the learning data by executing a simulation has been described with reference to Fig. 13. In the loss evaluation in step S62 of this learning method, the importance can also be estimated using the above-described reference data.
[0247] 30 is an example of a flowchart showing the flow of a loss evaluation method S7A in a simulation. The loss evaluation is performed using an automatic driving simulator.
[0248] First, in step S70, the control unit 70 initializes the data of the automatic driving simulator.
[0249] Next, in step S71, the control unit 70 acquires input data from the learning data. Specifically, the estimation unit 72 acquires, via the acquisition unit 71, frame data selected from a simulated video image of an in-vehicle camera as the learning data, as the input data.
[0250] Next, in step S721, the estimation unit 72 determines whether or not to generate or acquire reference data related to the frame from the acquired input data. If it is determined in step S721 that reference data is to be generated or acquired (step S721: YES), the process proceeds to step S722, where the reference data generation unit 721 generates or acquires reference data related to the frame indicated by the input data. Next, in step S723, the estimation unit 72 estimates the importance using the reference data. Specifically, the estimation unit 72 divides the reference data into multiple regions and estimates the importance of each region using a self-attention module. After that, the flow proceeds to step S73.
[0251] On the other hand, if it is determined in step S721 that the reference data is not to be generated or acquired (step S721: NO), the process proceeds to step S724, where the estimation unit 72 estimates the importance of each of the multiple regions included in the frame of the input data. After that, the flow proceeds to step S73.
[0252] Next, in step S73, the control unit 70 replaces a predetermined percentage of the areas with alternative data in ascending order of importance. Specifically, for example, the predetermined percentage is set to 40%. In this case, the replacement unit 73 selects areas in ascending order of importance, and stops selection when the total data size (or image area) of the selected areas reaches 40% or more of the whole. Then, all the selected areas are replaced with alternative data.
[0253] Next, in step S74, the evaluation unit 74 inputs the replaced image to the automatic driving controller and obtains a control command A output by the automatic driving controller.
[0254] Next, in step S75, the evaluation unit 74 inputs the original image (the image before replacement) to the automatic driving controller, and obtains the control command B output by the automatic driving controller.
[0255] Next, in step S76, the evaluation unit 74 calculates a loss value from control command A and control command B, and adds it to the accumulated value of the loss values. Accumulating the loss values means, for example, adding the loss value when the nth (n is an integer equal to or greater than 2) piece of input data is used to the sum of the loss values when the 1st to the n-1th input data are used. In other words, the accumulated value of the loss values up to the nth time is calculated by adding the loss value of the nth time to the sum of the loss values from the 1st to the n-1th time.
[0256] Next, in step S77, the control unit 70 judges whether all the learning data has been completed. That is, it judges whether all the frame data selected from the simulation video has been replaced and input to the controller. If it is judged in step S77 that all the learning data has been completed (step S77: YES), the flow ends the loss evaluation and proceeds to step S63 in FIG. 13. If it is judged in step S77 that all the learning data has not been completed (step S77: NO), the flow returns to step S71. By repeating the loss evaluation in this manner, the cumulative value of the loss value can be calculated.
[0257] (Loss Evaluation Method S8A) In the above-mentioned loss evaluation method S7A, the replacement ratio for replacing input data with alternative data is set to a fixed ratio. FIG. 31 is an example of a detailed flowchart of the loss evaluation method S8A, which is a modified example of the simulation evaluation step. In this loss evaluation, a plurality of replacement ratios are set in advance. For example, three replacement ratios are set, namely, 10%, 30%, and 40%. Then, the number of simulations at each replacement ratio is determined. For example, a replacement ratio of 10% is set twice, a replacement ratio of 30% is set twice, and a replacement ratio of 40% is set twice. The replacement unit 73 generates data after replacement for each of a plurality of predetermined ratios different from each other. Then, the evaluation unit 74 derives a preliminary loss value for each of the replaced data generated by the replacement unit 73, and derives an evaluation value by averaging the preliminary loss values. The preliminary loss value is a loss value evaluated at one replacement ratio. Then, the preliminary loss values derived at all replacement ratios are averaged to obtain a final evaluation value.
[0258] Under the above premise, steps S80 to S87 are the same as steps S70 to S77 in the flowchart of FIG. 30. The difference is that if step S87 is judged as OK (YES), the flow proceeds to step S88. In step S88, the control unit 70 judges whether or not all simulations for each predetermined ratio have been completed. If it is judged in step S88 that all have been completed (step S88: YES), the loss evaluation step is terminated, and the flow proceeds to step S63 in FIG. 13. If it is judged in step S88 that all have not been completed (step S88: NO), the flow returns to step S80. Then, the predetermined ratio that has not been completed is set and the simulation step is repeated. By repeating the loss evaluation in this manner, the cumulative value of the loss value can be calculated.
[0259] The above evaluation methods S4A, S5A, S10A, S7A, and S8A include a step in which the control unit 70 determines whether or not to generate or obtain reference data for the frame from the acquired input data. However, this step does not necessarily have to be included. For example, these steps may be steps in which reference data for the frame is generated or obtained without making a determination. In this case, steps S424, S524, S1024, S724, and S824 are unnecessary. In addition, the user may be able to set in advance whether or not to make a determination as to whether or not to generate or obtain reference data.
[0260] As described above, the number of reference data to be generated is not limited to one, and may be multiple. Furthermore, the estimation unit 72 may estimate the importance by using one or more reference data and the input data, not limited to using only the reference data or only the input data.
[0261] According to the information processing system 500 and the learning methods S4A, S5A, S10A, S7A, and S8A of the above-described sixth exemplary embodiment, the estimation unit 72 can learn a method for estimating the importance of each of a plurality of regions included in a frame by using reference data related to the frame indicated by the input data. The reference data is data obtained by preprocessing the input data to make it easier to estimate the importance. Therefore, according to the information processing system 500 and the learning methods S4A, S5A, S10A, S7A, and S8A, even if the input data is an image that is difficult to learn due to, for example, a large amount of information, it is possible to obtain an effect of more suitably estimating important and non-important regions in an image.
[0262] Exemplary Embodiment 7 (Information processing system 600) Next, the seventh exemplary embodiment of the present invention will be described in detail with reference to the drawings. FIG. 32 is a block diagram showing the configuration of an information processing system 600 according to the seventh exemplary embodiment. As shown in FIG. 32, the information processing system 600 includes an information processing device 7 and a mobile object 60. The information processing device 7 is a device that estimates the importance of each of the areas included in the frame indicated by the input data. The information processing device 7 includes a control unit 80, a communication unit 83, an output unit 84, and a memory 85. The mobile object 60 includes an imaging unit (video camera) 61 and a transmission unit 62. The communication unit 83, the memory 85, the video camera 61, and the transmission unit 62 have the same functions as the communication unit 36, the memory 38, the video camera 41, and the transmission unit 42 described in the information processing system 300 of the second exemplary embodiment, and therefore the description thereof will be omitted.
[0263] The control unit 80 includes an acquisition unit 81 and an estimation unit 82. The acquisition unit 81 acquires a target image via a communication unit 83. The estimation unit 82 estimates the importance of a region of the image acquired by the acquisition unit 81. The estimation unit 82 includes a reference data generation unit 821. The reference data generation unit 821 generates reference data for a frame indicated by the video data, using the video data (an example of input data) acquired by the acquisition unit 81. The reference data is data obtained by preprocessing the video data (input data) to make it easier for the estimation unit 82 to estimate the importance of each of a plurality of regions of the video data. The estimation unit 82 estimates the importance of each of a plurality of regions included in the frame, using the reference data for the frame indicated by the input data. The estimation unit 82 can use the estimation unit 72 learned by the information processing system 500 described above.
[0264] The information processing device 7 outputs importance information indicating the importance estimated by the estimation unit 82 from the output unit 84. The importance information is at least a part of data generated inside the information processing device 7, such as the acquired image data, various parameters set in the estimation unit 82, and information on the importance estimated by the estimation unit 82. The output from the output unit 84 may be in the form of an image in which the importance of each of multiple regions included in the target image is indicated, or may be a set of region identification information for distinguishing multiple regions from each other and the importance of the region. The output data may be displayed on a display device or the like, or may be transmitted to the outside.
[0265] The reference data generated or acquired by the reference data generating unit 821 includes, as an example, a segmentation image obtained by applying a segmentation process to a frame. The reference data includes, as an example, a depth map corresponding to the frame. The reference data includes, as an example, an object detection result obtained by applying a process for detecting an object to the frame. However, the type of reference data is not limited to these. For example, the reference data may be data that identifies a moving object or the moving direction of the object from multiple frame images. Since a moving object is likely to be a vehicle or a person, it is considered to have a high importance. The estimation unit 82 may estimate the importance of each of multiple regions included in the frame using at least one or all of the above reference data. The segmentation process, the depth map, and the process for detecting an object are as described in the exemplary embodiment 6.
[0266] (Information processing method S2A) Next, the information processing method (estimation method) S2A executed by the information processing device 7 will be described with reference to FIG. 4 which describes the information processing method (estimation method) S2 according to the first embodiment.
[0267] First, in step S20, the acquisition unit 81 acquires input data. Specifically, the acquisition unit 81 acquires input data including at least one of image data and point cloud data.
[0268] Next, in step S21, the estimation unit 82 estimates the importance. Specifically, the reference data generation unit 821 of the estimation unit 82 generates or acquires reference data related to the frame indicated by the input data (video data). Then, the estimation unit 82 estimates the importance of each of a plurality of regions included in the frame, using the reference data related to the frame indicated by the input data. Note that the estimation unit 82 can use the estimation unit 72 that has learned the importance using the reference data by the information processing device 6 described in the sixth exemplary embodiment.
[0269] (Effects of the information processing system 600 and the information processing method S2A) According to the information processing system 600 and the learning method S2A of the above exemplary embodiment 7, the estimation unit 82 uses reference data related to the frame indicated by the input data to estimate the importance of each of a plurality of regions included in the frame. The reference data is data obtained by preprocessing the input data to make it easier to estimate the importance. Therefore, according to the information processing system 600 and the learning method S2A, even if the input data is an image whose importance is difficult to estimate due to, for example, a large amount of information, it is possible to obtain an effect of more suitably estimating important and non-important regions in an image.
[0270] [Software implementation example] Some or all of the functions of the information processing devices 1, 2, 3, 4, 5, 6, 7 and the image processing device 100b (hereinafter referred to as "information processing device 1, etc.") may be realized by hardware such as an integrated circuit (IC chip) or by software.
[0271] In the latter case, the information processing device 1 etc. is realized, for example, by a computer that executes instructions of a program, which is software that realizes each function. An example of such a computer (hereinafter, referred to as computer C) is shown in FIG. 33. The computer C has at least one processor C1 and at least one memory C2. The memory C2 stores a program P for operating the computer C as the information processing device 1 etc. In the computer C, the processor C1 reads and executes the program P from the memory C2, thereby realizing each function of the information processing device 1 etc.
[0272] The processor C1 may be, for example, a central processing unit (CPU), a graphic processing unit (GPU), a digital signal processor (DSP), a micro processing unit (MPU), a floating point number processing unit (FPU), a physics processing unit (PPU), a microcontroller, or a combination of these. The memory C2 may be, for example, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or a combination of these.
[0273] The computer C may further include a RAM (Random Access Memory) for expanding the program P during execution and for temporarily storing various data. The computer C may further include a communication interface for transmitting and receiving data to and from other devices. The computer C may further include an input / output interface for connecting input / output devices such as a keyboard, a mouse, a display, and a printer.
[0274] Furthermore, the program P can be recorded on a non-transitory tangible recording medium M that can be read by the computer C. Such a recording medium M can be, for example, a tape, a disk, a card, a semiconductor memory, or a programmable logic circuit. The computer C can obtain the program P via such a recording medium M. Furthermore, the program P can be transmitted via a transmission medium. Such a transmission medium can be, for example, a communication network or broadcast waves. The computer C can also obtain the program P via such a transmission medium.
[0275] [Additional Note 1] The present invention is not limited to the above-described embodiment, and various modifications are possible within the scope of the claims. For example, embodiments obtained by appropriately combining the technical means disclosed in the above-described embodiment are also included in the technical scope of the present invention.
[0276] [Additional Note 2] Some or all of the above-described embodiments can be described as follows. However, the present invention is not limited to the following described aspects.
[0277] The information processing device of aspect 1 includes an acquisition means for acquiring input data including at least one of image data and point cloud data, an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, a replacement means for generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data according to the importance, an evaluation means for deriving an evaluation value by referring to the replaced data, and a learning means for training the estimation means by referring to the evaluation value.
[0278] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0279] In the information processing device according to aspect 2, in addition to the configuration of aspect 1, a configuration is adopted in which the evaluation means derives an evaluation value by further referring to the input data.
[0280] According to the above configuration, it is possible to cause learning to be performed to estimate important and non-important regions by referring to not only the replaced data but also the input data.
[0281] In the information processing device of aspect 3, in addition to the configuration of aspect 2, a configuration is adopted in which the evaluation means derives the evaluation value by referring to the output of a specified controller when the input data is input to the specified controller and the output of the specified controller when the replaced data is input to the specified controller.
[0282] According to the above configuration, it is possible to cause the device to learn to estimate important and non-important areas by referring to the output of a predetermined controller.
[0283] In the information processing device of aspect 4, in addition to the configuration of aspect 3, a configuration is adopted in which the evaluation means derives the evaluation value as the difference between the output of a specified controller when the input data is input to the specified controller and the output of the specified controller when the replaced data is input to the specified controller, and the learning means trains the estimation means so as to reduce the evaluation value.
[0284] According to the above configuration, it is possible to cause the system to learn to estimate important and non-important areas based on the difference in output from a predetermined controller.
[0285] In an information processing device of aspect 5, in addition to the configuration of any one of aspects 1 to 4, the replacement means is configured to replace one or more areas selected in order of decreasing importance, the areas having a predetermined proportion in the frame, with the alternative data.
[0286] According to the above configuration, by using data with a predetermined ratio of replacement, it is possible to allow learning to estimate important and non-important regions.
[0287] In the information processing device of aspect 6, in addition to the configuration of aspect 5, the replacement means generates the replaced data for each of a plurality of predetermined ratios that are different from each other, and the evaluation means derives a preliminary evaluation value for each of the replaced data generated by the replacement means, and derives the evaluation value by taking the average of the preliminary evaluation values.
[0288] According to the above configuration, by using data in which a plurality of predetermined ratios have been replaced, it is possible to allow learning to estimate important regions and non-important regions.
[0289] In the information processing device of aspect 7, in addition to the configuration of any one of aspects 1 to 6, a configuration is adopted in which the evaluation means further refers to the data size of the replaced data to derive the evaluation value.
[0290] According to the above configuration, it is possible to allow learning to estimate important and non-important regions while taking data size into consideration.
[0291] In the information processing device according to aspect 8, in addition to the configuration of aspect 7, the learning means is configured to train the estimation means so that the data size of the data after the replacement is reduced.
[0292] According to the above configuration, it is possible to allow learning to estimate important and non-important regions so as to reduce the data size.
[0293] In an information processing device according to aspect 9, in addition to the configuration of any one of aspects 1 to 8, a configuration is adopted in which the alternative data used by the replacement means is data containing at least one of noise and image data with large quantization error.
[0294] According to the above configuration, it is possible to allow learning to estimate important and non-important regions so as to reduce the data size.
[0295] In the information processing device of aspect 10, in addition to the configuration of any one of aspects 1 to 9, a configuration is adopted in which the estimation means estimates the importance of each of a plurality of areas contained in the frame using reference data related to the frame indicated by the input data.
[0296] According to the above configuration, even when the input data is an image that is difficult to learn due to, for example, a large amount of information, it is possible to more appropriately estimate important and non-important areas in an image.
[0297] An information processing device according to an eleventh aspect of the present invention is configured as in the tenth aspect, such that the reference data includes a segmentation image obtained by applying a segmentation process to the frame.
[0298] According to the above configuration, the same effects as those of the tenth aspect can be obtained.
[0299] An information processing device according to aspect 12 is the information processing device according to aspect 10 or 11, wherein the reference data includes a depth map corresponding to the frame.
[0300] According to the above configuration, the same effects as those of the tenth aspect can be obtained.
[0301] In an information processing device of aspect 13, in any one of aspects 10 to 12, a configuration is adopted in which the reference data includes an object detection result obtained by applying a process for detecting an object to the frame.
[0302] According to the above configuration, the same effects as those of the tenth aspect can be obtained.
[0303] In the information processing device according to aspect 14, in addition to the configuration of any one of aspects 1 to 13, a configuration is adopted in which the estimation means estimates the importance using a self-attention module.
[0304] According to the above configuration, it is possible to make the device learn to estimate important and non-important regions using the self-attention module.
[0305] In the information processing device of aspect 15, in addition to the configuration of any one of aspects 1 to 14, a configuration is adopted in which the evaluation means derives the evaluation value by referring to an output from a controller of a moving body to which the replaced data has been input.
[0306] According to the above configuration, it is possible to cause the moving object to learn how to estimate important areas and non-important areas using the controller of the moving object.
[0307] In the information processing device of aspect 16, in addition to the configuration of aspect 15, a configuration is adopted in which the evaluation value includes a reward value derived from the output, and the learning means trains the estimation means so as to increase the reward value.
[0308] According to the above configuration, the estimation means can be trained so as to increase the reward value derived from the output value of the controller.
[0309] In the information processing device of aspect 17, in addition to the configuration of aspect 16, a configuration is adopted in which the evaluation value is a loss value derived from the output, and the learning means trains the estimation means so as to reduce the loss value.
[0310] According to the above configuration, the estimation means can be trained using the loss value.
[0311] The information processing device of aspect 18 includes an acquisition means for acquiring input data including at least one of image data and point cloud data, and an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, the estimation means being trained by referring to replaced data obtained by replacing at least one of the plurality of areas included in the input data with alternative data according to their importance.
[0312] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0313] In the information processing device of aspect 19, in addition to the configuration of aspect 18, the estimation means is configured to estimate the importance of each of a plurality of areas contained in the frame using reference data for the frame indicated by the input data.
[0314] According to the above configuration, even when the input data is an image for which it is difficult to estimate the importance due to, for example, a large amount of information, it is possible to more appropriately estimate important and non-important areas in an image.
[0315] An information processing device according to aspect 20 is the same as in aspect 19, in which the reference data includes a segmentation image obtained by applying a segmentation process to the frame.
[0316] According to the above configuration, the same effects as those of the eighteenth aspect can be obtained.
[0317] An information processing device according to aspect 21 is configured as in aspect 19 or 20, such that the reference data includes a depth map corresponding to the frame.
[0318] According to the above configuration, the same effects as those of the eighteenth aspect can be obtained.
[0319] In an information processing device of aspect 22, in any one of aspects 19 to 21, a configuration is adopted in which the reference data includes an object detection result obtained by applying a process for detecting an object to the frame.
[0320] According to the above configuration, the same effects as those of the eighteenth aspect can be obtained.
[0321] An information processing method according to aspect 23 includes acquiring input data including at least one of image data and point cloud data, estimating the importance of each of a plurality of areas included in a frame indicated by the input data, generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data according to the importance, deriving an evaluation value by referring to the replaced data, and training an estimation means by referring to the evaluation value.
[0322] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0323] An information processing method according to aspect 24 includes acquiring input data including at least one of image data and point cloud data, and estimating the importance of each of a plurality of areas included in a frame indicated by the input data, wherein the importance is estimated using a trained estimation means by referring to replaced data obtained by replacing at least one of the plurality of areas included in the input data with alternative data according to its importance.
[0324] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0325] The recording medium of aspect 25 is a computer-readable non-transitory recording medium having recorded thereon a program for causing a computer to function as an acquisition means for acquiring input data including at least one of image data and point cloud data, an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, a replacement means for generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data in accordance with the importance, an evaluation means for deriving an evaluation value by referring to the replaced data, and a learning means for training the estimation means by referring to the evaluation value.
[0326] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0327] The recording medium of aspect 26 is a computer-readable non-transitory recording medium having recorded thereon a program for causing a computer to function as an acquisition means for acquiring input data including at least one of image data and point cloud data, and an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, the estimation means estimating the importance using an estimation means learned by referring to replaced data obtained by replacing at least one of the plurality of areas included in the input data with alternative data according to its importance.
[0328] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0329] The program of aspect 27 is a program for causing a computer to function as an acquisition means for acquiring input data including at least one of image data and point cloud data, an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, a replacement means for generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data according to the importance, an evaluation means for deriving an evaluation value by referring to the replaced data, and a learning means for training the estimation means by referring to the evaluation value.
[0330] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0331] The program of aspect 28 is a program for causing a computer to function as an acquisition means for acquiring input data including at least one of image data and point cloud data, and an estimation means for estimating the importance of each of a plurality of areas included in a frame indicated by the input data, wherein the estimation means estimates the importance by using an estimation means trained by referring to replaced data obtained by replacing at least one of the plurality of areas included in the input data with alternative data according to its importance.
[0332] According to the above configuration, it is possible to provide a technique that can suitably estimate important areas and non-important areas in an image.
[0333] The information processing device of aspect 29 includes an acquisition means for acquiring input data including at least one of image data and point cloud data, a reference data generation means for generating or acquiring a depth map from the input data as reference data for a frame, an estimation means for estimating importance for each of a plurality of regions included in the frame indicated by the input data using the reference data, a replacement means for generating replaced data by replacing at least one of the plurality of regions included in the input data with alternative data according to the importance, an evaluation means for deriving an evaluation value by referring to the replaced data, and a learning means for training the estimation means by referring to the evaluation value.
[0334] According to the above configuration, even when the input data is an image for which it is difficult to estimate the importance due to, for example, a large amount of information, it is possible to more appropriately estimate important and non-important areas in an image.
[0335] [Additional Note 3] A part or all of the above-described embodiments can be further expressed as follows.
[0336] An information processing device comprising at least one processor, the processor executing an acquisition process for acquiring input data including at least one of image data and point cloud data, an estimation process for estimating importance for each of a plurality of areas included in a frame indicated by the input data, a generation process for generating replaced data by replacing at least one of the plurality of areas included in the input data with alternative data according to the importance, a derivation process for deriving an evaluation value by referring to the replaced data, and a learning process for training an estimation means by referring to the evaluation value. The information processing device may further include a memory that stores a program for causing the processor to execute the acquisition process, the estimation process, the generation process, the derivation process, and the learning process. The program may be recorded in a computer-readable, non-transitory, tangible recording medium. [Explanation of symbols]
[0337] 1, 2, 3, 4, 5, 6, 7... Information processing device 10,20,31,51,71,81... Acquisition part 11,21,32,52,72,82... Estimation part 12,33,73...replacement part 13,34,74...Evaluation section 14,35,75...Learning Department 30,50,70,80...Control section 36,53,76,83...Communications Department 37,54,77,84... Output section 38,55,78,85...Memory 41,61 Imaging section 42,62...Transmitter 300, 400, 500, 600... Information Processing Systems 721,821...Reference data generator
Claims
1. An acquisition means for acquiring input data including at least one of image data and point cloud data; an estimation means for estimating the importance of each of a plurality of regions included in a frame represented by the input data; a replacement means for replacing at least one of the plurality of regions included in the input data with alternative data in accordance with the importance, thereby generating replaced data; evaluation means for deriving an evaluation value by referring to the replaced data; a learning means for learning the estimation means by referring to the evaluation value, The evaluation means includes: deriving an evaluation value by further referring to the input data; Deriving the evaluation value by referring to an output of a predetermined controller when the input data is input to the predetermined controller and an output of the predetermined controller when the replaced data is input to the predetermined controller; and and deriving the evaluation value by referring to an output from a controller of a moving object to which the replaced data has been input.
23. An information processing apparatus comprising:
2. The replacing means replaces one or more of the areas selected in order of decreasing importance and having a predetermined ratio in the frame with the alternative data.
2. The information processing apparatus according to claim 1,
3. The evaluation means further refers to a data size of the data after the replacement to derive the evaluation value.
3. The information processing apparatus according to claim 1, wherein the information processing apparatus is a computer.
4. The alternative data used by the replacement means is The data includes at least one of noise and image data with large quantization error.
4. The information processing apparatus according to claim 1, wherein the information processing apparatus is a computer.
5. The estimation means includes: Using reference data for the frame indicated by the input data, an importance level is estimated for each of a plurality of regions included in the frame. The information processing device according to claim 1 .
6. The reference data includes a segmentation image obtained by applying a segmentation process to the frame. The information processing device according to claim 5 .
7. The reference data includes a depth map corresponding to the frame.
7. The information processing device according to claim 5 or 6.
8. The reference data includes an object detection result obtained by applying a process for detecting an object to the frame. The information processing device according to claim 5 .
9. acquiring input data including at least one of image data and point cloud data; Estimating the importance of each of a plurality of regions included in the frame represented by the input data; generating replaced data by replacing at least one of the plurality of regions included in the input data with alternative data according to the importance; Deriving an evaluation value by referring to the replaced data; and and causing the estimation means to learn by referring to the evaluation value; Deriving the evaluation value comprises: deriving an evaluation value by further referring to the input data; Deriving the evaluation value by referring to an output of a predetermined controller when the input data is input to the predetermined controller and an output of the predetermined controller when the replaced data is input to the predetermined controller; and and deriving the evaluation value by referring to an output from a controller of a moving object to which the replaced data has been input.
23. An information processing method comprising:
10. Computer, An acquisition means for acquiring input data including at least one of image data and point cloud data; an estimation means for estimating the importance of each of a plurality of regions included in a frame represented by the input data; a replacement means for replacing at least one of the plurality of regions included in the input data with alternative data in accordance with the importance, thereby generating replaced data; An evaluation means for deriving an evaluation value by referring to the replaced data, deriving an evaluation value by further referring to the input data; Deriving the evaluation value by referring to an output of a predetermined controller when the input data is input to the predetermined controller and an output of the predetermined controller when the replaced data is input to the predetermined controller; and deriving the evaluation value by referring to an output from a controller of a moving object to which the replaced data has been input; and A learning means for learning the estimation means by referring to the evaluation value. A program to function as a
Citation Information
Patent Citations
Area of Interest-Based 3D Video Coding
JP2015521820A
Image communication device, image transmission device, and image reception device
JP2016046707A
Image generator, image generating method, program, recording medium, and image processing system
JP2018056838A
Code amount estimation device and code amount estimation program
JP2019083491A
Real time decision making for autonomous driving vehicle
JP2020083309A
