Information processing device and information processing method
The information processing device uses a three-dimensional model and multi-view image projection to determine class labels, addressing the inefficiencies in existing annotation methods by enabling precise class boundary representation and reducing annotation costs.
Patent Information
- Application Number
- PCT/JP2024/006419
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-02-22
- Publication Date
- 2024-10-03
AI Technical Summary
Existing image recognition technologies face challenges in efficiently creating training data for pixel-by-pixel classification tasks, particularly due to the time-consuming process of annotating class boundaries, which affects the accuracy of class boundaries representation and increases annotation costs.
An information processing device and method that utilize a three-dimensional model with position information, acquiring multi-view images and projecting annotation information from multiple viewpoints to determine class labels, allowing for precise expression of class boundaries through majority voting processing.
Enables the efficient and accurate creation of learning data with precisely expressed class boundaries, reducing annotation time and costs while improving the accuracy of class classification.
Smart Images

Figure JP2024006419_03102024_PF_FP_ABST
Abstract
Description
Information processing device and information processing method
[0001] The present disclosure relates to an information processing device and an information processing method.
[0002] In recent years, advances in artificial intelligence (AI) technology have led to active research and application of image processing tasks that perform pixel-level classification. For example, in the field of autonomous driving, pixel-level classification of roadways, sidewalks, oncoming vehicles, pedestrians, etc. is useful for estimating the drivable area of a vehicle. In addition, some high-performance smartphone camera apps are equipped with a function that applies the aforementioned pixel-level classification to extract only areas such as people captured in camera images.
[0003] Such applications are implemented using deep learning, for example, but require training of the image recognizer using a large amount of training data in advance, and the annotation process of creating training data classified into classes on a pixel-by-pixel basis takes a long time.
[0004] For example, in-vehicle video and video of a person have significantly different distances from the subject and the classes of objects and backgrounds that appear, so separate training data must be prepared for each task. Also, although a group of images taken in the same environment often contain images with overlapping angles of view, each image must be annotated independently.
[0005] As a method for easily creating such learning data, a technique has been proposed that combines a CAD (Computer Aided Design) model of a known physical object with an AR (Augmented Reality) camera (see, for example, Patent Document 1).
[0006] Another method has been proposed in which rough annotations are manually added to two-dimensional images (see, for example, Non-Patent Document 1). Another method has been proposed in which the cost of annotation work is reduced by using an automatically segmented three-dimensional model (see, for example, Non-Patent Document 2).
[0007] Japanese Patent Application Laid-Open No. 2020-087440
[0008] Marius Cordts and eight others, "The Cityscapes Dataset for Semantic Urban Scene Understanding", Daimler AG R&D, TU Darmstadt, MPI Informatics, TU Dresden, [online], [Retrieved March 27, 2023], Internet <URL: https: / / openaccess.thecvf.com / content_cvpr_2016 / papers / Cordts_The_Cityscapes_Dataset_CVPR_2016_paper.pdf> Angela Dai and five others, "ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenes", Stanford University, Princeton University, Technical University of Munich, [online], [searched on March 27, 2020], Internet <URL: https: / / openaccess.thecvf.com / content_cvpr_2017 / papers / Dai_ScanNet_Richly-Annotated_3D_CVPR_2017_paper.pdf>
[0009] However, the above-mentioned conventional techniques have room for further improvement in terms of making it possible to easily obtain training data in which class boundaries are precisely represented.
[0010] Therefore, the present disclosure proposes an information processing device and an information processing method that make it possible to easily obtain learning data in which class boundaries are precisely expressed.
[0011] To solve the above problem, an information processing device according to one embodiment of the present disclosure includes a control unit. The control unit acquires a three-dimensional model including position information relative to a three-dimensional space to be subjected to classification. The control unit also acquires a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image, each including viewpoint information corresponding to the position information. The control unit also acquires first annotation information, second annotation information, and third annotation information that specify a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively. The control unit also projects the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image. The control unit also determines a class label to be assigned to a portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
[0012] FIG. 1 is a schematic explanatory diagram (part 1) of an annotation processing method according to an embodiment of the present disclosure; FIG. 2 is a schematic explanatory diagram (part 2) of an annotation processing method according to an embodiment of the present disclosure; FIG. 3 is a block diagram showing configuration examples of a learning device and an annotation processing device according to an embodiment of the present disclosure; FIG. 4 is an explanatory diagram of the effect of annotation processing according to an embodiment of the present disclosure; FIG. 5 is an explanatory diagram of majority voting processing; FIG. 6 is a diagram showing an example evaluation screen of rendering results; FIG. 7 is a flowchart showing processing procedures executed by a learning device according to an embodiment of the present disclosure; FIG. 8 is a flowchart showing processing procedures of annotation processing; FIG. 9 is a flowchart showing processing procedures of projection processing; FIG. 10 is a hardware configuration diagram showing an example of a computer that realizes the functions of a learning device.
[0013] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and redundant description will be omitted.
[0014] In the following description, an information processing device according to an embodiment of the present disclosure (hereinafter referred to as "the present embodiment") is assumed to be the learning device 10 shown in Figure 3 and subsequent figures. An information processing method according to the present embodiment is assumed to be an annotation processing method executed by the learning device 10.
[0015] The present disclosure will be described in the following order: 1. Overview 1-1. Issues with existing technology 1-2. Overview of annotation processing method according to an embodiment of the present disclosure 2. Configuration example of learning device 3. Effects of annotation processing according to an embodiment of the present disclosure 4. Explanation of majority voting processing 5. Example of evaluation screen 6. Processing procedure 7. Modification 8. Hardware configuration 9. Conclusion
[0016] <<1. Overview>> FIG. 1 is a schematic explanatory diagram (part 1) of an annotation processing method according to an embodiment of the present disclosure. FIG. 2 is a schematic explanatory diagram (part 2) of an annotation processing method according to an embodiment of the present disclosure. <1-1. Issues with Existing Technology> Prior to describing the annotation processing method according to this embodiment, issues with existing technology will first be described in more detail. In recent years, image recognition processing using image recognizers that use AI technology has become remarkably widespread, but image recognizers must be trained in advance using large amounts of training data. However, the annotation process of creating training data classified into classes on a pixel-by-pixel basis takes a significant amount of time.
[0017] To address this issue, there is an existing technology that combines a CAD model of a known physical object with an AR camera. This existing technology acquires a 3D model of the physical object placed in a scene, generates a virtual object corresponding to the object based on the model, and virtually overlays the virtual object on the physical object within the field of view of the AR camera, thereby improving the efficiency of the annotation work.
[0018] However, when using this existing technology, the types of physical objects that can be placed in a scene are limited to predefined CAD models. Preparing CAD models corresponding to all physical objects in a given scene requires a very high operational cost. Furthermore, in order to apply this technology to classification tasks, attribute information such as class labels must be assigned to the models in advance.
[0019] Another existing technique, roughly annotating 2D images by hand, generates a training dataset for pixel-level classification tasks by roughly annotating 20,000 images of road environments in less than seven minutes per image.
[0020] The rough annotation defined in this existing technology refers to specifying a closed curve that is defined so that it always falls within each true class region. With conventional annotation methods, annotating one image can take more than an hour, so this existing technology has the advantage of being able to prepare large amounts of training data relatively easily.
[0021] However, when annotations are made roughly in such a short time, it is not possible to accurately represent the class boundaries that appear in the image. If training data is used that does not accurately represent the class boundaries, it is difficult to train an image recognizer to accurately identify the class boundaries.
[0022] Another existing technique reduces annotation costs by using automatically segmented 3D models. This technique automatically segments a 3D model captured in an indoor environment into a large number of small parts, and then the user assigns a class label to each part to generate a class-labeled 3D model. This model is then projected onto an image plane to generate training data for pixel-level classification. This existing technique has the advantage that annotating the 3D model in this way eliminates the need to annotate each image separately.
[0023] However, when using this existing technology, automatic segmentation requires parameter adjustments that over-divide the 3D model beyond the actual class boundaries, and depending on the number of divisions, manually assigning class labels can take a very long time.
[0024] In fact, with this existing technology, due to operational cost constraints, the segments assigned with class labels are limited to 25-50% of each scene. Also, since it is not possible to check the actual appearance from the 3D model, annotation requires the user to have prior knowledge of the scene that served as the basis for the 3D model.
[0025] <1-2. Overview of the Annotation Processing Method According to an Embodiment of the Present Disclosure> To address these issues with existing technologies and easily obtain learning data in which class boundaries are accurately represented, in the annotation processing method according to the present embodiment, a learning device 10 acquires a 3D model including position information relative to a 3D space to be subjected to class classification. The learning device 10 also acquires a first 2D image, a second 2D image, and a third 2D image, each including viewpoint information corresponding to the position information. The learning device 10 also acquires first annotation information, second annotation information, and third annotation information that specify a partial region of the first 2D image, a partial region of the second 2D image, and a partial region of the third 2D image, respectively. The learning device 10 also projects the first annotation information, second annotation information, and third annotation information onto a portion of the 3D model based on the viewpoint information of the first 2D image, the viewpoint information of the second 2D image, and the viewpoint information of the third 2D image. Furthermore, the learning device 10 determines a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
[0026] In the annotation processing method according to this embodiment, the learning device 10 first acquires multi-viewpoint images of a three-dimensional space to be classified from multiple viewpoints. The multi-viewpoint images are acquired, for example, based on video data captured by a user of the three-dimensional space to be classified. The multi-viewpoint images are a group of two-dimensional images, each containing viewpoint information indicating the viewpoint from which the images were captured. The two-dimensional images are RGB images.
[0027] The learning device 10 also acquires a 3D model corresponding to the acquired multi-viewpoint images. One possible method for acquiring this 3D model is to generate a 3D model from the multi-viewpoint images using photogrammetry. Typical photogrammetry approaches include Structure from Motion (SfM), which processes captured multi-dimensional images offline, and Simultaneous Localization and Mapping (SLAM), which estimates 3D information online while capturing images.
[0028] Another possible acquisition method is to match the position information of an existing three-dimensional model, such as a known CAD model or a model on a geographic information system (e.g., PLATEAU, hosted by the Ministry of Land, Infrastructure, Transport and Tourism), with the viewpoint information of the multi-viewpoint image.
[0029] Then, the learning device 10 accepts rough annotation specifications from the user for any two-dimensional image with different viewpoint information, such as viewpoint A image 2Di-A and viewpoint B image 2Di-B shown in Figure 1 (step S1-1 or step S1-2).
[0030] The rough annotation specification is an operation in which the user roughly specifies a class region with a closed curve in any two-dimensional image among the multi-viewpoint images. More specifically, as shown in Fig. 2, the user specifies a closed curve R with a pointing device or a finger, for any two-dimensional image 2Di displayed on a touch panel display or the like, so that the curve R fits within each true class region or surrounds each class region.
[0031] At this time, a color palette CP, which allows the user to specify colors corresponding to the classification colors of the class labels, is superimposed on the two-dimensional image 2Di. The user selects a classification color from the color palette CP and then specifies a closed curve R. The closed curve R corresponds to an example of annotation information.
[0032] Returning to the description of FIG. 1 , the learning device 10 then executes a projection process to project annotation information onto the 3D model. In this projection process, the learning device 10 aligns the projection results from each 2D image 2Di on the 3D model. In this embodiment, the learning device 10 aligns the class labels, which are the projection results, on the 3D model by performing a majority vote process on the projection results from each 2D image 2Di. Details of the projection process, including this majority vote process, will be described later using FIG. 5 and other figures.
[0033] Furthermore, the learning device 10 performs a rendering process in which the class labels that are aligned on the three-dimensional model as a result of the projection process are rendered onto the image plane of each two-dimensional image 2Di according to the viewpoint of each two-dimensional image 2Di.
[0034] 1, the learning device 10 projects, for example, annotation information of the viewpoint A image 2Di-A onto a 3D model (step S2-1).The learning device 10 then renders class labels on the 3D model that are aligned with the projection results from the viewpoint A image 2Di-A, for example, according to the viewpoint B of the viewpoint B image 2Di-B (step S3-1).
[0035] Similarly, the learning device 10 projects, for example, annotation information of the viewpoint B image 2Di-B onto the 3D model (step S2-2).The learning device 10 then renders class labels on the 3D model that have been aligned with the projection results from the viewpoint B image 2Di-B, for example, according to the viewpoint A of the viewpoint A image 2Di-A (step S3-2).Note that hereinafter, an image with class labels rendered on the 3D model will be referred to as a "class-labeled image" as appropriate.
[0036] The learning device 10 then determines whether to terminate the annotation process based on the class-labeled images, either by user judgment or automatic judgment. For user judgment, the learning device 10 presents the user with an evaluation screen on which each 2D image 2Di can be compared with the class-labeled image corresponding to each 2D image 2Di. Based on the user's operation on this evaluation screen, the learning device 10 then determines whether to continue or terminate the annotation process. This point will be described in detail later using FIG. 6.
[0037] On the other hand, in automatic judgment, the learning device 10 calculates, for example, the proportion of pixels to which a class label is assigned in a class-labeled image or the proportion of three-dimensional structures (e.g., voxels) to which a class label is assigned in a three-dimensional model, and terminates the annotation process if this exceeds a certain threshold.
[0038] Finally, the learning device 10 trains an image recognizer by deep learning or the like, using the group of class-labeled images output as a result of the annotation process as a learning dataset for class classification.
[0039] As described above, in the annotation processing method according to this embodiment, the learning device 10 acquires a three-dimensional model including position information relative to a three-dimensional space to be subjected to class classification. The learning device 10 also acquires a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image, each including viewpoint information corresponding to the position information. The learning device 10 also acquires first annotation information, second annotation information, and third annotation information that specify a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively. The learning device 10 also projects the first annotation information, second annotation information, and third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image. Furthermore, the learning device 10 determines a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
[0040] Therefore, according to the annotation processing method of this embodiment, it is possible to easily obtain learning data in which class boundaries are precisely expressed.
[0041] An example configuration of the learning device 10 to which the annotation processing method according to this embodiment is applied will be described in more detail below.
[0042] 3 is a block diagram showing an example of the configuration of the learning device 10 according to an embodiment of the present disclosure. Note that in FIG. 3, only the components necessary for explaining this embodiment are shown as functional blocks, and descriptions of general components are omitted.
[0043] In addition, in the description using FIG. 3, the description of components that have already been described will be appropriately simplified or omitted.
[0044] As shown in Figure 3, learning device 10 includes a memory unit 11 and a control unit 12. Learning device 10 is also connected to an operation unit 3 and a display unit 5. Operation unit 3 is a component that accepts input operations from a user. Operation unit 3 is realized by, for example, a keyboard, a mouse, a pointing device, etc.
[0045] Display unit 5 is a component that displays visual information such as images output from study device 10. Display unit 5 is realized by a display or the like. Note that operation unit 3 and display unit 5 may be realized as a single unit, for example, by a touch panel display or the like.
[0046] The storage unit 11 is realized by a storage device such as a random access memory (RAM), a read only memory (ROM), a flash memory, or a hard disk drive (HDD).
[0047] 3, the storage unit 11 stores a multi-viewpoint image database (DB) 11a, viewpoint information 11b, a three-dimensional model 11c, a class-labeled image DB 11d, and a recognition model 11e. The multi-viewpoint image DB 11a is a database that stores multi-viewpoint images acquired by an acquisition unit 12a (described later).
[0048] The viewpoint information 11b is information including viewpoints corresponding to the respective 2D images 2Di included in the multi-viewpoint image. The three-dimensional model 11c is a model of a three-dimensional space to be subjected to classification. The three-dimensional model 11c is acquired by being generated based on the multi-viewpoint image by an acquisition unit 12a (described later). Alternatively, the three-dimensional model 11c is acquired by the acquisition unit 12a matching the position information of the above-described existing three-dimensional model with the viewpoint information of the multi-viewpoint image.
[0049] The class-labeled image DB 11d is a database that stores a group of class-labeled images output as a result of annotation processing. The recognition model 11e is an image recognizer that trains using the group of class-labeled images in the class-labeled image DB 11d as a training data set. In this embodiment, the recognition model 11e is a deep neural network (DNN) model based on a deep learning algorithm, but the training algorithm of the image recognizer is not limited thereto.
[0050] The control unit 12 controls each unit of the learning device 10. The control unit 12 is realized by, for example, a central processing unit (CPU), a micro processing unit (MPU), a graphical processing unit (GPU), or the like executing a program according to this embodiment stored in the storage unit 11 using RAM as a work area. The control unit 12 can also be realized by, for example, an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0051] The control unit 12 has an acquisition unit 12a, an assignment processing unit 12b, a projection processing unit 12c, a rendering processing unit 12d, a display control unit 12e, a determination unit 12f, and a learning unit 12g, and realizes or executes the functions and actions of information processing described below.
[0052] The acquisition unit 12a acquires multi-viewpoint images via a network, a recording medium, or the like (not shown). The acquisition unit 12a stores the acquired multi-viewpoint images in the multi-viewpoint image DB 11a. The acquisition unit 12a also stores viewpoint information 11b based on the acquired multi-viewpoint images.
[0053] The acquisition unit 12a also acquires and stores the three-dimensional model 11c. For example, the acquisition unit 12a acquires the three-dimensional model 11c by generating it using photogrammetry based on multi-viewpoint images.
[0054] As another example, the acquisition unit 12a acquires an existing three-dimensional model via a network or recording medium (not shown), and acquires a three-dimensional model 11c by matching the position information of the existing three-dimensional model with the viewpoint information 11b of the multi-viewpoint image.
[0055] The annotation processing unit 12b adds a closed curve R for any two-dimensional image 2Di designated by the user via the operation unit 3 to the two-dimensional image 2Di as annotation information.
[0056] The projection processing unit 12c projects the added annotation information onto the three-dimensional model 11c. The projection processing unit 12c also aligns the projected projection results with existing projection results on the three-dimensional model 11c. The projection processing unit 12c aligns the class labels, which are the projection results, on the three-dimensional model 11c by performing a majority vote process on the projection results projected onto the three-dimensional model 11c.
[0057] The rendering processing unit 12d performs a rendering process in which the class labels that have been matched on the three-dimensional model 11c as a result of the projection process are rendered onto the image plane of each two-dimensional image 2Di according to the viewpoint of each two-dimensional image 2Di.
[0058] The display control unit 12e appropriately displays the two-dimensional image 2Di and the class-labeled image on the display unit 5. The determination unit 12f determines whether the annotation process has been completed. The learning unit 12g trains the recognition model 11e by deep learning using the class-labeled images stored in the class-labeled image DB 11d as a learning dataset for class classification as a result of the annotation process.
[0059] As shown in FIG. 3, the annotation processing device 20 can be realized as a separate device independent of the learning device 10 by including the components other than the acquisition unit 12a and the learning unit 12g.
[0060] <<3. Effect of annotation processing according to an embodiment of the present disclosure>> Next, Fig. 4 is an explanatory diagram of the effect of the annotation processing according to an embodiment of the present disclosure. Note that Fig. 4 shows an example in which a cylindrical object exists in a three-dimensional model 11c. Furthermore, the hatched portion in the figure indicates a pixel area onto which specified annotation information is projected onto the inside of the cylinder. This also applies to Fig. 5.
[0061] As shown in FIG. 4, when annotation information is added to the viewpoint A image 2Di-A, the control unit 12 of the learning device 10 projects it onto the three-dimensional model 11c as described above.
[0062] As described above, the control unit 12 aligns the projection results on the three-dimensional model 11c. Then, as described above, the control unit 12 renders the class labels aligned on the three-dimensional model 11c as a result of the projection process, for example, on the image plane of the viewpoint B image 2Di-B, in accordance with the viewpoint B.
[0063] As a result, for example, as shown in region RR in the figure, the class labels projected onto and aligned with the three-dimensional model 11c are precisely classified in the viewpoint B image 2Di-B so as to distinguish between the outline of the cylinder as seen from viewpoint B and the background of the cylinder.
[0064] In this way, according to the annotation processing method of this embodiment, it is possible to easily obtain learning data in which class boundaries are precisely expressed.
[0065] <<4. Explanation of Majority Voting Process>> Next, Fig. 5 is an explanatory diagram of the majority voting process. As shown in Fig. 5, it is assumed that annotation information surrounding a cylinder is added to each of the viewpoint A image 2Di-A, viewpoint B image 2Di-B, and viewpoint C image 2Di-C. It is also assumed that the viewpoint A image 2Di-A, viewpoint C image 2Di-C, and viewpoint B image 2Di-B are each projected onto the 3D model 11c in this order.
[0066] In such an annotation surrounding a cylinder, multiple class labels, such as "cylinder" and "floor," are specified for some pixels that correspond to the peripheral area of the cylinder.
[0067] The control unit 12 of the learning device 10 executes the majority vote process as described above when matching such class labels on the three-dimensional model 11c.
[0068] In the majority vote process, the most frequent class label is basically selected from the class labels that are the projection results from three or more viewpoints. Here, an example is given using three viewpoints, viewpoint A, viewpoint B, and viewpoint C. Note that "most frequent" may be read as "most frequent."
[0069] For example, suppose that voxel v-1, which is a three-dimensional structure of the three-dimensional model 11c, is classified as "floor" from viewpoint A, as "cylinder" from viewpoint B, and as "floor" from viewpoint C. In this case, the most frequent class label is "floor," so "floor" is assigned to voxel v-1.
[0070] Also, for example, suppose that voxel v-2 is classified as a "cylinder" from viewpoint A, also classified as a "cylinder" from viewpoint B, and is "unobserved" from viewpoint C. In this case, the most frequent class label is "cylinder," so "cylinder" is assigned to voxel v-2.
[0071] Also, for example, suppose that voxel v-3 is classified as a "cylinder" from viewpoint A, from viewpoint B, and from viewpoint C. In this case, the most frequent class label is "cylinder," so "cylinder" is assigned to voxel v-3.
[0072] For example, voxel v-4 is classified as "unobserved" from viewpoint A, as a "cylinder" from viewpoint B, and as a "floor" from viewpoint C. In this case, there are multiple most frequent class labels and it is not possible to identify them, but in such a case, the control unit 12 assigns the most frequent and latest class label.
[0073] As described above, when the viewpoint A image 2Di-A, viewpoint C image 2Di-C, and viewpoint B image 2Di-B are projected onto the 3D model 11c in this order, the most frequent and most recent class label is "cylinder." Therefore, in this case, the control unit 12 assigns "cylinder" to the voxel v-4.
[0074] This type of majority voting process can increase the likelihood of matching the class labels of voxels to their true values as the number of viewpoints increases. Even if rough annotations are performed, such as enclosing objects in a class boundary, the majority voting process of the projection results from multiple viewpoints can accurately determine class boundaries as the number of viewpoints increases.
[0075] <<5. Example of Evaluation Screen>> Next, the above-mentioned example of the evaluation screen will be described with reference to Fig. 6. Fig. 6 is a diagram showing an example of an evaluation screen for the rendering results.
[0076] As described above, the control unit 12 of the learning device 10 determines whether to terminate the annotation process based on the user's judgment on the class-labeled images. In response to the user's judgment, the control unit 12 causes the display unit 5 to display an evaluation screen 100 on which each 2D image 2Di can be compared with the class-labeled image corresponding to each 2D image 2Di, as shown in FIG.
[0077] 6, the evaluation screen 100 has a list area 101 and a comparison area 102. The list area 101 displays a list of class-labeled images output as a result of the rendering process. For example, the list area 101 displays a list of thumbnail images of the class-labeled images.
[0078] When the user selects any class-labeled image from the list area 101, the selected class-labeled image and its corresponding two-dimensional image 2Di are displayed side by side in the comparison area 102, as indicated by the arrow a1 in the figure.
[0079] The user evaluates the classification results by repeatedly displaying the class-labeled images and the corresponding two-dimensional images 2Di in the comparison area 102 and visually checking them. If the user then wishes to continue the annotation process, the user presses the "Annotation" button B1 to continue the annotation process. On the other hand, if the user wishes to end the annotation process, the user presses the "End" button B2 to end the annotation process.
[0080] <<6. Processing Procedures>> Next, processing procedures executed by the learning device 10 will be described with reference to Figs. 7 to 9. Fig. 7 is a flowchart showing processing procedures executed by the learning device 10 according to an embodiment of the present disclosure. Fig. 8 is a flowchart showing processing procedures for annotation processing. Fig. 9 is a flowchart showing processing procedures for projection processing.
[0081] 7, the control unit 12 of the learning device 10 first acquires a multi-viewpoint image including each viewpoint information (step S101), and then acquires a three-dimensional model 11c (step S102).
[0082] Next, the control unit 12 executes annotation processing (step S103). Then, the control unit 12 uses a group of class-labeled images, which are the output result of the annotation processing, as a training data set to train the recognition model 11e (step S104). Then, the processing ends.
[0083] Next, the annotation process in step S103 will be described. As shown in Fig. 8, in the annotation process, the control unit 12 inputs a multi-viewpoint image, viewpoint information, and a three-dimensional model 11c (step S201).
[0084] Then, the control unit 12 acquires a rough annotation operation performed by the user on an arbitrary image (two-dimensional image 2Di) via the operation unit 3 (step S202), and then the control unit 12 executes a projection process based on the input from the operation (step S203).
[0085] Then, based on the 3D model 11c with class labels output as a result of the projection process, the control unit 12 renders the class labels on the 3D model 11c onto each image (each 2D image 2Di) according to each viewpoint (step S204).
[0086] Then, the control unit 12 determines whether the annotation is complete (step S205). If the annotation is not complete (step S205, No), the control unit 12 repeats the process from step S202. If the annotation is complete (step S205, Yes), the control unit 12 outputs a group of images with class labels (step S206) and ends the annotation process.
[0087] Next, the projection process in step S203 will be described. As shown in Fig. 9, in the projection process, the control unit 12 inputs the annotation image, viewpoint information, and three-dimensional model 11c (step S301).
[0088] The control unit 12 then projects a virtual ray onto the three-dimensional model space for each pixel in the annotation image using the viewpoint information (step S302). The control unit 12 then executes a loop process that repeats the process for each three-dimensional structure (e.g., voxel) of the three-dimensional model 11c (step S303). Note that, for convenience, the counter for this loop process is designated as i. The initial value of i is set to 0.
[0089] In this loop process, the control unit 12 acquires annotations for the pixels projected onto the three-dimensional structure [i] (step S304), and then adds class labels corresponding to the acquired annotations to the existing projection results (step S305).
[0090] Then, the control unit 12 determines whether there are multiple existing projection results (step S306). If there are multiple existing projection results (step S306, Yes), the control unit 12 determines whether there are multiple most frequent class labels (step S307).
[0091] If there are multiple most frequent class labels (step S307, Yes), the control unit 12 assigns the most frequent and latest class label to the three-dimensional structure [i] (step S308).If there are not multiple most frequent class labels (step S307, No), the control unit 12 assigns the most frequent class label to the three-dimensional structure [i] (step S309).
[0092] Furthermore, if there are not a plurality of existing projection results in step S306 (No in step S306), the control unit 12 assigns the most recent class label to the three-dimensional structure [i] (step S310).
[0093] The control unit 12 then outputs the class-labeled three-dimensional structure [i] (step S311), and terminates the projection process if the loop termination condition is met. Note that by repeatedly outputting the class-labeled three-dimensional structure [i] in step S311, the final output result of the projection process becomes the class-labeled three-dimensional model 11c.
[0094] <<7. Modifications>> Incidentally, several modifications can be made to the above-described embodiment of the present disclosure.
[0095] For example, as a modified example, a case where multiple users perform annotation work will be described. In the above-described embodiment, it is assumed that there is only one user, but even when multiple users perform annotation work, the same annotation processing as described above can be used.
[0096] In this case, each user performs annotation work asynchronously, but the control unit 12 of the learning device 10 projects and aligns the annotation information specified by each user onto the same 3D model 11c, and asynchronously displays the resulting rendered class-labeled image to each user. While multiple users may perform annotation work on the same 2D image 2Di, it is unlikely that the "rough" annotations will be identical between multiple users. Therefore, even if the 2D images 2Di being worked on overlap, it is believed that the projection results based on each user's annotation work can be aligned on the 3D model 11c without any problems.
[0097] In the above-described embodiment, voxels are used as an example of the three-dimensional structure of the three-dimensional model 11c, but the three-dimensional structure of the three-dimensional model 11c is not limited to voxels. The three-dimensional structure of the three-dimensional model 11c may be in a data format such as a mesh or a point cloud.
[0098] Furthermore, among the processes described in the above-described embodiments of the present disclosure, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using known methods. In addition, the information including the processing procedures, specific names, various data, and parameters shown in the above documents and drawings can be changed as desired unless otherwise specified. For example, the various information shown in each drawing is not limited to the information shown in the drawings.
[0099] Furthermore, the components of each device shown in the figure are conceptual functional components and do not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc.
[0100] The above-described embodiments of the present disclosure can be combined as appropriate within the scope of the present disclosure without causing any contradiction in the processing content. The order of the steps shown in the sequence diagrams or flowcharts of the present embodiments can be changed as appropriate.
[0101] <<8. Hardware Configuration>> The learning device 10 and the annotation processing device 20 according to the above-described embodiments of the present disclosure are realized by a computer 1000 configured as shown in FIG. 10, for example. The learning device 10 will be described as an example. FIG. 10 is a hardware configuration diagram showing an example of a computer 1000 that realizes the functions of the learning device 10. The computer 1000 includes a CPU 1100, a RAM 1200, a ROM 1300, a secondary storage device 1400, a communication interface 1500, and an input / output interface 1600. The components of the computer 1000 are connected by a bus 1050.
[0102] The CPU 1100 operates and controls each component based on programs stored in the ROM 1300 or the secondary storage device 1400. For example, the CPU 1100 loads the programs stored in the ROM 1300 or the secondary storage device 1400 into the RAM 1200 and executes processing corresponding to the various programs.
[0103] The ROM 1300 stores boot programs such as a Basic Input Output System (BIOS) that is executed by the CPU 1100 when the computer 1000 is started, and programs that depend on the hardware of the computer 1000 .
[0104] The secondary storage device 1400 is a computer-readable recording medium that non-temporarily records programs executed by the CPU 1100 and data used by such programs. Specifically, the secondary storage device 1400 is a recording medium that records the programs according to this embodiment.
[0105] The communication interface 1500 is an interface for connecting the computer 1000 to an external network 1550. For example, the CPU 1100 receives data from other devices and transmits data generated by the CPU 1100 to other devices via the communication interface 1500.
[0106] The input / output interface 1600 is an interface for connecting the input / output device 1650 and the computer 1000. For example, the CPU 1100 receives data from an input device such as a keyboard or a mouse via the input / output interface 1600. The CPU 1100 also transmits data to an output device such as a display, a speaker, or a printer via the input / output interface 1600. The input / output interface 1600 may also function as a media interface for reading programs and the like recorded on a predetermined recording medium. Examples of media include optical recording media such as a DVD (Digital Versatile Disc) or a PD (Phase Change Rewritable Disc), magneto-optical recording media such as an MO (Magneto-Optical Disk), tape media, magnetic recording media, and semiconductor memories.
[0107] For example, when computer 1000 functions as learning device 10, CPU 1100 of computer 1000 executes a program loaded onto RAM 1200 to realize the functions of control unit 12. Secondary storage device 1400 stores programs related to the present disclosure and data in storage unit 11. CPU 1100 reads and executes program data 1450 from secondary storage device 1400, but as another example, it may also obtain these programs from another device via external network 1550.
[0108] <<9. Conclusion>> As described above, according to one embodiment of the present disclosure, the learning device 10 (corresponding to an example of an “information processing device”) includes the control unit 12. The control unit 12 acquires a three-dimensional model 11c including position information with respect to a three-dimensional space to be subjected to class classification. The control unit 12 also acquires a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image, each including viewpoint information corresponding to the position information. The control unit 12 also acquires first annotation information, second annotation information, and third annotation information that specify a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively. The control unit 12 also projects the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model 11c based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image. Furthermore, the control unit 12 determines a class label to be assigned to the part of the three-dimensional model 11 c based on a comparison between the first annotation information, the second annotation information, and the third annotation information projected onto the part of the three-dimensional model 11 c. This makes it possible to easily obtain learning data in which class boundaries are precisely represented.
[0109] Although the embodiments of the present disclosure have been described above, the technical scope of the present disclosure is not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of the present disclosure. Furthermore, components of different embodiments and modifications may be combined as appropriate.
[0110] Furthermore, the effects of each embodiment described in this specification are merely examples and are not limiting, and other effects may also be obtained.
[0111] Note that the present technology can also be configured as follows: (1) An information processing device comprising: a control unit that acquires a three-dimensional model including position information with respect to a three-dimensional space to be subjected to class classification, acquires a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image each including viewpoint information corresponding to the position information, acquires first annotation information, second annotation information, and third annotation information that specify a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively, projects the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image, and determines a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model. (2) The information processing device according to (1), wherein a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image are class regions to be classified into classes, and the control unit acquires closed curves arbitrarily specified by a user to be included in or enclose the class regions as the first annotation information, the second annotation information, and the third annotation information. (3) The information processing device according to (2), wherein the control unit assigns, to the part of the three-dimensional model, the class label that is most common among the class labels corresponding to the first annotation information, the second annotation information, and the third annotation information projected onto the part of the three-dimensional model.(4) The information processing device according to (3), wherein, when there are a plurality of the most numerous class labels, the control unit assigns the class label corresponding to one of the first annotation information, the second annotation information, and the third annotation information that is the most numerous and that has been most recently projected to a part of the three-dimensional model. (5) The information processing device according to (3) or (4), wherein, when only one of the first annotation information, the second annotation information, and the third annotation information is projected onto a part of the three-dimensional model, the control unit assigns the class label corresponding to the one of the first annotation information, the second annotation information, and the third annotation information to a part of the three-dimensional model. (6) The information processing device according to any one of (1) to (5), wherein the control unit generates the three-dimensional model having the position information identical to viewpoint information of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image, respectively, from a multi-viewpoint image including the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image. (7) The information processing device according to (6), wherein the control unit generates the 3D model by photogrammetry based on the multi-viewpoint images. (8) The information processing device according to any one of (1) to (5), wherein the control unit acquires the 3D model having position information that is not identical to each of viewpoint information of the first 2D image, the second 2D image, and the third 2D image, and matches the position information with each of viewpoint information of the first 2D image, the second 2D image, and the third 2D image. (9) The information processing device according to (8), wherein the control unit acquires the 3D model provided from a known geographic information system. (10) The information processing device according to any one of (1) to (9), wherein the control unit generates class-labeled images by rendering the class labels assigned to parts of the 3D model for the first 2D image, the second 2D image, and the third 2D image according to each of the viewpoint information.(11) The information processing device according to (10), wherein the control unit causes the display unit to display an evaluation screen that displays the class-labeled image alongside one of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image corresponding to the class-labeled image. (12) The information processing device according to any one of (1) to (11), wherein a part of the three-dimensional model is a three-dimensional structure that constitutes the three-dimensional model. (13) The information processing device according to (12), wherein the three-dimensional structure is voxels. (14) The information processing device according to any one of (1) to (13), wherein the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image are RGB images. (15) An information processing method executed by an information processing device, comprising: acquiring a three-dimensional model including position information with respect to a three-dimensional space to be subjected to class classification; acquiring a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image, each including viewpoint information corresponding to the position information; acquiring first annotation information, second annotation information, and third annotation information that specify a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively; projecting the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image; and determining a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.(16) A computer-readable recording medium having a program recorded thereon, the program causing a computer to execute the following processes: acquire a three-dimensional model including position information with respect to a three-dimensional space to be subjected to class classification; acquire a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image, each including viewpoint information corresponding to the position information; acquire first annotation information, a second annotation information, and a third annotation information that designate a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively; project the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image; and determine a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
[0112] 2Di: two-dimensional image; 2Di-A: viewpoint A image; 2Di-B: viewpoint B image; 2Di-C: viewpoint C image; 3: operation unit; 5: display unit; 10: learning device; 11: storage unit; 11a: multi-viewpoint image DB; 11b: viewpoint information; 11c: three-dimensional model; 11d: class-labeled image DB; 11e: recognition model; 12: control unit; 12a: acquisition unit; 12b: assignment processing unit; 12c: projection processing unit; 12d: rendering processing unit; 12e: display control unit; 12f: determination unit; 12g: learning unit; 20: annotation processing device; 100: evaluation screen; 101: list area; 102: comparison area;
Claims
1. An information processing device comprising: a control unit that acquires a three-dimensional model including position information with respect to a three-dimensional space to be subjected to class classification; acquires a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image each including viewpoint information corresponding to the position information; acquires first annotation information, a second annotation information, and a third annotation information specifying a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively; projects the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image; and determines a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
2. The information processing device of claim 1, wherein a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image are each a class area to be classified into classes, and the control unit acquires closed curves arbitrarily specified by the user to be included at least in the class areas or to surround the class areas as the first annotation information, the second annotation information, and the third annotation information.
3. The information processing device of claim 2, wherein the control unit assigns to the part of the three-dimensional model the class label that is most prevalent among the class labels corresponding to each of the first annotation information, the second annotation information, and the third annotation information projected onto the part of the three-dimensional model.
4. The information processing device of claim 3, wherein when there are multiple most common class labels, the control unit assigns the class label that is most common and corresponds to any one of the first annotation information, the second annotation information, and the third annotation information that was most recently projected to a part of the three-dimensional model.
5. The information processing device of claim 3, wherein when only one of the first annotation information, the second annotation information, and the third annotation information is projected onto a portion of the three-dimensional model, the control unit assigns the class label corresponding to that one piece of annotation information to the portion of the three-dimensional model.
6. The information processing device of claim 1, wherein the control unit generates the three-dimensional model having the position information identical to each of the viewpoint information of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image from a multi-viewpoint image including the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image.
7. The information processing device according to claim 6, wherein the control unit generates the three-dimensional model by photogrammetry based on the multi-viewpoint images.
8. The information processing device of claim 1, wherein the control unit acquires the three-dimensional model having position information that is not identical to each of the viewpoint information of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image, and matches the position information with each of the viewpoint information of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image.
9. The information processing device according to claim 8, wherein the control unit obtains the three-dimensional model provided from a known geographic information system.
10. The information processing device according to claim 1, wherein the control unit generates class-labeled images by rendering the class labels assigned to portions of the three-dimensional model for the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image according to respective viewpoint information.
11. The information processing device according to claim 10, wherein the control unit causes the display unit to display an evaluation screen that displays the class-labeled image side-by-side with one of the first two-dimensional image, the second two-dimensional image, and the third two-dimensional image corresponding to the class-labeled image.
12. The information processing device according to claim 1, wherein the part of the three-dimensional model is a three-dimensional structure that constitutes the three-dimensional model.
13. The information processing device according to claim 12, wherein the three-dimensional structure is a voxel.
14. The information processing device according to claim 1, wherein the first two-dimensional image, the second two-dimensional image and the third two-dimensional image are RGB images.
15. An information processing method executed by an information processing device, comprising: acquiring a three-dimensional model including position information with respect to a three-dimensional space to be subjected to class classification; acquiring a first two-dimensional image, a second two-dimensional image, and a third two-dimensional image each including viewpoint information corresponding to the position information; acquiring first annotation information, a second annotation information, and a third annotation information specifying a partial region of the first two-dimensional image, a partial region of the second two-dimensional image, and a partial region of the third two-dimensional image, respectively; projecting the first annotation information, the second annotation information, and the third annotation information onto a portion of the three-dimensional model based on the viewpoint information of the first two-dimensional image, the viewpoint information of the second two-dimensional image, and the viewpoint information of the third two-dimensional image; and determining a class label to be assigned to the portion of the three-dimensional model based on a comparison of the first annotation information, the second annotation information, and the third annotation information projected onto the portion of the three-dimensional model.
Citation Information
Patent Citations
Image processing device, image processing method, and image processing program
JP2014032443A
System and methods for image segmentation using convolutional neural network
JP2022001261A
