Zero sample point cloud anomaly detection method and system considering multi-view projection

Through the combination of multi-view projection and image anomaly detection models, the problems of 'cold start' and high-cost collection in industrial point cloud anomaly detection are solved, point cloud anomaly detection under zero sample conditions is achieved, and the accuracy of detection is enhanced. and efficiency.

CN118608447AInactive Publication Date: 2024-09-06HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202410359756.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies have problems with 'cold start' and high-cost data collection in point cloud anomaly detection in industrial production. In particular, zero-sample point cloud anomaly detection cannot be effectively performed in unknown environments.

Method used

The three-dimensional point cloud data is projected onto a two-dimensional plane through multi-view projection, and the zero-sample anomaly detection model of the image is used to process the depth image, and the anomaly scores are aggregated to determine anomalies in the point cloud, thus avoiding the pre-collection of the object data to be tested.

Benefits of technology

It achieves accurate anomaly detection in point clouds under zero-sample conditions, enhances the description capabilities of point clouds, and avoids the 'cold start' problem and the limitations of high-cost data collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608447A
    Figure CN118608447A
Patent Text Reader

Abstract

The invention belongs to the field of point cloud anomaly detection, and particularly discloses a zero sample point cloud anomaly detection method and system considering multi-view projection, and the method comprises the following steps: obtaining a three-dimensional point cloud of a to-be-detected object, projecting the three-dimensional point cloud to a two-dimensional plane through multi-view projection, and obtaining a plurality of depth images; processing each depth image through a zero sample anomaly detection model of the image to obtain an anomaly score of the depth image; and aggregating the abnormal scores of the depth image into the points of the point cloud according to the projection relationship to obtain the aggregated abnormal scores of the points in the point cloud, and judging the abnormal condition of each point in the point cloud according to the aggregated abnormal scores. According to the method, the vacancy of a point cloud visual language model is overcome, and a zero sample image anomaly detection model is expanded to a zero sample point cloud anomaly detection task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of point cloud anomaly detection, and more specifically, relates to a zero-sample point cloud anomaly detection method and system considering multi-view projection. Background Art

[0002] In today's industrial production, it is crucial to ensure product quality. In this context, the application of industrial visual inspection technology has become particularly important. Industrial visual inspection technology uses an automated visual system to inspect products to identify defects, flaws or products that do not meet specifications, thereby ensuring that product quality meets standards. In recent years, anomaly detection technology has been widely used in surface defect quality inspection of industrial products. In industrial visual inspection, by analyzing the surface image of the product, anomaly detection can identify a variety of defects such as scratches, dents, impurities, etc., so that defective products can be eliminated in the early stages of production. However, although image anomaly detection technology performs well in many aspects, it has limitations when dealing with certain complex scenes. For example, for objects with unclear texture, it is difficult for the image to accurately capture its surface details, and image anomaly detection will fail. In contrast, point cloud data can provide three-dimensional geometric information of objects, making detection more comprehensive and accurate.

[0003] Despite the obvious advantages of point cloud anomaly detection, it still faces a series of challenges in practical applications. The most notable of these is the so-called "cold start" problem and the high cost of point cloud data collection. The cold start problem refers to the inability to collect enough labeled data to effectively train deep learning models in new or unknown environments. The collection of point cloud data usually requires expensive equipment and a lot of time, which further limits the feasibility of large-scale data collection, especially in the ever-changing real-world industrial environments.

[0004] In view of these limitations, there is an urgent need to develop methods for zero-shot point cloud anomaly detection, that is, to develop methods that can complete anomaly detection without collecting data on the object to be tested. At present, zero-shot image anomaly detection has made some progress with the help of visual language models, but due to the lack of visual language models designed specifically for point clouds, it is unable to cope with the "cold start" problem of industrial point cloud anomaly detection and the high cost of point cloud acquisition. Summary of the invention

