Method and system for carrying out target identification on three-dimensional CT (Computed Tomography) image

By projecting three-dimensional CT images onto multiple two-dimensional planes and using deep learning models for recognition, the problem of low efficiency in three-dimensional image recognition and high hardware requirements is solved, enabling effective identification and labeling of various contrabands and reducing hardware performance requirements. .

CN118570792APending Publication Date: 2024-08-30北京行至信远科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410578166.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult for existing technologies to effectively identify and label contraband in 3D CT images, especially due to the complexity of 3D images and high hardware requirements, resulting in low identification efficiency and high cost.

Method used

By defining a preset coordinate system and normal direction vector, the three-dimensional CT image is projected to multiple two-dimensional projection planes, and a deep learning model is used for target recognition and segmentation. Finally, the three-dimensional target area is reconstructed by back-projection, which reduces the requirements for hardware performance. .

Benefits of technology

It achieves target recognition of three-dimensional CT images, is suitable for contraband of various shapes and materials, reduces hardware requirements, improves recognition efficiency and accuracy, and avoids the performance requirements of high-end GPUs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570792A
    Figure CN118570792A
Patent Text Reader

Abstract

The invention discloses a method and a system for performing target identification on a three-dimensional CT (Computed Tomography) image. The method comprises the following steps: acquiring a three-dimensional CT image of a detected article; defining a plurality of projection surfaces, and respectively expressing the projection surfaces through normal direction vectors; projecting the three-dimensional CT image to each projection surface to obtain a plurality of two-dimensional projection images; segmenting each two-dimensional projection image into a plurality of sub-regions which are not overlapped with each other; target identification is carried out on each segmented two-dimensional projection image based on a deep learning model so as to acquire a plurality of target areas, and each target area corresponds to one contraband category; for each contraband category, back-projecting all target areas corresponding to the contraband category back to a three-dimensional space to obtain a three-dimensional reconstruction image; and optimizing model parameters of the deep learning model based on the three-dimensional reconstructed image. According to the method, target identification of a three-dimensional image is converted into target identification of a two-dimensional image, and the problem that a three-dimensional CT contraband image is difficult to obtain and mark is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for target recognition of a three-dimensional CT image and also to a corresponding system, belonging to the technical field of security inspection image recognition. Background Art

[0002] At present, X-ray imaging technology is widely used in customs, airports, subways and other places to scan large freight containers and small pedestrian bags to check whether there are contraband inside. X-ray security inspection machines can scan luggage and parcels, and security inspectors will judge the images to determine whether there are contraband inside the inspected bags. This requires security inspectors to concentrate on a lot of work, and the labor cost is very high. In addition, since the X-ray security inspection image is a two-dimensional image generated by superimposing the projections of various layers, it cannot well display the objects carried in the bags, especially when there are obstructions, which makes it difficult for security inspectors to review the images.

[0003] With the development of artificial intelligence technology, there are already public and mature algorithms for target recognition and segmentation of two-dimensional images. As long as there are a large number of images and simple annotations, a data set can be obtained for algorithm training. There are already a large number of X-ray security inspection machines in society, which continuously generate a large number of images. However, three-dimensional contraband images require expensive CT-type security inspection equipment, and the number of scanned images is not large, and it is even more difficult to obtain public data sets. At the same time, the annotation of contraband in three-dimensional images is much more complicated than that of two-dimensional images, and the annotation price is also very expensive and the speed is slow. In addition, the hardware conditions required for two-dimensional image recognition and segmentation algorithms are not high, and general GPUs can meet them; while the hardware conditions required for three-dimensional image target recognition are higher, and high-end GPUs must be used, which is also an important factor restricting the application of three-dimensional image recognition.

