Head CT Image Segmentation and Three-Dimensional Reconstruction Technology Based on Human Anatomy

With the continuous development of computer science and technology, the level of medical image processing and analysis technology has been significantly improved. In order to further optimize the medical imaging technology and provide assistance for medical diagnosis and treatment, this study will explore the head CT image segmentation technology and three-dimensional reconstruction technology based on human anatomy, using two morphological operation methods of image expansion and image corrosion, as well as the triangulation method based on surface contour, Optimize CT image segmentation technology and three-dimensional reconstruction technology. The results show that the CT image segmentation technology based on human anatomy can obtain the more essential morphology and features of the target image, and significantly improve the image quality. The size of the threshold can have a certain impact on the 3D reconstruction effect and reconstruction time to a certain extent. The larger the threshold, the shorter the reconstruction time, but the worse the 3D reconstruction effect. This shows that the target image after fitting has a good reconstruction effect, but the threshold level should be kept at a low level. The head CT image segmentation technology and three-dimensional reconstruction technology based on human anatomy have good application effects and can be popularized and applied in clinical diagnosis and treatment.


Introduction
In the process of the continuous development of medical technology, the application scope of human anatomy has been significantly expanded. Applying it to the image segmentation of head computed tomography (CT) can improve the effect of medical image segmentation to a certain extent [1]. e application of medical impact processing and analysis in clinical medicine is extremely critical and has attracted more and more attention. In order to improve the accuracy and reliability of medical diagnosis, it is imperative to explore and optimize medical image segmentation and processing technology and three-dimensional reconstruction technology [2]. CT image segmentation and processing technology plays an important role in the diagnosis and detection of head tumors. It can effectively realize image segmentation and processing when the boundary between normal head and diseased soft tissue is poor [3].
reedimensional reconstruction technology is a visualization means of scientific calculation, which can effectively analyze the calculation results of computer data and understand the changes of data in the calculation process under the action of computer graphics and image processing technology [4]. In view of this, this study will make a detailed exploration on the head CT image segmentation and three-dimensional reconstruction technology based on human anatomy, in order to improve the effectiveness of image segmentation and processing technology and three-dimensional reconstruction technology and promote the sustainable development of medical image processing technology.
is study mainly discusses the mechanism and application effect of head CT image segmentation technology and three-dimensional reconstruction technology in the context of human anatomy. Morphological operation is mainly used to explore the segmentation technology of head CT image. Morphological operation can effectively repair the area of the target CT image. Under the action of image expansion and image corrosion, head CT image can be well segmented. In addition, the surface rendering method in three-dimensional reconstruction technology is also analyzed in detail.
is method is a triangulation method based on surface contour, which can use the small plane with the shape of triangle or polygon to place it in the boundary contour line as a filler to form a complete and smooth object surface.
e combination of the two research methods provides strong support for exploring the application effect of head CT image segmentation and three-dimensional reconstruction technology.
In this study, the most innovative point is that in morphological operation, two operation methods of image expansion and image corrosion are used at the same time, which can effectively deal with the diversified problems in image segmentation. is innovative method can separate two connected objects on the basis of filling the hole after image segmentation so that the target image is not negatively affected by its own internal segmentation or external object adhesion, which can significantly improve the technical level of CT image segmentation and obtain more objective and accurate image segmentation results. Moreover, the research also innovatively makes a comprehensive comparative analysis of the threshold, three-dimensional reconstruction effect, and reconstruction time, which makes the application process of three-dimensional reconstruction technology not only blindly improve the threshold level but also comprehensively consider the impact of reconstruction efficiency and reconstruction effect. e main structure of the paper is divided into four parts. e core content of the second part is to explore the research progress of many experts and scholars at home and abroad in CT image segmentation technology and three-dimensional reconstruction technology and briefly discuss its research means and research results. e third part mainly probes into the action mechanism of the two core technologies in this research, including the binarization processing of head CT image segmentation technology, the repair and merging of image regions, the construction of the contour model, the triangulation surface drawing method of three-dimensional reconstruction technology, and the simplification processing method of the triangular mesh. e fourth part focuses on the analysis of the application effect of head CT image segmentation technology and threedimensional reconstruction technology. e fifth part mainly expounds all the research work and research results, summarizes the disadvantages and deficiencies, and looks forward to the future research direction.

