A facial automatic positioning system

Through the automatic facial positioning system, face detection and feature point marking technology are used to realize automatic positioning of medical images, solve the problem of difficult recognition of clinical medical tomographic images, improve recognition capabilities and calculation efficiency, and lower the threshold of diagnosis and treatment methods. .

CN115690873BActive Publication Date: 2024-09-10ARMY MEDICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211275422.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2024-09-10
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

Due to the abstract nature of imaging methods and the complexity of human anatomy in clinical medical tomographic images, it is difficult for junior medical students, interdisciplinary researchers and ordinary patients to accurately identify head structures, which increases the difficulty of medical image recognition and the threshold of diagnosis and treatment methods. .

Method used

Design an automatic facial positioning system that acquires medical images through the user's computer, conducts two-dimensional mapping and transmits them to the cloud server. It uses face detection and feature point marking to obtain registration information, realizes automatic facial positioning, and reduces the difficulty of image recognition.

Benefits of technology

This system reduces the difficulty of medical image recognition, improves the recognition ability of non-experienced doctors, reduces the pressure on user computer hardware, improves computing efficiency and automatic positioning speed, lowers the threshold for diagnosis and treatment methods, and enhances universal applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115690873B
    Figure CN115690873B
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and in particular to an automatic facial positioning system, comprising: a user machine, used to obtain medical images, obtain a two-dimensional mapping image according to the medical images, and transmit the two-dimensional mapping image to a cloud server; a cloud server, used to receive the two-dimensional mapping image, obtain a first information group and a second information group according to the two-dimensional mapping image, and transmit the first information group and the second information group to the user machine, triggering the user machine to obtain registration information according to the first information group and the second information group, and automatically positioning the face according to the registration information. It is beneficial for non-experienced professional doctors to identify various areas in the three-dimensional structure, reducing the difficulty of identifying medical images and improving universality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to an automatic face positioning system. Background Art

[0002] Clinical medical tomographic images such as CT and MRI are commonly used diagnostic and treatment methods in medicine. However, due to the abstract nature of the imaging method and the complexity of the human anatomical structure, clinical medical images often require the professional knowledge and experience of senior doctors, especially radiologists, to correctly read them. In particular, clinical medical tomographic images of the head with complex structures are too abstract and difficult to accurately identify for junior medical students, interdisciplinary researchers, medical engineers, and ordinary patients.

[0003] Therefore, reducing the difficulty of medical image recognition and lowering the threshold for using medical images for diagnosis and treatment are the challenges that need to be overcome at present. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides an automatic face positioning system, which reduces the difficulty of medical image recognition.

[0005] The technical solution adopted by the present invention is an automatic face positioning system.

[0006] In a first possible implementation, a facial automatic positioning system includes:

[0007] A user machine is used to obtain a medical image, obtain a two-dimensional mapping image based on the medical image, and transmit the two-dimensional mapping image to a cloud server;

[0008] The cloud server is used to receive the two-dimensional mapping image, obtain the first information group and the second information group according to the two-dimensional mapping image, and transmit the first information group and the second information group to the user machine, triggering the user machine to obtain the registration information according to the first information group and the second information group, and automatically locate the face according to the registration information.

[0009] In combination with the first possible implementation, in a second possible implementation, the user machine obtains a two-dimensional mapping image according to a medical image, including:

[0010] The user machine performs three-dimensional reconstruction based on the medical image to obtain a three-dimensional structure;

[0011] Project the 3D structure map into a 2D map image.

[0012] In combination with the first possible implementation, in a third possible implementation, the cloud server obtains the first information group and the second information group according to the two-dimensional mapping image in the following manner:

[0013] The cloud server performs face detection on the two-dimensional mapping image to obtain the detection result;

[0014] When the detection result is that no face is detected, determining the first information group is an error prompt;

[0015] When the detection result is that a face is detected, determining that the first information group is a face is detected;

[0016] A second information block is obtained according to the first information block.

[0017] In combination with the third possible implementation manner, in a fourth possible implementation manner, obtaining the second information group according to the first information group includes:

[0018] In the case where the first information group is an error prompt, a face detection loop step is triggered, and the loop is stopped after a face is detected; the face detection step includes the user machine adjusting the spatial direction of the three-dimensional structure, projecting the three-dimensional structure into a two-dimensional mapping image, and transmitting it to the cloud server for face detection;

[0019] When the first information cluster is a detected human face, a plurality of feature points are marked on the two-dimensional mapping image, and the coordinates of the plurality of feature points are used as the second information cluster.

[0020] In combination with the fourth implementable manner, in a fifth implementable manner, the user machine adjusts the spatial direction of the three-dimensional structure, including:

[0021] The user machine uses the Flip method of the Camera class of the VTK toolkit to transform the viewing angle of the three-dimensional structure in steps of 90 degrees.

[0022] In combination with the first possible implementation, in a sixth possible implementation, the user machine obtains the registration information according to the first information group and the second information group, including:

[0023] When the user machine receives the first information group and detects a face, it parses the second information group to obtain the coordinates of multiple feature points; obtains facial feature points based on the coordinates of the multiple feature points; obtains annular features based on the coordinates of the multiple feature points; and determines the facial feature points and annular features as registration information.

[0024] In combination with the sixth possible implementation, in a seventh possible implementation, facial feature points are obtained according to the coordinates of multiple feature points, including:

[0025] Obtain the minimum rectangle according to the coordinates of multiple feature points;

[0026] Expand and move the smallest rectangle to form a facial feature area of ​​a preset standard size;

[0027] The facial feature area is sampled with a preset step length to obtain facial feature points.

[0028] In combination with the seventh possible implementation, in an eighth possible implementation, obtaining a ring feature according to coordinates of multiple feature points includes:

[0029] Get the maximum and minimum values ​​of the horizontal coordinates and the maximum and minimum values ​​of the vertical coordinates in the coordinates of multiple feature points;

[0030] Combine the maximum and minimum values ​​of the horizontal coordinate and the maximum and minimum values ​​of the vertical coordinate to obtain the coordinates of the four points;

[0031] According to the coordinates of the four points, the 2D to 3D normal vector of the three-dimensional structure is cut to obtain the ring feature.

[0032] In combination with the sixth implementable manner, in a ninth implementable manner, automatic facial positioning is performed according to the registration information, including:

[0033] Perform preliminary registration based on the facial feature points of the user and the facial feature points of the CVH to obtain a preliminary registered head three-dimensional structure of the CVH that is consistent with the spatial direction of the user's three-dimensional structure;

[0034] The CVH preliminarily registered head three-dimensional structure is re-registered according to the annular features of the user and the annular features of the CVH, so as to obtain the CVH secondary registered head three-dimensional structure which is consistent with the spatial size of the user's three-dimensional structure; each region in the CVH secondary registered head three-dimensional structure has a mapping relationship with each region in the user's three-dimensional structure; each region in the CVH secondary registered head three-dimensional structure has a label, and the label is the name of each region;

[0035] Select the region of interest from the label and automatically locate it to the corresponding position in the user's three-dimensional structure through the mapping relationship.

[0036] Combined with the first possible implementation method, in the tenth possible implementation method, the cloud server-side architecture is based on the Python open source Django3 framework, and the user machine development end is based on VS's Web Reference. The two-dimensional mapping image of the user machine is transmitted to the cloud server through the Base64 encoding and decoding technology, and displayed.

[0037] It can be seen from the above technical solution that the beneficial technical effects of the present invention are as follows:

[0038] 1. The user machine obtains the medical image, and then obtains the two-dimensional mapping image, and transmits it to the cloud server. The remote server obtains the first information group and the second information group according to the two-dimensional mapping image, and triggers the user machine to obtain the registration information according to the first information group and the second information group. Finally, the automatic facial positioning is realized according to the registration information, which is conducive to professional doctors in non-experienced fields to identify various areas in the three-dimensional structure, reducing the difficulty of medical image recognition, thereby lowering the threshold for the diagnosis and treatment methods using medical images and improving universality.

[0039] 2. Since the algorithm for obtaining the first information group and the second information group has high requirements on computer performance, these two modules are deployed on the cloud server, and information interaction is carried out through data transmission between the user machine and the cloud server. In this way, not only the pressure on the user machine hardware is reduced, but also the total size of the user machine software is reduced, the computing efficiency of the user machine is improved, and the overall computing speed is greatly improved with the support of the high-performance cloud server, which ultimately improves the speed of automatic positioning.