[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a zero-sample point cloud anomaly detection method and system considering multi-view projection, which aims to achieve accurate detection of point cloud anomalies in the case of zero samples.

[0006] To achieve the above object, according to a first aspect of the present invention, a zero-sample point cloud anomaly detection method considering multi-view projection is proposed, comprising the following steps:

[0007] S1. Obtain a three-dimensional point cloud of the object to be detected, and project the three-dimensional point cloud onto a two-dimensional plane through multi-view projection to obtain multiple depth images;

[0008] S2. Process each depth image separately through the zero-sample anomaly detection model of the image to obtain an anomaly score of the depth image;

[0009] S3. Aggregate the anomaly scores of the depth image into the points of the point cloud according to the projection relationship, obtain the aggregated anomaly scores of the points in the point cloud, and judge the anomaly of each point in the point cloud according to the aggregated anomaly scores.

[0010] As a further preferred embodiment, step S3, calculating the aggregate anomaly score of the points in the point cloud, specifically includes:

[0011] The anomaly score of the depth image includes the anomaly score of the point in the image, and the anomaly score of the point in the image is converted into the anomaly score of the point in the point cloud according to the projection relationship;

[0012] Since there are multiple depth images, any point in the point cloud has multiple anomaly scores after conversion. The multiple anomaly scores are aggregated to obtain the aggregated anomaly score of the point in the point cloud.

[0013] As a further preferred embodiment, in step S3, when aggregating multiple anomaly scores, a maximum value / average value is taken for the multiple anomaly scores to obtain an aggregated anomaly score of the point in the point cloud.

[0014] As a further preferred embodiment, in step S3, a neural network model is used to aggregate multiple anomaly scores.

[0015] As further preferred, in step S3, the anomaly score of the depth image includes an anomaly score of the entire image, and the anomaly score of the entire image is converted into an anomaly score of the entire point cloud in advance according to the projection relationship;

[0016] Since there are multiple depth images, there are multiple anomaly scores for the point cloud as a whole. The multiple anomaly scores are aggregated to obtain the aggregated anomaly score of the point cloud as a whole. If the aggregated anomaly score of the point cloud as a whole exceeds the preset threshold, the aggregated anomaly score of the point in the point cloud is further calculated; otherwise, the three-dimensional point cloud is considered to have no anomaly.

[0017] As a further preferred embodiment, in step S1, after obtaining the three-dimensional point cloud of the object to be detected, multiple different homogeneous transformation matrices are set; for any homogeneous transformation matrix: according to the homogeneous transformation matrix, the points in the three-dimensional point cloud are projected onto a two-dimensional plane to obtain a corresponding depth image and projection relationship.

[0018] As a further preference, the zero-sample anomaly detection model of the image is SAA or WinCLIP.

[0019] According to a second aspect of the present invention, a zero-sample point cloud anomaly detection system considering multi-view projection is provided, comprising a processor, wherein the processor is used to execute the above-mentioned zero-sample point cloud anomaly detection method considering multi-view projection.

[0020] According to a third aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the zero-sample point cloud anomaly detection method considering multi-view projection is implemented.

[0021] In general, the above technical solution conceived by the present invention has the following technical advantages compared with the prior art:

[0022] Due to the unstructured characteristics of point cloud data, the current point cloud feature extraction network performance is insufficient. The present invention uses multi-view projection to project three-dimensional point cloud data onto a two-dimensional plane and converts it into an image, thereby providing an effective way to process point cloud data. After processing the image using the image's zero-sample anomaly detection model, information aggregation is achieved based on the projection relationship, and richer and more detailed information about the points in the original point cloud is obtained from the two-dimensional image features, thereby enhancing the description capability of the point cloud. The defects of the object to be tested can be detected without pre-collecting data for training and with zero samples, thereby avoiding the "cold start" problem in industrial point cloud anomaly detection and the high cost of point cloud acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic flow chart of a zero-sample point cloud anomaly detection method considering multi-view projection according to an embodiment of the present invention;

[0024] Figure 2 The figure is a schematic diagram of the multi-view projection process and results according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0026] The embodiment of the present invention provides a zero-sample point cloud anomaly detection method considering multi-view projection, such as Figure 1 As shown, the following steps are included:

[0027] S1. Obtain a three-dimensional point cloud of the object to be detected, and project the three-dimensional point cloud onto a two-dimensional plane through multi-view projection to obtain multiple depth images.

[0028] Specifically, due to the unstructured nature of point cloud data, the current point cloud feature extraction network performance is insufficient, and there are certain challenges in directly processing point clouds. Considering the equivalence of point clouds and multi-view projected depth images, projecting 3D point cloud data onto a 2D plane and converting it into an image form provides an effective way to process point cloud data. Multi-view projected depth images carry complete information about the object from multiple perspectives, so that enough data can be extracted from these 2D images to understand the original point cloud morphology and features.

