A modeling method for interactive model of bleeding and suction in virtual surgery

By introducing blood aspiration and adsorption models in virtual surgery, the interactive behavior and blood biological characteristics during the bleeding process are simulated, and the problem of insufficient bleeding simulation in the prior art is solved, improving the authenticity and visual effect of bleeding.

CN114220547BActive Publication Date: 2024-11-26NANCHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111408469.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-11-26
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

Existing virtual surgery blood simulation lacks effective simulation of bleeding and hemostasis interaction processes, and it is difficult to accurately simulate the biological properties of blood, such as coagulation, discoloration and adsorption properties.

Method used

The blood suction model and soft tissue adsorption model are introduced, and the interactive behavior during the bleeding process is simulated by randomly generating bleeding particles and applying suction and adsorption force, and blood color and transparency are calculated based on the bleeding time and amount.

Benefits of technology

The authenticity and visual effect of the interactive process of bleeding in virtual surgery is improved, and the training effect of surgeons in handling bleeding is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114220547B_ABST
    Figure CN114220547B_ABST
Patent Text Reader

Abstract

The present invention discloses a modeling method for an interactive model of bleeding and suction in a virtual surgery, and the method realizes increasing the authenticity of bleeding simulation in the virtual surgery. The method comprises: first, generating particles and calculating the forces on the particles; then determining the positions of all particles, deleting particles falling within the suction range (0-r) of the aspirator, applying a suction force to particles falling within the suction influence range (r-R), fixing the positions of particles within the soft tissue adsorption range (0-ε), and applying an adsorption force to particles within the adsorption influence range (ε-σ); finally, calculating the RGB value of the blood color according to time, and calculating the transparency according to the amount of bleeding, so as to render bleeding. The modeling method for an interactive model of bleeding and suction in a virtual surgery provided by the present invention increases the simulation of the interactive process of handling bleeding during the operation by introducing the suction model; and realizes the adsorption and color change of blood by studying the biological characteristics of blood, thereby improving the visual effect of bleeding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of virtual surgery in virtual reality, and in particular relates to a modeling method of a bleeding and suction interaction model in virtual surgery. Background Art

[0002] Virtual reality (VR) is an interdisciplinary subject that integrates simulation technology, multimedia technology, sensor technology and other technologies. VR technology provides users with multiple senses such as hearing, touch and smell in addition to vision through a virtual world created by computers. Users use shaking heads, blinking, gestures or other behaviors as input, which are processed by the computer after recognition and responded in time, and then fed back to the user's five senses, giving the user a sense of immersion as real as reality. Virtual surgery is an important role of virtual reality technology in medical education. Before performing surgery on patients, surgeons can use virtual surgery systems to complete the rehearsal of various situations and operations in real surgical scenes to improve their proficiency in surgical operations, thereby effectively reducing surgical risks and increasing the success rate of surgery. Compared with the traditional surgical training method of animal corpses, virtual surgery provides trainee surgeons with a reusable surgical training platform. This greatly reduces the resources spent by hospitals on training trainee doctors. The research on virtual surgery has become a cutting-edge topic around the world, and its main areas include deformation, cutting, bleeding and so on of soft tissues. Bleeding is an inevitable phenomenon during surgery, which not only directly affects the surgeon's medical judgment and surgical operation, but also brings the risk of excessive bleeding to the patient. Therefore, bleeding simulation is an important component of the virtual surgery platform, which is extremely important for training surgeons to deal with bleeding.

[0003] The Navier-Stokes (NS) equations describe the physical properties of fluids in the form of mathematical equations and are used in many production areas. Most of the physical properties of blood conform to this equation. The SPH method based on Lagrangian particles can ignore the mass conservation equation and convection terms, thereby greatly reducing the computational complexity of solving the NS equations. Therefore, it is used by many researchers to simulate other fluids such as blood.

[0004] Although the existing research on bleeding simulation has achieved good results, there are still some shortcomings. Most of the research on bleeding simulation only focuses on improving the visual effect of blood, but rarely deals with the interactive process simulation of bleeding or hemostasis. In addition, the simple NS equation cannot well simulate the biological characteristics of blood, such as blood coagulation, color change, adsorption characteristics, etc. Summary of the invention