[0004] In the Chinese patent application with publication number CN114266756A, a three-dimensional CT image is split into several two-dimensional images along the X, Y and Z axes, and the two-dimensional images are subjected to target recognition using a deep learning algorithm. After obtaining the target range and confidence score, the range and confidence score of each target are determined in the three-dimensional space. However, the disadvantages of this technical solution are: (1) the division method is arbitrary in the process of dividing the three-dimensional image along the thickness of a certain axis and superimposing it into a two-dimensional image, which may destroy the integrity of the three-dimensional contraband and cause missed judgments; (2) it is sensitive to the placement direction of anisotropic three-dimensional contraband. If the placement direction of flat contraband (such as knives) is not parallel to any axis, the confidence score will be reduced, which is easy to cause missed judgments. Summary of the invention

[0005] The primary technical problem to be solved by the present invention is to provide a method for target recognition in three-dimensional CT images.

[0006] Another technical problem to be solved by the present invention is to provide a system for performing target recognition on three-dimensional CT images.

[0007] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:

[0008] According to a first aspect of an embodiment of the present invention, a method for performing target recognition on a three-dimensional CT image is provided, comprising the following steps:

[0009] Obtain a three-dimensional CT image of the inspected object;

[0010] Defining a plurality of projection surfaces based on a preset coordinate system, and representing each of the projection surfaces by a normal direction vector;

[0011] Positioning each of the projection surfaces based on the normal direction vector, so as to project the three-dimensional CT image onto the corresponding projection surface respectively, thereby acquiring a plurality of two-dimensional projection images;

[0012] Performing image segmentation on each of the two-dimensional projection images to segment the two-dimensional projection images into a plurality of non-overlapping sub-areas;

[0013] For each segmented two-dimensional projection image, target recognition is performed on each sub-region based on a deep learning model to obtain multiple target regions; wherein each of the target regions corresponds to a prohibited item category;

[0014] For each prohibited item category, all target areas corresponding to the prohibited item category are back-projected into the three-dimensional space to obtain a three-dimensional reconstructed image corresponding to the prohibited item category.

[0015] Preferably, the step of obtaining a three-dimensional CT image of the inspected object comprises the following sub-steps:

[0016] Emitting X-rays toward the inspected object through an X-ray source;

[0017] The X-rays are received by a detector to form a projection image of the inspected object; wherein the projection image is a single-energy or dual-energy projection image;

[0018] The projection image is reconstructed using three-dimensional CT based on a CT reconstruction algorithm to obtain a three-dimensional CT image of the inspected object.

[0019] Preferably, the normal direction vector is represented by the following method:

[0020] Constructing a preset sphere with the coordinate origin of the preset coordinate system as the sphere center and the preset length as the radius;

[0021] Determine a coordinate point of the preset sphere by using the longitude coordinate and the latitude coordinate of the preset sphere;

[0022] The normal direction vector is represented by taking the origin of the preset coordinate system as the starting point of the normal direction vector and taking a coordinate point of the preset sphere as the end point of the normal direction vector;

[0023] The projection surface represented by the normal direction vector opposite to the normal direction vector is the same as the projection surface represented by the normal direction vector itself.

[0024] Preferably, the two-dimensional projection image is obtained by:

[0025] Select any one projection plane, and rotate the three-dimensional CT image to face the projection plane; wherein the preset coordinate system before the rotation is the X, Y, and Z axis directions, the coordinate system after the rotation is the x, y, and z axis directions, and the plane where the projection plane is located is the xy plane;

[0026] Along the z-axis direction, all voxels at each (x, y) position are accumulated to obtain a voxel value at each (x, y) position; wherein x represents the x-coordinate of the rotated coordinate system, and y represents the y-coordinate of the rotated coordinate system;

[0027] Based on the voxel value at each (x, y) position, a two-dimensional projection image on the xy plane is formed.

[0028] Preferably, the three-dimensional reconstructed image is obtained by:

[0029] A prohibited item category is selected. For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection surface falls within the target area of ​​the prohibited item category, the score of the voxel is increased by 1. All projection surfaces are traversed, and the total voxel score of the voxel is divided by the total number of all projection surfaces to obtain the voxel value corresponding to the voxel, which is a real number between 0 and 1.

[0030] Traversing all voxels in the preset coordinate system to obtain a voxel value corresponding to each voxel;