Related Work
In recent years, medical diagnosis and treatment methods have been fully developed in the process of clinical application of medical imaging technology. However, in order to prevent the distortion of lesion target location and improve the effectiveness of medical diagnosis and treatment, the research on medical image processing technology at home and abroad has been continuously promoted and gradually deepened. Mason et al. believe that the current treatment workflow based on cone beam computed tomography (CBCT) is easily limited by the contrast difference of soft tissue. erefore, ultrasonic fusion CBCT is used to compare and analyze the consistency and confidence of images. e accuracy of image segmentation and location is successfully improved [5]. Aiming at the problem of great difficulty and variability in liver segmentation, researchers such as Mourya et al. used CT image segmentation technology to eliminate the lack of clear edge of the liver boundary, significantly estimated the area of liver tumor, and carried out accurate automatic segmentation [6]. Selvaraj et al. used CT for image scanning and quantitative processing to solve the problem of Covid-19 area contour description and successfully realized the effective segmentation of Covid-19 infection severity [7]. Zeng et al. found that it is difficult to realize the automatic segmentation of head image from ultrasonic image and head circumference biometrics. By using DAG v-net deep learning model, CT technology was used to segment fetal ultrasonic image effectively [8]. Eckl et al. believe that imageguided radiotherapy can benefit from the implementation of radiotherapy technology. ey have completed the construction and training of body part-specific model by evaluating the conversion algorithm from cone beam computed tomography to synthetic CT based on cyclic generation countermeasure network. Finally, CT images with high quality were generated [9]. Tappeiner et al. found that in the process of radiotherapy for head and neck cancer, the focus is to accurately depict the organs with risk in the image. e study used the method of deep learning combined with CT to effectively train the data set and successfully obtained the segmented image with high accuracy [10].
Yamamoto et al. conducted in-depth research on osteoclasts, used continuous section scanning electron microscope technology and three-dimensional reconstruction technology to reconstruct osteoclasts, and successfully found the unique three-dimensional shape of Golgi [11]. Yushan et al. analyzed rare congenital malformations and their related characteristics, achieved surgical reduction by using image technologies such as three-dimensional reconstruction, and finally achieved a better effect of surgical intervention [12]. In order to improve the accuracy and reliability of 3D reconstruction, Xie et al. applied the multiview photometric stereo fusion algorithm to 3D reconstruction technology and verified it through multiple iterations. Finally, the 3D reconstruction results with higher precision surface normals and better quality were successfully obtained [13]. Wang et al. believed that the two-dimensional image has the characteristics of fast but simple, so they applied the mobile robot vision technology to it, improved it, proposed the three-dimensional reconstruction technology, and verified the efficiency and accuracy of the threedimensional reconstruction technology through simulation analysis [14]. Ruiz et al. proposed a nonrigid object 3D reconstruction algorithm using depth camera, which can dynamically construct the dense 3D model of the target object, improve the accuracy of 3D reconstruction, and can be applied to many fields such as medicine, agriculture, and human-computer interaction [15]. Jani et al. found that the application of three-dimensional technology in the reconstruction and description of human bone fragments is less. By analyzing the application of three-dimensional model in forensic cases, the accuracy of three-dimensional reconstruction model is improved from the perspective of anatomical features and digital analysis, and the optimization of three-dimensional reconstruction technology is realized [16].
By analyzing the research results of many scholars at home and abroad in CT image segmentation and threedimensional reconstruction technology, it can be found that these two technologies have made great progress and have a wide range of applications, especially medical diagnosis and treatment. CT image segmentation technology and threedimensional reconstruction technology can reflect a good application effect in medical diagnosis and more intuitively and accurately present the image information of the focus, which is convenient for later clinical treatment intervention. In view of this, this study takes human anatomy as the basic basis to deeply explore CT image segmentation technology and three-dimensional reconstruction technology in order to improve the accuracy of medical image segmentation and three-dimensional reconstruction.