[0005] In view of the deficiencies and difficulties in the prior art, the present invention aims to provide a modeling method for the interactive model of bleeding and suction in virtual surgery. One of the purposes of the present invention is to increase the simulation of the interactive process of dealing with bleeding during surgery by introducing a blood suction model. The second purpose is to achieve the adsorption effect of soft tissue on blood by introducing a particle adsorption model, thereby improving the realism of the simulation of bleeding in the interactive process of suction. The third purpose is to propose a method for calculating blood color based on bleeding time through the study of the biological characteristics of blood, which solves the problem of blood discoloration during a long surgical process; a method for calculating blood transparency based on the amount of bleeding is proposed, which improves the authenticity of bleeding simulation.

[0006] The present invention is achieved through the following technical solutions:

[0007] A method for modeling a bleeding and suction interaction model in a virtual surgery comprises the following steps:

[0008] Step 1: In each time period, a certain number of bleeding particles are randomly generated, and the initial positions of the particles are evenly distributed in the bleeding point area in a circular or elliptical manner, and then the force on the particles is calculated;

[0009] Step 2: The suction model is introduced to determine the positions of all bleeding particles one by one; if particle i is within the suction range r of the aspirator, the particle i is marked as a deleted particle; otherwise, if particle i is within the suction influence range r~R, a suction force is applied to it; otherwise, no additional processing is performed on it;

[0010] Step 3: The adsorption model is introduced to determine the positions of all bleeding particles one by one; if particle i is within the adsorption range of soft tissue, the particle i is marked as an adsorbed particle; otherwise, if particle i is within the adsorption influence range of soft tissue, an adsorption force is applied to particle i; otherwise, no additional processing is performed on it;

[0011] Step 4: Calculate the RGB value corresponding to the blood according to the bleeding time, and calculate the transparency of the blood according to the amount of bleeding, so as to render the bleeding.

[0012] Preferably, the initial position of the particle in step 1 is:

[0013]

[0014] r i =Rand(0,L), θ i =Rand(0,2π)

[0015] In the formula, (x i ,y i , zi ) is the position coordinate of particle i, r i is a random number in the range 0 to L, where L is a constant. is a random number in the range of 0 to π, θ i is a random number in the range of 0 to 2, η and μ are both scaling factors, and (a, b, c) are the coordinates of the bleeding point.

[0016] Preferably, the suction force applied to particle i in step 2 is:

[0017] f i suck =ω(Rd i ) n (r s -r i )d i =|r s -r i |

[0018] In the formula, ω is a constant, which is 1; R is the radius of the suction influence area, which is twice r; d i is the distance between the particle and the aspirator tip, r i is the position coordinate of particle i, r s is the position coordinate of the aspirator proxy point, n is the order, and its value range is [1, 3].

[0019] Preferably, step three further comprises: if the number of particles adsorbed by the soft tissue reaches saturation, no more particles are adsorbed;

[0020] The method for judging whether the soft tissue area corresponding to particle i has reached the saturation state is as follows: the bleeding area is divided into many small squares of equal size, and then the number of adsorbed particles in each square is counted. If its value reaches a given threshold, saturation is reached.

[0021] Preferably, the calculation formula of the adsorption force in step 3 is:

[0022]

[0023] Where, Dis i is the vertical distance between particle i and the soft tissue surface; k m It is a material parameter, which represents the adsorption strength of soft tissue. The larger the value, the greater the adsorption strength. The value of 0 means that the material has no adsorption characteristics. is the normal vector of the soft tissue surface corresponding to particle i; ε is the threshold for determining whether the particle is in the adsorption range, which is 1.5 times the particle radius; σ is the threshold for determining whether the particle is in the adsorption influence range, which is 15 times the particle radius.

[0024] Preferably, the RGB value corresponding to the blood in step 4 is:

[0025]

[0026] In the formula, (C R , C G , C B ) is the RGB value corresponding to the blood color at time t, (C R0 , C G0 , C B0 ) is the RGB value corresponding to the blood color at the initial time t=t0, Control C R , C G , C B The constants of the rate of change of the three component values, T0 is the temperature of the blood at the initial moment, H is the room temperature, and α is the temperature drop coefficient in Newton's law of cooling;

[0027] The transparency values ​​of blood are:

[0028]

[0029]

[0030] In the formula, Alpha i,j Is the grid cell grid i,j The transparency of num i,j For the grid unit grid i,j The number of particles in ; is greater than num i,j It is a constant parameter, generally set to the number of particles when the transparency reaches the maximum value; τ is the lower limit of transparency, and φ is the exponent that controls the rate of change of transparency.

[0031] Compared with the prior art, the modeling method of the interactive model of bleeding and suction in virtual surgery provided by the present invention increases the simulation of the interactive process of handling bleeding during surgery by introducing the suction model; realizes the adsorption effect of blood on the soft tissue surface during the interactive process of blood suction by introducing the adsorption model; realizes the color change simulation of blood during surgery through the study of the biological characteristics of blood, and improves the visual effect of bleeding. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 Schematic diagram of the suction model described in the present invention.

[0033] Figure 2 Schematic diagram of the adsorption model described in the present invention.

[0034] Figure 3This is a comparison chart of the blood suction effect without using the adsorption model described in the present invention and with using this model.

[0035] Figure 4 The figure is a comparison chart of blood transparency effects using the method for calculating blood transparency described in the present invention.

[0036] Figure 5 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0037] The present invention is further described in detail below in conjunction with the accompanying drawings so that those skilled in the art can implement the invention with reference to the description.

[0038] The present invention provides a modeling method for the interactive model of bleeding and suction in virtual surgery, which can increase the simulation of the interactive process of bleeding treatment in the virtual surgery process and improve the authenticity of the bleeding simulation in the virtual surgery. Figure 5 As shown, specifically including:

[0039] First, in each time step TimeStep, a certain number of bleeding particles are randomly generated, and the initial positions of the particles are evenly distributed around the bleeding point in a circular (or elliptical) shape to simulate the actual diffusion form of blood. The number of particles is artificially set according to the bleeding situation. In the present invention, 50 particles are generated in each time step.

[0040] Among them, the initial position of particle i is:

[0041]

[0042] r i =Rand(0,L), θ i =Rand(0,2π)

[0043] In the formula, (x i ,y i , z i ) is the position coordinate of particle i, r i is a random number in the range 0 to L, where L is a constant. is a random number in the range of 0 to i is a random number in the range of 0 to 2π, η and μ are scaling factors, and (a, b, c) are the coordinates of the bleeding point. It is worth noting that the value of the random number is different each time.

[0044] In this embodiment, L is 1, η is 1, and μ is 0.3.

[0045] Afterwards, the pressure, viscosity and external forces of all particles are calculated according to the NS equations.

[0046] Afterwards, the positions of all bleeding particles are determined one by one. Figure 1 As shown in the figure, if particle i is within the suction range of the surgical aspirator (0-r), that is, the distance between particle i and the tip of the aspirator is less than r, the particle i is marked as a deleted particle; if particle i is within the suction influence range (r-R), that is, the distance between particle i and the tip of the aspirator is greater than r and less than R, a suction force is applied to it. If the particle is neither within the suction range nor within the suction influence range, no additional processing is performed on it. For particles marked as deleted, the force will no longer be calculated, the velocity and position will no longer be updated, and they will no longer be rendered after the next time step.

[0047] In this embodiment, the radius r of the suction range is set to 1, and the suction influence range R is set to 2.

[0048] Among them, the suction force on particle i is:

[0049] f i suck =ω(Rd i ) n (r s -r i )d i =|r s -r i |

[0050] In the formula, ω is a constant parameter that controls the suction force, which is generally taken as 1; R is the radius of the suction influence area, which is generally taken as twice r; d i is the distance between the particle and the aspirator tip, r i is the position coordinate of particle i, r s is the position coordinate of the aspirator proxy point, n is the order, and the value range is generally [1, 3].

[0051] Afterwards, the positions of all bleeding particles are determined one by one. Figure 2 As shown in the figure, if particle i is within the adsorption range ε ​​of the soft tissue and the area where the particle is located has not reached adsorption saturation, the particle i is marked as an adsorbed particle; if particle i is within the adsorption influence range ε~σ, an adsorption force is applied to particle i; if the particle is neither within the adsorption range of the soft tissue nor within the adsorption influence range of the soft tissue, no additional processing is performed on it. It is worth noting that after adsorption, the particle cannot be marked as a deleted particle, and its force, velocity, position and other information do not need to be calculated and updated, but it needs to be rendered.

