Feature extraction device, feature extraction method, and feature extraction program
The method dynamically adjusts local region sizes in three-dimensional point clouds to enhance feature extraction accuracy, addressing the limitations of existing techniques by iteratively processing seed points and forming clusters based on feature amounts, thereby improving feature aggregation and classification.
Patent Information
- Application Number
- PCT/JP2023/006803
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-29
AI Technical Summary
Existing techniques for feature extraction in three-dimensional point clouds face accuracy issues due to the inability to properly size the local structure, leading to deteriorated performance in specific datasets.
A feature extraction method that dynamically determines the size of a local region based on the distribution shape of the point cloud, using a selection unit to choose seed points, a first calculation unit to calculate feature amounts, and a generation unit to form clusters, with a second calculation unit processing these features iteratively to improve accuracy.
This approach enhances the accuracy of feature extraction by adapting the local region size to the point cloud's characteristics, improving feature aggregation and classification capabilities.
Smart Images

Figure JP2023006803_29082024_PF_FP_ABST
Abstract
Description
Feature extraction device, feature extraction method, and feature extraction program
[0001] The present invention relates to a feature extraction device, a feature extraction method, and a feature extraction program.
[0002] Deep learning technologies such as deep learning have achieved remarkable results in various fields, including image and audio. In recent years, they have been increasingly used to analyze three-dimensional point cloud data, which is more complex than image and audio data.
[0003] Under such circumstances, an example of a technique for aggregating the features of a 3D point cloud representing an object into points with a smaller number than the number of points in the original 3D point cloud is described in Non-Patent Document 1. Non-Patent Document 1 discloses a technique for solving problems such as classification and segmentation by hierarchically aggregating the features of the 3D point cloud into selected arbitrary points to quantify the local structure of the object.
[0004] Charles R. Qi, et. al., "PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space", 31st Conference on Neural Information Processing Systems pp.5105-5114, 2017
[0005] The technology disclosed in Non-Patent Document 1 uses a fixed value to determine the size of a local structure for aggregating features of a 3D point cloud, and is unable to appropriately determine the size of the local structure depending on the characteristics of the dataset. As a result, the technology of Non-Patent Document 1 has a problem in that accuracy deteriorates with certain datasets.
[0006] One aspect of the present invention has been made in view of the above-mentioned problems, and one object of the present invention is to provide a technique for improving the accuracy of extracting features of a three-dimensional point cloud.
[0007] a first calculation means for calculating, for each seed point, the size of a local region that includes the seed point and a feature value of the seed point by referring to the coordinates of the seed point or the feature value of the seed point calculated in a previous cycle; a generation means for calculating, for each local region, a cluster whose elements are points that constitute the three-dimensional point cloud and that are included in the local region; and a second calculation means for calculating, for each cluster, the feature value of the cluster by referring to the feature values of the seed points that belong to the cluster, the coordinates of points other than the seed points that belong to the cluster, or the feature values of points other than the seed points that belong to the cluster calculated in the previous cycle. The feature extraction device according to one aspect of the present invention repeatedly executes a cycle that includes the selection means, the first calculation means, the generation means, and the second calculation means using, as a new input, a three-dimensional point cloud that is configured by the seed points and in which the feature values of the clusters that include each seed point are the feature values of the seed point.
[0008] a first calculation process for calculating, for each seed point, the size of a local region containing the seed point and a feature value of the seed point by referring to the coordinates of the seed point or the feature value of the seed point calculated in a previous cycle; a generation process for generating, for each local region, a cluster having points contained in the local region among the points constituting the three-dimensional point cloud as elements; and a second calculation process for calculating, for each cluster, the feature value of the cluster by referring to the feature value of the seed point belonging to the cluster, the coordinates of points other than the seed point belonging to the cluster, or the feature value of points other than the seed point belonging to the cluster calculated in the previous cycle; and
[0009] A feature extraction program according to one aspect of the present invention is a program for causing a computer to function as a feature extraction device, and includes at least one processor included in the computer, comprising: a selection means for executing a selection process for selecting at least one seed point from a three-dimensional point cloud; a first calculation means for executing a first calculation process for calculating, for each seed point, the size of a local region containing the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in the previous cycle; and a cluster generation means for generating, for each local region, a cluster whose elements are points contained in the local region among the points constituting the three-dimensional point cloud. and second calculation means for executing a second calculation process that calculates, for each cluster, the features of the cluster by referring to the features of seed points belonging to the cluster and the coordinates of points other than the seed points belonging to the cluster, or the features of points other than the seed points belonging to the cluster that were calculated in the previous cycle, and the program repeatedly executes a cycle that includes the selection process, the first calculation process, the generation process, and the second calculation process by using as a new input a three-dimensional point cloud that is composed of each seed point and that has the features of the seed point as the feature of the cluster including each seed point.
[0010] According to one aspect of the present invention, it is possible to provide a technique for improving the accuracy of extracting features of a three-dimensional point cloud.
[0011] FIG. 1 is a block diagram showing the configuration of a feature extraction device 1 according to an exemplary embodiment 1 of the present invention. FIG. 2 is a flow chart showing the flow of a feature extraction method S1 according to an exemplary embodiment 1 of the present invention. FIG. 3 is a diagram showing an overview of feature extraction by the feature extraction device 1. FIG. 4 is a block diagram showing a modified example of a feature extraction device 1A according to an exemplary embodiment 2 of the present invention. FIG. 5 is a flow chart showing the flow of a feature extraction method S1A according to an exemplary embodiment 2 of the present invention. FIG. 6 is a block diagram showing the configuration of a feature extraction device 1B according to an exemplary embodiment 3 of the present invention. FIG. 7 is a flow chart showing the flow of a feature extraction method S1B according to an exemplary embodiment 3 of the present invention. FIG. 8 is a block diagram showing the configuration of a feature extraction program according to an example of realization by software of the present invention.
[0012] [First Exemplary Embodiment] 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 below.
[0013] (Overview of Feature Extraction Device 1) Techniques for quantifying local structures within a 3D point cloud as features are known in order to aggregate the features of the 3D point cloud at arbitrary seed points selected from the 3D point cloud. However, there are no appropriate guidelines for determining the size of the local structures. Hereinafter, a "local structure" within a 3D point cloud will be referred to as a "local region." The appropriate local region size for aggregating the features of a 3D point cloud differs between dense 3D point clouds, such as indoor datasets, and sparse 3D point clouds, such as outdoor datasets. For this reason, using a local region size set for a dense 3D point cloud to determine a local region for a sparse 3D point cloud can result in inappropriate feature aggregation. Therefore, one problem that the exemplary embodiment aims to solve is determining the size of a local region according to the characteristics of the 3D point cloud, such as the distribution shape.
[0014] (Configuration of Feature Extraction Device 1) The configuration of the feature extraction device 1 according to this exemplary embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the configuration of the feature extraction device 1.
[0015] 1, the feature extraction device 1 includes a selection unit 11, a first calculation unit 12, a generation unit 13, and a second calculation unit 14. In this embodiment, the selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 are configured to realize a selection means, a first calculation means, a generation means, and a second calculation means, respectively.
[0016] The selection unit 11 is configured to execute a selection process for selecting a seed point. In the first cycle of processing, at least one point is selected as a seed point from the input three-dimensional point cloud P. At this time, the selection unit 11 outputs the coordinates of the seed point. In the second or subsequent cycle of processing, a new seed point is selected from the three-dimensional point cloud P formed by the seed points selected in the previous cycle. At this time, the selection unit 11 outputs the feature amount of the newly selected seed point.
[0017] The first calculation unit 12 is configured to execute a first calculation process that calculates, for each seed point, the size of a local region that includes that seed point and the feature values of that seed point. In the first cycle of processing, the size of each local region and the feature values of the seed points included in that local region are calculated from the coordinates of that seed point. In the second and subsequent cycles of processing, the size of each local region and the feature values of the seed points included in that local region are calculated from the feature values of the seed points calculated in the previous cycle.
[0018] The generation unit 13 is configured to generate a cluster for each local region. The elements of a cluster are points included in the local region among the points constituting the three-dimensional point cloud P. The cluster is generated based on the local region size of each local region, the coordinates of the seed points, and the coordinates of points other than the seed points constituting the three-dimensional point cloud P.
[0019] The second calculation unit 14 is configured to execute a second calculation process that calculates cluster features for each cluster. In the first cycle of the process, the cluster features for each cluster are calculated by referring to the features of the seed points belonging to that cluster and the coordinates of points other than the seed points belonging to that cluster. In the second cycle of the process, the cluster features for each cluster are calculated by referring to the features of the points other than the seed points belonging to that cluster that were calculated in the previous cycle.
[0020] A cycle including a selection process in the selection unit 11 of the feature extraction device 1, a first calculation process in the first calculation unit 12, a generation process in the generation unit 13, and a second calculation process in the second calculation unit 14 is repeatedly executed. In the second cycle and thereafter, a new three-dimensional point cloud P configured from the seed points output as a result of the previous cycle is input to the selection unit 11. For each seed point output as a result of the previous cycle, the feature amount of the cluster including that seed point generated in the previous cycle is used as the feature amount of that seed point.
[0021] The selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 can be realized by a neural network.
[0022] An example of information input to the selection unit 11 is the coordinates of each point constituting the three-dimensional point cloud. An example of information output from the selection unit 11 is the coordinates of each point constituting the three-dimensional point cloud and information identifying selected seed points. The coordinates of each point constituting the three-dimensional point cloud output from the selection unit 11 may or may not be the same as the coordinates of each point constituting the three-dimensional point cloud input to the selection unit 11. An example of information output from the first calculation unit 12 is the coordinates of each point constituting the three-dimensional point cloud, information identifying selected seed points, the size of a local region of each seed point, and feature values of the seed points included in the local region. The coordinates of each point constituting the three-dimensional point cloud output from the first calculation unit 12 may or may not be the same as the coordinates of each point constituting the three-dimensional point cloud input to the first calculation unit 12. Furthermore, the information identifying the selected seed points output from the first calculation unit 12 may or may not be the same as the information identifying the selected seed points input to the first calculation unit 12. An example of the information output from the generation unit 13 is information obtained by adding information about points included in the generated clusters to the information input to the generation unit 13. An example of the information output from the second calculation unit 14 is information including the feature amounts of each cluster and the coordinates of seed points belonging to the cluster.
[0023] (Flow of Feature Extraction Method S1) The flow of the feature extraction method S1 according to this exemplary embodiment will be described with reference to Fig. 2. Fig. 2 is a flow diagram showing the flow of the feature extraction method S1. As shown in Fig. 2, the feature extraction method S1 includes a selection process S11, a first calculation process S12, a generation process S13, and a second calculation process S14. Each process of the feature extraction method S1 is executed by, for example, each unit of the feature extraction device 1.
[0024] Selection process S11 is a process for executing a selection process for selecting a seed point. In the first cycle of processing, at least one point is selected as a seed point from the input three-dimensional point cloud P. At this time, the coordinates of the seed point are output as a result of selection process S11. In the second or subsequent cycle of processing, a new seed point is selected from the three-dimensional point cloud P composed of the seed points selected in the previous cycle.
[0025] The first calculation process S12 is a process for executing a first calculation process that calculates, for each seed point, the size of a local region that includes that seed point and the feature values of that seed point. In the first cycle of the process, the size of each local region and the feature values of the seed points included in that local region are calculated from the coordinates of that seed point. In the second cycle and subsequent cycles of the process, the size of each local region and the feature values of the seed points included in that local region are calculated from the feature values of the seed points calculated in the previous cycle.
[0026] The generation process S13 is a process for generating a cluster for each local region. The elements of a cluster are the points included in the local region among the points constituting the three-dimensional point cloud P. The cluster is generated based on the local region size of each local region, the coordinates of the seed points, and the coordinates of points other than the seed points constituting the three-dimensional point cloud P.
[0027] The second calculation process S14 is a process for executing a second calculation process that calculates cluster feature amounts for each cluster. In the first cycle of the process, the cluster feature amount for each cluster is calculated by referring to the feature amounts of the seed points belonging to that cluster and the coordinates of points other than the seed points belonging to that cluster. In the second cycle of the process, the cluster feature amount for each cluster is calculated by referring to the feature amounts of the points other than the seed points belonging to that cluster that were calculated in the previous cycle.
[0028] (Effects of Feature Extraction Device 1 and Feature Extraction Method S1) As described above, the feature extraction device 1 according to this exemplary embodiment employs a configuration that determines local regions and their sizes based on feature quantities of points constituting an input three-dimensional point cloud. With this configuration, the feature extraction device 1 can determine, for each input three-dimensional point cloud, a local region size that reflects the distribution shape of the three-dimensional point cloud, such as the magnitude of the point cloud density. The feature extraction device 1 can provide a technology that improves the accuracy of extracting features from three-dimensional point clouds.
[0029] (Specific Example of Feature Extraction Device 1) Hereinafter, a specific example of any one cycle of processing by the feature extraction device 1 will be described with reference to FIG.
[0030] The three-dimensional point cloud P in Fig. 3 is the three-dimensional point cloud input to the feature extraction device 1 in this cycle. The selection unit 11 selects seed points from the points that make up the three-dimensional point cloud P. At P1 in Fig. 3, the seed points selected by the selection unit 11 from the input three-dimensional point cloud P are indicated by white circles.
[0031] In P2, the local regions extracted by the first calculation unit 12 are indicated by circles. Each local region is a region that includes a seed point. Each local region is determined by a first calculation process that inputs the coordinates of each seed point and outputs the size of each local region and the feature amounts of the seed points included in each local region. The generation unit 13 generates a cluster whose elements are the seed points and other points included in each local region.
[0032] P3 indicates a 3D point cloud formed by each seed point obtained as a result of the current cycle. The feature of each seed point is the feature of the cluster including each seed point calculated by the second calculation unit 14. In the next cycle, the 3D point cloud formed by each seed point shown in P3 is input to the selection unit 11. In the next cycle, the feature of the cluster including each seed point is input to the selection unit 11 as the feature of each seed point.
[0033] (Specific Example of Selector 11) The selector 11 may be configured to randomly select at least one seed point.
[0034] The selector 11 may be configured to select multiple seed points using the FPS (Farthest Point Sampling) method. For example, an arbitrary point p1 is selected from the multiple seed points, and point p2, which is the furthest from the selected point {p1}, is selected. Furthermore, point p3, which is the furthest from the selected point {p1, p2}, is selected. This process continues to select the furthest point from the already selected points, and is repeated until a predetermined number of points are selected. Here, the Euclidean distance between each seed point or the distance between the feature quantities of each seed point can be used as the distance measure. (Specific Example of the First Calculator 12) To calculate the first feature quantity for each seed point, color information (RGB values), normal vectors, curvature, etc. can be referenced in addition to the coordinates of the seed point.
[0035] The first calculation process executed by the first calculation unit 12 can be a convolution process that outputs the size of a local region containing each seed point and its feature amount. The input to the convolution process in the first calculation process is the coordinates of the seed point in the first cycle, and the input to the convolution process in the second cycle and thereafter is the feature amount of the seed point calculated in the previous cycle.
[0036] (Specific Example of Second Calculation Unit 14) The second calculation process executed by the second calculation unit 14 can be a convolution process that outputs the feature amounts of each cluster. The inputs to the convolution process in the second calculation process are, in the first cycle, the feature amounts of the seed points belonging to each cluster and the coordinates of points other than the seed points belonging to that cluster, and, in the second cycle and thereafter, the feature amounts of the seed points belonging to each cluster and the feature amounts of points other than the seed points belonging to that cluster. (Variation of Generation Unit 13) The feature extraction device 1 can include a generation unit 13' instead of the generation unit 13. The generation unit 13' determines a new local region size, which is the maximum, minimum, average, or median, from the local region sizes for each seed point calculated by the first calculation unit 12. Then, a cluster is generated whose elements are points included in local regions having the new local region size among the points constituting the three-dimensional point cloud. With this configuration, the local area size can be set to a fixed value, making it possible to both calculate a local area size that matches the characteristics of the input three-dimensional point cloud and increase the speed of the generation process.
[0037] 1, the selection unit 11, the first calculation unit 12, and the generation unit 13 are shown as separate components, but are not limited to this. For example, the selection unit 11, the first calculation unit 12, and the generation unit 13 may be integrated into one unit, or the processes of the respective units may be executed simultaneously using a model.
[0038]
[0033] A second exemplary embodiment of the present invention will be described in detail with reference to the drawings. Note that components having the same functions as those described in the first exemplary embodiment are denoted by the same reference numerals, and their description will be omitted as appropriate.
[0039] (Configuration of Feature Extraction Device 1A) The configuration of the feature extraction device 1A according to this embodiment will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the configuration of the feature extraction device 1A.
[0040] 4 , the feature extraction device 1A includes a selection unit 11, a first calculation unit 12, a generation unit 13, a second calculation unit 14, and a classification unit 15. In this embodiment, the classification unit 15 is configured to realize a classification means. The selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 in this embodiment are similar in configuration to the selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 of the feature extraction device 1.
[0041] The classification unit 15 is configured to classify the classes to which each cluster belongs. The classification unit 15 receives the feature values of each cluster output by the second calculation process S14 and classifies the classes to which the cluster belongs. In this embodiment, the classification unit 15 calculates an object score y corresponding to each object (each class) i for each cluster. i Calculate the object score y i is defined as a probability value normalized so that the sum becomes 1 using a softmax function, for example, as in equation (1).
[0042] In the formula, x i , x k is the output of the neural network, and y i is the object score, and i is a natural number between 1 and n.
[0043] The classification unit 15 capable of calculating such an object score can be realized by using a neural network, for example, a multi-layer perceptron (MLP) network.
[0044] (Flow of Feature Extraction Method S1A) The flow of the feature extraction method S1A according to this exemplary embodiment will be described with reference to FIG. 5. FIG. 5 is a flow diagram showing the flow of the feature extraction method S1A. As shown in FIG. 5, the feature extraction method S1A includes a selection process S11, a first calculation process S12, a generation process S13, a second calculation process S14, and a classification process S15. Each process of the feature extraction method S1 is executed by, for example, each unit of the feature extraction device 1A.
[0045] The selection process S11, the first calculation process S12, the generation process S13, and the second calculation process S14 in this embodiment have the same configuration as the selection process S11, the first calculation process S12, the generation process S13, and the second calculation process S14 of the feature extraction method S1.
[0046] The classification process S15 is a process for classifying the classes to which each cluster belongs. The classification process S15 uses the feature values of each cluster output by the second calculation process S14 as input and classifies the classes to which the cluster belongs.
[0047] (Advantages of Feature Extraction Apparatus 1A) As described above, the feature extraction apparatus 1A according to this exemplary embodiment employs a configuration in which an object score for each cluster is calculated based on the feature quantities of the cluster. Therefore, in addition to the advantages of the feature extraction apparatus 1 according to exemplary embodiment 1, the feature extraction apparatus 1A also has the advantage of being able to classify each cluster with high accuracy.
[0048]
[0033] A third exemplary embodiment of the present invention will be described in detail with reference to the drawings. Note that components having the same functions as those described in the first exemplary embodiment are denoted by the same reference numerals, and their description will not be repeated.
[0049] (Configuration of Feature Extraction Device 1B) The configuration of the feature extraction device 1B according to this embodiment will be described with reference to Fig. 6. Fig. 6 is a block diagram showing the configuration of the feature extraction device 1B.
[0050] 6, the feature extraction device 1B includes a selection unit 11, a first calculation unit 12, a generation unit 13, a second calculation unit 14, a classification unit 15, and an update unit 16. In this embodiment, the update unit 16 is configured to implement update means. In this embodiment, the selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 are configured similarly to the selection unit 11, the first calculation unit 12, the generation unit 13, and the second calculation unit 14 of the feature extraction devices 1 and 1A. In addition, the classification unit 15 is configured similarly to the classification unit 15 of the feature extraction device 1B.
[0051] The update unit 16 is configured to update the parameters that define the first calculation process and the parameters that define the second calculation process. The parameters that define the first calculation process and the parameters that define the second calculation process are updated so that the classification result obtained by the classification unit 15 approaches the correct answer.
[0052] Furthermore, the update unit 16 may be configured to update parameters that define the selection process. The parameters that define the selection process are updated so that the classification result obtained by the classification unit 15 approaches the correct answer.
[0053] For example, the update unit 16 calculates a loss L based on the object score for each cluster and the teacher signal, and updates the parameters that define the first calculation process and the parameters that define the second calculation process so as to minimize the sum of the losses L. The teacher signal is an arbitrary numerical value that represents the correct answer to classification. For example, it can be a one-hot vector in which the correct label is 1 and all other values are 0. The loss L can be calculated using a function defined so that the closer the object score and the teacher signal are to each other, the smaller the value of the loss L becomes.
[0054] The loss L calculated in the update unit 16 is the object score y i and teacher signal t i The loss L may be calculated, for example, by a function expressed by the following formula (2) or (3).
[0055] In formula (2) and formula (3), y iis the object score for each cluster i, and t i is the teacher signal corresponding to each cluster i.
[0056] (Flow of Feature Extraction Method S1B) The flow of feature extraction method S1B according to this exemplary embodiment will be described with reference to FIG. 7. FIG. 7 is a flow diagram showing the flow of feature extraction method S1B. As shown in FIG. 7, feature extraction method S1B includes a selection process S11, a first calculation process S12, a generation process S13, a second calculation process S14, a classification process S15, and an update process S16. Each process of feature extraction method S1B is executed by, for example, each unit of feature extraction device 1B.
[0057] The selection process S11, the first calculation process S12, the generation process S13, and the second calculation process S14 in this embodiment have the same configuration as the selection process S11, the first calculation process S12, the generation process S13, and the second calculation process S14 in the feature extraction methods S1 and S1A. Also, the classification process S15 in this embodiment has the same configuration as the classification process S15 in the feature extraction method S1B.
[0058] The update process S16 is a process for updating the parameters that define the first calculation process S12 and the parameters that define the second calculation process S14. Here, the parameters that define the first calculation process S12 and the parameters that define the second calculation process S14 are updated so that the classification result obtained by the classification process S15 approaches the correct answer.
[0059] Furthermore, the update process S16 can be a process for updating parameters that define the selection process S11. Here, the parameters that define the selection process S11 are updated so that the classification result obtained by the classification process S15 approaches the correct answer.
[0060] (Effects of Feature Extraction Device 1B) As described above, the feature extraction device 1B according to this exemplary embodiment employs a configuration in which the feature quantities of clusters are compared with a teacher signal and parameters related to feature extraction are updated. With this configuration, the parameters of the convolution process are updated based on the results of the classification problem, making it possible to generate clusters suitable for solving the classification problem and extract their features.
[0061] [Example of Software Implementation] Some or all of the functions of the feature extraction devices 1, 1A, and 1B may be implemented by hardware such as an integrated circuit (IC chip), or may be implemented by software.
[0062] In the latter case, the feature extraction devices 1, 1A, and 1B are realized, for example, by a computer that executes instructions in 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. 10. The computer C includes 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 feature extraction devices 1, 1A, and 1B. In the computer C, the processor C1 reads and executes the program P from the memory C2, thereby realizing each function of the feature extraction devices 1, 1A, and 1B.
[0063] The processor C1 may be, for example, a central processing unit (CPU), a graphics 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 tensor processing unit (TPU), a quantum processor, a microcontroller, or a combination thereof. The memory C2 may be, for example, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or a combination thereof.
[0064] 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 also include a communication interface for transmitting and receiving data to and from other devices. The computer C may also include an input / output interface for connecting input / output devices such as a keyboard, a mouse, a display, and a printer.
[0065] The program P can also 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 acquire the program P via such a recording medium M. The program P can also 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 acquire the program P via such a transmission medium.
[0066] [Additional Note 1] The present invention is not limited to the above-described embodiments, 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 embodiments are also included in the technical scope of the present invention.
[0067] [Additional Note 2] Part or all of the above-described embodiment can also be described as follows: However, the present invention is not limited to the following described aspects.
[0068] a feature extraction device comprising: a selection means that executes a selection process to select at least one seed point from a three-dimensional point cloud; a first calculation means that executes a first calculation process to calculate, for each seed point, a size of a local region that includes the seed point and a feature amount of the seed point, by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle; a generation means that executes a generation process to generate, for each local region, a cluster whose elements are points that constitute the three-dimensional point cloud and are included in the local region; and a second calculation means that executes a second calculation process to calculate, for each cluster, the feature amount of the cluster by referring to the feature amounts of the seed points that belong to the cluster, the coordinates of points other than the seed points that belong to the cluster, or the feature amounts of points other than the seed points that belong to the cluster calculated in the previous cycle; and the feature extraction device repeatedly executes a cycle including the selection process, the first calculation process, the generation process, and the second calculation process, by using, as a new input, a three-dimensional point cloud that is composed of each seed point and in which the feature amounts of the clusters that include each seed point are the feature amounts of the seed point.
[0069] According to the above configuration, it is possible to improve the accuracy of extracting features of a three-dimensional point cloud.
[0070] (Supplementary Note 2) The feature extraction device according to Supplementary Note 1, further comprising a classifying means for classifying a class to which each cluster belongs by referring to the feature of that cluster.
[0071] According to the above configuration, classification of each cluster can be performed with high accuracy.
[0072] (Supplementary Note 3) The feature extraction device according to Supplementary Note 2, wherein the first calculation process is a convolution process that takes as input the coordinates of each seed point or a feature of the seed point calculated in a previous cycle, and outputs the size of a local region containing the seed point and the feature of the seed point; the second calculation process is a convolution process that takes as input the feature of the seed point belonging to each cluster, and the coordinates of a point other than the seed point belonging to that cluster, or a feature of a point other than the seed point belonging to that cluster calculated in a previous cycle, and outputs the feature of the cluster; and further comprises an update means that updates parameters that define the first calculation process and parameters that define the second calculation process so that the classification result obtained by the classification means approaches a correct answer.
[0073] According to the above configuration, the parameters of the convolution process are updated based on the results of the classification problem, so that it is possible to generate clusters suitable for solving the classification problem and extract their features.
[0074] (Supplementary Note 4) The feature extraction device according to Supplementary Note 3, wherein the selection process is a convolution process that uses a three-dimensional point cloud as an input and at least one seed point as an output, and the updating means further updates parameters that define the selection process so that the classification result obtained by the classification means approaches a correct answer.
[0075] According to the above configuration, the parameters are updated so as to select seed points suitable for aggregating the features of the three-dimensional point cloud, thereby improving the accuracy of determining the local region size.
[0076] (Supplementary Note 5) The feature extraction device according to any one of Supplementary Notes 1 to 3, wherein the selection means randomly selects at least one seed point.
[0077] According to the above configuration, the processing speed of the selection means can be increased.
[0078] (Supplementary Note 6) The feature extraction device according to any one of Supplementary Notes 1 to 3, wherein the selection means selects a plurality of seed points using a FPS (Farthest Point Sampling) method.
[0079] According to the above configuration, seed points can be selected without bias.
[0080] (Supplementary Note 7) The feature extraction device according to any one of Supplementary Notes 1 to 6, further comprising, instead of the generating means, a generating means for executing a generation process that determines a size of a new local region, which is a maximum value, a minimum value, an average value, or a median value, from the size of the local region for each seed point calculated by the first calculating means, and generates a cluster having points, among points constituting the three-dimensional point cloud, that are included in a local region having the new local region size as elements.
[0081] According to the above configuration, it is possible to both calculate a local region size that matches the characteristics of the input three-dimensional point cloud and increase the speed of the generation process.
[0082] and (Supplementary Note 8) a feature extraction method comprising: at least one processor executing a selection process to select at least one seed point from a three-dimensional point cloud; executing a first calculation process to calculate, for each seed point, a size of a local region containing the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle; executing a generation process to generate, for each local region, a cluster having points contained in the local region among points constituting the three-dimensional point cloud as elements; and executing a second calculation process to calculate, for each cluster, a feature amount of the cluster by referring to the feature amount of the seed point belonging to the cluster, and the coordinates of points other than the seed point belonging to the cluster or the feature amount of the points other than the seed point belonging to the cluster calculated in the previous cycle; and
[0083] According to the above configuration, it is possible to improve the accuracy of aggregating the features of the three-dimensional point cloud.
[0084] (Supplementary Note 9) A program for causing a computer to function as a feature extraction device, the program comprising at least one processor included in the computer, a selection means for executing a selection process for selecting at least one seed point from a three-dimensional point cloud, a first calculation means for executing a first calculation process for calculating, for each seed point, the size of a local region including the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle, and a generation means for executing a generation process for generating, for each local region, a cluster having, as elements, points included in the local region among points constituting the three-dimensional point cloud. and second calculation means that executes a second calculation process that calculates, for each cluster, features of the cluster by referring to features of seed points belonging to the cluster and the coordinates of points other than the seed points that belong to the cluster, or features of points other than the seed points that belong to the cluster that were calculated in the previous cycle, and that repeatedly executes a cycle including the selection process, the first calculation process, the generation process, and the second calculation process using, as a new input, a three-dimensional point cloud that is composed of each seed point and that has features of the seed point as the feature of the seed point.
[0085] According to the above configuration, it is possible to improve the accuracy of aggregating the features of the three-dimensional point cloud.
[0086] [Additional Note 3] Part or all of the above-described embodiment can also be expressed as follows.
[0087] a first calculation process for calculating, for each seed point, a size of a local region that includes the seed point and a feature value of the seed point, by referring to the coordinates of the seed point or the feature value of the seed point calculated in a previous cycle; a generation process for generating, for each local region, a cluster whose elements are points that constitute the three-dimensional point cloud and that are included in the local region; and a second calculation process for calculating, for each cluster, the feature value of the cluster by referring to the feature value of the seed point that belongs to the cluster, the coordinates of points other than the seed point that belong to the cluster, or the feature value of points other than the seed point that belong to the cluster calculated in the previous cycle; and the feature extraction device repeatedly executes a cycle including the selection process, the first calculation process, the generation process, and the second calculation process, by using, as a new input, a three-dimensional point cloud that is configured by each seed point, and in which the feature value of the seed point is the feature value of the seed point. The feature extraction device may further include a memory that stores a program for causing the processor to repeatedly execute the selection process, the first calculation process, the generation process, and the second calculation process. The program may be recorded on a computer-readable, non-transitory, tangible recording medium.
[0088] DESCRIPTION OF SYMBOLS 1, 1A, 1B Feature extraction device 11 Selection unit 12 First calculation unit 13 Generation unit 14 Second calculation unit 15 Classification unit 16 Update unit
Claims
a feature extraction device comprising: a selection means for executing a selection process to select at least one seed point from a three-dimensional point cloud; a first calculation means for executing a first calculation process to calculate, for each seed point, a size of a local region containing the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle; a generation means for executing a generation process to generate, for each local region, a cluster having points contained in the local region among points constituting the three-dimensional point cloud as elements; and a second calculation means for executing a second calculation process to calculate, for each cluster, a feature amount of the cluster by referring to the feature amount of the seed point belonging to that cluster, the coordinates of points other than the seed point belonging to that cluster, or the feature amount of points other than the seed point belonging to that cluster calculated in the previous cycle; 2. The feature extraction device according to claim 1, further comprising classification means for classifying the class to which each cluster belongs by referring to the feature of that cluster.
3. The feature extraction device according to claim 2, further comprising an update means for updating parameters that define the first calculation process and parameters that define the second calculation process, wherein the first calculation process is a convolution process that takes as input the coordinates of each seed point or the feature of the seed point calculated in a previous cycle, and outputs the size of the local region containing the seed point and the feature of the seed point; and the second calculation process is a convolution process that takes as input the feature of the seed point belonging to each cluster, and the coordinates of a point other than the seed point belonging to that cluster, or the feature of a point other than the seed point belonging to that cluster calculated in a previous cycle, and outputs the feature of the cluster.
4. The feature extraction device according to claim 3, wherein the selection process is a convolution process that takes a three-dimensional point cloud as input and outputs at least one seed point, and the update means further updates parameters that define the selection process so that the classification result obtained by the classification means approaches a correct answer.
5. The feature extraction device according to any one of claims 1 to 3, wherein the selection means randomly selects at least one seed point.
6. The feature extraction device according to any one of claims 1 to 3, wherein the selection means selects a plurality of seed points using a First Point Sampling (FPS) method.
7. A feature extraction device as claimed in any one of claims 1 to 6, further comprising, instead of the generating means, a generating means for executing a generating process that determines a new local region size, which is a maximum value, minimum value, average value or median value, from the size of the local region for each seed point calculated by the first calculating means, and generates a cluster having points, among the points constituting the three-dimensional point cloud, that are included in a local region having the new local region size.
8. A feature extraction method comprising: at least one processor performing a selection process to select at least one seed point from a three-dimensional point cloud; performing a first calculation process to calculate, for each seed point, a size of a local region containing the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle; performing a generation process to generate, for each local region, a cluster having points contained in the local region among points constituting the three-dimensional point cloud as elements; and performing a second calculation process to calculate, for each cluster, a feature amount of the cluster by referring to the feature amount of the seed point belonging to the cluster and the coordinates of points other than the seed point belonging to the cluster or the feature amount of points other than the seed point belonging to the cluster calculated in the previous cycle; and repeatedly performing a cycle including the selection process, the first calculation process, the generation process, and the second calculation process by using a three-dimensional point cloud constituted by each seed point, in which the feature amount of the cluster including each seed point is the feature amount of the seed point, as a new input.
9. A program for causing a computer to function as a feature extraction device, the program causing at least one processor of the computer to function as: a selection means for executing a selection process for selecting at least one seed point from a three-dimensional point cloud; a first calculation means for executing a first calculation process for calculating, for each seed point, the size of a local region containing the seed point and a feature amount of the seed point by referring to the coordinates of the seed point or the feature amount of the seed point calculated in a previous cycle; a generation means for executing a generation process for generating, for each local region, a cluster having points contained in the local region among points constituting the three-dimensional point cloud as elements; and a second calculation means for executing a second calculation process for calculating, for each cluster, the feature amount of the cluster by referring to the feature amount of the seed point belonging to the cluster and the coordinates of points other than the seed point belonging to the cluster or the feature amount of points other than the seed point belonging to the cluster calculated in a previous cycle; a program that repeatedly executes a cycle including the selection process, the first calculation process, the generation process, and the second calculation process by using as a new input a three-dimensional point cloud composed of each seed point, in which the features of a cluster including each seed point are the features of that seed point.
Citation Information
Patent Citations
Feature extraction device, object detection device, method, and program
JP2019003527A
Three-dimensional point group label learning / estimation device, three-dimensional point group label learning / estimation method, and three-dimensional point group label learning / estimation program
WO2020235079A1
