Eye and orbit anatomy VR teaching system based on deep learning
Through deep learning technology and convolutional neural network, the three-dimensional image data is analyzed, and the key structural points of the eyes and eye sockets are automatically identified and marked, which solves the problem of poor teaching effect in the existing technology, and the selection and observation of structural points are achieved through matrix transformation algorithms. , improves teaching effectiveness.
Patent Information
- Application Number
- CN202411010665.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art cannot automatically identify and mark key structural points in different eye and orbital conditions, resulting in poor teaching results.
The VR teaching system for eye and orbital anatomy based on deep learning is adopted to analyze three-dimensional image data through convolutional neural networks, automatically identify and label key structural points, and combine matrix transformation algorithm to realize view control, allowing any key structural points to be selected for observation.
It improves the teaching effect, can automatically identify and mark key structural points in different eye and orbital conditions, meet teaching needs, and realize the selection and observation of any structural points through matrix transformation algorithm.
Smart Images

Figure CN118967982A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of virtual simulation, and relates to a deep learning-based VR teaching system for eye and orbital anatomy. Background Art
[0002] The eye is one of the most complex and sophisticated organs in the human body, and its structure and function are closely related. The anatomy of the orbit involves several key parts, including the eyeball, extraocular muscles, optic nerve, lacrimal gland, blood vessels, etc. These structures work together to ensure the normal functioning of visual function. In medical education, a detailed understanding of the anatomy of the eye and orbit is essential for ophthalmologists, surgeons and professionals in related fields.
[0003] At present, anatomical data is mainly collected through specimen photography and CT and MR imaging. The collected image data is imported into 3DSlicer medical image processing software to realize the export of DICOM information and the entry of annotation information. The DICOM image data of CT and MR are extracted using the three-dimensional reconstruction software Mimics to form a medium-to-high precision model. However, the existing technology cannot automatically identify structural points with teaching significance after obtaining three-dimensional image data of the eye and orbit, and there are also differences in the key structural points of different eye diseases. For the teaching system, it is of great significance to mark key information according to different eye and orbital conditions. Summary of the invention
[0004] The present invention provides a deep learning-based VR teaching system for eye and orbital anatomy, which aims to utilize the rich three-dimensional image data of eyes and orbits collected in historical periods, as well as the corresponding key structural points; through deep learning of the relationship between the three-dimensional image features of different eye and orbital conditions and the key structural points by convolutional neural networks, the problem of poor teaching effect caused by the inability of existing technologies to automatically identify and mark the key structural points of different eye and orbital conditions is solved.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] The present application provides a deep learning-based VR teaching system for eye and orbital anatomy, comprising a data acquisition module, a structure point analysis module and a teaching annotation module, wherein the data acquisition module, the structure point analysis module and the teaching annotation module are communicatively connected, wherein:
[0007] The data acquisition module is used to acquire three-dimensional image data of the eye and orbit to be taught;
[0008] The structure point analysis module is used to input the three-dimensional image data of the eye and orbit to be taught into the convolutional neural network model trained offline, and output the key structure points of the eye and orbit to be taught. The convolutional neural network model trained offline includes the following training steps:
[0009] S1. Data collection: Collect large-scale historical eye and orbital 3D image data samples and their corresponding key structural points;
[0010] S2, data preprocessing: preprocessing the collected three-dimensional image data, wherein the preprocessing includes scaling, cropping and grayscale conversion;
[0011] S3, feature extraction: determine the convolutional neural network structure, extract the main features of the three-dimensional image of the eye and orbit, and the main features include edge, texture and shape;
[0012] S4, model training: using the main features of the three-dimensional image of the eye and orbit as input and the corresponding key structural points as output to train the convolutional neural network;
[0013] The teaching annotation module is used to annotate the information of key structural points of the eye and orbit to be taught, and display it in the VR engine.
[0014] Furthermore, the three-dimensional image data of the eye and orbit to be taught is used to create a 3D object in a virtual space using a 2D image through photogrammetry, and a 3D model is created through disordered photos or laser scanning; the model is refined in Maya, and then imported into Zbrush software for model level subdivision and detail production, and low-poly display is performed in UE4 using uvlayout software, and then the high-poly and low-poly are matched and normal baking is performed using xnormal software, and a color position map is baked through Maya, and then the model, normal and color position map are imported through Photoshop and SubstancePainter software to produce the overall map, and finally put into the VR engine.
[0015] Furthermore, the key structural points include: the center of the cornea, the center of the pupil, the fovea centralis, the optic nerve head, the starting point of the superior rectus muscle, the starting point of the inferior rectus muscle, the starting point of the medial rectus muscle, the starting point of the lateral rectus muscle, the starting point of the superior oblique muscle, the starting point of the inferior oblique muscle, the superior orbital margin, the inferior orbital margin, the attachment point of the medial canthal ligament, the attachment point of the lateral canthal ligament, the supraorbital notch or hole, the infraorbital notch or hole, the optic nerve canal opening and the optic chiasm.
[0016] Furthermore, in step S3, the convolutional neural network structure includes a convolutional layer, a pooling layer, a fully connected layer and an activation function.
[0017] Furthermore, in step S4, the training of the convolutional neural network comprises the following steps:
[0018] Parameter initialization: Before starting training, the network parameters are randomly initialized;
[0019] Forward propagation: For each training sample, the data will be forward propagated through the convolutional neural network structure, and the predicted key structural points will be output based on the main features of the 3D images of the eye and orbit;
[0020] Loss calculation: During the forward propagation process, the loss function is calculated based on the network output and the actual output. The loss function is used to measure the difference between the predicted key structural points and the actual key structural points.
[0021] Back propagation: Through the back propagation algorithm, the corresponding gradient is calculated based on the loss function;
[0022] It should be noted that the gradient represents the rate of change of the loss function to the network parameters, and the chain rule can be used to backpropagate and update each parameter.
[0023] Parameter update: Update network parameters using optimization algorithms based on gradient information;
[0024] Repeated iterations: Repeat the steps of forward propagation, loss calculation, backpropagation, and parameter update until a pre-set stopping condition is reached.
[0025] Furthermore, the optimization algorithm is a stochastic gradient descent method.
[0026] Furthermore, the structure point analysis module also performs view control based on a matrix transformation algorithm, and the view control specifically refers to visual control centered on any key structure point of the eye and orbit to be taught.
[0027] Furthermore, the matrix transformation algorithm comprises the following steps:
[0028] Emitting rays to simulate the direction of gaze: the current camera emits rays based on the viewpoint, and the rays represent the direction of the user's gaze;
[0029] Calculate the collision point: The ray collides with the bones or flesh tissue in the anatomical model, and the location of the collision point is determined;
[0030] Establish a reference matrix: Generate a reference matrix through the MakeMatrixByvector module through the direction from the collision point to the camera, the upward direction of the world coordinates, and the direction of the camera shear plane. This matrix is used for subsequent transformation calculations;
[0031] Calculate the movement and rotation increments in screen space: Calculate the displacement and rotation increments on the XY axis for each frame based on the movement of the mouse on the screen;
[0032] Calculate the transformed matrix increments: Use the RotateMatrix node to calculate the rotation matrix based on the rotation increments; use the transformPositionMatrix node to calculate the displacement matrix based on the movement increments;
[0033] Calculate the transformation of the camera position: Calculate the new position of the camera in 3D space by incrementally transforming the matrix and the reference matrix;
[0034] To achieve perspective changes: Use the matrix*matrix node to apply the calculated transformation matrix to the camera's current matrix to achieve real-time update of the view.
[0035] Furthermore, the VR engine is deployed to the local area network and the 5G cloud.
[0036] Beneficial effects of the present invention:
[0037] By collecting large-scale samples of three-dimensional image data of eyes and eye sockets in historical periods, and their corresponding key structural points; pre-processing the collected three-dimensional image data; determining the convolutional neural network structure, extracting the main features of the three-dimensional images of eyes and eye sockets; using the main features of the three-dimensional images of eyes and eye sockets as input and the corresponding key structural points as output, training the convolutional neural network; inputting the three-dimensional image data of eyes and eye sockets to be taught into the convolutional neural network model trained offline, and outputting the key structural points of eyes and eye sockets to be taught. The present invention solves the problem that the existing technology cannot automatically identify and mark the key structural points of different eye and eye socket conditions, resulting in poor teaching results. At the same time, based on the matrix transformation algorithm, it is possible to select any key structural points for observation to meet teaching needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0039] Figure 1 This is a structural diagram of a deep learning-based VR teaching system for eye and orbital anatomy in the present invention. DETAILED DESCRIPTION
[0040] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0041] See also Figure 1 The present application provides a deep learning-based VR teaching system for eye and orbital anatomy, including a data acquisition module, a structure point analysis module and a teaching annotation module, wherein the data acquisition module, the structure point analysis module and the teaching annotation module are communicatively connected, wherein:
[0042] The data acquisition module is used to acquire three-dimensional image data of the eye and orbit to be taught;
[0043] Furthermore, the three-dimensional image data of the eye and orbit to be taught is used to create a 3D object in a virtual space using a 2D image through photogrammetry, and a 3D model is created through disordered photos or laser scanning; the model is refined in Maya, and then imported into Zbrush software for model level subdivision and detail production, and low-poly display is performed in UE4 using uvlayout software, and then the high-poly and low-poly are matched and normal baking is performed using xnormal software, and a color position map is baked through Maya, and then the model, normal and color position map are imported through Photoshop and SubstancePainter software to produce the overall map, and finally put into the VR engine.
[0044] In this embodiment, the eye and orbital 3D image data involves multiple 3D modeling and image processing software. The following is an introduction to each software:
[0045] 1) Maya:
[0046] Function: Maya is a powerful 3D modeling, animation, visual effects and rendering software. It is used to create and edit 3D models, and perform animation and rendering.
[0047] Purpose: In the pipeline, Maya is used for preliminary model creation and refinement, as well as baking color position maps.
[0048] 2) ZBrush:
[0049] Function: ZBrush is a digital sculpting and painting software that focuses on high-detail 3D model production. It allows artists to sculpt complex details.
[0050] Purpose: In the process, ZBrush is used to subdivide and detail the model.
[0051] 3) UVLayout:
[0052] Function: UVLayout is a professional UV unfolding software used to create and edit UV maps of 3D models.
[0053] Purpose: In the pipeline, UVLayout is used to create UV maps for low-poly models for texture mapping in subsequent steps.
[0054] 4) UE4 (Unreal Engine 4):
[0055] Function: UE4 is a powerful game engine and virtual reality engine for creating high-quality games and virtual reality experiences.
[0056] Purpose: In the process, the low-poly model will be imported into UE4 for display and testing.
[0057] 5) xNormal:
[0058] Function: xNormal is a free software for generating normal maps and displacement maps. It can efficiently handle the map baking between high-poly and low-poly.
[0059] Purpose: In the process, xNormal is used to match high-poly and low-poly models and generate normal maps.
[0060] 6) Photoshop:
[0061] Function: Photoshop is a powerful image editing software, widely used in image processing, painting, design and photography post-production.
[0062] Purpose: Photoshop is used to further edit and optimize the textures during the pipeline.
[0063] 7) Substance Painter:
[0064] Function: Substance Painter is a professional 3D painting software that focuses on texture painting and material processing.
[0065] Purpose: In the process, Substance Painter is used to import models, normal maps, and color position maps and perform overall mapping.
[0066] 8) VR Engine:
[0067] Function: VR engine is used to create and experience virtual reality content. The specific engine can be UE4 or other engines that support VR development.
[0068] Purpose: At the final stage of the process, the processed model will be put into the VR engine for display and interaction.
[0069] This process shows the complete workflow of creating a 3D model from a 2D image, optimizing, detailing, mapping, and finally displaying it in virtual reality. Each software plays a specific role in it, and together they complete the production of high-quality 3D models.
[0070] The structure point analysis module is used to input the three-dimensional image data of the eye and orbit to be taught into the convolutional neural network model trained offline, and output the key structure points of the eye and orbit to be taught. The convolutional neural network model trained offline includes the following training steps:
[0071] S1. Data collection: Collect large-scale historical eye and orbital 3D image data samples and their corresponding key structural points;
[0072] In medical imaging and 3D reconstruction, key structural points refer to specific points of anatomical and functional importance. These points are particularly important in 3D imaging data of the eye and orbit, especially in teaching and clinical practice. The following are some common key structural points:
[0073] 1) Eyeball structure, including:
[0074] Corneal center point: located in the center of the cornea, it is a key point on the outside of the eyeball;
[0075] Pupil center: The center of the pupil is an important point inside the eyeball;
[0076] Fovea: The area of the retina where vision is sharpest;
[0077] Optic nerve head: The area where the optic nerve enters the retina.
[0078] 2) Extraocular muscles, including:
[0079] Origin of the superior rectus muscle: The starting point of the superior rectus muscle's attachment to the eyeball;
[0080] Origin of the inferior rectus muscle: The starting point of the inferior rectus muscle's attachment to the eyeball;
[0081] Medial rectus origin: The starting point of the medial rectus muscle's attachment to the eyeball;
[0082] Origin of the lateral rectus muscle: The starting point of the lateral rectus muscle's attachment to the eyeball;
[0083] Origin of the superior oblique muscle: The starting point where the superior oblique muscle attaches to the eyeball;
[0084] Origin of the inferior oblique muscle: The point where the inferior oblique muscle attaches to the eyeball.
[0085] 3) Orbital bone structures, including:
[0086] Supraorbital rim: The bony border above the orbit;
[0087] Infraorbital rim: The bony border below the orbit;
[0088] Medial canthal ligament attachment point: The point where the medial canthal ligament attaches to the medial side of the orbit;
[0089] Lateral canthal ligament attachment point: The point where the lateral canthal ligament attaches to the outside of the orbit;
[0090] Supraorbital notch / foramen: notch or foramen located at the upper rim of the orbit;
[0091] Infraorbital notch / foramen: A notch or foramen located at the lower rim of the orbit.
[0092] 4) Optic nerve and related structures, including:
[0093] Optic canal opening: the opening of the canal through which the optic nerve passes;
[0094] Optic chiasm: The place where the optic nerves cross.
[0095] Depending on the different eye diseases, there are also specific key structural points that need to be marked. For example:
[0096] 1) Glaucoma:
[0097] Optic disc pit: the sunken area of the optic disc, commonly seen in patients with glaucoma; cup-disc ratio: the ratio of the optic cup to the optic disc, an important indicator for the diagnosis of glaucoma.
[0098] 2) Macular degeneration:
[0099] Macula: The center of the macular degeneration lesion;
[0100] Neovascular membrane: An area of new blood vessels caused by macular degeneration.
[0101] 3) Orbital tumors:
[0102] Tumor boundary: The boundary of the tumor needs to be accurately marked for surgical planning.
[0103] Furthermore, the key structural points include: the center of the cornea, the center of the pupil, the fovea centralis, the optic nerve head, the starting point of the superior rectus muscle, the starting point of the inferior rectus muscle, the starting point of the medial rectus muscle, the starting point of the lateral rectus muscle, the starting point of the superior oblique muscle, the starting point of the inferior oblique muscle, the superior orbital margin, the inferior orbital margin, the attachment point of the medial canthal ligament, the attachment point of the lateral canthal ligament, the supraorbital notch or hole, the infraorbital notch or hole, the optic nerve canal opening and the optic chiasm.
[0104] S2, data preprocessing: preprocessing the collected three-dimensional image data, wherein the preprocessing includes scaling, cropping and grayscale conversion;
[0105] S3, feature extraction: determine the convolutional neural network structure, extract the main features of the three-dimensional image of the eye and orbit, and the main features include edge, texture and shape;
[0106] Furthermore, in step S3, the convolutional neural network structure includes a convolutional layer, a pooling layer, a fully connected layer and an activation function.
[0107] In this embodiment, the constructed convolutional neural network structure is generally composed of multiple convolutional layers, pooling layers, fully connected layers and activation functions:
[0108] 1) Convolutional Layer: The convolutional layer is the core component of the convolutional neural network. It extracts features on the input image by sliding a convolution kernel. The convolution kernel is a small matrix that can extract local features on the image through the convolution operation. The convolutional layer can control the number and accuracy of extracted features by setting the number and size of convolution kernels.
[0109] 2) Pooling Layer: The pooling layer is used to reduce the spatial dimension of the convolutional layer output. Common pooling operations include Max Pooling and Average Pooling, which take the maximum value or average value in the neighborhood as the pooling result. Pooling operations help reduce the number of parameters and improve the computational efficiency of the network, while also having a certain degree of translation invariance.
[0110] 3) Fully Connected Layer: The fully connected layer flattens the feature map output by the pooling layer and fully connects it to the previous convolutional layer. The fully connected layer can be understood as a traditional neural network layer, which is usually used to map the high-dimensional features of an image to the target number of dimensions required for classification or regression tasks.
[0111] 4) Activation Function: The activation function introduces nonlinear transformation to increase the network's expressive power. Common activation functions include ReLU (Rectified Linear Unit), sigmoid, and tanh. The activation function is generally placed between the convolutional layer and the fully connected layer to perform nonlinear mapping on the output of each neuron.
[0112] S4, model training: using the main features of the three-dimensional image of the eye and orbit as input and the corresponding key structural points as output to train the convolutional neural network;
[0113] Furthermore, the training of the convolutional neural network comprises the following steps:
[0114] Parameter initialization: Before starting training, the network parameters are randomly initialized;
[0115] Forward propagation: For each training sample, the data will be forward propagated through the convolutional neural network structure, and the predicted key structural points will be output based on the main features of the 3D images of the eye and orbit;
[0116] Loss calculation: During the forward propagation process, the loss function is calculated based on the network output and the actual output. The loss function is used to measure the difference between the predicted key structural points and the actual key structural points.
[0117] In this embodiment, categorical cross entropy is a commonly used loss function in deep learning and machine learning, and is particularly suitable for multi-classification tasks. It evaluates model performance by measuring the difference between the probability distribution predicted by the model and the actual label distribution. Specifically, the categorical cross entropy loss calculates the negative log-likelihood of the actual label (usually one-hot encoding) of each category and the model predicted probability. The smaller the categorical cross entropy loss value, the more accurate the model prediction. It is widely used in various multi-classification problems, such as image classification, text classification, etc. During the training process, the optimization algorithm adjusts the model parameters by minimizing the categorical cross entropy loss, thereby improving the classification accuracy of the model. It is worth noting that the predicted value input to the categorical cross entropy should be a probability distribution, which is usually obtained by converting the softmax function. In addition, in order to avoid numerical instability, when calculating the logarithm, a very small value is usually added to the predicted probability to prevent the occurrence of logarithmic zero values. In this way, categorical cross entropy plays a key role in model training and helps to improve the generalization ability and accuracy of the model.
[0118] Furthermore, the loss function is configured as classification cross entropy.
[0119] Back propagation: Through the back propagation algorithm, the corresponding gradient is calculated based on the loss function;
[0120] It should be noted that the gradient represents the rate of change of the loss function to the network parameters, and the chain rule can be used to backpropagate and update each parameter.
[0121] Parameter update: Update network parameters using optimization algorithms based on gradient information;
[0122] Repeated iterations: Repeat the steps of forward propagation, loss calculation, backpropagation, and parameter update until a pre-set stopping condition is reached.
[0123] Furthermore, the optimization algorithm is a stochastic gradient descent method.
[0124] In this embodiment, Stochastic Gradient Descent (SGD) is an iterative method for optimizing machine learning model parameters. The core idea is to gradually adjust the model parameters so that the objective function (usually the loss function) reaches the minimum value. Unlike batch gradient descent, SGD only uses one or several samples to calculate the gradient in each step, which significantly reduces the computational overhead and speeds up the iteration speed. The specific steps are as follows: first, randomly initialize the parameters, then randomly select a sample or a small batch from the training set, calculate the corresponding gradient, and update the parameters based on the gradient. Repeat this process until the preset number of iterations or convergence conditions are reached. SGD is suitable for large-scale data sets, and due to the noise characteristics it introduces, it helps to jump out of the local optimal solution and obtain better model performance.
[0125] Furthermore, the structure point analysis module also performs view control based on a matrix transformation algorithm, and the view control specifically refers to visual control centered on any key structure point of the eye and orbit to be taught.
[0126] In the present embodiment, a view control mode of rotating the viewing angle with any screen position as the center can be realized based on a matrix transformation algorithm, which is different from the traditional anatomical software that rotates with the center of the screen as the center of the circle. The benefit of such development is that the structure that is focused on is rotated out of the screen due to the operation of rotating the viewing angle. The viewing angle control program is rewritten in the Unreal Engine using the matrix transformation algorithm, so that the camera can be centered on a point (key structure point) at any position in the view, and the camera can rotate freely with a correction function. For example: the orbital bone is displayed in the screen, the mouse is placed at the position of the frame bone tubercle, and the left mouse button is dragged, and the camera will freely rotate the viewing angle 720° with the tubercle as the center. Thus, students can choose any key structure point for observation to meet teaching needs.
[0127] The matrix transformation algorithm is mainly used to calculate the camera's viewing angle change through the interaction between the camera's rays and the 3D model. The following describes in detail the various steps of this algorithm and the functions of related modules:
[0128] Steps in detail:
[0129] 1) Emit rays to simulate the direction of gaze: The current camera emits rays based on the viewpoint, and these rays represent the direction of the user's gaze;
[0130] 2) Calculate the collision point: The ray collides with the bone or flesh tissue in the anatomical model, and the location of the collision point is determined;
[0131] 3) Establish a reference matrix: Use the direction from the collision point to the camera (ray direction), the upward direction of the world coordinates (usually (0,1,0), and the direction of the camera shear plane (defining the direction of the camera plane) to generate a reference matrix through the MakeMatrixByvector module. This matrix is used for subsequent transformation calculations.
[0132] 4) Calculate the movement and rotation increments in screen space: Calculate the displacement and rotation increments on the XY axis for each frame based on the movement of the mouse on the screen;
[0133] 5) Calculate the transformed matrix increments: Use the RotateMatrix node to calculate the rotation matrix based on the rotation increments; use the transformPositionMatrix node to calculate the displacement matrix based on the movement increments;
[0134] 6) Calculate the transformation of the camera position: Calculate the new position of the camera in 3D space by incrementally transforming the matrix and the reference matrix;
[0135] 7) Realize perspective change: Use the matrix*matrix node to apply the calculated transformation matrix to the current matrix of the camera to achieve real-time update of the perspective.
[0136] Module function explanation:
[0137] MakeMatrixByvector: Accepts multiple vector inputs (such as direction vector, up vector, shear plane vector) and generates a reference matrix.
[0138] RotateMatrix: Generates a rotation matrix based on the input rotation axis and angle.
[0139] transformPositionMatrix: Generates a translation matrix based on the input displacement vector.
[0140] matrix*matrix: Multiplies two matrices together, typically used to apply an incremental matrix to a reference matrix.
[0141] The teaching annotation module is used to annotate the information of key structural points of the eye and orbit to be taught, and display it in the VR engine.
[0142] Furthermore, in the teaching annotation module, the VR engine is deployed to the local area network and the 5G cloud.
[0143] In this embodiment, a B / S architecture is adopted, and development tools such as 3DMAX, Maya, and Unity3D are used, combined with 5G technology, SRT video transmission protocol, etc. The system displays the knowledge points of the eye sockets and eyes in detail and in three dimensions. At the same time, the virtual simulation system is deployed to the local area network and the 5G cloud, and the low latency of 5G transmission is used to solve the problem of motion sickness, make the video transmission clearer and without stuttering, and display high-definition VR content on the terminal, getting rid of expensive VR simulation trainers and external devices. Only using a mouse and keyboard, you can learn ophthalmic anatomy knowledge on the PC and Web, which opens up technical support for the promotion of medical virtual simulation systems.
[0144] Beneficial effects of the present invention:
[0145] By collecting large-scale samples of three-dimensional image data of eyes and eye sockets in historical periods, and their corresponding key structural points; pre-processing the collected three-dimensional image data; determining the convolutional neural network structure, extracting the main features of the three-dimensional images of eyes and eye sockets; using the main features of the three-dimensional images of eyes and eye sockets as input and the corresponding key structural points as output, training the convolutional neural network; inputting the three-dimensional image data of eyes and eye sockets to be taught into the convolutional neural network model trained offline, and outputting the key structural points of eyes and eye sockets to be taught. The present invention solves the problem that the existing technology cannot automatically identify and mark the key structural points of different eye and eye socket conditions, resulting in poor teaching results. At the same time, based on the matrix transformation algorithm, it is possible to select any key structural points for observation to meet teaching needs.
[0146] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A deep learning-based VR teaching system for eye and orbital anatomy, characterized by: It includes a data acquisition module, a structure point analysis module and a teaching annotation module, which are connected in communication, wherein: The data acquisition module is used to acquire three-dimensional image data of the eye and orbit to be taught; The structure point analysis module is used to input the three-dimensional image data of the eye and orbit to be taught into the convolutional neural network model trained offline, and output the key structure points of the eye and orbit to be taught. The convolutional neural network model trained offline includes the following training steps: S1. Data collection: Collect large-scale historical eye and orbital 3D image data samples and their corresponding key structural points; S2, data preprocessing: preprocessing the collected three-dimensional image data, wherein the preprocessing includes scaling, cropping and grayscale conversion; S3, feature extraction: determine the convolutional neural network structure, extract the main features of the three-dimensional image of the eye and orbit, and the main features include edge, texture and shape; S4, model training: using the main features of the three-dimensional image of the eye and orbit as input and the corresponding key structural points as output to train the convolutional neural network; The teaching annotation module is used to annotate the information of key structural points of the teaching eye and eye socket, and display it in the VR engine.
2. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: The three-dimensional image data of the eye and orbit to be taught is used to create a 3D object in a virtual space using a 2D image through photogrammetry, and a 3D model is created through disordered photos or laser scanning; the model is refined in Maya, and then imported into Zbrush software for model level subdivision and detail production, and low-poly model display is performed in UE4 using uvlayout software, and then the high-poly model and the low-poly model are matched and normal baking is performed through xnormal software, and a color position map is baked through Maya, and then the model, normal and color position map are imported through Photoshop and SubstancePainter software to produce the overall map, and finally put into the VR engine.
3. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: The key structural points include: the center of the cornea, the center of the pupil, the fovea of the retina, the optic nerve head, the starting point of the superior rectus muscle, the starting point of the inferior rectus muscle, the starting point of the medial rectus muscle, the starting point of the lateral rectus muscle, the starting point of the superior oblique muscle, the starting point of the inferior oblique muscle, the superior orbital margin, the inferior orbital margin, the attachment point of the medial canthal ligament, the attachment point of the lateral canthal ligament, the supraorbital notch or hole, the infraorbital notch or hole, the optic nerve canal opening and the optic chiasm.
4. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: In step S3, the convolutional neural network structure includes a convolutional layer, a pooling layer, a fully connected layer and an activation function.
5. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: In step S4, the training of the convolutional neural network includes the following steps: Parameter initialization: Before starting training, the network parameters are randomly initialized; Forward propagation: For each training sample, the data will be forward propagated through the convolutional neural network structure, and the predicted key structural points will be output based on the main features of the 3D images of the eye and orbit; Loss calculation: During the forward propagation process, the loss function is calculated based on the network output and the actual output. The loss function is used to measure the difference between the predicted key structural points and the actual key structural points. Back propagation: Through the back propagation algorithm, the corresponding gradient is calculated based on the loss function; Parameter update: Update network parameters using optimization algorithms based on gradient information; Repeated iterations: Repeat the steps of forward propagation, loss calculation, backpropagation, and parameter update until a pre-set stopping condition is reached.
6. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 5, characterized in that: The optimization algorithm is stochastic gradient descent.
7. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: The structural point analysis module also performs view control based on a matrix transformation algorithm. The view control specifically refers to visual control centered on any key structural point of the eye and orbit to be taught.
8. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 7, characterized in that: The matrix transformation algorithm comprises the following steps: Emitting rays to simulate the direction of gaze: the current camera emits rays based on the viewpoint, and the rays represent the direction of the user's gaze; Calculate the collision point: The ray collides with the bones or flesh tissue in the anatomical model, and the location of the collision point is determined; Establish a reference matrix: Generate a reference matrix through the MakeMatrixByvector module based on the direction from the collision point to the camera, the upward direction of the world coordinates, and the direction of the camera shear plane. The reference matrix is used for subsequent transformation calculations. Calculate the movement and rotation increments in screen space: Calculate the displacement and rotation increments on the XY axis for each frame based on the movement of the mouse on the screen; Calculate the transformed matrix increments: Use the RotateMatrix node to calculate the rotation matrix based on the rotation increments; use the transformPositionMatrix node to calculate the displacement matrix based on the movement increments; Calculate the transformation of the camera position: Calculate the new position of the camera in 3D space by incrementally transforming the matrix and the reference matrix; To achieve perspective changes: Use the matrix*matrix node to apply the calculated transformation matrix to the camera's current matrix to achieve real-time update of the view.
9. The deep learning-based VR teaching system for eye and orbital anatomy according to claim 1, characterized in that: The VR engine is deployed to the local area network and the 5G cloud.
Citation Information
Patent Citations
Eyeball detection method, device and equipment and storage medium
CN111476151A
Pelvic image key point identification method and system based on neural network
CN115937543A
Eye socket and eye dissection virtual simulation teaching experiment method
CN116935005A
Eye fundus image analysis method and device, electronic equipment and storage medium
CN117635549A
Electronic device for detecting abnormality of extraocular muscle in orbital CT image, method therefor, and method of training 3D variational autoencoder model for detecting abnormality of extraocular muscle in orbital CT image
WO2024143757A1
Cited By
Processing method and device for 3D printing module dissection teaching model of nasal cavity and paranasal sinus
CN119550625A