[0052] The method for judging whether the soft tissue area at particle i has reached adsorption saturation is:

[0053] The bleeding area is divided into many small squares of equal size, and the number of adsorbed particles in each square is counted. If its value reaches a given threshold, saturation is reached.

[0054] In this embodiment, the side length of each small square is set to 0.15, and the adsorption threshold is set to 2.

[0055] The calculation formula of adsorption force is:

[0056]

[0057] Where, Dis i is the vertical distance between particle i and the soft tissue surface; k m It is a material parameter, which represents the adsorption strength of soft tissue. The larger the value, the greater the adsorption strength. The value of 0 means that the material has no adsorption characteristics. is the normal vector of the soft tissue surface corresponding to particle i; ε is the threshold for determining whether the particle is in the adsorption range, which is generally about 1.5 times the particle radius; σ is the threshold for determining whether the particle is in the adsorption influence range, which is generally about 15 times the particle radius.

[0058] In this embodiment, k is taken m is 4, ε is 0.2, and σ is 2.

[0059] Afterwards, the RGB value corresponding to the blood color is calculated according to the bleeding time.

[0060] The RGB values ​​corresponding to the blood color are:

[0061]

[0062] In the formula, (C R , C G , C B ) is the RGB value corresponding to the blood color at time t, (C R0 , C G0 , C B0 ) is the RGB value corresponding to the blood color at the initial time t=t0, Control C R , C G , C B The constants of the rate of change of the three component values, T0 is the temperature of the blood at the initial moment, H is the room temperature, and α is the temperature drop coefficient in Newton's cooling law.

[0063] In this embodiment, (C R0 , C G0 , C B0 ) is (159, 10, 7), The values ​​of are 60, 2, 2, T0 is 38.5 degrees Celsius, H is 25 degrees Celsius, t0=0, and the value of α is 0.15.

[0064] After that, we divide the bleeding area into many grid cells of equal size and calculate the transparency of the blood according to the number of particles in the grid cell in order to render the bleeding.

[0065] The transparency value of blood is:

[0066]

[0067]

[0068] Where Alpha i,j Is the grid cell grid i,j The transparency of num i,j For the grid unit grid i,j The number of particles in is greater than num i,j It is a constant parameter, generally set to the number of particles when the transparency reaches the maximum value, τ is the lower limit of transparency, and φ is the exponent that controls the rate of change of transparency.

[0069] In this embodiment, generally The value of is 5 to 10, the value of τ is 0.03, and the value of φ is 1 / 2 or 1 / 3.

[0070] Then, the bleeding and aspiration model was established using the method provided above.

[0071] The modeling method of the interaction model of bleeding and suction in virtual surgery provided by the present invention is adopted, and the suction model and adsorption model, as well as the color change process of blood are introduced. The blood suction effect of the adsorption model described in the present invention is compared with that of the adsorption model described in the present invention. Figure 3 Using the method for calculating blood transparency of the present invention, the blood transparency effect is compared when the number of bleeding particles is 3000, 6000 and 9000 respectively. Figure 4 As shown. Figure 3 It can be seen that the method provided by the present invention introduces the suction model and the adsorption model, increases the interactive process simulation of bleeding during surgery, and realizes the adsorption characteristics of blood; Figure 4 It can be seen that the amount of bleeding directly affects the transparency of the blood. The more particles there are, the lower the transparency, which can well reflect the depth information of the blood.

[0072] By adopting the modeling method of the interactive model of bleeding and suction in virtual surgery provided by the present invention, the interactive process simulation of bleeding treatment during surgery is increased by introducing the suction model; through the study of the biological characteristics of blood, the adsorption characteristics and color change simulation of blood are realized, and the visual effect of bleeding is improved.

[0073] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the implementation modes, and they can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the equivalent scope, the present invention is not limited to the specific details and the illustrations described herein.

Claims

