A method and system for generating images based on three-dimensional point clouds
By using the collaborative optimization method in the 3D point cloud model, combining the generalized distance loss of point cloud and Mesh, a collaborative optimization loss function is constructed, which solves the problems of matching degree and sensitivity cost of the 3D point cloud model in the adversarial optimization process, and achieves An effective defense against attacks.
Patent Information
- Application Number
- CN202211629805.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-12-19
AI Technical Summary
The existing technology fails to effectively consider the matching degree and sensitivity cost of the three-dimensional point cloud model when fighting against attacks during the adversarial optimization process, resulting in the vulnerability problem of the three-dimensional point cloud recognition model not being effectively solved.
The collaborative optimization method is used to train the point cloud classification model, calculate the generalization distance loss between point cloud and Mesh, combine the classification loss to construct a collaborative optimization loss function, and optimize the generation of adversarial point cloud data to resist attacks and achieve adversarial defense.
By minimizing collaborative optimization losses, the generated adversarial point cloud data can maintain target recognition capabilities under minimal disturbance, improving the adversarial attack defense capabilities of the three-dimensional point cloud model.
Smart Images

Figure CN116188891B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of three-dimensional point cloud data processing, and in particular relates to a three-dimensional point cloud-based image generation method and system. Background Art
[0002] At present, the in-depth research on deep learning models has led to unprecedented development of face recognition, target detection and other applications based on two-dimensional image recognition. However, since deep learning models are composed of mathematical parameters of multiple layers of weights and biases, compared with two-dimensional image recognition models, considering the 360-degree omnidirectional perspective, three-dimensional point cloud recognition provides a more robust artificial intelligence perception tool, which is widely used in radar recognition, autonomous driving and other fields.
[0003] Compared with the research on the vulnerability of 2D image recognition models, there is relatively little research on the vulnerability of 3D point cloud recognition models. This patent uses a collaborative optimization method to learn 3D point cloud data during the adversarial optimization process, and ultimately achieves fixed label attacks with fewer changes in point cloud positions.
[0004] Judging from the existing methods on the market, the attack on fixed labels of three-dimensional point cloud models is achieved through adversarial optimization iteration. Generally, the local point cloud to be attacked and the local point cloud to be matched with the local point cloud to be attacked are obtained, the adversarial attack sensitivity of each point in the local point cloud to be attacked is calculated, and the local point cloud to be attacked is disturbed according to each adversarial attack sensitivity.
[0005] This implementation method draws on the mutual conversion mechanism between point cloud and Mesh (a mesh surface data structure for three-dimensional visual representation, consisting of nodes, edges, and faces). It achieves the optimized generation of adversarial samples by directly calculating the distance between the adversarially generated point cloud and Mesh and the original point cloud and Mesh, without considering the cost of calculating matching degree and sensitivity. Summary of the invention
[0006] In view of the above technical problems existing in the prior art, the present invention proposes an image generation solution based on three-dimensional point cloud.
[0007] The first aspect of the present invention discloses a method for generating an image based on a three-dimensional point cloud. The method includes: step S1, training a point cloud classification model using sample point cloud data, wherein the trained point cloud classification model identifies the first target from the original point cloud data representing the first target; step S2, perturbing some data points of the original point cloud data to obtain first adversarial point cloud data, and calculating the classification loss of the trained point cloud classification model identifying the first adversarial point cloud data representing the first target as the second target; step S3, obtaining a first loss representing the point cloud generalization distance and a second loss representing the mesh surface generalization distance between the original point cloud data and the first adversarial point cloud data, and determining a collaborative optimization loss in combination with the classification loss; step S4, determining a minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generating second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter the point cloud attack from the attacker; wherein the minimum value of the collaborative optimization loss represents a minimum perturbation of the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
[0008] According to the method of the first aspect, in step S1, each group of the sample point cloud data represents a target, and the point cloud classification model is trained using multiple groups of sample point cloud data. The classification accuracy of the trained point cloud classification model for each target is not lower than a first threshold, and the first target is identified from the original point cloud data representing the first target.
[0009] According to the method of the first aspect, in step S2, the ratio between the number of the partial data points and the number of all data points in the original point cloud data does not exceed a second threshold, and the coordinate values of the partial data points are changed within a given range so that the obtained first adversarial point cloud data still represents the first target.
[0010] According to the method of the first aspect, in step S2, the first adversarial point cloud data is input into the trained point cloud classification model, and based on the recognition result of the trained point cloud classification model on the first adversarial point cloud data, the classification loss of identifying the first adversarial point cloud data as the second target is calculated.
[0011] According to the method of the first aspect, in step S3, the first loss is the Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which characterizes the point cloud generalization distance, and the second loss is the geometric distance between the original point cloud data and the first adversarial point cloud data, which characterizes the mesh surface generalization distance, and the geometric distance includes the weighted point feature geometric distance of the mesh surface, the edge feature geometric distance based on the dihedral angle, and the surface feature geometric distance.
[0012] According to the method of the first aspect, in step S3, weights are respectively assigned to the first loss and the second loss to obtain a joint loss, and further weights are respectively assigned to the joint loss and the classification loss to determine the collaborative optimization loss.
[0013] According to the method of the first aspect, in the step S4, when countering the point cloud attack from the attacker, the minimum value of the collaborative optimization loss is used to add the minimum disturbance to some data points of the original point cloud data, and the obtained second adversarial point cloud data representing the first target is identified as the second target by the trained point cloud classification model, thereby achieving adversarial defense against the attacker.
[0014] The second aspect of the present invention discloses an image generation system based on three-dimensional point cloud. The system includes: a first processing unit, configured to: train a point cloud classification model using sample point cloud data, and the trained point cloud classification model identifies the first target from the original point cloud data representing the first target; a second processing unit, configured to: perturb some data points of the original point cloud data to obtain first adversarial point cloud data, and calculate the classification loss of the trained point cloud classification model identifying the first adversarial point cloud data representing the first target as the second target; a third processing unit, configured to: obtain a first loss representing the generalization distance of the point cloud between the original point cloud data and the first adversarial point cloud data; loss and a second loss representing the generalization distance of the mesh surface, and determining the collaborative optimization loss in combination with the classification loss; a fourth processing unit is configured to: determine the minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generate second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter the point cloud attack from the attacker; wherein the minimum value of the collaborative optimization loss represents the minimum perturbation to the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
[0015] According to the system of the second aspect, each group of the sample point cloud data represents a target, and the point cloud classification model is trained using multiple groups of sample point cloud data. The classification accuracy of the trained point cloud classification model for each target is not lower than a first threshold, and the first target is identified from the original point cloud data representing the first target.
[0016] According to the system of the second aspect, the ratio of the number of the partial data points to the number of all data points in the original point cloud data does not exceed a second threshold, and the coordinate values of the partial data points are changed within a given range so that the obtained first adversarial point cloud data still represents the first target.
[0017] According to the system of the second aspect, the first adversarial point cloud data is input into the trained point cloud classification model, and based on the recognition result of the trained point cloud classification model on the first adversarial point cloud data, the classification loss of identifying the first adversarial point cloud data as the second target is calculated.
[0018] According to the system of the second aspect, the first loss is the Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which represents the point cloud generalization distance; the second loss is the geometric distance between the original point cloud data and the first adversarial point cloud data, which represents the mesh surface generalization distance; the geometric distance includes the weighted point feature geometric distance of the mesh surface, the edge feature geometric distance based on the dihedral angle, and the surface feature geometric distance.
[0019] According to the system of the second aspect, weights are respectively assigned to the first loss and the second loss to obtain a joint loss, and further weights are respectively assigned to the joint loss and the classification loss to determine the collaborative optimization loss.
[0020] According to the system of the second aspect, when countering the point cloud attack from the attacker, the minimum value of the collaborative optimization loss is used to add the minimum disturbance to some data points of the original point cloud data, and the obtained second adversarial point cloud data representing the first target is recognized as the second target by the trained point cloud classification model, thereby achieving adversarial defense against the attacker.
[0021] The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps in the method for generating an image based on a three-dimensional point cloud described in the first aspect of the present disclosure are implemented.
[0022] The fourth aspect of the present invention discloses a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method for generating an image based on a three-dimensional point cloud described in the first aspect of the present disclosure are implemented.
[0023] In summary, the technical solution provided by the present invention constructs a point cloud classification model, designs a Hausdorff distance loss that characterizes the generalization distance of the point cloud and a geometric distance loss that characterizes the generalization distance of the Mesh, combines the point cloud and Mesh generalization distances as the regularized distance function in the optimization loss function that guides the three-dimensional point cloud attack, and jointly constructs a collaborative optimization loss function based on the regularized distance function and the classification loss function. According to the minimum value of the collaborative optimization loss function, the point cloud and Mesh adversarial generated data in the point cloud attack process are obtained, and after multiple rounds of optimization cycle iterations of the adversarial generated data, the adversarial attack process against the fixed target point cloud is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 A schematic diagram of a flow chart of a method for generating an image based on a three-dimensional point cloud according to an embodiment of the present invention;
[0026] Figure 2 The figure is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0028] The first aspect of the present invention discloses a method for generating an image based on a three-dimensional point cloud. Figure 1 A schematic diagram of a process of generating an image based on a three-dimensional point cloud according to an embodiment of the present invention; Figure 1As shown, the method includes: step S1, training a point cloud classification model using sample point cloud data, and the trained point cloud classification model identifies the first target from the original point cloud data representing the first target; step S2, perturbing some data points of the original point cloud data to obtain first adversarial point cloud data, and calculating the classification loss of the trained point cloud classification model to identify the first adversarial point cloud data representing the first target as the second target; step S3, obtaining a first loss representing the point cloud generalization distance and a second loss representing the mesh surface generalization distance between the original point cloud data and the first adversarial point cloud data, and determining a collaborative optimization loss in combination with the classification loss; step S4, determining a minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generating second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter the point cloud attack from the attacker; wherein the minimum value of the collaborative optimization loss represents the minimum perturbation of the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
[0029] In some embodiments, in step S1, each group of the sample point cloud data represents a target, and the point cloud classification model is trained using multiple groups of sample point cloud data. The classification accuracy of the trained point cloud classification model for each target is not lower than a first threshold, and the first target is identified from the original point cloud data representing the first target.
[0030] In some embodiments, in step S2, the ratio of the number of the partial data points to the number of all data points in the original point cloud data does not exceed a second threshold, and the coordinate values of the partial data points are changed within a given range so that the obtained first adversarial point cloud data still represents the first target.
[0031] In some embodiments, in step S2, the first adversarial point cloud data is input into the trained point cloud classification model, and based on the recognition result of the trained point cloud classification model on the first adversarial point cloud data, the classification loss of identifying the first adversarial point cloud data as the second target is calculated.
[0032] In some embodiments, in step S3, the first loss is the Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which characterizes the point cloud generalization distance, and the second loss is the geometric distance between the original point cloud data and the first adversarial point cloud data, which characterizes the mesh surface generalization distance, and the geometric distance includes the weighted point feature geometric distance of the mesh surface, the edge feature geometric distance based on the dihedral angle, and the surface feature geometric distance.
[0033] Specifically, the specific implementation process of the first loss (Hausdorff distance) includes: for the first adversarial point cloud and the original point cloud , calculate the minimum Euclidean distance from the original point cloud to the first adversarial point cloud , is the data point in the original point cloud data, is the data point coordinate in the first adversarial point cloud data. and the original point cloud ,based on Distance, calculate the first adversarial point cloud To the original point cloud The maximum Euclidean distance for Hausdorff loss : .
[0034] Specifically, the specific implementation process of the second loss (geometric distance) includes:
[0035] Mesh for the first adversarial point cloud And the original point cloud The original Mesh generated by Poisson reconstruction ,Will and The point features are recorded as and ,but and The Laplace grid optimization distance can be written as:
[0036]
[0037] Mesh for the first adversarial point cloud And the original point cloud The original Mesh generated by Poisson reconstruction ,Will and The dihedral angles of the edge features are recorded as and ,but and The Laplace grid optimization distance can be written as:
[0038]
[0039] Mesh for the first adversarial point cloud And the original point cloud The original Mesh generated by Poisson reconstruction ,Will and The normal vectors of the surface features are recorded as and ,but and The Laplace grid optimization distance can be written as:
[0040]
[0041] Specifically, for the mesh of the first adversarial point cloud And the original point cloud The original Mesh generated by Poisson reconstruction , geometric distance loss Depend on , , Weighted calculation:
[0042]
[0043] In some embodiments, in step S3, weights are assigned to the first loss and the second loss respectively to obtain a joint loss, and further weights are assigned to the joint loss and the classification loss respectively to determine the collaborative optimization loss.
[0044] Specifically, the joint loss is given by and Weighted Build:
[0045]
[0046] Specifically, construct the first adversarial point cloud Classification loss function L on point cloud classification model cls , the collaborative optimization loss is:
[0047]
[0048] In some embodiments, in step S4, when countering the point cloud attack from the attacker, the minimum value of the collaborative optimization loss is used to add the minimum disturbance to some data points of the original point cloud data, and the obtained second adversarial point cloud data representing the first target is recognized as the second target by the trained point cloud classification model, thereby achieving adversarial defense against the attacker.
[0049] Specifically, through multiple rounds of optimization iterations of adversarial generated data and optimization functions, adversarial samples are generated with the least amount of perturbed point clouds:
[0050]
[0051] The second aspect of the present invention discloses an image generation system based on three-dimensional point cloud. The system includes: a first processing unit, configured to: train a point cloud classification model using sample point cloud data, and the trained point cloud classification model identifies the first target from the original point cloud data representing the first target; a second processing unit, configured to: perturb some data points of the original point cloud data to obtain first adversarial point cloud data, and calculate the classification loss of the trained point cloud classification model identifying the first adversarial point cloud data representing the first target as the second target; a third processing unit, configured to: obtain a first loss representing the generalization distance of the point cloud between the original point cloud data and the first adversarial point cloud data; loss and a second loss representing the generalization distance of the mesh surface, and determining the collaborative optimization loss in combination with the classification loss; a fourth processing unit is configured to: determine the minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generate second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter the point cloud attack from the attacker; wherein the minimum value of the collaborative optimization loss represents the minimum perturbation to the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
[0052] According to the system of the second aspect, each group of the sample point cloud data represents a target, and the point cloud classification model is trained using multiple groups of sample point cloud data. The classification accuracy of the trained point cloud classification model for each target is not lower than a first threshold, and the first target is identified from the original point cloud data representing the first target.
[0053] According to the system of the second aspect, the ratio of the number of the partial data points to the number of all data points in the original point cloud data does not exceed a second threshold, and the coordinate values of the partial data points are changed within a given range so that the obtained first adversarial point cloud data still represents the first target.
[0054] According to the system of the second aspect, the first adversarial point cloud data is input into the trained point cloud classification model, and based on the recognition result of the trained point cloud classification model on the first adversarial point cloud data, the classification loss of identifying the first adversarial point cloud data as the second target is calculated.
[0055] According to the system of the second aspect, the first loss is the Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which represents the point cloud generalization distance; the second loss is the geometric distance between the original point cloud data and the first adversarial point cloud data, which represents the mesh surface generalization distance; the geometric distance includes the weighted point feature geometric distance of the mesh surface, the edge feature geometric distance based on the dihedral angle, and the surface feature geometric distance.
[0056] According to the system of the second aspect, weights are respectively assigned to the first loss and the second loss to obtain a joint loss, and further weights are respectively assigned to the joint loss and the classification loss to determine the collaborative optimization loss.
[0057] According to the system of the second aspect, when countering the point cloud attack from the attacker, the minimum value of the collaborative optimization loss is used to add the minimum disturbance to some data points of the original point cloud data, and the obtained second adversarial point cloud data representing the first target is recognized as the second target by the trained point cloud classification model, thereby achieving adversarial defense against the attacker.
[0058] The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps in the method for generating an image based on a three-dimensional point cloud described in the first aspect of the present disclosure are implemented.
[0059] Figure 2 is a structural diagram of an electronic device according to an embodiment of the present invention, such as Figure 2 As shown, the electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0060] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a structural diagram of the part related to the technical solution of the present disclosure, and does not constitute a limitation on the electronic device to which the technical solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0061] The fourth aspect of the present invention discloses a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method for generating an image based on a three-dimensional point cloud described in the first aspect of the present disclosure are implemented.
[0062] In summary, the technical solution provided by the present invention constructs a point cloud classification model, designs a Hausdorff distance loss that characterizes the generalization distance of the point cloud and a geometric distance loss that characterizes the generalization distance of the Mesh, combines the point cloud and Mesh generalization distances as the regularized distance function in the optimization loss function that guides the three-dimensional point cloud attack, and jointly constructs a collaborative optimization loss function based on the regularized distance function and the classification loss function. According to the minimum value of the collaborative optimization loss function, the point cloud and Mesh adversarial generated data in the point cloud attack process are obtained, and after multiple rounds of optimization cycle iterations of the adversarial generated data, the adversarial attack process against the fixed target point cloud is realized.
[0063] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above-mentioned embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.
Claims
1. A method for generating an image based on a three-dimensional point cloud, characterized in that: The method comprises: Step S1, using sample point cloud data to train a point cloud classification model, wherein the trained point cloud classification model identifies the first target from original point cloud data representing the first target; Step S2, perturbing some data points of the original point cloud data to obtain first adversarial point cloud data, and calculating the classification loss of the trained point cloud classification model identifying the first adversarial point cloud data representing the first target as a second target; Step S3, obtaining a first loss representing a point cloud generalization distance and a second loss representing a mesh surface generalization distance between the original point cloud data and the first adversarial point cloud data, and determining a collaborative optimization loss in combination with the classification loss; Wherein, in step S3: The first loss is a Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which represents a point cloud generalization distance; the second loss is a geometric distance between the original point cloud data and the first adversarial point cloud data, which represents a mesh surface generalization distance; the geometric distance includes a weighted point feature geometric distance of the mesh surface, an edge feature geometric distance based on a dihedral angle, and a surface feature geometric distance; assigning weights to the first loss and the second loss respectively to obtain a joint loss, and further assigning weights to the joint loss and the classification loss respectively to determine the collaborative optimization loss; Step S4, determining a minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generating second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter a point cloud attack from an attacker; The minimum value of the collaborative optimization loss represents the minimum perturbation to the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
2. The method for generating an image based on a three-dimensional point cloud according to claim 1, characterized in that: In step S1, each group of the sample point cloud data represents a target, and the point cloud classification model is trained using multiple groups of sample point cloud data. The classification accuracy of the trained point cloud classification model for each target is not lower than a first threshold, and the first target is identified from the original point cloud data representing the first target.
3. The method for generating an image based on a three-dimensional point cloud according to claim 2, characterized in that: In step S2, the ratio of the number of the partial data points to the number of all data points in the original point cloud data does not exceed a second threshold, and the coordinate values of the partial data points are changed within a given range so that the obtained first adversarial point cloud data still represents the first target.
4. The method for generating an image based on a three-dimensional point cloud according to claim 3, characterized in that: In step S2, the first adversarial point cloud data is input into the trained point cloud classification model, and based on the recognition result of the trained point cloud classification model on the first adversarial point cloud data, the classification loss of identifying the first adversarial point cloud data as the second target is calculated.
5. The method for generating an image based on a three-dimensional point cloud according to claim 4, characterized in that: In the step S4, when countering the point cloud attack from the attacker, the minimum value of the collaborative optimization loss is used to add the minimum disturbance to some data points of the original point cloud data, and the obtained second adversarial point cloud data representing the first target is recognized as the second target by the trained point cloud classification model, thereby achieving adversarial defense against the attacker.
6. A three-dimensional point cloud-based image generation system, characterized in that: The system comprises: A first processing unit is configured to: train a point cloud classification model using sample point cloud data, wherein the trained point cloud classification model identifies the first target from original point cloud data representing the first target; A second processing unit is configured to: perturb some data points of the original point cloud data to obtain first adversarial point cloud data, and calculate a classification loss for the trained point cloud classification model to identify the first adversarial point cloud data representing the first target as a second target; The third processing unit is configured to: obtain a first loss representing a point cloud generalization distance and a second loss representing a mesh surface generalization distance between the original point cloud data and the first adversarial point cloud data, and determine a collaborative optimization loss in combination with the classification loss; wherein: The first loss is a Hausdorff distance between the original point cloud data and the first adversarial point cloud data, which represents a point cloud generalization distance; the second loss is a geometric distance between the original point cloud data and the first adversarial point cloud data, which represents a mesh surface generalization distance; the geometric distance includes a weighted point feature geometric distance of the mesh surface, an edge feature geometric distance based on a dihedral angle, and a surface feature geometric distance; assigning weights to the first loss and the second loss respectively to obtain a joint loss, and further assigning weights to the joint loss and the classification loss respectively to determine the collaborative optimization loss; A fourth processing unit is configured to: determine a minimum value of the collaborative optimization loss by optimizing the collaborative optimization loss, and generate second adversarial point cloud data using the minimum value of the collaborative optimization loss and the original point cloud data to counter a point cloud attack from an attacker; The minimum value of the collaborative optimization loss represents the minimum perturbation to the original point cloud data to obtain the second adversarial point cloud data, and the trained point cloud classification model identifies the second adversarial point cloud data representing the first target as the second target.
7. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps in the three-dimensional point cloud-based image generation method described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method for generating an image based on a three-dimensional point cloud according to any one of claims 1 to 5 are implemented.