[0040] 3. Under ideal research conditions, the default reconstruction of the head in tomographic images is expected to be with the face facing forward, but in clinical practice, the patient must be positioned according to their actual situation, such as side-lying or prone. Therefore, after reconstructing the three-dimensional structure of the medical image, the spatial direction of the three-dimensional structure is guided and corrected through face detection, so that the frontal image of the face can be obtained, which is conducive to accurately identifying the facial feature points and then realizing automatic positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0042] Figure 1 A schematic diagram of an automatic facial positioning system provided by the present invention;

[0043] Figure 2 Schematic diagram of the ring feature provided by the present invention. DETAILED DESCRIPTION

[0044] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

[0045] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.

[0046] Combination Figure 1 As shown, this embodiment provides a facial automatic positioning system, including a user machine and a cloud server. The facial automatic positioning system process is as follows:

[0047] Step S01, the user machine obtains medical images;

[0048] Step S02: The user machine obtains a two-dimensional mapping image according to the medical image;

[0049] Step S03: the user machine transmits the two-dimensional mapping image to the cloud server;

[0050] Step S04: the cloud server receives the two-dimensional mapping image;

[0051] Step S05: The cloud server obtains the first information group and the second information group according to the two-dimensional mapping image;

[0052] Step S06: The cloud server transmits the first information group and the second information group to the user machine;

[0053] Step S07: The user terminal obtains registration information according to the first information group and the second information group;

[0054] Step S08: The user terminal automatically locates the face according to the registration information.

[0055] Optionally, the user machine acquires a two-dimensional mapping image according to the medical image, including: the user machine performs three-dimensional reconstruction according to the medical image to obtain a three-dimensional structure; and projects the three-dimensional structure mapping into a two-dimensional mapping image.

[0056] Optionally, the user machine performs three-dimensional reconstruction based on the medical image to obtain a three-dimensional structure, including: extracting the facial contour in the medical image according to a morphological-subtraction contour extraction method; performing surface drawing based on the facial contour to obtain a three-dimensional contour structure of the head.

[0057] In some embodiments, the morphological-subtraction contour extraction method includes: reading DICOM (Digital Imaging and Communications in Medicine) raw data based on the C++ open source FO-DICOM library; converting the read image frame by frame into an 8-bit bitmap format; using the Ostu adaptive threshold segmentation algorithm for binarization processing; performing a closing operation on the processed image to fill small intracranial holes; using the FloodFill algorithm to fill the entire intracranial area; using a 3*3 corrosion template for morphological filtering, performing a subtraction operation on the data before and after corrosion to obtain the surface contour of a frame of data, saving the contour extraction result and processing the next frame of data until the batch processing is completed.

[0058] In some embodiments, the MC (Marching Cubes) algorithm is used to perform surface rendering based on the facial contour to obtain the three-dimensional contour of the head. The MC algorithm divides the three-dimensional volume data field constructed by the tomographic image into a number of voxels (cubes). The problem of extracting the isosurface of the three-dimensional data is decomposed into the problem of extracting the isosurface of each voxel. The MC algorithm processes the cubes in the data field one by one, finds the cubes that intersect with the isosurface, and uses linear interpolation to calculate the intersection of the isosurface and the edge of the cube. According to the relative position of each vertex of the cube and the isosurface, the intersection points on the isosurface and the edge of the cube are connected in a certain way to generate an isosurface, which is used as an approximate representation of the isosurface in the cube, and finally forms a three-dimensional contour structure, which serves as the morphological basis of the annular contour during the second registration.

[0059] Optionally, obtaining the three-dimensional contour structure of the head includes: using an RC (Ray Casting) algorithm to perform direct volume rendering according to the complete tomographic image data to obtain the three-dimensional structure of the head.

[0060] In some embodiments, surface rendering is used when picking facial feature points and extracting facial contours, and volume rendering is used to obtain the three-dimensional structure of the head during facial recognition. Then, the feature points are identified, and the feature points found on the volume rendering are mapped to the facial contour drawn on the surface at the same perspective to obtain the facial feature points.