[0031] Determine whether the voxel value of each voxel is greater than a first threshold value. If so, the voxel belongs to the prohibited goods category. Otherwise, the voxel does not belong to the prohibited goods category. The set of all voxels belonging to the prohibited goods category constitutes a target reconstruction region corresponding to the prohibited goods category.

[0032] Repeat the above process to directly obtain the target reconstruction area corresponding to each prohibited item category, and construct a three-dimensional reconstructed image according to the connectivity.

[0033] Preferably, the method further comprises:

[0034] For the prohibited goods category, obtaining the confidence level for the prohibited goods category in the target area of ​​each two-dimensional projection image;

[0035] For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection plane falls within the target area of ​​the prohibited goods category, the confidence of the voxel is accumulated with the confidence corresponding to the target area;

[0036] Traverse all projection surfaces, divide the accumulated confidence value of the voxel by the total number of projection surfaces, and obtain the final confidence corresponding to the voxel;

[0037] Traverse all voxels in the preset coordinate system to obtain the final confidence level corresponding to each voxel;

[0038] It is determined whether the final confidence of each voxel value is greater than the second threshold value. If so, the voxel belongs to the prohibited goods category. Otherwise, the voxel does not belong to the prohibited goods category. The set of all voxels belonging to the prohibited goods category constitutes the target reconstruction area corresponding to the prohibited goods category.

[0039] Preferably, the method further comprises:

[0040] For each prohibited item category, an array W with a length of Q is preset; wherein the qth element in the array W represents the weight value of the prohibited item category on the qth projection surface, W[q] represents the qth element of the array W, q∈(1,Q), where Q is the total number of all projection surfaces;

[0041] For each prohibited item category, for any voxel in the preset coordinate system, if the orthographic projection of the voxel on the qth projection plane falls within the target area of ​​the prohibited item category, the voxel score of the voxel is added with W[q], and the confidence of the voxel is added with the product of the confidence corresponding to the target area of ​​the qth projection plane and W[q].

[0042] Preferably, for any prohibited item category, based on the weight value of each two-dimensional projection image for the prohibited item category, a three-dimensional reconstructed image of the prohibited item is acquired by back-projecting part of the two-dimensional projection image.

[0043] According to a second aspect of an embodiment of the present invention, a system for performing target recognition on a three-dimensional CT image is provided, comprising:

[0044] An X-ray source, used for emitting X-rays toward the object to be inspected;

[0045] A detector, arranged at the exit side of the X-ray source, to receive the X-rays and form a detection image;

[0046] An image reconstruction unit connected to the detector to perform three-dimensional reconstruction on the detection image to obtain a three-dimensional CT image;

[0047] A memory storing a code of the above method;

[0048] A central processing unit, connected to the memory, to call the code and execute the above method;

[0049] The parallel computing processor is connected to the central processing unit to perform image processing and output target recognition results of the three-dimensional CT image.

[0050] Preferably, if the parallel computing processor includes an image processing unit, the image processing unit executes an image space algorithm;

[0051] If the parallel computing processor does not include an image processing unit, the central processing unit performs an image space algorithm.

[0052] Compared with the prior art, the present invention has the following technical effects:

[0053] 1. The target recognition problem of three-dimensional images is transformed into the target recognition or segmentation problem of two-dimensional images, which solves the problem that three-dimensional CT contraband images are difficult to obtain and label.

[0054] 2. By presetting multiple projection surfaces for two-dimensional projection, it is suitable for target identification of contraband of various shapes and materials, and there are no special requirements for the placement direction and angle of contraband.

[0055] 3. Deep neural networks are only used for object recognition or segmentation in two-dimensional images, and can be run on general GPUs, avoiding the disadvantages of three-dimensional image deep neural networks being too large and requiring too high GPU performance.

[0056] 4. Combining the target recognition or segmentation results at different angles, each angle will make a positive contribution to the overall recognition effect. Therefore, only the recognition results of some (but not all) angles are needed to successfully recognize the three-dimensional target, which also reduces the requirements for the two-dimensional recognition algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A flow chart of a method for object recognition in a three-dimensional CT image provided by the first embodiment of the present invention;

