Operation process experience method and system based on VR
By constructing a highly realistic three-dimensional surgical scene model and optimizing the sequence of surgical steps based on VR technology, the problem of insufficient patient understanding in the traditional surgical informed consent process is solved, and more efficient informed consent and surgical cooperation are achieved.
Patent Information
- Application Number
- CN202410789743.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the traditional informed consent process for surgery, patients do not have enough understanding of the details of the surgery, leading to doubts and worries. The existing surgical education materials lack flexibility and interactivity, making it difficult to present the surgical process in a panoramic manner, and unable to fully realize informed consent.
Adopt a VR-based surgical process experience method, build a highly realistic three-dimensional surgical scene model through generative adversarial networks, deep convolutional neural networks, reinforcement learning algorithms and computer vision technology, and optimize the sequence of surgical steps by combining historical surgical videos and guidance parameters. , realizing virtual surgical experience and data analysis.
It improves the accuracy and authenticity of the surgical process and enhances the patient's level of informed consent. Through virtual surgical experience and data analysis, it helps patients understand the surgical process more comprehensively, reduce concerns, and improve surgical cooperation.
Smart Images

Figure FT_1 
Figure FT_2
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a VR-based surgical procedure experience method and system. Background Art
[0002] With the continuous advancement of modern medicine, surgical treatment has become an important means of diagnosis and treatment for many diseases. However, faced with the complex surgical methods and highly specialized medical terms, patients often feel overwhelmed. In the traditional informed consent process for surgery, doctors explain the surgical plan to patients through verbal descriptions, picture displays, etc., but this one-way information transmission often fails to meet the patient's need for information. Patients' lack of understanding of the details of the surgery will breed many doubts and concerns, such as surgical risks, pain levels, postoperative recovery, etc., which in turn affects the patient's cooperation and compliance with the surgery.
[0003] Although some hospitals have tried to use multimedia technology to enrich the form and content of surgical education, such as producing surgical animations and three-dimensional demonstrations, there are still many shortcomings. First, these materials are usually pre-made and cannot be adjusted according to the individual differences of patients, lacking flexibility and interactivity. Secondly, the visual demonstration focuses on the local anatomical structure and operation process, making it difficult to present the whole picture of the operation in a panoramic way, and patients cannot experience the surgical scene in person. In addition, the existing surgical education lacks time clues and fails to fully reflect the characteristics and requirements of different stages such as preoperative preparation, intraoperative operation, and postoperative rehabilitation. These limitations have led to patients' understanding of surgery being not comprehensive and in-depth enough, and they are unable to completely dispel their concerns and truly achieve informed consent. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a VR-based surgical procedure experience method and system, which are used to improve the accuracy and authenticity of the VR-based surgical procedure experience.
[0005] The present invention provides a surgical process experience method based on VR, comprising: collecting images of a target operating room to obtain an initial image set, and performing detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; Performing three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; Collecting preset historical surgical videos and surgical guidance parameters, performing process extraction on the historical surgical videos to obtain surgical process data, performing parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and performing data fusion on the surgical process data and the surgical parameter features to obtain fused process data; The fused process data and the three-dimensional model are optimized and arranged by a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; Constructing virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and performing simulation operations on the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; Perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
[0006] In the present invention, the step of collecting images of the target operating room to obtain an initial image set, and performing detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set includes: Capturing images of medical equipment, surgical instruments, environment layout, etc. in the target operating room to obtain an original image data set; Extracting image features according to the original image data set; Inputting the image features into a generator model of a generative adversarial network to generate enhanced image data; Comparing the enhanced image data with the original image data set to obtain a comparison result; According to the comparison result, the parameters of the generator model are optimized, and the image features are input into the optimized generator model for image enhancement to obtain an enhanced image data set; Performing image segmentation on the enhanced image data set to obtain segmented image data; Performing three-dimensional reconstruction on the segmented image data to obtain a three-dimensional point cloud model; Meshing the three-dimensional point cloud model to obtain a mesh model; Texture mapping is performed on the mesh model to obtain a processed image set.
[0007] In the present invention, the step of performing three-dimensional modeling processing on the processed image set by a deep convolutional neural network to obtain a three-dimensional model of the surgical scene includes: Performing data preprocessing on the processed image set to obtain preprocessed image data; Constructing a feature pyramid according to the preprocessed image data; Inputting the feature pyramid into an encoder of a storyteller deep convolutional neural network to obtain encoding features; Generate a three-dimensional voxel grid based on the encoded features through a decoder of a deep convolutional neural network; Refining the three-dimensional voxel grid to obtain a refined three-dimensional voxel grid; Performing voxel-to-vertex conversion on the refined three-dimensional voxel grid to obtain three-dimensional point cloud data; Smoothing the three-dimensional point cloud data to obtain a smoothed point cloud model; Performing surface reconstruction on the smooth point cloud model to obtain a three-dimensional surface mesh model; Performing texture mapping on the three-dimensional surface mesh model and the processed image set to obtain a texture mapping model; The texture mapping model is subjected to lighting rendering to obtain a three-dimensional model of the surgical scene.
[0008] In the present invention, the steps of collecting preset historical surgical videos and surgical guidance parameters, performing process extraction on the historical surgical videos to obtain surgical process data, performing parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and performing data fusion on the surgical process data and the surgical parameter features to obtain fused process data include: Performing video decoding on the historical surgical video to obtain a video frame sequence; Preprocessing the video frame sequence to obtain preprocessed frame data; Inputting the preprocessed frame data into a semantic segmentation model to obtain a semantic segmentation result; Extracting surgical step key frames and their timestamps according to the semantic segmentation results to obtain a surgical step timeline; Generate surgical process data based on the surgical step timeline; Preprocessing the surgical guidance parameters to obtain standardized parameter data; Inputting the normalized parameter data into a feature extraction model to obtain a parameter feature vector; Fusing the surgical procedure data with the parameter feature vector to obtain fused feature data; The fused feature data is input into a time series model to obtain time series feature representation data and the time series feature representation data is used as the fused process data.
[0009] In the present invention, the step of optimizing and arranging the fused process data and the three-dimensional model by a reinforcement learning algorithm to obtain a target surgical process three-dimensional model includes: constructing a reinforcement learning environment, using the three-dimensional model and the fused process data as the environment state; Initialize the reinforcement learning agent and set the reward function; Training the agent to obtain a strategy model; According to the strategy model, sampling the current environment state to obtain an action sequence; Applying the action sequence to the current environment to obtain a new environment state; Calculating a reward value of the action sequence according to a reward function; Optimizing the parameters of the strategy model according to the reward value until the strategy model converges; Apply the converged policy model to the initial environment state to obtain the optimal action sequence; A target surgical procedure three-dimensional model is generated according to the optimal action sequence.
[0010] In the present invention, the steps of constructing virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and performing simulation operations on the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data include: Performing mesh processing on the target surgical procedure three-dimensional model to obtain a mesh model; Construct an interactive hand skeleton model and kinematic solver, mark the mesh vertices of the mesh model for collision detection, and obtain a collision detection mesh; Based on the kinematic solver, generating physical simulation data according to the interaction between the interactive hand skeleton model and the collision detection grid; According to the physical simulation data, the data is applied to the mesh model to obtain a deformable mesh model; Build a virtual reality rendering pipeline based on the deformable mesh model; Integrate into the rendering pipeline through preset interactive UI element models; The user operation data is obtained from the user input device and input into the rendering pipeline. The target surgical procedure three-dimensional model is simulated through the rendering pipeline and the interactive element set to obtain user interaction data and virtual surgical experience data.
[0011] In the present invention, the process analysis of the user interaction data and the virtual surgery experience data to obtain a user experience report step includes: Preprocessing the user interaction data to extract user operation sequence data; Constructing an operation coding model, and encoding the user operation sequence data into an operation code sequence through the operation coding model; Extract features from virtual surgery experience data to obtain visual feature data of the surgery scene; Taking the operation code sequence and the surgical scene visual feature data as input, and inputting them into a process analysis model; In the process analysis model, the operation code sequence is decoded to obtain the operation semantic representation; fusing the operational semantic representation with the visual features of the surgical scene to obtain a fused feature vector; The fused feature vector is input into the process recognition module to identify the surgical operation steps and their sequence; Generate surgical process annotation data based on the identified surgical operation steps and sequence; Compare the surgical procedure annotation data with the pre-set surgical standard procedure to obtain difference data; A user experience report is generated based on the difference data.
[0012] The present invention also provides a VR-based surgical process experience system, comprising: An acquisition module is used to acquire images of a target operating room to obtain an initial image set, and perform detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; A processing module, used for performing three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; An extraction module is used to collect preset historical surgical videos and surgical guidance parameters, perform process extraction on the historical surgical videos to obtain surgical process data, perform parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and perform data fusion on the surgical process data and the surgical parameter features to obtain fused process data; An arrangement module, used for optimizing and arranging the fused process data and the three-dimensional model through a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; A construction module is used to construct virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and simulate the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; The analysis module is used to perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
[0013] In the technical solution provided by the present invention, the initial image set is subjected to detail enhancement processing by generative adversarial network (GAN), which can significantly improve the detail performance of the image and make the three-dimensional model more realistic and detailed. This detail enhancement processing can not only capture the tiny features of the equipment and environment in the operating room, but also ensure the high fidelity of the model, providing a solid foundation for subsequent three-dimensional modeling. Secondly, a deep convolutional neural network (DCNN) is used for three-dimensional modeling processing. Through feature extraction and automatic modeling, the workload and error of manual modeling can be effectively reduced to generate an accurate three-dimensional model of the surgical scene. This process converts the two-dimensional image data into a high-dimensional three-dimensional voxel grid through the collaborative work of the encoder and the decoder, and then through refinement and texture mapping processing, it is ensured that the model is not only accurate in shape, but also has realistic surface texture and lighting effects. The text content of the surgical guide is parsed by natural language processing (NLP) technology, and the standardized surgical step data is generated in combination with the operation steps in the surgical video. This method can automatically convert complex text and video information into structured process data, greatly improving the efficiency and accuracy of surgical process design. At the same time, by optimizing the arrangement of surgical process data through reinforcement learning (RL) algorithms, it is possible to continuously learn and adjust in a large number of simulated surgical scenes to find the best sequence of surgical steps and key points of operation, ensuring that the surgical process is both scientific and reasonable, and efficient and safe. The optimization arrangement process uses the exploration and utilization mechanism of the RL algorithm to continuously adjust the sequence and details of the surgical steps to maximize the success rate of the operation and the efficiency of the operation. The use of computer vision (CV) technology and gesture recognition technology enables high-precision interactive operations between users and virtual surgical scenes. Through handheld devices or gesture recognition devices, users can intuitively perform surgical operations in a VR environment, simulating every step of the actual operation. This interactive method not only improves the user's immersion and participation, but also can record and analyze the user's operation data in real time, providing important data support for training effect evaluation and system optimization. In addition, the system uses big data analysis technology to conduct in-depth analysis of user operation data and generate detailed operation reports and evaluation results. These data analysis results can intuitively display the user's performance in surgical operations, including indicators such as the correctness, efficiency and proficiency of the operation, helping users discover and improve their own operation skills. Through the Adaptive Learning Algorithm, the system can continuously optimize and iterate based on user operation data and feedback. Each optimized and iterated system version is tested through AI-driven automated testing to ensure that its functions and performance continue to meet user needs. This intelligent optimization mechanism not only improves the adaptability and stability of the system, but also continuously improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 This is a flow chart of a surgical procedure experience method based on VR in an embodiment of the present invention; Figure 2 Schematic diagram of a surgical process experience system based on VR in an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0018] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0019] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , Figure 1 is a flow chart of a surgical procedure experience method based on VR according to an embodiment of the present invention, such as Figure 1 As shown, the following steps are included: S101, collecting images of a target operating room to obtain an initial image set, and performing detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; S102, performing three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; S103, collecting preset historical surgical videos and surgical guidance parameters, performing process extraction on the historical surgical videos to obtain surgical process data, performing parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and performing data fusion on the surgical process data and surgical parameter features to obtain fused process data; S104, optimizing and arranging the fused process data and the three-dimensional model through a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; S105, constructing virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and performing simulation operations on the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; S106: Perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
[0020] It should be noted that the target operating room is imaged to obtain an initial image set. This includes using high-resolution cameras to capture comprehensive images of all angles, equipment, instruments and environmental layouts in the operating room. These image data will serve as the basis for subsequent processing, and the initial image set will be processed by the generative adversarial network (GAN) to enhance the details and obtain the processed image set. The generative adversarial network makes the generated images more realistic and delicate through adversarial training of the generator and the discriminator. For example, when capturing images of the operating table, surgical lights and monitors, GAN can enhance the details of these images, making the models of these devices more accurate and detailed in subsequent three-dimensional modeling. Next, the processed image set is processed by the deep convolutional neural network (DCNN) for three-dimensional modeling to obtain a three-dimensional model of the surgical scene. The deep convolutional neural network can extract features from images and convert two-dimensional image data into three-dimensional model data. DCNN uses the hierarchical structure of convolutional layers and pooling layers to gradually extract features from low-level features to high-level features, and then performs comprehensive processing through the fully connected layer to finally generate an accurate three-dimensional model. For example, the operating room model processed by DCNN can not only reflect the size and shape of the operating table, but also accurately display the light source position of the surgical lamp and the screen details of the monitor. After the three-dimensional model is established, it is necessary to collect the preset historical surgical videos and surgical guidance parameters, extract the process of the historical surgical videos, obtain the surgical process data, and extract the parameter features of the surgical guidance parameters to obtain the surgical parameter features. Specifically, the historical surgical videos are first decoded to obtain each frame of the image. Through video preprocessing techniques such as denoising, smoothing and enhancement, high-quality preprocessed frame data is obtained. Subsequently, the preprocessed frame data is processed using a semantic segmentation model to extract the key steps and operation timestamps in the operation, thereby forming a surgical step timeline. These surgical step data will record the start and end time of each key operation to ensure the integrity and accuracy of the surgical process. At the same time, the surgical guidance parameters are preprocessed, the parameter data is normalized, and the parameter feature vectors are generated using the feature extraction model. These feature vectors can fully reflect the key parameters in the operation. Then, the surgical process data and surgical parameter features are fused to obtain fused process data. This step combines the surgical step timeline and parameter feature vector through a timing model to generate a complete surgical process representation. This data fusion can not only improve the coherence of the surgical process, but also enhance the influence of parameter features during the operation. For example, in a complex heart surgery, the fused data can record in detail the specific operations of each step and its corresponding parameters, such as the depth of the chest incision, the position of the sutured heart valve, and the type of suture used. The fused process data and the three-dimensional model are optimized and arranged through the reinforcement learning algorithm to obtain the target surgical process three-dimensional model.The reinforcement learning algorithm plays a key role here. By constructing a reinforcement learning environment, the three-dimensional model and fusion process data are used as the environment state, the agent is initialized, and the reward function is set. The agent continuously operates and adjusts during the training process, optimizes the parameters of the policy model according to the reward value, until the policy model converges, and finally generates the optimal arrangement of surgical steps. For example, through multiple simulations and optimizations, the agent may find that performing certain specific preparatory operations in cardiac surgery can significantly reduce the operation time and improve the success rate, thereby optimizing the entire surgical process. The three-dimensional model of the target surgical process is constructed with virtual reality interactive elements to obtain an interactive element set, and the three-dimensional model of the target surgical process is simulated through the interactive element set to obtain user interaction data and virtual surgical experience data. This process enables users to experience surgery in a virtual environment through computer vision and gesture recognition technology. For example, patients wear VR headsets and experience the surgical process in a virtual operating room through handheld controllers or gesture recognition systems. These interactive elements not only improve the realism of the operation, but also record every operation step and action details of the user. Finally, the user interaction data and virtual surgical experience data are analyzed in the process to obtain a user experience report. Through big data analysis technology, the collected user operation data is preprocessed and feature extracted to generate user operation sequence data and surgical scene visual feature data. The process analysis model comprehensively processes these data, identifies surgical operation steps and their sequence, and generates surgical process annotation data. These annotated data are compared with the preset standard surgical process to find differences and deficiencies in the operation and generate a detailed user experience report.
[0021] By executing the above steps, the initial image set is enhanced by the generative adversarial network (GAN), which can significantly improve the image detail performance and make the three-dimensional model more realistic and detailed. This detail enhancement processing can not only capture the tiny features of the equipment and environment in the operating room, but also ensure the high fidelity of the model, providing a solid foundation for subsequent three-dimensional modeling. Secondly, the deep convolutional neural network (DCNN) is used for three-dimensional modeling processing. Through feature extraction and automatic modeling, the workload and error of manual modeling can be effectively reduced to generate an accurate three-dimensional model of the surgical scene. This process converts the two-dimensional image data into a high-dimensional three-dimensional voxel grid through the collaborative work of the encoder and decoder, and then through refinement and texture mapping, it ensures that the model is not only accurate in shape, but also has realistic surface texture and lighting effects. The text content of the surgical guide is parsed by natural language processing (NLP) technology, and combined with the operation steps in the surgical video, standardized surgical step data is generated. This method can automatically convert complex text and video information into structured process data, greatly improving the efficiency and accuracy of surgical process design. At the same time, by optimizing the arrangement of surgical process data through reinforcement learning (RL) algorithms, it is possible to continuously learn and adjust in a large number of simulated surgical scenes to find the best sequence of surgical steps and key points of operation, ensuring that the surgical process is both scientific and reasonable, and efficient and safe. The optimization arrangement process uses the exploration and utilization mechanism of the RL algorithm to continuously adjust the sequence and details of the surgical steps to maximize the success rate of the operation and the efficiency of the operation. The use of computer vision (CV) technology and gesture recognition technology enables high-precision interactive operations between users and virtual surgical scenes. Through handheld devices or gesture recognition devices, users can intuitively perform surgical operations in a VR environment, simulating every step of the actual operation. This interactive method not only improves the user's immersion and participation, but also can record and analyze the user's operation data in real time, providing important data support for training effect evaluation and system optimization. In addition, the system uses big data analysis technology to conduct in-depth analysis of user operation data and generate detailed operation reports and evaluation results. These data analysis results can intuitively display the user's performance in surgical operations, including indicators such as the correctness, efficiency and proficiency of the operation, helping users discover and improve their own operation skills. Through the Adaptive Learning Algorithm, the system can continuously optimize and iterate based on user operation data and feedback. Each optimized and iterated system version is tested through AI-driven automated testing to ensure that its functions and performance continue to meet user needs. This intelligent optimization mechanism not only improves the adaptability and stability of the system, but also continuously improves the user experience.
[0022] In a specific embodiment, the process of executing step S101 may specifically include the following steps: (1) Capture images of medical equipment, surgical instruments, and environmental layout in the target operating room to obtain an original image dataset; (2) Extract image features based on the original image dataset; (3) Input the image features into the generator model of the generative adversarial network to generate enhanced image data; (4) Compare the enhanced image data with the original image data set to obtain a comparison result; (5) Based on the comparison results, the parameters of the generator model are optimized, and the image features are input into the optimized generator model for image enhancement to obtain an enhanced image dataset; (6) Performing image segmentation on the enhanced image data set to obtain segmented image data; (7) Perform three-dimensional reconstruction on the segmented image data to obtain a three-dimensional point cloud model; (8) Meshing the three-dimensional point cloud model to obtain a mesh model; (9) Texture mapping is performed on the mesh model to obtain a processed image set.
[0023] Specifically, a high-resolution camera is used to capture a comprehensive image of the operating room. This includes collecting images of all important equipment and layouts in the operating room from multiple angles and under different lighting conditions. For example, cameras can be set up in every corner of the operating room to capture the operating table, surgical lights, monitors, lockers, instrument tables, walls, floors and other environmental details one by one to ensure that a comprehensive original image data set is obtained. Next, the original image data set is subjected to image feature extraction. The original images are processed using image processing algorithms, such as convolutional neural networks (CNNs), to extract key features from each image. These features may include the shape, size, position, color of surgical instruments, and the surface texture of the equipment. For example, when processing the image of a surgical lamp, the feature extraction algorithm can capture the curvature of the lampshade, the distribution of the light source, and the reflection effect of the light. In this way, an image feature set containing rich detail information can be obtained. Then, the extracted image features are input into the generator model of the generative adversarial network (GAN) for image enhancement. The generator model generates more detailed and realistic image data by processing image features. The purpose of this step is to use the powerful generation ability of GAN to improve the detail performance of the image, so that the generated enhanced image data is richer in details and realism than the original image data. For example, some blurred areas or parts with poor light reflection in the original image can be processed by the generator model to obtain clearer and more delicate enhanced images. The generated enhanced image data is compared with the original image dataset to obtain the comparison results. By calculating the similarity and difference of the images, the performance and enhancement effect of the generator model can be evaluated. The comparison results can reflect the degree of improvement in the details of the enhanced image compared with the original image, such as the clarity of the detail texture, the sharpness of the edge, and the realism of the lighting effect. According to these comparison results, the parameters of the generator model are optimized. The purpose of optimization is to adjust the weights and biases of the generator model so that it can generate more accurate and detailed image data. The optimized generator model will re-input the image features for further image enhancement processing, and finally obtain the enhanced image dataset. The enhanced image dataset is segmented to obtain segmented image data. Image segmentation is to separate different objects and regions in the image for subsequent processing. For example, a semantic segmentation algorithm can be used to segment different areas in the operating room, such as the operating table, operating light, and instrument table. In this way, each important object in the enhanced image can be processed and analyzed independently to obtain a segmented image data set containing each segmented area. Next, the segmented image data is reconstructed in three dimensions to obtain a three-dimensional point cloud model. Three-dimensional reconstruction is the conversion of two-dimensional image data into point cloud data in three-dimensional space, which represents the three-dimensional position and shape of each object. The segmented image data can be processed using a three-dimensional reconstruction algorithm to generate the corresponding three-dimensional point cloud model.For example, the point cloud model of the operating table will represent the length, width, and height of the table and its specific location in the operating room, and the point cloud model of the operating lamp will represent the curvature of the lampshade and the location of the light source. The three-dimensional point cloud model is meshed to obtain a mesh model. Meshing is to convert point cloud data into a mesh structure composed of vertices and edges for further processing and rendering. Through the meshing algorithm, the points in the point cloud model can be connected into a mesh, making it more structured and coherent. For example, the mesh model of the operating table will be composed of multiple triangular meshes, accurately representing the surface shape and boundaries of the bed. Finally, the mesh model is texture mapped to obtain a processed image set. Texture mapping is to apply the color and detail information of the image to the surface of the mesh model to make it more realistic and visually effective. By mapping the data of the original image or enhanced image to the mesh model, a realistic three-dimensional model can be generated. For example, after texture mapping, the mesh model of the operating table will show the folds of the bed sheet, the texture of the mattress, and the reflective effect of the metal frame, achieving a visual effect close to that of a real operating room.
[0024] In a specific embodiment, the process of executing step S102 may specifically include the following steps: (1) Performing data preprocessing on the processing image set to obtain preprocessed image data; (2) Construct a feature pyramid based on the preprocessed image data; (3) Input the feature pyramid into the encoder of the storyteller deep convolutional neural network to obtain the encoded features; (4) Generate a 3D voxel grid based on the encoded features through a deep convolutional neural network decoder; (5) Refining the three-dimensional voxel grid to obtain a refined three-dimensional voxel grid; (6) Perform voxel-to-vertex conversion on the refined 3D voxel grid to obtain 3D point cloud data; (7) Smoothing the three-dimensional point cloud data to obtain a smooth point cloud model; (8) Reconstruct the surface of the smooth point cloud model to obtain a three-dimensional surface mesh model; (9) Performing texture mapping on the three-dimensional surface mesh model and the processed image set to obtain a texture mapping model; (10) Perform lighting rendering on the texture mapping model to obtain a three-dimensional model of the surgical scene.
[0025] Specifically, a series of standardization and enhancement processes are performed on the processed image set. These processes include denoising, color correction, and contrast adjustment to ensure the consistency and clarity of image quality. For example, in the operating room image, there may be noise and color cast problems caused by insufficient light. Through denoising algorithms and color correction techniques, these problems can be effectively solved to obtain high-quality preprocessed image data. Next, a feature pyramid is constructed based on the preprocessed image data. Feature pyramid is a multi-scale representation method that can better capture various details in the image by extracting image features at different scales. The construction process of the feature pyramid includes multiple downsampling and convolution operations on the preprocessed image data, and each operation generates feature maps of different scales. In this way, features such as edges, textures, and shapes in the image can be captured at different scales. For example, in the image of the surgical lamp, the feature pyramid can capture the overall outline of the lampshade and the fine light source distribution, thereby providing rich feature information for subsequent three-dimensional modeling. The feature pyramid is input into the encoder of the deep convolutional neural network to obtain the encoded features. The encoder processes and compresses the feature pyramid layer by layer through a series of convolutional layers and pooling layers, converting high-dimensional image features into low-dimensional coded features. These coded features retain the key information in the image and remove redundancy and noise. For example, when processing images of surgical instruments, the encoder can extract important features such as the shape, edges, and surface texture of the instrument to provide accurate input data for subsequent decoding and reconstruction. According to the coded features, a three-dimensional voxel grid is generated through the decoder of the deep convolutional neural network. The decoder restores the low-dimensional coded features to a high-dimensional three-dimensional voxel grid through a series of deconvolutional layers and upsampling operations. Voxel grid is a three-dimensional discrete representation method that can accurately represent the shape and structure of a three-dimensional object by dividing the three-dimensional space into a number of voxels (similar to three-dimensional pixels). For example, the voxel grid of the operating table generated by the decoder can accurately represent the length, width, height, and position and direction of the bed in the operating room. The three-dimensional voxel grid is refined to obtain a refined three-dimensional voxel grid. The refinement process increases the resolution of the voxel grid through techniques such as interpolation and resampling, making it more refined and accurate. This step can eliminate gaps and irregularities in the voxel grid and obtain a coherent and smooth three-dimensional structure. For example, the refined voxel grid of the surgical lamp can accurately represent the curvature of the lampshade and the distribution of the light source, ensuring the high fidelity of the model. The refined three-dimensional voxel grid is voxel-vertex converted to obtain three-dimensional point cloud data. Voxel-vertex conversion converts each voxel in the voxel grid into a vertex in three-dimensional space to generate point cloud data. Point cloud data is a sparse three-dimensional representation method that represents the shape and structure of an object through a number of three-dimensional points. For example, the point cloud data of surgical instruments can represent the contours and surface details of the instruments, providing a basis for subsequent smoothing and surface reconstruction.The three-dimensional point cloud data is smoothed to obtain a smooth point cloud model. Smoothing eliminates noise and irregular points in the point cloud data through filtering and interpolation techniques, making the point cloud model smoother and more continuous. This step can improve the visual effect and structural integrity of the point cloud model. For example, through the point cloud model of the operating table after smoothing, the noise points and irregular protrusions on the bed surface can be eliminated, making the surface of the bed more flat and smooth. The smooth point cloud model is surface reconstructed to obtain a three-dimensional surface mesh model. Surface reconstruction converts point cloud data into a continuous three-dimensional surface mesh through fitting and interpolation techniques. This step can generate a three-dimensional model with high precision and high fidelity, accurately representing the shape and structure of the object. For example, through the three-dimensional mesh model of the surgical lamp after surface reconstruction, the curvature of the lampshade and the distribution of the light source can be accurately represented to ensure the realism and accuracy of the model. The three-dimensional surface mesh model is texture mapped with the processed image set to obtain a texture mapping model. Texture mapping is to map the color and detail information of the image to the surface of the three-dimensional model to make it more realistic and visually effective. This step maps the preprocessed image data onto a three-dimensional mesh model, making the model not only accurate in shape but also with realistic surface texture and lighting effects. For example, the three-dimensional model of the operating table after texture mapping can show the wrinkles of the sheets, the texture of the mattress, and the reflective effect of the metal frame, achieving a visual effect close to that of a real operating room. The texture mapping model is illuminated and rendered to obtain a three-dimensional model of the surgical scene. Lighting rendering simulates light sources and shadow effects to make the three-dimensional model more visually realistic and have a sense of depth. This step processes the three-dimensional model through a rendering algorithm to generate a final image with lighting effects. For example, the three-dimensional model of the surgical scene after lighting rendering can accurately represent the light source distribution of the surgical lamp, the shadow of the equipment, and the reflective effect of the operating table, making the three-dimensional model of the entire operating room highly realistic and visually impactful.
[0026] In a specific embodiment, the process of executing step S103 may specifically include the following steps: (1) Decode the historical surgical videos to obtain video frame sequences; (2) Preprocessing the video frame sequence to obtain preprocessed frame data; (3) Input the preprocessed frame data into the semantic segmentation model to obtain the semantic segmentation result; (4) Based on the semantic segmentation results, extract the key frames of the surgical steps and their timestamps to obtain the surgical step timeline; (5) Generate surgical process data based on the surgical step timeline; (6) Preprocessing the surgical guidance parameters to obtain standardized parameter data; (7) Input the normalized parameter data into the feature extraction model to obtain the parameter feature vector; (8) Fusing the surgical process data with the parameter feature vector to obtain fused feature data; The fused feature data is input into the time series model to obtain the time series feature representation data and use the time series feature representation data as the fused process data.
[0027] Specifically, the surgical video is parsed and processed. Surgical videos are usually recorded continuously for a long time and need to be decoded into separate frame sequences, which are the basis for subsequent processing. Through video decoding technology, the video file is decomposed into a series of static images, which are arranged in chronological order to form a video frame sequence. For example, in a heart surgery video, the decoding process converts it into a static image with 25 frames per second, which records every surgical step and operation details in detail. Next, the video frame sequence is preprocessed to obtain preprocessed frame data. This step includes image denoising, color correction, contrast adjustment, and scaling to ensure the quality and consistency of each frame image. The purpose of preprocessing is to eliminate noise and uneven light problems that may occur during video recording and improve the clarity and usability of the image. For example, the preprocessed frame data can more clearly show the cutting action of the scalpel and the operation details of the surgical instrument, thereby providing high-quality input for subsequent semantic segmentation. The preprocessed frame data is input into the semantic segmentation model to obtain the semantic segmentation result. Semantic segmentation is a computer vision technology that can classify and annotate different objects and regions in an image. In surgical videos, the semantic segmentation model can identify various objects in the operating room, such as scalpels, operating tables, doctors' hands, and patient body parts. By segmenting each frame of the image, the pixel-level annotation results of each object can be obtained. For example, in one frame of the image, the semantic segmentation model can annotate the scalpel as red, the operating table as blue, the doctor's hands as green, and the patient's body parts as yellow. According to the semantic segmentation results, the key frames of the surgical steps and their timestamps are extracted to obtain the surgical step timeline. The surgical step key frames refer to the image frames where important operations or events occur during the operation. By analyzing the semantic segmentation results, these key frames and their corresponding timestamps can be identified. For example, in heart surgery, the key frames may include steps such as opening the chest, cutting the heart, and suturing the heart. By recording the timestamp of each key frame, the surgical step timeline is formed. This timeline records in detail the time and order of each important step in the surgical process. Based on the surgical step timeline, surgical process data is generated. Surgical process data is a structured representation of the surgical step timeline, which contains the detailed information and order of each step in the operation. By converting the timeline into process data, the surgical process can be better understood and analyzed. For example, the process data of cardiac surgery can represent the entire process from thoracotomy to suturing, including the start time, end time and operation details of each step. These data provide important references for surgical training and simulation. The surgical guidance parameters are preprocessed to obtain standardized parameter data. The surgical guidance parameters include the instruments, drugs, techniques and operation points used during the operation. By preprocessing these parameters, they can be converted into a standardized data format. The preprocessing steps include cleaning, completion and standardization to ensure the consistency and availability of parameter data.For example, the terms in surgical guidance documents from different sources are unified into standard terms, and the missing information is supplemented to generate standardized parameter data. The standardized parameter data is input into the feature extraction model to obtain the parameter feature vector. The feature extraction model can extract meaningful features from the standardized parameter data to generate the parameter feature vector. The parameter feature vector is a mathematical representation of the surgical guidance parameters, which contains the key information of each parameter during the operation. For example, the parameter feature vector can include the type of surgical instrument, the frequency of use, the complexity of the surgical technique and the key points of operation, etc. These feature vectors provide the basis for subsequent data fusion. The surgical process data is fused with the parameter feature vector to obtain the fused feature data. Data fusion is the process of integrating and uniformly representing data from multiple different sources. By fusing the surgical process data and the parameter feature vector, fused feature data containing richer information can be generated. For example, by fusing the process data of cardiac surgery with the corresponding surgical guidance parameters, a complete surgical process and operation guidance can be obtained, which records the operation details and required parameters of each step in detail. The fused feature data is input into the time series model to obtain the time series feature representation data and use the time series feature representation data as the fused process data. A time series model is a model that can process time series data. By inputting fusion feature data into the time series model, time series feature representation data can be generated. Time series feature representation data is a dynamic representation of surgical procedures and parameters, which can capture the time dependencies and dynamic changes of each step during the operation. For example, the time series feature representation data of cardiac surgery generated by the time series model can describe in detail the time series changes and dynamic changes of parameters of each step during the operation, thereby providing more accurate guidance for surgical simulation and training.
[0028] In a specific embodiment, the process of executing step S104 may specifically include the following steps: (1) Build a reinforcement learning environment, using the 3D model and fused process data as the environment state; (2) Initialize the reinforcement learning agent and set the reward function; (3) Train the agent to obtain a strategy model; (4) According to the strategy model, sample the current environment state and obtain the action sequence; (5) Apply the action sequence to the current environment to obtain a new environment state; (6) Calculate the reward value of the action sequence based on the reward function; (7) Optimize the parameters of the strategy model according to the reward value until the strategy model converges; (8) Apply the converged policy model to the initial environment state to obtain the optimal action sequence; (7) Generate a three-dimensional model of the target surgical process based on the optimal action sequence.
[0029] Specifically, the 3D model of the surgical scene and the fused feature data of the surgical process are integrated to form a complete virtual surgical environment. This includes combining all surgical equipment, instruments and environmental layouts in the 3D model with each step and its parameters in the surgical process data. For example, in a virtual environment for heart surgery, the 3D model shows the operating table, surgical lights and heart model in the operating room, while the fused process data records in detail each key step in the operation and its required parameters and time points. Next, the reinforcement learning agent is initialized and the reward function is set. Reinforcement learning agents refer to algorithmic models that can experiment and learn in a virtual environment, and the reward function is used to evaluate the behavior of the agent in the environment. Initializing the agent includes setting its initial state, action space and learning strategy, and the reward function needs to be designed according to the goals and requirements of the surgical process. For example, in heart surgery, the reward function can be set based on the completion of each step, the accuracy of the operation and the overall efficiency of the operation. The agent receives positive rewards for each correct step completed or improved operational efficiency, and negative rewards for errors or inefficiencies. After the agent is initialized, it is trained so that it can learn and optimize the surgical process in the virtual surgical environment. The training process involves letting the agent repeatedly try different operation sequences in the virtual environment and adjust its strategy based on the reward function feedback. Through trial and error and continuous iteration, the agent gradually learns how to choose the best operation steps and sequence during the operation. For example, in the training of heart surgery, the agent may try different incision and suturing sequences, and gradually find the optimal arrangement of surgical steps by observing the reward value after each operation. During the training process, the agent continuously samples the environment state according to the current policy model to generate action sequences. Each action sequence represents a series of operation steps performed by the agent in the current state, which will have an impact on the virtual environment and cause the environment state to change. For example, the agent may decide to cut a blood vessel first and then suture at a certain stage of heart surgery. These operations will affect the surgical process and the final effect. After the agent applies the action sequence to the current environment, it obtains a new environment state. The new environment state reflects the impact of the agent's operation on the surgical process. This feedback mechanism is the core of reinforcement learning. Through continuous feedback and adjustment, the agent can gradually optimize its operation strategy. According to the reward function, the reward value of the action sequence is calculated. The reward value represents the feedback obtained by the agent after executing a specific sequence of operations. These feedbacks can be positive (for example, successful completion of a key step) or negative (for example, an operation error or inefficiency). According to the reward value, the parameters of the policy model are optimized until the policy model converges. The optimization process adjusts the policy model of the agent so that it can select a better sequence of operations under the same or similar environmental conditions.The agent updates the parameters of the policy model according to the reward value in each training, gradually improving its performance in the virtual surgical environment. When the parameters of the policy model are stable and no longer change significantly, it indicates that the agent has converged, that is, it has reached the optimal policy. The converged policy model is applied to the initial environment state to obtain the optimal action sequence. The optimal action sequence is the optimal operation steps and sequence learned by the agent during the training process. Through these steps, the surgical process can be best simulated and optimized in the virtual environment. For example, in cardiac surgery, the optimal action sequence may include the optimal incision position, suturing sequence, and instruments used. These operation steps can maximize the success rate and efficiency of the operation. According to the optimal action sequence, a target surgical process 3D model is generated. The target surgical process 3D model is the final model generated in the virtual surgical environment based on the agent's optimal policy. It shows the specific operations and processes of each step in the surgical process. For example, the target surgical process 3D model of cardiac surgery not only shows the 3D structure of the operating table and the heart model, but also shows the operation details and parameters of each key step in detail, such as the incision and suturing position, the instruments used, and the time point of the operation.
[0030] In a specific embodiment, the process of executing step S105 may specifically include the following steps: (1) Meshing the target surgical process three-dimensional model to obtain a mesh model; (2) Construct an interactive hand skeleton model and kinematic solver, mark the mesh vertices of the mesh model for collision detection, and obtain a collision detection mesh; (3) Generate physical simulation data based on the interaction between the interactive hand skeleton model and the collision detection grid based on the kinematic solver; (4) Applying the physical simulation data to the mesh model to obtain a deformable mesh model; (5) Building a virtual reality rendering pipeline based on a deformable mesh model; (6) Integrate into the rendering pipeline through the preset interactive UI element model; (7) Obtain user operation data from the user input device and input it into the rendering pipeline. Use the rendering pipeline and the interactive element set to simulate the operation of the target surgical process three-dimensional model to obtain user interaction data and virtual surgical experience data.
[0031] Specifically, the generated 3D model data is meshed. Meshing is the process of converting the data representation of the 3D model into a polygonal mesh consisting of vertices and edges. This representation method is more suitable for subsequent rendering and physical simulation. Specifically, the 3D point cloud data or voxel mesh data is converted into a polygonal mesh, usually a triangular mesh, using the Delaunay triangulation or Marching Cubes algorithm. This step ensures that the geometry of the model can be efficiently represented and processed in computer graphics. For example, in cardiac surgery, the meshing of the operating table, surgical lamp, and heart model will display the surface structure of these objects in the form of a triangular mesh, which is convenient for subsequent rendering and interactive operations. Next, an interactive hand skeleton model and a kinematic solver are constructed, and the mesh vertices of the mesh model are marked for collision detection to obtain a collision detection mesh. The interactive hand skeleton model is constructed based on human anatomy and can simulate the movement of each joint and bone of the hand. The kinematic solver is a mathematical model used to calculate the position and angle of these joints and bones during movement. By marking the vertices of the hand skeleton model and the mesh model for collision detection, it is possible to identify which vertices collide when the hand interacts with various objects in the virtual surgical scene. This is crucial for achieving realistic physical interaction. For example, in the virtual environment of heart surgery, when the doctor's virtual hand touches the heart model, collision detection can accurately identify and record this interaction process, thereby generating corresponding physical feedback data. Based on the kinematic solver, physical simulation data is generated according to the interaction between the interactive hand skeleton model and the collision detection mesh. The physical simulation data includes the mechanical parameters of the collision, the motion trajectory of the hand, and the deformation information of the object. By calculating these data through the physics engine, the real physical interaction between the hand and the virtual surgical object can be simulated. For example, when the virtual hand holds a scalpel and performs a cutting operation, the physical simulation data can accurately reflect the force of the scalpel, the cutting path, and the deformation of the tissue after cutting. This precise physical simulation not only improves the realism of virtual surgery, but also helps doctors better understand and master the details of the surgical operation. According to the physical simulation data, it is applied to the mesh model to obtain a deformable mesh model. The deformable mesh model is a dynamically changing three-dimensional model generated by applying the deformation information in the physical simulation data to the mesh vertices. Whenever the hand interacts with the virtual surgical object, the position and shape of the mesh vertices will be updated in real time according to the physical simulation data. For example, when the virtual hand presses the heart model during heart surgery, the deformable mesh model will show the deformation and displacement of the heart, simulating the tissue response in actual surgery. This dynamically updated model can provide more realistic operational feedback and enhance the immersion and interactivity of surgical training. Based on the deformable mesh model, a virtual reality rendering pipeline is constructed. The rendering pipeline refers to a series of processing processes from the three-dimensional model to the image finally displayed on the VR device.It is necessary to add lighting calculation, shadow processing and texture mapping to the rendering pipeline to ensure the realistic visual effect of the deformable mesh model in the virtual reality environment. For example, through lighting calculation, the effect of surgical light source on the surgical scene can be simulated, so that the model has real light and shadow changes; through shadow processing, occlusion and shadows between objects can be generated to make the scene more deep; through texture mapping, high-resolution texture images can be applied to the surface of the model to make the details of the model richer and more realistic. Through the preset interactive UI element model, it is integrated into the rendering pipeline. Interactive UI elements refer to the interface elements that users interact with the system in the virtual surgical environment, including buttons, menus, indicators, etc. These UI elements need to be seamlessly integrated with the three-dimensional model and physical simulation data so that users can operate and control them conveniently. For example, in the virtual environment of heart surgery, doctors can select different surgical tools through virtual buttons, or view surgical steps and parameter settings through menus. Integrating these interactive UI elements into the rendering pipeline can ensure real-time feedback of user operations and accuracy of system responses. The user operation data is obtained from the user input device and input into the rendering pipeline. The target surgical process three-dimensional model is simulated through the rendering pipeline and the interactive element set to obtain user interaction data and virtual surgical experience data. User input devices include VR headsets, handheld controllers, and motion capture devices, which can collect user operation data in real time and input them into the rendering pipeline. Through the rendering pipeline and interactive element set, the system can update the status and display effects of the three-dimensional model in real time, and provide high-quality operation feedback and visual effects. For example, in cardiac surgery, the doctor wears a VR headset and performs surgical operations through a handheld controller. The system can display the operation path of the surgical tool, the cutting and deformation effects of the tissue in real time. These user interaction data and virtual surgical experience data can not only be used to evaluate the doctor's operating skills, but also can be used to further optimize and improve the surgical training system.
[0032] In a specific embodiment, the process of executing step S106 may specifically include the following steps: (1) Preprocess user interaction data and extract user operation sequence data; (2) Construct an operation encoding model to encode the user operation sequence data into an operation code sequence through the operation encoding model; (3) Extract features from the virtual surgery experience data to obtain visual feature data of the surgical scene; (4) taking the operation code sequence and the visual feature data of the surgical scene as input and feeding it into the process analysis model; (5) In the process analysis model, the operation code sequence is decoded to obtain the operation semantic representation; (6) Fusing the operational semantic representation with the visual features of the surgical scene to obtain a fused feature vector; (7) Input the fused feature vector into the process recognition module to identify the surgical operation steps and their sequence; (8) Generate surgical process annotation data based on the identified surgical operation steps and sequence; (9) Compare the surgical process annotation data with the pre-set surgical standard process to obtain difference data; (10) Generate a user experience report based on the difference data.
[0033] It should be noted that the user's operation records are obtained from the VR device. These records include detailed data such as hand movements, tool use, interactive objects, and operation time. Through data cleaning and filtering technology, noise and irrelevant data can be removed to obtain clear user operation sequence data. For example, in the simulation of heart surgery, the user operation sequence data may include detailed records of doctors using scalpels to cut, sutures to sew, and operating monitors to check the heart condition. Next, an operation encoding model is constructed, and the user operation sequence data is encoded into an operation code sequence through the operation encoding model. The operation encoding model converts each operation into a unique code to form an operation code sequence by learning the mode and characteristics of user operations. For example, the operation of cutting with a scalpel may be encoded as "CUT", the operation of suturing with sutures may be encoded as "SUTURE", and the operation of checking the monitor may be encoded as "CHECK". This encoding method simplifies complex user operations into a series of easy-to-process code sequences, providing a basis for subsequent analysis. Feature extraction is performed on the virtual surgery experience data to obtain the visual feature data of the surgical scene. The visual feature data of the surgical scene includes the visual information in each frame of the image during the operation, such as the position of the surgical instrument, the body part of the patient, the environment of the operating room, etc. These features can be extracted from the virtual surgical experience data through computer vision technology. For example, using a convolutional neural network (CNN), the visual features in each frame of the image can be analyzed to extract detailed information such as the position of the scalpel, the shape of the surgical incision, and the blood flow. These visual features provide important contextual information for understanding user operations and surgical procedures. The operation code sequence and the visual feature data of the surgical scene are used as input and input into the process analysis model. In the process analysis model, the operation code sequence is decoded to obtain the operation semantic representation. The operation semantic representation is a high-level understanding of the user's operation, which describes the purpose and meaning of each operation. For example, the decoded operation semantic representation may indicate that the doctor uses a scalpel to cut at a certain moment to open a new surgical path, or uses sutures to suture to close the surgical incision. This semantic representation helps to better understand the user's operation intention and surgical process. The operation semantic representation is fused with the visual features of the surgical scene to obtain a fused feature vector. The fused feature vector combines the semantic information of the user's operation and the visual information of the surgical scene to form a high-dimensional vector that comprehensively describes the surgical process. For example, the fused feature vector can contain the specific location of the doctor's cutting operation at a certain moment, the shape of the cutting path, the type of surgical instrument, and the lighting and shadow conditions of the surrounding environment. Through this fusion, each operation step in the surgical process can be described and analyzed more accurately. The fused feature vector is input into the process recognition module to identify the surgical operation steps and their sequence.The process identification module analyzes the fused feature vector to identify the start and end time of each operation step in the surgical process, as well as the execution order of these steps. For example, in the process of cardiac surgery, the process identification module may identify the detailed steps and sequence of the doctor first performing thoracotomy, then exposing the heart, then repairing the heart valve, and finally suturing the chest. This recognition process can help to fully understand the specific process and operation details of the operation. Based on the identified surgical operation steps and sequence, the surgical process annotation data is generated. The surgical process annotation data is a structured description of the surgical process, which records in detail the time point, operation content and execution order of each operation step. For example, the surgical process annotation data may contain the complete process from thoracotomy to heart exposure, then valve repair, and finally to chest suturing, with the specific operation and time point of each step. The surgical process annotation data is compared with the pre-set surgical standard process to obtain the difference data. By comparing the actual operation process with the standard process, deviations and inconsistencies in the operation can be identified. For example, if the standard procedure requires valve repair immediately after heart exposure, but the doctor delays this step in actual operation, this difference can be identified through comparison and its cause and impact can be analyzed. Based on the difference data, a user experience report is generated. The user experience report describes in detail the participation in each step of the surgical process. For example, the user experience report may point out that the doctor's delay in a certain operation step leads to a longer operation time.
[0034] The embodiment of the present invention further provides a VR-based surgical process experience system, which specifically includes: The acquisition module 201 is used to acquire images of the target operating room to obtain an initial image set, and perform detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; A processing module 202 is used to perform three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; The extraction module 203 is used to collect preset historical surgical videos and surgical guidance parameters, perform process extraction on the historical surgical videos to obtain surgical process data, perform parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and perform data fusion on the surgical process data and the surgical parameter features to obtain fused process data; An arrangement module 204 is used to optimize and arrange the fused process data and the three-dimensional model through a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; A construction module 205 is used to construct virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and simulate the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; The analysis module 206 is used to perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
[0035] Through the collaborative work of the above modules, the initial image set is enhanced by the generative adversarial network (GAN), which can significantly improve the image detail performance and make the three-dimensional model more realistic and detailed. This detail enhancement processing can not only capture the tiny features of the equipment and environment in the operating room, but also ensure the high fidelity of the model, providing a solid foundation for subsequent three-dimensional modeling. Secondly, the deep convolutional neural network (DCNN) is used for three-dimensional modeling processing. Through feature extraction and automatic modeling, the workload and error of manual modeling can be effectively reduced to generate an accurate three-dimensional model of the surgical scene. This process converts the two-dimensional image data into a high-dimensional three-dimensional voxel grid through the collaborative work of the encoder and decoder, and then through refinement and texture mapping, it ensures that the model is not only accurate in shape, but also has realistic surface texture and lighting effects. The text content of the surgical guide is parsed by natural language processing (NLP) technology, and combined with the operation steps in the surgical video, standardized surgical step data is generated. This method can automatically convert complex text and video information into structured process data, greatly improving the efficiency and accuracy of surgical process design. At the same time, by optimizing the arrangement of surgical process data through reinforcement learning (RL) algorithms, it is possible to continuously learn and adjust in a large number of simulated surgical scenes to find the best sequence of surgical steps and key points of operation, ensuring that the surgical process is both scientific and reasonable, and efficient and safe. The optimization arrangement process uses the exploration and utilization mechanism of the RL algorithm to continuously adjust the sequence and details of the surgical steps to maximize the success rate of the operation and the efficiency of the operation. The use of computer vision (CV) technology and gesture recognition technology enables high-precision interactive operations between users and virtual surgical scenes. Through handheld devices or gesture recognition devices, users can intuitively perform surgical operations in a VR environment, simulating every step of the actual operation. This interactive method not only improves the user's immersion and participation, but also can record and analyze the user's operation data in real time, providing important data support for training effect evaluation and system optimization. In addition, the system uses big data analysis technology to conduct in-depth analysis of user operation data and generate detailed operation reports and evaluation results. These data analysis results can intuitively display the user's performance in surgical operations, including indicators such as the correctness, efficiency and proficiency of the operation, helping users discover and improve their own operation skills. Through the Adaptive Learning Algorithm, the system can continuously optimize and iterate based on user operation data and feedback. Each optimized and iterated system version is tested through AI-driven automated testing to ensure that its functions and performance continue to meet user needs. This intelligent optimization mechanism not only improves the adaptability and stability of the system, but also continuously improves the user experience.
[0036] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A surgical process experience method based on VR, It is characterized in that include: Capturing images of a target operating room to obtain an initial image set, and performing detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; Performing three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; Collecting preset historical surgical videos and surgical guidance parameters, performing process extraction on the historical surgical videos to obtain surgical process data, performing parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and performing data fusion on the surgical process data and the surgical parameter features to obtain fused process data; The fused process data and the three-dimensional model are optimized and arranged by a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; Constructing virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and performing simulation operations on the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; Perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
2. The surgical procedure experience method based on VR according to claim 1, It is characterized in that The step of collecting images of the target operating room to obtain an initial image set, and performing detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set comprises: Capturing images of medical equipment, surgical instruments, environment layout, etc. in the target operating room to obtain an original image data set; Extracting image features according to the original image data set; Inputting the image features into a generator model of a generative adversarial network to generate enhanced image data; Comparing the enhanced image data with the original image data set to obtain a comparison result; According to the comparison result, the parameters of the generator model are optimized, and the image features are input into the optimized generator model for image enhancement to obtain an enhanced image data set; Performing image segmentation on the enhanced image data set to obtain segmented image data; Performing three-dimensional reconstruction on the segmented image data to obtain a three-dimensional point cloud model; Meshing the three-dimensional point cloud model to obtain a mesh model; Texture mapping is performed on the mesh model to obtain a processed image set.
3. The surgical procedure experience method based on VR according to claim 1, It is characterized in that The step of performing three-dimensional modeling processing on the processed image set by a deep convolutional neural network to obtain a three-dimensional model of the surgical scene includes: Performing data preprocessing on the processed image set to obtain preprocessed image data; Constructing a feature pyramid according to the preprocessed image data; Inputting the feature pyramid into an encoder of a storyteller deep convolutional neural network to obtain encoding features; Generate a three-dimensional voxel grid based on the encoded features through a decoder of a deep convolutional neural network; Refining the three-dimensional voxel grid to obtain a refined three-dimensional voxel grid; Performing voxel-to-vertex conversion on the refined three-dimensional voxel grid to obtain three-dimensional point cloud data; Smoothing the three-dimensional point cloud data to obtain a smoothed point cloud model; Performing surface reconstruction on the smooth point cloud model to obtain a three-dimensional surface mesh model; Performing texture mapping on the three-dimensional surface mesh model and the processed image set to obtain a texture mapping model; The texture mapping model is subjected to lighting rendering to obtain a three-dimensional model of the surgical scene.
4. The surgical procedure experience method based on VR according to claim 1, It is characterized in that The steps of collecting preset historical surgical videos and surgical guidance parameters, extracting the process of the historical surgical videos to obtain surgical process data, extracting parameter features of the surgical guidance parameters to obtain surgical parameter features, and fusing the surgical process data and the surgical parameter features to obtain fused process data include: Performing video decoding on the historical surgical video to obtain a video frame sequence; Preprocessing the video frame sequence to obtain preprocessed frame data; Inputting the preprocessed frame data into a semantic segmentation model to obtain a semantic segmentation result; Extracting surgical step key frames and their timestamps according to the semantic segmentation results to obtain a surgical step timeline; Generate surgical process data based on the surgical step timeline; Preprocessing the surgical guidance parameters to obtain standardized parameter data; Inputting the normalized parameter data into a feature extraction model to obtain a parameter feature vector; Fusing the surgical procedure data with the parameter feature vector to obtain fused feature data; The fused feature data is input into a time series model to obtain time series feature representation data and the time series feature representation data is used as the fused process data.
5. The surgical procedure experience method based on VR according to claim 1, It is characterized in that The step of optimizing and arranging the fused process data and the three-dimensional model by using a reinforcement learning algorithm to obtain a target surgical process three-dimensional model includes: constructing a reinforcement learning environment, using the three-dimensional model and the fused process data as the environment state; Initialize the reinforcement learning agent and set the reward function; Training the agent to obtain a strategy model; According to the strategy model, sampling the current environment state to obtain an action sequence; Applying the action sequence to the current environment to obtain a new environment state; Calculating a reward value of the action sequence according to a reward function; Optimizing the parameters of the strategy model according to the reward value until the strategy model converges; Apply the converged policy model to the initial environment state to obtain the optimal action sequence; A target surgical procedure three-dimensional model is generated according to the optimal action sequence.
6. The surgical procedure experience method based on VR according to claim 1, It is characterized in that The step of constructing virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and performing simulation operations on the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data includes: Performing mesh processing on the target surgical procedure three-dimensional model to obtain a mesh model; Construct an interactive hand skeleton model and kinematic solver, mark the mesh vertices of the mesh model for collision detection, and obtain a collision detection mesh; Based on the kinematic solver, generating physical simulation data according to the interaction between the interactive hand skeleton model and the collision detection grid; According to the physical simulation data, the data is applied to the mesh model to obtain a deformable mesh model; Build a virtual reality rendering pipeline based on the deformable mesh model; Integrate into the rendering pipeline through preset interactive UI element models; The user operation data is obtained from the user input device and input into the rendering pipeline. The target surgical procedure three-dimensional model is simulated through the rendering pipeline and the interactive element set to obtain user interaction data and virtual surgical experience data.
7. The VR-based surgical procedure experience method according to claim 6, It is characterized in that The step of performing process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report includes: Preprocessing the user interaction data to extract user operation sequence data; Constructing an operation coding model, and encoding the user operation sequence data into an operation code sequence through the operation coding model; Extract features from virtual surgery experience data to obtain visual feature data of the surgery scene; Taking the operation code sequence and the surgical scene visual feature data as input, and inputting them into a process analysis model; In the process analysis model, the operation code sequence is decoded to obtain the operation semantic representation; fusing the operational semantic representation with the visual features of the surgical scene to obtain a fused feature vector; The fused feature vector is input into the process recognition module to identify the surgical operation steps and their sequence; Generate surgical process annotation data based on the identified surgical operation steps and sequence; Compare the surgical procedure annotation data with the pre-set surgical standard procedure to obtain difference data; A user experience report is generated based on the difference data.
8. A VR-based surgical process experience system, used to execute the VR-based surgical process experience method according to any one of claims 1 to 7, It is characterized in that include: An acquisition module is used to acquire images of a target operating room to obtain an initial image set, and perform detail enhancement processing on the initial image set through a generative adversarial network to obtain a processed image set; A processing module, used for performing three-dimensional modeling processing on the processed image set through a deep convolutional neural network to obtain a three-dimensional model of the surgical scene; An extraction module is used to collect preset historical surgical videos and surgical guidance parameters, perform process extraction on the historical surgical videos to obtain surgical process data, perform parameter feature extraction on the surgical guidance parameters to obtain surgical parameter features, and perform data fusion on the surgical process data and the surgical parameter features to obtain fused process data; An arrangement module, used for optimizing and arranging the fused process data and the three-dimensional model through a reinforcement learning algorithm to obtain a target surgical process three-dimensional model; A construction module is used to construct virtual reality interactive elements for the target surgical procedure three-dimensional model to obtain an interactive element set, and simulate the target surgical procedure three-dimensional model through the interactive element set to obtain user interaction data and virtual surgical experience data; The analysis module is used to perform process analysis on the user interaction data and the virtual surgery experience data to obtain a user experience report.
Citation Information
Cited By
VR-based perioperative period virtual experience method and system
CN120260828A