[0061] In some embodiments, the RC algorithm is used to perform direct volume rendering based on the complete tomographic image data to obtain the three-dimensional structure of the head. The RC algorithm assumes that (at least) one ray (emitted in the direction of sight) is emitted from each pixel on the screen, and this ray passes through the three-dimensional data field. Sampling points are set at equal distances between the intersection of the ray and the volume space. The data of each sampling point is calculated by trilinear or higher interpolation calculation. The color value and opacity of the sampling point are calculated according to the pre-set color and opacity and the gradient range corresponding to the grayscale value. The color value and opacity value of each sampling point on each ray are synthesized from front to back or from back to front, so as to obtain the final image of the starting point position of the ray on the screen. By calculating each pixel according to the above process, a head image with a 3D stereoscopic effect can be obtained.

[0062] Optionally, the user machine and the cloud server transmit data interactively through the HTML5 protocol. The user machine cloud server uses the WebService interface to support SOAP communication to achieve data transmission between the cloud and the local client.

[0063] Optionally, the cloud server obtains the first information group and the second information group according to the two-dimensional mapping image in the following manner: the cloud server performs face detection on the two-dimensional mapping image to obtain a detection result; when the detection result is that no face is detected, the first information group is determined to be an error prompt; when the detection result is that a face is detected, the first information group is determined to be a face detected; and the second information group is obtained according to the first information group. By deploying the face detection algorithm with high computing requirements and high-load database on a high-performance cloud server, the memory size of the user machine software is reduced, the computing speed is improved, and the lightweight product characteristics are met.

[0064] Optionally, a face detection algorithm is used for face detection, and the face detection algorithm includes Haar feature cascade, HOG+linear SVM or Baidu AI.

[0065] Optionally, the cloud server obtains the second information group according to the first information group, including: when the first information group is an error prompt, triggering the face detection loop step, and stopping the loop after detecting the face; the face detection step includes the user machine adjusting the spatial direction of the three-dimensional structure, projecting the three-dimensional structure into a two-dimensional mapping image, and transmitting it to the cloud server for face detection; when the first information group is a detected face, marking multiple feature points on the two-dimensional mapping image, and using the coordinates of the multiple feature points as the second information group. By deploying the feature point marking algorithm of the high computing demand and high-load database on a high-performance cloud server, the memory size of the user machine software is further reduced, the computing speed is improved, and it meets the lightweight product characteristics.

[0066] Optionally, the number of feature points is greater than or equal to 5, and the multiple feature points include the left inner corner of the eye, the left outer corner of the eye, the right inner corner of the eye, the right outer corner of the eye and the philtrum.

[0067] Optionally, the cloud server is loaded with a parallel queue competition recognition model. The cloud server receives the two-dimensional mapping image and inputs it into the parallel queue competition recognition model. If the parallel queue competition recognition model detects a face, the recognition fails, and the cloud server outputs an error prompt to the user machine, triggering the user machine to reacquire the two-dimensional mapping image. If the parallel queue competition recognition model detects a face, the face region is output; and the coordinates of multiple feature points in the face region are determined using a gradient boosting decision tree algorithm.

[0068] Optionally, the parallel queue competitive recognition model includes: Haar feature cascade, HOG+ linear SVM and Baidu AI. In some embodiments, after the two-dimensional mapping image is input into the parallel queue competitive recognition model, the Haar feature cascade, HOG+ linear SVM and Baidu AI respectively perform competitive operations on the facial two-dimensional image to obtain each operation result, and analyze each operation result through the robustness dimension, response efficiency dimension and accuracy dimension to determine the best face area. At the same time, the weight of each algorithm for each type of image is determined according to the robustness dimension, response efficiency dimension and accuracy dimension, and an automatic matching recommendation mechanism is established according to the weight of each algorithm for each type of algorithm. According to the automatic matching recommendation mechanism, the optimal algorithm is recommended for the image input later, so as to ensure that all types of images can be accurately and quickly recognized. After a large number of experiments, it is found that the Haar algorithm is simple and fast, but the accuracy is not high, and it is difficult to meet the demand for automatic selection of feature point sets, but its high computing performance can be used to assist three-dimensional images to quickly correct the front face angle. The HOG+ linear SVM algorithm can be applied to face recognition and feature point calibration at almost all angles, but for local scanned images that do not even include the complete nose area, it will cause the face area positioning to fail. Baidu AI platform is suitable for severely incomplete facial images, but it cannot achieve full face image recognition in the "simplest case". This solution combines and improves Haar feature cascade, HOG+ linear SVM and Baidu AI to form a parallel queue competition recognition model to achieve recognition of all types of images and ensure recognition accuracy. During the test, 40 clinical CT / MRI head tomography images were identified, with a success rate of 97.5%.