[0058] Figure 2 A structural diagram of a system for performing target recognition on a three-dimensional CT image provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0059] The technical content of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0060] The first embodiment of the present invention provides a method for target recognition of a three-dimensional CT image. It predefines multiple projection planes, and uses the three-dimensional CT image of the inspected object to form a two-dimensional projection image on each projection plane, and then uses the existing two-dimensional image target automatic recognition or segmentation algorithm to find the target area of ​​the contraband, and finally reconstructs the three-dimensional CT image with the target area by back-projection, thereby realizing automatic target recognition of the three-dimensional security inspection CT image.

[0061] like Figure 1 As shown, a method for target recognition on a three-dimensional CT image provided by the first embodiment of the present invention specifically includes steps S1 to S7:

[0062] S1: Obtain a three-dimensional CT image of the inspected object.

[0063] Specifically, it includes steps S11 to S13:

[0064] S11: emitting X-rays toward the inspected object through an X-ray source;

[0065] S12: receiving X-rays through a detector to form a projection image of the inspected object; wherein the projection image is a single-energy or dual-energy projection image;

[0066] S13: Performing three-dimensional CT reconstruction on the projection image based on a CT reconstruction algorithm to obtain a three-dimensional CT image of the inspected object.

[0067] S2: Define multiple projection surfaces based on a preset coordinate system, and represent each projection surface by a normal direction vector.

[0068] Specifically, in this embodiment, Q projection planes are set. These projection planes may be perpendicular to the X, Y, and Z axes, or may not be perpendicular. The projection plane is represented by a normal direction vector of the projection plane. Due to the transmission property of X-rays, only one relative projection plane can be retained. For example, (a, b, c) and (-a, -b, -c) represent the same projection plane.

[0069] Among them, several typical projection surface selection methods are as follows:

[0070] (1) The projection planes are XY, YZ, and XZ planes, and their normal direction vectors are (1,0,0), (0,1,0), and (0,0,1) respectively;

[0071] (2) The starting point of the normal direction vector of each projection surface is located at the origin, and the end point is distributed on a sphere with a longitude of angle θ and a latitude of Angle. Let N>1 be an integer, is an integer multiple of ±90° / N. In latitude, the longitude is θ=360° / [4(Ni)], Direction, there is only one normal vector (0,0,1), and then remove the vectors with opposite directions to get each normal direction vector, which can be easily calculated through programming. For example; when N=1, the normal direction vectors are (1,0,0), (0,1,0), (0,0,1), (1,1,0), (-1,1,0), (1,0,1), (-1,0,1), (0,1,1), (0,-1,1), (1,1,1), (-1,1,1), (1,-1,1), (1,1,-1)...

[0072] (3) Each projection surface is the K faces of a regular K-hedron, the faces remaining after removing the mutually parallel faces, where K = 4, 6, 8, 12 or 20. Taking a regular icosahedron as an example, the coordinates of the vertices are (±m, 0, ±n), (0, ±n, ±m) and (±n, ±m, 0), where Each face is an equilateral triangle, so the normal direction vector of each face is the arithmetic mean of the three vertex vectors. By removing the vectors in the opposite direction, the vectors of each normal can be obtained.

[0073] In addition, it can be understood that the above three methods for selecting projection surfaces are only preferred implementations. In other embodiments, other projection methods can be selected as needed, which are not specifically limited here.

[0074] S3: Position each projection surface based on the normal direction vector, so as to project the three-dimensional CT image onto the corresponding projection surface respectively, thereby obtaining a plurality of two-dimensional projection images.

[0075] Specifically, it includes steps S31 to S35:

[0076] S31: Select any projection plane and rotate the three-dimensional CT image to face the projection plane; wherein the preset coordinate system before the rotation is the X, Y, and Z axis directions, the coordinate system after the rotation is the x, y, and z axis directions, and the plane where the projection plane is located is the xy plane;

[0077] S32: along the z-axis direction, summing up all the voxels at each (x, y) position to obtain the voxel value at each (x, y) position; wherein x represents the x-coordinate of the rotated coordinate system, and y represents the y-coordinate of the rotated coordinate system;