Patching and Merging of Image Regions and Construction of Contour Model.
In the actual process of computed tomography, X-rays are projected and scanned at different angles only in specific faults, and then, the corresponding projection and scanning results are handed over to the computer for further processing so as to obtain the twodimensional projection distribution results of specific faults in the object to be measured. In the context of human anatomy, there are some differences between various human tissues and other objects. Taking the head as an example, when forming the CT image of the head, the X-ray absorption of the head tissue is different, so the CT image segmentation technology segments a section of the head tissue, and the small cube obtained after segmentation is voxel. When X-ray passes through the head, the density or gray level in each single voxel is measured as a pixel, that is, the basic unit in CT image. Before applying CT image segmentation technology, it is necessary to binarize the image. Usually, threshold segmentation based on image histogram is adopted as shown in Figure 1. Figure 1(a) is a single-threshold histogram. Its segmentation principle is to use a threshold T to classify the gray level of the target image, determine the pixels whose gray value is in the same gray range as the segmented image from the same target, and finally realize accurate segmentation of the target image. e segmentation principle of the multithreshold histogram shown in Figure 2(a) is basically consistent with that of the single-threshold histogram. e difference is that more than one threshold is used, that is, T 1 and T 2 . e threshold processing can be regarded as the test of function T, see (1) for details. (1) In (1), T represents the threshold, (x, y) represents a point in the image, f(x, y) represents the gray level corresponding to the point, and p(x, y) represents its local properties. If the point is taken as the center to obtain the average gray level of the neighborhood, the image after threshold processing can be defined as given in the following equation: In equation (2), g(x, y) represents an image after threshold processing. According to equation (2), the pixels marked 1 and 0 correspond to the target object and the background, respectively. After the binarization of the image is completed, the region can be repaired and merged by morphological operation. e most commonly used operations of region repair are image expansion and image corrosion. e former mainly refers to expanding the boundary points of binary objects and integrating the background points in contact with them so as to achieve the T t is operation method is usually applied to filling the holes after image segmentation as shown in the following formula: S represents the expansion result of the binary image set; B represents the structural element used for expansion, and its value is 0 or 1. Equation (3) shows that the S is obtained by using the graph B to expand the graph A. e process diagram of expansion treatment is shown in Figure 2. Figure 2(a) shows a simple graph set A; Figure 2(b) shows the structural element B and its image, which have a symmetrical and equal relationship with respect to the central point; Figure 2(c) shows the S obtained after A expansion, from which the expansion range can be clearly seen. Another operation of region repair is image corrosion. e action mechanism of this method is quite different from image expansion. Its principle is to eliminate the boundary points of objects and shrink them inward. It is usually applied to the separate processing of two connected objects. Image expansion and image corrosion are both effective ways to trim the target object. After local or overall processing, the corresponding change characteristics can be obtained. In order to maintain the main features and shape of the head contour, it is usually necessary to be careful when selecting structural elements and avoid being too large or too small. After the binary processing and morphological processing of the image, the target image will form multiple subregions, which need to be segmented and extracted by region growth algorithm so as to obtain the initial contour of the head. e last step of CT image segmentation technology is to construct the contour model, and the most common method is to construct the set active contour model through the level set method. Different from other solving methods of geometric curve evolution, the level set method does not directly track the motion of evolution curve but uses implicit expression to describe the plane closed curve. First, let the mathematical expression of the plane active curve be as given in the following equation: , t), y(p, t)).
In equation (4), p represents any parametric variable and t represents time variable, then the evolution process of curve C in the direction of unit normal vector N ⇀ is shown in the following equation: e curve evolution in equation (5) mainly includes two different forms of constant evolution and curvature evolution. In (5), it represents a velocity function that determines the velocity of each point on the active curve. e evolution of curves mainly includes two different forms of constant evolution and curvature evolution. e difference between them lies in the setting of velocity function, i.e., constant and curvature. e evolution of the former can be expressed as a partial differential equation shown in the following equation: e evolution process of the latter is shown in the following formula: In equation (7), a represents a positive constant, and k can accurately describe the bending degree of the curve. en, the level set equation is constructed, and the level set function ψ is defined as hypersurface. Its expression is shown in the following equation: In equation (8), ±d represents the symbolic distance between point x and surface C 0 . If x is located inside the surface, take a negative value; otherwise, take a positive value with derivative t, then equation (9) can be obtained.
When it is in the vertical state, there is the following equation: After evolution, the level set equation can be rewritten as in the following equation: In equation (11), ψ represents the level set function, then the contour curve of the target can be expressed as in the following equation:

3D Reconstruction Technology Based on Contour Extraction and Sampling.
ree-dimensional reconstruction technology is an important research direction of scientific visualization. is technology can process the two-dimensional pictures obtained by medical imaging equipment and then obtain the three-dimensional model of corresponding organs and tissues.
ree-dimensional reconstruction technology mainly includes three different types, namely,   Computational Intelligence and Neuroscience surface rendering, volume rendering, and digital geometric processing, among which surface rendering has the best application effect. ere is a triangulation method based on surface contour in surface rendering, which mainly uses the small plane with the shape of triangle or polygon to place it in the boundary contour line as a filler to form a complete and smooth object surface. Firstly, two feature point sets P and Q are set, which are expressed as (13) and (14), respectively.
In (13), the value of m is greater than or equal to 3, and p m � p 0 .   Computational Intelligence and Neuroscience e value of n is also not less than 3, and q m � q 0 . P and Q are arranged in clockwise order in adjacent layers. Between the two, the three-dimensional reconstruction of the surface is completed by using triangulation. e applied triangle must meet four conditions at least one vertex P and one vertex Q in the triangle. If the intersection line between different triangles is not P i Q j such an edge, it must not intersect. Any intersecting edge P i Q j only belongs to two triangles that maintain adjacent relationship. Any point of a fault segment belongs to one of the adjacent triangles. A triangle meeting the four conditions can be called an acceptable surface as shown in Figure 3.
As can be seen from Figure 3, the two feature point sets are distributed up and down, and P and Q are the upper point set and the lower point set, respectively. Since the visible area of the triangle is small and contains a large number of triangular meshes, it needs to consume a lot of system resources every time rendering, so it is necessary to simplify the triangular mesh effectively. e simplified processing method mainly includes two types-point deletion and edge shrinkage. Its operation flow is shown in Figure 4. Figure 4(a) shows the three basic steps of point deletion. First, select a point in the triangular mesh model to delete, then delete the edge with the target point as the vertex, and finally, all the holes are processed to obtain a new triangular mesh. Figure 4(b) shows the operation steps of edge contraction, which is mainly to move and merge the two endpoints located on the same edge to make it a point so that the original edge changes its connected endpoint and moves to the new vertex. In contrast, the operation of edge shrinkage is more convenient. It can complete the processing of two endpoints at one time and obtain a better simplification effect. erefore, the application scope of edge shrinkage is far greater than that of point deletion.
ere is a lot of data redundancy in the image and video data collected by widely deployed cameras. In video surveillance data, a large number of images and video data have time, space, and statistical redundancy. In order to reduce redundant data and shorten image processing time, contour sampling will be carried out using curve data compression algorithm (Douglas-Peucker, DP). e algorithm is a global sampling algorithm, which can obtain ideal and accurate sampling results based on vector or area offset. e geometric principle of contour sampling by the DP algorithm is shown in Figure 5.
It can be seen from Figure 5 that during the sampling process of the DP algorithm, any arc of all curves in the polygon contour can realize the approximation with arbitrary accuracy, and the accuracy of the approximation can be described objectively and accurately according to the maximum distance between the point on the arc and the upper chord of the arc. e irregular polygon contour in Figure 5 is defined as V, and V � 〈v 0 , v 1 . . . v n 〉. Let v p represent any vertex in V, then its distance from any straight line v 0 v n can be expressed as d(v p , v 0 v n ), and the corresponding approximation error is shown in the following equation: In equation (15), δ DP represents the approximation error, and then, a distance threshold ε used to represent the approximation accuracy is set. For all vertices in V, the distance between them and v 0 v n is calculated and compared one by one, and then, the vertex with the maximum distance is obtained, which is recorded as v p1 . If the corresponding maximum distance d(v p1 , v 0 v n ) is less than the established threshold, it can be determined that the irregular polygon V can be replaced by the straight line v 0 v n , which marks the end of the decomposition. If not, it is necessary to decompose the subcontour recursively until the conditions are met.