[0069] Optionally, the user machine adjusts the spatial direction of the three-dimensional structure, including: the user machine transforms the perspective of the three-dimensional structure with a step length of 90 degrees through the Flip method of the Camera class of the VTK toolkit. Selecting 90 degrees as the base angle for rotating the three-dimensional structure meets the operating standards of head positioning in imaging, and is applicable to the common clinical head anteroposterior position (the median sagittal plane of the head is perpendicular to the bed surface) and the standard left and right lateral positions of the head (the median sagittal plane of the head is parallel to the bed surface), and can ensure the minimum number of rotations in the spatial direction, providing applicability and convenience.

[0070] In some embodiments, the Flip method of the Camera object in the VTK toolkit supports the user's need to iterate the three-dimensional structure rotation every 90 degrees. The user can perform four 90-degree rotations in the three-dimensional reconstruction space and four two-dimensional image mappings. A large number of experiments can be used to conclude that the function of the Flip method of the Camera object meets the needs of automatic rotation of the three-dimensional structure. Since then, the facial positioning system has completely realized "one-click", which only requires the initial selection of the user's medical image until the final selection of the area of ​​interest. There is no need for manual operation by the user in the middle, which is truly intelligent and lightweight.

[0071] Optionally, the user machine obtains registration information based on the first information group and the second information group, including: when the user machine receives the first information group and detects a face, it parses the second information group to obtain coordinates of multiple feature points; obtains facial feature points based on the coordinates of the multiple feature points; obtains annular features based on the coordinates of the multiple feature points; and determines the facial feature points and annular features as registration information.

[0072] Optionally, acquiring facial feature points according to the coordinates of multiple feature points includes: acquiring a minimum rectangle according to the coordinates of the multiple feature points; expanding and moving the minimum rectangle to form a facial feature area of ​​a preset standard size; sampling the facial feature area with a preset step length to obtain facial feature points.

[0073] Optionally, the minimum rectangle is obtained according to the coordinates of multiple feature points, including: obtaining the maximum and minimum values ​​of the horizontal coordinates, and the maximum and minimum values ​​of the vertical coordinates among the multiple feature points; combining the maximum and minimum values ​​of the horizontal coordinates with the maximum and minimum values ​​of the vertical coordinates, respectively, to obtain four coordinate points; and connecting the four coordinate points to obtain the minimum rectangle.

[0074] In some embodiments, the maximum horizontal coordinate Xmax, the minimum horizontal coordinate Xmin, the maximum vertical coordinate Ymax, and the minimum vertical coordinate Ymin are combined to obtain coordinate points (Xmax, Ymax), (Xmax, Ymin), (Xmin, Ymax), and (Xmin, Ymin).

[0075] In some embodiments, the minimum rectangle obtained from the medical image sent by the user machine is expanded and moved to form a facial feature area of ​​standard size. After sampling the facial feature area with a preset step length, a feature point cloud matrix with 3 rows and 7 columns is formed, namely, the user's facial feature points. The minimum rectangle obtained from the CVH standard head image stored in the cloud server is expanded and moved to form a facial feature area of ​​standard size. After sampling the facial feature area with a preset step length, a feature point cloud matrix with 3 rows and 7 columns is also formed, namely, the CVH facial feature points. In this way, the user's facial feature points and the CVH facial feature points are both feature point cloud matrices with 3 rows and 7 columns, so that the spatial direction registration based on the two is more accurate, the efficiency of the registration is guaranteed, and the problem of serious mismatch in the number of feature points in the same area caused by inaccurate positioning of the feature area or large differences in spatial resolution of different modal data is solved. The row and column feature point acquisition spacing in the facial feature area is adaptively adjusted, so that the facial feature point acquisition of various image data is always a 3*7 matrix, thereby improving the stability of the subsequent registration navigation of the secondary progressive registration algorithm.