[0078] S33: Based on the voxel value at each (x, y) position, a two-dimensional projection image on the xy plane is formed.

[0079] S34: repeating the above steps S31 to S33, directly forming a two-dimensional projection image on each projection plane of the three-dimensional CT image, thereby obtaining Q two-dimensional projection images.

[0080] S4: For each 2D projection image, a deep learning model is used for target recognition to obtain multiple target regions.

[0081] In this embodiment, each target area corresponds to a prohibited item. The deep learning model can be obtained by training the model with a massive data set of DR images of existing security line scanning equipment, which will not be elaborated in detail here.

[0082] It should be noted that the two-dimensional image obtained by X-rays passing through an object and imaging on a detector is called a DR image, and the three-dimensional image obtained by reconstructing DR images of several viewing angles through an algorithm is called a CT image. In an embodiment of the present invention, the three-dimensional CT image is projected onto a two-dimensional plane along different directions to obtain a projection image, and recognition is performed on the projection image (the effect of the projection image is basically the same as the DR image obtained by direct scanning, and the algorithm trained on the DR image can be applied to the projection image, and the effect will not be significantly reduced), and the recognition result (the target area on the two-dimensional image) is back-projected back to the three-dimensional space to obtain the target area on the CT image. Because the projection direction is pre-set, the normal angle of the two-dimensional plane can be obtained. Generally, an area on a two-dimensional plane corresponds to a columnar area in a three-dimensional solid, and the areas of the two-dimensional images at several different angles correspond to several columnar areas that are not parallel to each other, and their intersection is the three-dimensional target area. In practice, because the recognition effect of not every viewing angle is at the same level, and not every viewing angle can be effectively recognized, the superposition of columnar areas of different viewing angles can be weighted averaged.

[0083] It can be understood that in this embodiment, the recognition process of three-dimensional CT images is converted into recognition of two-dimensional projection images. Therefore, it can be run using a GPU with average performance, avoiding the disadvantages of the three-dimensional image deep neural network being too large and requiring too high GPU performance.

[0084] In addition, in this embodiment, there are two types of target recognition algorithms: the first result is a number of rectangular boxes, each of which represents a target object, and the rectangular boxes generally coincide with or are close to the leftmost, rightmost, topmost, and bottommost boundaries of the target object. The second is a number of irregular regions, each of which represents a target object, and the region boundary is close to the object boundary, so that the region and the object are approximately completely consistent (this is represented as a segmentation of the image, and each pixel is assigned a number representing the target number to which it belongs, and 0 means that it is the background and does not belong to any target). In addition to its category and region, each target can also include its confidence, which is a value between 0 and 1. The higher the confidence, the greater the probability of the recognition result.

[0085] S5: For each prohibited item category, all target areas corresponding to the prohibited item category are back-projected back into the three-dimensional space to obtain a three-dimensional reconstructed image corresponding to the prohibited item category.

[0086] In this embodiment, for a prohibited item category, the set of all voxels belonging to the prohibited item category constitutes the target reconstruction area corresponding to the prohibited item category. Thus, after obtaining the target reconstruction areas of all prohibited item categories, an overall three-dimensional reconstructed image can be formed.

[0087] The following describes in detail two methods of obtaining the target reconstruction area in this embodiment:

[0088] The first method: only consider the area of ​​the recognition result, regardless of its confidence.

[0089] Specifically, it includes steps S51 to S54:

[0090] S51: A prohibited goods category is selected. For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection surface falls within the target area of ​​the prohibited goods category, the score of the voxel is increased by 1; all projection surfaces are traversed, and the total voxel score of the voxel is divided by the total number of all projection surfaces to obtain the voxel value corresponding to the voxel, which is a real number between 0 and 1;

[0091] S52: traverse all voxels in the preset coordinate system to obtain a voxel value corresponding to each voxel;

[0092] S53: determining whether the voxel value of each voxel is greater than a first threshold value; if so, the voxel belongs to the prohibited goods category; otherwise, the voxel does not belong to the prohibited goods category; wherein the set of all voxels belonging to the prohibited goods category constitutes a target reconstruction region corresponding to the prohibited goods category;