[0029] T is a coordinate system from the point cloud {T p} to the camera coordinate system {T c When performing multi-view projection, multiple different homogeneous transformation matrices T are pre-set k , after projection and rendering, multiple depth images V can be obtained k ,1≤k≤N, such as Figure 2 As shown. Then for the i-th point P in the point cloud P i , which is in the depth image V k The corresponding points in are Then P i and The projection relationship between them is:

[0030]

[0031] in, YesP i In the camera coordinate system {T ck}, the Z coordinate in the camera coordinate system {T ck} corresponds to the homogeneous transformation matrix T k , K is the intrinsic parameter matrix of the camera.

[0032] Defining Pos k : is the mapping relationship between image pixels and points in the point cloud, then we have:

[0033]

[0034] Where R k It is T k The rotation matrix in , t k It is T k The translation vector in . Pos k It will be used in the aggregation of anomaly scores to align different views to obtain the anomaly scores of the point cloud.

[0035] S2. Process each depth image separately through the zero-sample anomaly detection model of the image to obtain the anomaly score of the depth image.

[0036] Specifically, after obtaining multiple depth images, the zero-sample anomaly detection model of the image is used to process each depth image separately. is a zero-sample anomaly detection model for any image, then for the depth image V k , The anomaly score C of the depth image obtained after processing k for:

[0037]

[0038] It should be noted that the anomaly score of the depth image obtained after processing by the zero-sample anomaly detection model of the image includes the anomaly score of the entire image and the anomaly score of each point in the image.

[0039] The zero-sample anomaly detection model for the image here can be any end-to-end zero-sample anomaly detection model for the image, and in some embodiments, SAA or WinCLIP is selected. When the anomaly distribution is blocky and there are multiple targets to be detected and a small number of anomalies in the same image, SAA has better performance; WinCLIP has better performance in target-level anomaly detection of complex anomalies.

[0040] S3. Aggregate the anomaly scores of the depth image into the points of the point cloud according to the projection relationship, obtain the aggregated anomaly scores of the points in the point cloud, and judge the anomaly of each point in the point cloud according to the aggregated anomaly scores.

[0041] Specifically, by recording the mapping relationship Pos in the multi-view projection of the point cloud k : The point cloud structure can be reconstructed from these two-dimensional images to achieve information aggregation. This process obtains richer and more detailed information of the original point cloud points from the two-dimensional image features, thereby enhancing the description ability of the point cloud.

[0042] Let Ψ be the aggregation function of the anomaly score. The result of the aggregation of anomaly scores of different views is:

[0043] ξ,A=Ψ({C1,C2,…,C N})

[0044] Among them, ξ is the anomaly score of the target level of the point cloud data, and A is the anomaly score of the point cloud data point level. That is, according to the anomaly score of the entire image, the aggregated anomaly score of the entire point cloud can be calculated through the conversion aggregation of the aggregation function; according to the anomaly score of the point in the image, the aggregated anomaly score of each point in the point cloud can be calculated through the conversion aggregation of the aggregation function.

[0045] Furthermore, after obtaining the anomaly score of the depth image, the aggregate anomaly score of the point cloud as a whole is calculated first. If the aggregate anomaly score of the point cloud as a whole exceeds the preset threshold, the aggregate anomaly score of each point in the point cloud is further calculated; otherwise, the three-dimensional point cloud is considered to have no anomaly. After determining that the point cloud as a whole is abnormal, the aggregate anomaly score of each point in the point cloud is obtained respectively, and whether the point is abnormal is determined based on whether the aggregate anomaly score of the point exceeds the preset threshold, thereby realizing point cloud anomaly detection.

[0046] Furthermore, whether for the entire point cloud or a single point in the point cloud, the aggregation function Ψ({C1,C2,…,C N}) can be one of the following forms:

[0047] Ψ({C1,C2,…,C N})=max(Pos1(C1),Pos2(C2),…,Pos N (C N ))

[0048] Among them, max is the maximum value function;

[0049] Ψ({C1,C2,…,C N})=mean(Pos1(C1),Pos2(C2),…,Pos N (C N ))

[0050] Among them, mean is the mean function;

[0051] Ψ({C1,C2,…,C N})=F(Pos1(C1),Pos2(C2),…,Pos N (C N ))

[0052] Wherein, F represents a neural network model. In some embodiments, the neural network model includes a fully connected layer, that is, the anomaly score is mapped through the fully connected layer, and multiple anomaly scores are aggregated into one; in some embodiments, the neural network model includes a convolutional neural network, that is, the anomaly score is extracted again through the convolutional neural network, and multiple anomaly scores are fused into the final anomaly score. For target-level anomaly detection fusion, the use of a fully connected layer can achieve fusion more easily and avoid overfitting; for point-level anomaly detection fusion, the use of a convolutional neural network can achieve accurate fusion from a higher feature dimension.

[0053] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A zero-shot point cloud anomaly detection method considering multi-view projection, characterized in that: The steps include: S1. Obtain a three-dimensional point cloud of the object to be detected, and project the three-dimensional point cloud onto a two-dimensional plane through multi-view projection to obtain multiple depth images; S2. Process each depth image separately through the zero-sample anomaly detection model of the image to obtain an anomaly score of the depth image; S3. Aggregate the anomaly scores of the depth image into the points of the point cloud according to the projection relationship, obtain the aggregated anomaly scores of the points in the point cloud, and judge the anomaly of each point in the point cloud according to the aggregated anomaly scores.

2. The zero-sample point cloud anomaly detection method considering multi-view projection as claimed in claim 1, characterized in that: Step S3, calculating the aggregate anomaly score of the points in the point cloud, specifically includes: The anomaly score of the depth image includes the anomaly score of the point in the image, and the anomaly score of the point in the image is converted into the anomaly score of the point in the point cloud according to the projection relationship; Since there are multiple depth images, any point in the point cloud has multiple anomaly scores after conversion. The multiple anomaly scores are aggregated to obtain the aggregated anomaly score of the point in the point cloud.

3. The zero-sample point cloud anomaly detection method considering multi-view projection as claimed in claim 2, characterized in that: Step S3, when aggregating multiple anomaly scores, take the maximum value / average of the multiple anomaly scores to obtain the aggregated anomaly score of the point in the point cloud.

4. The zero-sample point cloud anomaly detection method considering multi-view projection as claimed in claim 2, characterized in that: Step S3, aggregating multiple anomaly scores using a neural network model.

5. The zero-sample point cloud anomaly detection method considering multi-view projection as claimed in claim 1, characterized in that: Step S3, the anomaly score of the depth image includes the anomaly score of the entire image, and the anomaly score of the entire image is converted into the anomaly score of the entire point cloud according to the projection relationship in advance; Since there are multiple depth images, there are multiple anomaly scores for the point cloud as a whole. The multiple anomaly scores are aggregated to obtain the aggregated anomaly score of the point cloud as a whole. If the aggregated anomaly score of the point cloud as a whole exceeds the preset threshold, the aggregated anomaly score of the point in the point cloud is further calculated; otherwise, the three-dimensional point cloud is considered to have no anomaly.

6. The zero-sample point cloud anomaly detection method considering multi-view projection as claimed in claim 1, characterized in that: Step S1, after obtaining the three-dimensional point cloud of the object to be detected, set multiple different homogeneous transformation matrices; for any homogeneous transformation matrix: according to the homogeneous transformation matrix, project the points in the three-dimensional point cloud onto a two-dimensional plane to obtain the corresponding depth image and projection relationship.

7. The zero-sample point cloud anomaly detection method considering multi-view projection according to any one of claims 1 to 6, characterized in that: The zero-sample anomaly detection model of the image is SAA or WinCLIP.

8. A zero-sample point cloud anomaly detection system considering multi-view projection, characterized in that: The method comprises a processor, wherein the processor is used to execute the zero-sample point cloud anomaly detection method considering multi-view projection as described in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for zero-sample point cloud anomaly detection considering multi-view projection is implemented as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Point cloud quality detection method and device, equipment and storage medium

    CN115311201A

  • Laser radar shielding judgment and cleaning method and device

    CN115359121A

  • Point cloud encoding and decoding method and device based on two-dimensional regularization plane projection

    US20240119636A1

  • Method and apparatus for generating anomaly detection model, and anomaly event detection method and apparatus

    WO2022116322A1

  • Projection-based point cloud quality evaluation method and apparatus, device and storage medium

    WO2022183500A1

Cited By

  • 3D zero sample anomaly detection method and device based on 2D multi-mode large model

    CN119992236A