[0076] In some embodiments, CVH (Chinese Visible Human) includes a Chinese Visible Human cross-sectional anatomical dataset and corresponding CT and MRI datasets, which include clinical images and anatomical structures of various parts of the body. CVH includes an anatomical knowledge graph, which includes the anatomical structure of each part, as well as the location identifiers of each organ region in the structure, organ names and other related knowledge.

[0077] Optionally, an annular feature is obtained based on the coordinates of multiple feature points, including: obtaining the maximum and minimum values ​​of the horizontal coordinates, and the maximum and minimum values ​​of the vertical coordinates in the coordinates of the multiple feature points; combining the maximum and minimum values ​​of the horizontal coordinates and the maximum and minimum values ​​of the vertical coordinates to obtain the coordinates of four points; and performing 2D to 3D normal vector cutting on the three-dimensional structure according to the coordinates of the four points to obtain the annular feature.

[0078] In some embodiments, after the four coordinate points are connected to form a minimum rectangle, the minimum rectangle is expanded and moved to form a facial feature area including eyes and nose, and vertical projection is performed on the facial feature area in the three-dimensional structure to obtain the following: Figure 2 The annular feature shown.

[0079] Optionally, automatic facial positioning is performed based on the registration information, including: performing preliminary registration based on the facial feature points of the user and the facial feature points of the CVH to obtain a CVH preliminary registered head three-dimensional structure that is consistent with the user's three-dimensional structural spatial direction; performing secondary registration on the CVH preliminary registered head three-dimensional structure based on the user's annular features and the annular features of the CVH to obtain a CVH secondary registered head three-dimensional structure that is consistent with the user's three-dimensional structural spatial size; a mapping relationship exists between each region in the CVH secondary registered head three-dimensional structure and each region in the user's three-dimensional structure; each region in the CVH secondary registered head three-dimensional structure has a label, and the label is the name of each region; a region of interest is selected from the label, and automatically positioned to the corresponding position in the user's three-dimensional structure through the mapping relationship.

[0080] Optionally, the cloud server-side architecture is based on the Python open source Django3 framework, and the user machine development end is based on VS's Web Reference, which transmits the two-dimensional mapping image of the user machine to the cloud server through Base64 encoding and decoding technology and displays it.