[0093] S54: Repeat the above process to directly obtain the target reconstruction area corresponding to each prohibited item category, and construct a three-dimensional reconstructed image according to connectivity.

[0094] The second method is to consider the area of ​​the recognition result and also its confidence.

[0095] In the above step S5, if there is a confidence level (a value between 0 and 1, the larger the confidence level, the higher the confidence level) in the target area of ​​the two-dimensional projection image, it is necessary to obtain the confidence level for the prohibited item category in the target area of ​​each two-dimensional projection image, so as to assist in determining whether each voxel belongs to the prohibited item category through the confidence level.

[0096] Specifically, it includes steps S501 to S504:

[0097] S501: For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection surface falls within the target area of ​​the prohibited goods category, the confidence of the voxel is accumulated by the confidence corresponding to the target area. Thus, all projection surfaces are traversed, and the accumulated confidence value of the voxel is divided by the total number of projection surfaces to obtain the final confidence corresponding to the voxel (a value between 0 and 1).

[0098] S502: traverse all voxels in the preset coordinate system to obtain a final confidence level corresponding to each voxel;

[0099] S503: Determine whether the final confidence of each voxel value is greater than a second threshold value. If so, the voxel belongs to the prohibited goods category. Otherwise, the voxel does not belong to the prohibited goods category. The set of all voxels belonging to the prohibited goods category constitutes a target reconstruction area corresponding to the prohibited goods category.

[0100] S504: Repeat the above process to directly obtain the target reconstruction area corresponding to each prohibited item category, and construct a three-dimensional reconstructed image according to connectivity.

[0101] It should be noted that when the confidence of the target recognition results in the second method is all 1, it degenerates to the first method. The first method is equivalent to considering that the confidence of all target recognition results is 1, without considering the specific differences in confidence.

[0102] In addition, preferably, for each prohibited item category, an array W with a length of Q is preset. The qth element in the array W represents the weight value of the prohibited item category on the qth projection surface. W[q] represents the qth element of the array W, q∈(1,Q). Then, for each prohibited item category, for any voxel in the preset coordinate system, if the orthographic projection of the voxel on the qth projection plane falls within the target area of ​​the prohibited item category, the voxel score of the voxel is added with W[q], and the confidence of the voxel is added with the product of the confidence corresponding to the target area of ​​the qth projection plane and W[q]. It should be noted that the confidence of each voxel is still a value between 0 and 1.

[0103] The above weight values ​​are preset (they can be set based on experience or statistically obtained based on the results of scanning, projecting and identifying luggage packages actually containing prohibited items, with the weight of projection directions that are easier to identify increased and the weight of projection directions that are more difficult to identify decreased). When W[1]=W[2]=…=W[Q]=1 / Q, the weighted sum of the target results of each projection surface becomes an average value, which degenerates into the aforementioned method.

[0104] Second embodiment

[0105] like Figure 2 As shown, a system for target recognition on a three-dimensional CT image provided by the second embodiment of the present invention includes an X-ray source 1, a detector 2, an image reconstruction unit 3, a memory 4, a central processing unit 5 and a parallel computing processor 6.

[0106] Specifically, the object 10 to be inspected is placed on a conveyor belt 20, and an X-ray source 1 is used to emit X-rays toward the object to be inspected. The detector 2 is arranged on the exit side of the X-ray source 1 to receive the X-rays and form a detection image. The image reconstruction unit 3 is connected to the detector 2 to perform three-dimensional reconstruction of the detection image to obtain a three-dimensional CT image. The memory 4 stores the code of the method of the first embodiment mentioned above. The central processing unit 5 is connected to the memory 4 to call the code and execute the above method. The parallel computing processor 6 is connected to the central processing unit 5 to perform image processing and output the target recognition result of the three-dimensional CT image.

[0107] In different embodiments of the present invention, if the parallel computing processor 6 includes an image processing unit, the image processing unit executes image space algorithms, such as three-dimensional image rotation and forward projection, back projection of the target area of ​​the projection image, etc. If the parallel computing processor 6 does not include an image processing unit, the central processing unit 5 executes image space algorithms.