Edge Extraction Results and Contour Model of CT Image
Segmentation Technology. Compared with the traditional image segmentation technology, CT image segmentation technology based on human anatomy is more effective and can obtain excellent segmentation effect when the target object has a large contrast with the background. is method adopts the unitary global threshold segmentation technology to easily realize the effective extraction and segmentation of image edges in the process of pixel-by-pixel scanning and marking. See Figure 6 for details. correspond to two original images, respectively. It can be seen that the CT image segmentation technology based on human anatomy can obtain the more essential morphology and features of the target image and realize the significant improvement of image quality. In order to further explore the application effect of CT image segmentation technology, study and set different thresholds and analyze the gray histogram under different fault numbers, in order to obtain the effectiveness of CT image segmentation technology in distinguishing the target image from the background. e results are shown in Figure 7. According to Figure 7, under the influence of different thresholds, there are some differences in the distribution of threshold histogram, but the overall difference is small, which shows that CT image segmentation technology has significant universality and efficiency and can realize the it can be seen that there is no significant difference in the convergence contour generated under different iteration times, which is almost consistent, and the convergence contour is highly consistent with the original contour.

Surface Rendering and 3D Display
Results. Set the layer spacing and point spacing between data to 3 mm and 0.418 mm, respectively, so that the data scale is 512 × 512 × 69. Subsequently, the experimental results of surface rendering are obtained as shown in Figure 9.
Figures 9(a) and 9(c) are the surface drawing results before fitting, and Figures 9(b) and 9(d) are the surface drawing results after fitting. Compared with the rendering results before and after fitting, the head CT scanning image after fitting is clearer and the reconstruction effect is better. Comparing the fitting effects under different threshold levels, it can be seen that when the threshold level is low, the 3D reconstruction effect is better. If the threshold is too large, a large number of scattered fragments will appear in the 3D reconstruction results. In order to further explore the impact of threshold on 3D reconstruction results, this study conducted 3D reconstruction experiments with different thresholds, recorded the time required for each experiment, and scored the 3D reconstruction results. See Table 1 for the results.
According to Table 1, with the increase in threshold, the time required for 3D reconstruction gradually decreases, indicating that the reconstruction efficiency shows an obvious improvement trend. Because a large number of discrete fragments will be displayed in the reconstruction results, the CT image of the head cannot be completely presented. erefore, with the improvement of threshold and efficiency, the score of 3D reconstruction effect continues to decline.

Conclusion
At present, various diseases occur frequently in the medical community, and people's health is endangered by various diseases, among which head diseases are the most dangerous. It is very important to make effective diagnosis and treatment. In order to improve the level of medical diagnosis, this study will explore the mechanism of head CT image segmentation and three-dimensional reconstruction technology based on human anatomy and adopt different morphological operation methods and other measures, such as image expansion, image corrosion, point deletion, and edge contraction, in order to optimize head CT image segmentation technology and threedimensional reconstruction technology. e experimental results show that under the influence of different thresholds, there are some differences in the distribution of threshold histogram, but the overall difference is small, which shows that CT image segmentation technology can effectively segment the target image and background. As for the threedimensional imaging results themselves, the threshold has a great influence. e threshold is negatively correlated with the three-dimensional imaging time and the score of three-dimensional reconstruction results. is shows that in order to obtain better 3D reconstruction effect, it is necessary to ensure that the threshold is at a low level under the condition of reasonable time.
e application effect of CT image segmentation technology and three-dimensional imaging technology based on human anatomy is good, which can provide reliable support for medical diagnosis and treatment.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest. Computational Intelligence and Neuroscience 9