[0081] Optionally, the two-dimensional mapping image is output to the cloud server in XML format, the cloud server receives the data stream, and parses the data stream to obtain the original two-dimensional mapping image. The cloud server obtains the first information group using a face detection algorithm, obtains the second information group using a facial feature point marking algorithm, and then transmits the first information group and the second information group to the user machine in JSON stream format.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A facial automatic positioning system, characterized in that: include: A user machine is used to obtain a medical image, obtain a two-dimensional mapping image based on the medical image, and transmit the two-dimensional mapping image to a cloud server; The cloud server is used to receive the two-dimensional mapping image, obtain the first information group and the second information group according to the two-dimensional mapping image, transmit the first information group and the second information group to the user machine, trigger the user machine to obtain the registration information according to the first information group and the second information group, and perform automatic facial positioning according to the registration information; The user machine obtains a two-dimensional mapping image according to the medical image, including: The user machine performs three-dimensional reconstruction based on the medical image to obtain a three-dimensional structure; Projecting the three-dimensional structure map into a two-dimensional mapping image; The user terminal performs three-dimensional reconstruction based on the medical image to obtain a three-dimensional structure, including: extracting the facial contour in the medical image according to the morphology-subtraction contour extraction method; performing surface rendering based on the facial contour to obtain a three-dimensional contour structure of the head; The method of performing surface rendering according to the facial contour to obtain the three-dimensional contour structure of the head includes: using a marching cube MC algorithm to perform surface rendering according to the facial contour to obtain the three-dimensional contour structure of the head, or using a ray casting RC algorithm to perform direct volume rendering according to complete tomographic image data to obtain the three-dimensional structure of the head; The cloud server obtains the first information group and the second information group according to the two-dimensional mapping image in the following manner: The cloud server performs face detection on the two-dimensional mapping image to obtain the detection result; When the detection result is that no face is detected, determining the first information group is an error prompt; When the detection result is that a face is detected, determining that the first information group is a face is detected; Acquiring a second information group according to the first information group includes: In the case where the first information group is an error prompt, a face detection loop step is triggered, and the loop is stopped after a face is detected; the face detection step includes the user machine adjusting the spatial direction of the three-dimensional structure, projecting the three-dimensional structure into a two-dimensional mapping image, and transmitting it to the cloud server for face detection; In the case where the first information group is a detected face, a plurality of feature points are marked on the two-dimensional mapping image, and the coordinates of the plurality of feature points are used as the second information group; The user terminal obtains the registration information according to the first information group and the second information group, including: when the user terminal receives the first information group and detects a face, the second information group is parsed to obtain the coordinates of multiple feature points; the facial feature points are obtained according to the coordinates of the multiple feature points; the annular features are obtained according to the coordinates of the multiple feature points; and the facial feature points and the annular features are determined as the registration information; The ring features are obtained based on the coordinates of multiple feature points, including: Get the maximum and minimum values ​​of the horizontal coordinates and the maximum and minimum values ​​of the vertical coordinates in the coordinates of multiple feature points; Combine the maximum and minimum values ​​of the horizontal coordinate and the maximum and minimum values ​​of the vertical coordinate to obtain the coordinates of four points; According to the coordinates of the four points, the 2D to 3D normal vector of the three-dimensional structure is cut to obtain the ring feature; The method of cutting the three-dimensional structure from 2D to 3D normal vectors according to the coordinates of the four points to obtain the ring feature includes: Connect the four coordinate points to form a minimum rectangle, expand and move the minimum rectangle to form a facial feature area including eyes and nose, and perform vertical projection on the facial feature area in a three-dimensional structure to obtain a ring feature; The number of feature points is greater than or equal to 5, and the multiple feature points include a left inner corner of the eye, a left outer corner of the eye, a right inner corner of the eye, a right outer corner of the eye, and a philtrum.

2. The system according to claim 1, characterized in that The user machine adjusts the spatial orientation of the three-dimensional structure, including: The user machine transforms the viewing angle of the three-dimensional structure with a step length of 90 degrees through the Flip method of the Camera class of the VTK toolkit; The Flip method of the Camera object in the VTK toolkit supports the user's requirement to iterate the three-dimensional structure rotation every 90 degrees. The user can perform four 90-degree rotations in the three-dimensional reconstruction space and four two-dimensional image mappings. The function of the Flip method of the Camera object meets the requirement of automatic rotation of the three-dimensional structure.

3. The system according to claim 1, characterized in that Obtain facial feature points based on multiple feature point coordinates, including: Obtain the minimum rectangle according to the coordinates of multiple feature points; Expanding and moving the minimum rectangle to form a facial feature area of ​​a preset standard size; The facial feature area is sampled with a preset step length to obtain facial feature points.

4. The system according to claim 1, characterized in that Automatically positioning the face according to the registration information includes: Perform preliminary registration based on the facial feature points of the user and the facial feature points of the CVH to obtain a preliminary registered head three-dimensional structure of the CVH that is consistent with the spatial direction of the user's three-dimensional structure; The CVH preliminarily registered head three-dimensional structure is secondary registered according to the annular features of the user and the annular features of the CVH, so as to obtain a CVH secondary registered head three-dimensional structure that is consistent with the spatial size of the user's three-dimensional structure; each region in the CVH secondary registered head three-dimensional structure has a mapping relationship with each region in the user's three-dimensional structure; each region in the CVH secondary registered head three-dimensional structure has a label, and the label is the name of each region; An area of ​​interest is selected from the label and automatically located at a corresponding position in the three-dimensional structure of the user through the mapping relationship.

5. The system according to claim 1, characterized in that The cloud server-side architecture is based on the Python open source Django3 framework, and the user machine development end is based on VS's Web Reference. The two-dimensional mapping image of the user machine is transmitted to the cloud server through Base64 encoding and decoding technology for display.