[0108] In summary, the method and system for object recognition in a three-dimensional CT image provided by the embodiments of the present invention have the following beneficial effects:

[0109] 1. The target recognition problem of three-dimensional images is transformed into the target recognition or segmentation problem of two-dimensional images, which solves the problem that three-dimensional CT contraband images are difficult to obtain and label.

[0110] 2. By presetting multiple projection surfaces for two-dimensional projection, it is suitable for target identification of contraband of various shapes and materials, and there are no special requirements for the placement direction and angle of contraband.

[0111] 3. Deep neural networks are only used for object recognition or segmentation in two-dimensional images, and can be run on general GPUs, avoiding the disadvantages of three-dimensional image deep neural networks being too large and requiring too high GPU performance.

[0112] 4. Combining the target recognition or segmentation results at different angles, each angle will make a positive contribution to the overall recognition effect. Therefore, only the recognition results of some (but not all) angles are needed to successfully recognize the three-dimensional target, which also reduces the requirements for the two-dimensional recognition algorithm.

[0113] It should be noted that the above-mentioned multiple embodiments are only examples, and the technical solutions of various embodiments can be combined, all of which are within the protection scope of the present invention.

[0114] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0115] The above is a detailed description of the method and system for object recognition in three-dimensional CT images provided by the present invention. For those skilled in the art, any obvious changes made to it without departing from the essence of the present invention will constitute an infringement of the patent right of the present invention and will bear corresponding legal responsibilities.

Claims

1. A method for target recognition in a three-dimensional CT image, characterized in that The steps include: Obtain a three-dimensional CT image of the inspected object; Defining a plurality of projection surfaces based on a preset coordinate system, and representing each of the projection surfaces by a normal direction vector; Positioning each of the projection surfaces based on the normal direction vector, so as to project the three-dimensional CT image onto the corresponding projection surface respectively, thereby acquiring a plurality of two-dimensional projection images; Performing image segmentation on each of the two-dimensional projection images to segment the two-dimensional projection images into a plurality of non-overlapping sub-areas; For each segmented two-dimensional projection image, target recognition is performed on each sub-region based on a deep learning model to obtain multiple target regions; wherein each of the target regions corresponds to a prohibited item category; For each prohibited item category, all target areas corresponding to the prohibited item category are back-projected into the three-dimensional space to obtain a three-dimensional reconstructed image corresponding to the prohibited item category.

2. The method according to claim 1, characterized in that The step of obtaining a three-dimensional CT image of the inspected object comprises the following sub-steps: Emitting X-rays toward the inspected object through an X-ray source; The X-rays are received by a detector to form a projection image of the inspected object; wherein the projection image is a single-energy or dual-energy projection image; The projection image is reconstructed using three-dimensional CT based on a CT reconstruction algorithm to obtain a three-dimensional CT image of the inspected object.

3. The method according to claim 1, characterized in that The normal direction vector is represented by: Constructing a preset sphere with the coordinate origin of the preset coordinate system as the sphere center and the preset length as the radius; Determine a coordinate point of the preset sphere by using the longitude coordinate and the latitude coordinate of the preset sphere; The normal direction vector is represented by taking the origin of the preset coordinate system as the starting point of the normal direction vector and taking a coordinate point of the preset sphere as the end point of the normal direction vector; The projection surface represented by the normal direction vector opposite to the normal direction vector is the same as the projection surface represented by the normal direction vector itself.

4. The method according to claim 1, characterized in that The two-dimensional projection image is obtained by: Select any one projection plane, and rotate the three-dimensional CT image to face the projection plane; wherein the preset coordinate system before the rotation is the X, Y, and Z axis directions, the coordinate system after the rotation is the x, y, and z axis directions, and the plane where the projection plane is located is the xy plane; Along the z-axis direction, all voxels at each (x, y) position are accumulated to obtain a voxel value at each (x, y) position; wherein x represents the x-coordinate of the rotated coordinate system, and y represents the y-coordinate of the rotated coordinate system; Based on the voxel value at each (x, y) position, a two-dimensional projection image on the xy plane is formed.