1. A method for modeling a bleeding and suction interaction model in a virtual surgery, characterized in that: The modeling method comprises the following steps: Step 1: In each time period, a certain number of bleeding particles are randomly generated, and the initial positions of the bleeding particles are evenly distributed in the position area of ​​the bleeding point in a circular or elliptical manner, and then the forces on the bleeding particles are calculated; Step 2: The suction model is introduced to determine the positions of all bleeding particles one by one; if the bleeding particle i is within the suction influence range r of the aspirator, the bleeding particle i is marked as a deleted bleeding particle; otherwise, if the bleeding particle i is within the suction influence range r~R, a suction force is applied to it; otherwise, no additional processing is performed on it; Step 3: The adsorption model is introduced to determine the positions of all bleeding particles one by one; if the bleeding particle i is within the adsorption range of the soft tissue, the bleeding particle i is marked as an adsorbed bleeding particle; otherwise, if the bleeding particle i is within the adsorption influence range of the soft tissue, an adsorption force is applied to the bleeding particle i; otherwise, no additional processing is performed on it; Step 4: Calculate the RGB value corresponding to the blood according to the bleeding time, and calculate the transparency of the blood according to the amount of bleeding, so as to render the bleeding.

2. The method for modeling a bleeding and suction interaction model in a virtual surgery according to claim 1, characterized in that: The initial position of the bleeding particle in step 1 is: r i =Rand(0,L), i i =Rand(0.2π) In the formula, (x i ,y i ,z i ) is the position coordinate of bleeding particle i, r i is a random number in the range 0 to L, where L is a constant. is a random number in the range of 0 to π, θ i is a random number in the range of 0 to 2π, η and μ are both scaling factors, and (a, b, c) are the coordinates of the bleeding point.

3. The method for modeling a bleeding and suction interaction model in a virtual surgery according to claim 1, characterized in that: In step 2, the suction force on the bleeding particle i is: f i suck =ω(R-d i ) n (r s -r i )d i =|r s -r i | In the formula, ω is a constant parameter for controlling the suction intensity, and its value is 1; R is the radius of the suction influence range, and its value is twice r; d i is the distance between the bleeding particle and the tip of the aspirator, r i is the position coordinate of bleeding particle i, r s is the position coordinate of the aspirator proxy point, n is the order, and its value range is [1,3].

4. The method for modeling a bleeding and suction interaction model in a virtual surgery according to claim 1, characterized in that: The step three also includes: if the number of bleeding particles adsorbed by the soft tissue reaches saturation, no more bleeding particles are adsorbed; The method for judging whether the soft tissue area corresponding to the bleeding particle i has reached the saturation state is as follows: the bleeding area is divided into many small squares of equal size, and then the number of adsorbed bleeding particles in each square is counted. If the value reaches a given threshold, saturation is reached.

5. The method for modeling a bleeding and suction interaction model in a virtual surgery according to claim 1 or 4, characterized in that: The calculation formula of the adsorption force in step 3 is: Where, Dis i is the vertical distance between the bleeding particle i and the soft tissue surface; k m It is a material parameter, which represents the adsorption strength of soft tissue. The larger the value, the greater the adsorption strength. The value of 0 means that the material has no adsorption characteristics. is the normal vector of the soft tissue surface corresponding to the bleeding particle i; ε is the threshold for determining whether the bleeding particle is in the adsorption range, which is 1.5 times the radius of the bleeding particle; σ is the threshold for determining whether the bleeding particle is in the adsorption influence range, which is 15 times the radius of the bleeding particle.

6. The method for modeling a bleeding and suction interaction model in a virtual surgery according to claim 1, characterized in that: The RGB value corresponding to the blood in step 4 is: In the formula, (C R ,C G ,C B ) is the RGB value corresponding to the blood color at time t, (C R0 ,C G0 ,C B0 ) is the RGB value corresponding to the blood color at the initial time t=t0, Control C R ,C G ,C B The constants of the rate of change of the three component values, T0 is the temperature of the blood at the initial moment, H is the room temperature, and α is the temperature drop coefficient in Newton's law of cooling; The transparency values ​​of blood are: In the formula, Alpha i,j Is the grid cell grid i,j The transparency of num i,j For the grid unit grid i,j The number of bleeding particles in is greater than num i,j is a constant parameter, which is set to the number of bleeding particles when the transparency reaches its maximum value; τ is the lower limit of transparency, and φ controls the exponent of the transparency change rate.