5. The method according to claim 4, characterized in that The three-dimensional reconstructed image is obtained by: A prohibited item category is selected. For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection surface falls within the target area of ​​the prohibited item category, the score of the voxel is increased by 1. All projection surfaces are traversed, and the total voxel score of the voxel is divided by the total number of all projection surfaces to obtain the voxel value corresponding to the voxel, which is a real number between 0 and 1. Traversing all voxels in the preset coordinate system to obtain a voxel value corresponding to each voxel; Determine whether the voxel value of each voxel is greater than a first threshold value. If so, the voxel belongs to the prohibited goods category. Otherwise, the voxel does not belong to the prohibited goods category. The set of all voxels belonging to the prohibited goods category constitutes a target reconstruction region corresponding to the prohibited goods category. Repeat the above process to directly obtain the target reconstruction area corresponding to each prohibited item category, and construct a three-dimensional reconstructed image according to the connectivity.

6. The method according to claim 5, characterized in that Also includes: For the prohibited goods category, obtaining the confidence level for the prohibited goods category in the target area of ​​each two-dimensional projection image; For a voxel at any position in the preset coordinate system, if the orthographic projection of the voxel on any projection plane falls within the target area of ​​the prohibited goods category, the confidence of the voxel is accumulated with the confidence corresponding to the target area; Traverse all projection surfaces, divide the accumulated confidence value of the voxel by the total number of projection surfaces, and obtain the final confidence corresponding to the voxel; Traverse all voxels in the preset coordinate system to obtain the final confidence level corresponding to each voxel; It is determined whether the final confidence of each voxel value is greater than the second threshold value. If so, the voxel belongs to the prohibited goods category. Otherwise, the voxel does not belong to the prohibited goods category. The set of all voxels belonging to the prohibited goods category constitutes the target reconstruction area corresponding to the prohibited goods category.

7. The method according to claim 6, characterized in that Also includes: For each prohibited item category, an array W with a length of Q is preset; wherein the qth element in the array W represents the weight value of the prohibited item category on the qth projection surface, W[q] represents the qth element of the array W, q∈(1,Q), where Q is the total number of all projection surfaces; For each prohibited item category, for any voxel in the preset coordinate system, if the orthographic projection of the voxel on the qth projection plane falls within the target area of ​​the prohibited item category, the voxel score of the voxel is added with W[q], and the confidence of the voxel is added with the product of the confidence corresponding to the target area of ​​the qth projection plane and W[q].

8. The method according to claim 7, characterized in that: For any prohibited goods category, based on the weight value of each two-dimensional projection image for the prohibited goods category, a three-dimensional reconstructed image of the prohibited goods is obtained by back-projecting part of the two-dimensional projection image.

9. A system for object recognition in three-dimensional CT images, characterized in that include: An X-ray source, used for emitting X-rays toward the object to be inspected; A detector, arranged at the exit side of the X-ray source, to receive the X-rays and form a detection image; An image reconstruction unit connected to the detector to perform three-dimensional reconstruction on the detection image to obtain a three-dimensional CT image; A memory storing a code of the method according to any one of claims 1 to 8; A central processing unit, connected to the memory, to call the code and execute the method according to any one of claims 1 to 8; The parallel computing processor is connected to the central processing unit to perform image processing and output target recognition results of the three-dimensional CT image.

10. The system according to claim 9, characterized in that: If the parallel computing processor includes an image processing unit, the image processing unit executes an image space algorithm; If the parallel computing processor does not include an image processing unit, the central processing unit performs an image space algorithm.

Citation Information

Patent Citations

  • Target object detection method and system for security check of CT three-dimensional image

    CN114266756A

  • CT detection method and device

    CN109975335A

  • Target object marking method and system for three-dimensional CT image

    CN114612467A

  • Security check CT target object identification method and device

    CN115661810A

  • Object classification method, computer program product, device and storage medium

    CN117975169A