A treatment path planning method and system for non-invasive energy focusing surgery
By determining appearance features, selecting treatment modes, setting concentric circle targets and optimizing mechanical paths in treatment path planning, the problems of positioning deviation and energy unevenness in existing technologies are solved, and efficient and precise energy focusing treatment is achieved.
Patent Information
- Application Number
- CN202411912929.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-12-24
AI Technical Summary
Existing treatment path planning technologies are prone to positioning deviations when dealing with tissue surfaces with large curvatures. They fail to fully consider the differences in energy attenuation among different tissues, resulting in uneven energy focusing. They also fail to effectively coordinate and optimize the mechanical path and the treatment target path, increasing treatment complexity and inefficiency.
By determining the appearance characteristics of the area to be treated, selecting the appropriate treatment mode, obtaining medical images and dividing the contour lines, setting concentric circles based on the curvature radius, determining the target, and setting the treatment path and mechanical path using a preset sorting method, it is ensured that the angle between the central axis of the energy focusing device and the radius of the target concentric circle is minimized.
It achieves uniformity of energy pathways and small refraction angles on the surface of complex curvature tissue, reduces the difficulty of electronic correction, simplifies treatment path planning, and improves treatment accuracy and efficiency.
Smart Images

Figure CN119344865B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the medical field, and in particular relates to a treatment path planning method and system for non-invasive energy focusing surgery. Background Art
[0002] With the growing demand for precision medicine, treatment pathway planning systems have become a crucial technology for improving treatment outcomes and minimizing treatment risks. They are widely used in highly precise procedures such as surgery, radiotherapy, and interventional therapy. By optimizing the treatment pathway, surgical instruments or therapeutic energy are precisely targeted to the target area while minimizing the risk of surrounding healthy tissue, thereby improving treatment efficiency and patient safety.
[0003] The development of treatment path planning technology has benefited from breakthroughs in medical imaging technology and improvements in computing power. It is suitable for surgeries such as neurosurgery and orthopedics that require extremely high precision. It uses computer-aided design (CAD) and computer-assisted surgery (CAS) systems to integrate real-time imaging of the lesion site with pre-simulated paths, guiding doctors to accurately identify the lesion area and providing clear operational guidance to avoid critical structures and reach the lesion site safely and accurately.
[0004] With the development of intelligent medical equipment, the introduction of energy therapy equipment and robotic surgery has made the functions of the path planning system more diversified. The path planning system can automatically plan the treatment dose and treatment path, and cooperate with the robot to complete high-precision and high-efficiency surgical treatment.
[0005] During energy therapy, in addition to locating the treatment area, the path planning system must also comprehensively consider the attenuation characteristics of energy passing through different tissues to optimize the path of the robot carrying the energy transmitter, thereby maximizing the treatment effect and reducing potential risks.
[0006] However, existing treatment path planning technologies still have limitations in practical applications. For example, most current path planning methods are based on simple geometric models and fail to fully account for the complex curvature of the tissue surface where the lesion is located. Especially for curved structures such as the breast, the linear or simple curved path planning methods used in existing technologies often lead to large deviations from the treatment target, making it difficult to accurately cover the lesion. This increases the subsequent electronic correction work, resulting in reduced treatment efficiency and increased system complexity.
[0007] Existing path planning systems often fail to account for differences in energy refraction and attenuation across tissue types, leading to uneven energy focus at the lesion. This is particularly true in energy treatments like high-intensity focused ultrasound (HIFU). When energy reaches the target via different paths, phase misalignment can occur due to differences in path length and refraction. This can affect focusing, weaken treatment efficacy, and even lead to energy phase cancellation.
[0008] For complex three-dimensional lesions, existing path planning methods often use simple points, lines, and surfaces to construct coverage areas. This approach is prone to omissions when lesions are complex and require high precision, failing to achieve comprehensive coverage, which in turn affects treatment effectiveness. Furthermore, existing path planning techniques fail to fully address the issue of interference between the treated area and the energy pathway to be treated, which increases the complexity and time cost of treatment.
[0009] In energy therapy devices, planning not only the energy's target path but also the mechanical path of the energy-emitting device must be considered. Existing techniques often focus on optimizing only one aspect, neglecting the coordinated optimization of both the mechanical and therapeutic target paths, thus limiting surgical efficiency and precision. Summary of the Invention
[0010] The present invention provides a treatment path planning method and system for non-invasive energy focusing surgery to solve the problems that the existing technology is prone to positioning deviation or increased path planning complexity when treating tissue surfaces with large curvatures, and that in energy treatment applications, due to the difference in energy attenuation of different tissues, the energy focusing may not reach the target area at the same time.
[0011] In order to solve the above technical problems, the embodiments of the present invention disclose the following technical solutions:
[0012] One aspect of the present invention provides a treatment path planning method for non-invasive energy focused surgery, comprising:
[0013] Determine the appearance characteristics of the human body part to which the area to be treated belongs;
[0014] Selecting a preset treatment mode based on the appearance characteristics, each treatment mode having multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces in different treatment modes is different;
[0015] Obtaining medical imaging images of each treatment surface in the treatment mode;
[0016] Determine the target for each treatment surface based on medical imaging, including:
[0017] Obtaining the projected boundary of the area to be treated and the contour of the human body part in the medical image; dividing the contour into two parts; setting a point based on the curvature radius for each contour part and drawing multiple concentric circles; and determining the target point corresponding to the treatment surface based on the intersection of all the concentric circles and the projected boundary of the area to be treated;
[0018] A treatment path connecting all targets in each treatment plane is set using a preset sorting method;
[0019] The mechanical path of the energy focusing device is set according to the treatment path so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
[0020] Optionally, the appearance characteristics of the human body part include a semi-cylinder and a hemisphere, and selecting a preset treatment mode according to the appearance characteristics includes:
[0021] When the appearance of the human body part to be treated is a semi-cylinder, the first treatment mode is adopted; when the appearance of the human body part to be treated is a hemisphere, the second treatment mode is adopted; wherein,
[0022] The first treatment mode is: the area to be treated is divided into multiple parallel treatment planes;
[0023] The second treatment mode is: dividing the area to be treated by using a plurality of treatment planes that intersect each other on a treatment axis, wherein the treatment axis is a straight line passing through the midpoint of the area to be treated.
[0024] Optionally, obtaining the projection boundary of the area to be treated in the medical image and the contour line of the human body part includes:
[0025] Determining the projection boundary of the area to be treated in the medical image according to the boundary data input by the user;
[0026] Establish an image coordinate system for the medical image, wherein the y-axis of the image coordinate system coincides with the shooting center axis of the image capture device, the positive direction of the y-axis is the shooting direction of the image capture device, the x-axis is perpendicular to the shooting center axis, and the origin o is the shooting center point of the image capture device;
[0027] Obtain the coordinates and grayscale values of each pixel in the medical image in the image coordinate system;
[0028] Calculate the average gray value of pixels in non-human body areas in medical images ;
[0029] Traverse the medical image at a preset x-axis interval parallel to the positive direction of the y-axis and find the contour points ( ), where the contour point is the i-th traversal, when the gray value is greater than the average gray value Among all the points, the point with the smallest y value is is the x value corresponding to the i-th traversal, is the y value of the contour point;
[0030] Perform secondary discrimination on all contour points, delete the contour points that are not adjacent to other contour points, and connect all the contour points after secondary discrimination as the contour line of the human body part.
[0031] Optionally, dividing the contour line into two parts includes:
[0032] Determine the contour point with the smallest y value;
[0033] Setting a dividing line that includes the contour point and is parallel to the y-axis;
[0034] The contour line and the medical image are divided into two parts, the left and the right, using the segmentation line.
[0035] Optionally, for each portion of the contour line, a point is set based on the curvature radius and multiple concentric circles are drawn, including:
[0036] For each part of the outline, the points are set in the following way:
[0037] Get the average curvature of the contour line ,
[0038]
[0039]
[0040] Where f(x) is the curve function fitted to all contour points in the contour line; is the curvature of f(x); a and b represent the starting point and end point of the contour line respectively;
[0041] Calculate the average curvature radius R of the contour line,
[0042]
[0043] The least square method is used to determine the center of the arc that best fits the contour line using the average curvature radius R, and the center is set as the point of the contour line;
[0044] Draw multiple equally spaced concentric circles with the dots, where the spacing is determined according to the effective energy zone of the energy focusing device; each concentric circle contains part or all of the projection of the area to be treated in the medical image, wherein the concentric circle with the largest diameter contains all projections of the area to be treated.
[0045] Optionally, mark the dots corresponding to the left side of the contour line as , and mark the dots corresponding to the right side of the contour line as ;
[0046] The step of determining the target point corresponding to the treatment surface according to the intersection of all concentric circles and the projected boundary of the area to be treated includes:
[0047] In the medical image, obtain the projection boundary and dots of the area to be treated in the left part The intersection of the corresponding concentric circles, and obtain the projection boundary of the area to be treated in the right part and the dot The intersection of the corresponding concentric circles;
[0048] All of the above intersection points are used as target points of the treatment surface corresponding to the medical image.
[0049] Optionally, the method of setting a treatment path connecting all targets in each treatment plane in a preset sorting manner includes:
[0050] Among all the target points corresponding to the treatment surface, the order of the targets is arranged from large to small according to the y value, and all the target points are connected in the order to obtain the treatment path.
[0051] Optionally, setting a mechanical path of the energy focusing device according to the treatment path includes:
[0052] For each target, the mechanical path of the energy focusing device is set in the following way:
[0053] Determine the point of the concentric circle where the target point is located, and draw the radius between the target point and the point;
[0054] The center of the effective energy zone of the energy focusing device is made to coincide with the target point, and the angle between the central axis and the radius is minimized.
[0055] Optionally, before performing the step of determining the appearance characteristics of the human body part to which the area to be treated belongs, the method further includes:
[0056] Based on the medical image, the relative position and boundary of the area to be treated in the human body are obtained using a preset three-dimensional reconstruction method.
[0057] Optionally, the method of setting a treatment path connecting all targets in each treatment plane in a preset sorting manner includes:
[0058] Among all the target points corresponding to the treatment surface, the order of the target points is arranged in ascending order of y value, and all the target points are connected in the order to obtain the treatment path.
[0059] Optionally, before executing the step of setting a treatment path connecting all targets in each treatment plane in a preset sorting manner, the method further includes:
[0060] Divide the area to be treated into multiple sub-areas according to preset unit volumes;
[0061] Determine whether there is a sub-region where the number of targets is less than the preset threshold,
[0062] If so, a treatment surface passing through the sub-region is added and a target point of the treatment surface is determined.
[0063] Optionally, the medical images include but are not limited to B-ultrasound images and MRI magnetic resonance imaging images.
[0064] Another aspect of the present invention discloses a treatment path planning system for non-invasive energy focused surgery, comprising:
[0065] an appearance feature determination module, configured to determine appearance features of a human body part to which the area to be treated belongs;
[0066] a treatment mode selection module configured to select a preset treatment mode based on the appearance characteristics, each treatment mode having multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces in different treatment modes being different;
[0067] An image acquisition module is configured to respectively acquire medical images of each treatment surface in the treatment mode;
[0068] The target determination module is configured to determine the target of each treatment surface based on the medical image, including:
[0069] Obtaining the projected boundary of the area to be treated and the contour of the human body part in the medical image; dividing the contour into two parts; setting a point based on the curvature radius for each contour part and drawing multiple concentric circles; and determining the target point corresponding to the treatment surface based on the intersection of all the concentric circles and the projected boundary of the area to be treated;
[0070] a treatment path setting module, configured to set a treatment path connecting all targets in each treatment plane using a preset sorting method;
[0071] The mechanical path setting module is configured to set the mechanical path of the energy focusing device according to the treatment path, so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
[0072] The present invention discloses a treatment path planning method and system for non-invasive energy focusing surgery. First, it is necessary to determine the appearance characteristics of the human body part to which the area to be treated belongs, and select a preset treatment mode based on the appearance characteristics; then, obtain a medical image of each treatment surface in the treatment mode, as well as the projected boundary of the area to be treated and the contour line of the human body part in the image, divide the contour line into two parts, and for each part of the contour line, set a circle point based on the curvature radius and draw multiple concentric circles, and determine the target point of the corresponding treatment surface according to the intersection of all concentric circles and the projected boundary of the area to be treated; finally, use a preset sorting method to set a treatment path connecting all target points in each treatment surface, and set the mechanical path of the energy focusing device according to the treatment path.
[0073] The present invention is applicable to human body parts with various curvatures, making the energy pathway more uniform and the refraction angle smaller, thereby alleviating the difficulty of electronic correction and even eliminating the need to introduce electronic correction, which can effectively reduce the complexity of treatment path planning.
[0074] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.
[0076] Figure 1 A flowchart of a treatment path planning method for non-invasive energy focusing surgery provided by an embodiment of the present invention;
[0077] Figure 2 A schematic flow chart of another method for planning a treatment path for non-invasive energy focused surgery provided by an embodiment of the present invention;
[0078] Figure 3 A schematic diagram of the treatment surface of the first treatment mode provided by an embodiment of the present invention;
[0079] Figure 4 A schematic diagram of the treatment surface of the second treatment mode provided in an embodiment of the present invention;
[0080] Figure 5 Implementation provided by the embodiment of the present invention Figure 1 Flow diagram of step S401;
[0081] Figure 6 A schematic diagram of an image coordinate system provided by an embodiment of the present invention;
[0082] Figure 7 Implementation provided by the embodiment of the present invention Figure 1 Flow diagram of step S402;
[0083] Figure 8 A schematic diagram of a dividing line provided in an embodiment of the present invention;
[0084] Figure 9 A schematic diagram of setting dots for the left and right contour lines, respectively, provided in an embodiment of the present invention;
[0085] Figure 10 A schematic diagram of a left and right circle center corresponding to concentric circles provided in an embodiment of the present invention;
[0086] Figure 11 Implementation provided by the embodiment of the present invention Figure 1 Flow diagram of step S404;
[0087] Figure 12 Implementation provided by the embodiment of the present invention Figure 1 Flow chart of step S600;
[0088] Figure 13 A schematic diagram of setting a mechanical path provided by an embodiment of the present invention;
[0089] Figure 14 A schematic structural diagram of a treatment path planning system for non-invasive energy focusing surgery provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0090] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0091] As used herein, the term "including" and its variations represent open inclusion, i.e., "including but not limited to." Unless otherwise stated, the term "or" means "and / or." The term "based on" means "based at least in part on." The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one additional embodiment." The terms "first," "second," etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0092] Figure 1This is a flow chart of a treatment path planning method for noninvasive energy-focused surgery, provided in an embodiment of the present invention. This method utilizes a focused ultrasound energy treatment device to treat tissue at a target point. Focused ultrasound energy treatment devices use an energy transmitter to emit ultrasound energy along a central axis toward a focal point, forming a nearly spherical effective energy zone at the focal point. However, due to refraction of ultrasound energy as it passes through human tissue, there can be significant deviations between the actual focal point and the set focal point. The disclosed embodiments of the present invention can address this issue.
[0093] like Figure 1 As shown, the treatment path planning method for non-invasive energy focused surgery includes the following steps:
[0094] Step S100: Determine the appearance characteristics of the human body part to which the area to be treated belongs.
[0095] In the disclosed embodiment of the present invention, the appearance features of human body parts include semi-cylinders and hemispheres. For example, the appearance features of a flat abdomen are similar to a semi-cylinder, and the external features of a protruding abdomen and breast are similar to a hemisphere.
[0096] The appearance characteristics of the human body part to which the area to be treated belongs can be confirmed according to the user's input instructions; or, the human body part to which the area to be treated belongs can be obtained using identification tools such as medical identification software, thereby obtaining the corresponding appearance characteristics of the human body part.
[0097] In one embodiment disclosed in the present invention, Figure 2 As shown, before executing step S100, the following steps are also included:
[0098] Step S010: Based on the medical image, a preset three-dimensional reconstruction method is used to obtain the relative position and boundary of the area to be treated in the human body.
[0099] The relative position, size and shape of the area to be treated (e.g., a tumor) are determined by using the patient's preoperative medical images (e.g., ultrasound images and MRI magnetic resonance imaging) in conjunction with three-dimensional reconstruction software, so that the user (e.g., doctor) can use it as a reference before using the energy focusing device for treatment.
[0100] Step S200: Select a preset treatment mode according to the appearance characteristics.
[0101] In the embodiments disclosed in the present invention, each treatment mode has multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces is different in different treatment modes.
[0102] In one embodiment disclosed in the present invention, a preset treatment mode is selected based on appearance characteristics, including the following methods:
[0103] When the appearance of the human body part to be treated is a semi-cylinder, the first treatment mode is adopted; when the appearance of the human body part to be treated is a hemisphere, the second treatment mode is adopted; wherein,
[0104] The first treatment mode is: dividing the area to be treated into multiple parallel treatment planes.
[0105] like Figure 3 As shown, the treatment surfaces are parallel to each other, and the group of treatment surfaces divides the area to be treated (such as a tumor) so that the entire area to be treated can be completely covered by the energy focusing area after the treatment is completed.
[0106] The second treatment mode is: the area to be treated is divided by using a plurality of treatment planes intersecting each other on a treatment axis, where the treatment axis is a straight line passing through the midpoint of the area to be treated.
[0107] like Figure 4 As shown, each treatment surface rotates around the treatment axis, and the group of treatment surfaces divides the area to be treated so that the entire area to be treated is completely covered by the energy focusing area after the treatment is completed.
[0108] Step S300: Obtain a medical image of each treatment surface in the treatment mode.
[0109] In the embodiments disclosed in the present invention, the observation surface of the medical image is the treatment surface, and the medical image includes but is not limited to B-ultrasound images and MRI magnetic resonance images.
[0110] Step S400: Determine the target point of each treatment surface based on the medical image.
[0111] In the embodiments disclosed in the present invention, the method for determining the target point on each treatment surface is the same. In the embodiments of the present invention, one of the treatment surfaces is taken as an example.
[0112] like Figure 1 As shown, the following sub-steps can be used to determine the target for each treatment surface:
[0113] Step S401: Acquire the projection boundary of the area to be treated and the contour line of the human body part in the medical image.
[0114] The boundary of the area to be treated projected on the medical image is the projection boundary.
[0115] In one embodiment disclosed in the present invention, Figure 5 As shown, step S401 can be implemented by using the following sub-steps:
[0116] Step S4011: determining the projection boundary of the area to be treated in the medical image according to the boundary data input by the user.
[0117] In the disclosed embodiment of the present invention, the user can refer to step S010 to obtain the relative position and boundary of the area to be treated in the human body, and determine the projection boundary of the area to be treated in the medical image; or, the medical image can be input into tools such as image recognition software to identify the projection boundary of the area to be treated in the medical image.
[0118] Step S4012: Establish an image coordinate system for the medical image. The y-axis of the image coordinate system coincides with the shooting center axis of the image shooting device, the positive direction of the y-axis is the shooting direction of the image shooting device, the x-axis is perpendicular to the shooting center axis, and the origin o is the shooting center point of the image shooting device.
[0119] like Figure 6 As shown, taking the medical imaging device as B-ultrasound as an example, the y-axis is assumed to coincide with the shooting center axis of the B-ultrasound probe, the shooting direction away from the B-ultrasound probe is set as the positive direction of the y-axis, the direction perpendicular to the B-ultrasound shooting center axis is the x-axis, and the center of the emitting surface of the B-ultrasound probe is taken as the origin o.
[0120] Step S4013: Obtain the coordinates and grayscale value of each pixel in the medical image in the image coordinate system.
[0121] Step S4014: Calculate the average grayscale value of pixels in the non-human body area of the medical image. .
[0122] There will be some coupling areas between the imaging surface of the B-ultrasound probe and the human tissue. Since there is no tissue in this area, the grayscale value is low. According to the user's input information or the recognition results of tools such as recognition software, the non-human body area is obtained in the medical image, and then the average grayscale value of all pixels in this area is calculated. .
[0123] Step S4015: traverse the medical image at a preset x-axis interval parallel to the positive direction of the y-axis and search for contour points ( ).
[0124] Among them, when the contour point is traversed for the pth time, the gray value is greater than the average gray value Among all the points, the point with the smallest y value is is the x value corresponding to the p-th traversal, is the y value of the contour point.
[0125] For example, the preset x-axis interval is 1, that is, the x-values of adjacent traversals differ by 1. The first traversal starts from the origin and compares the grayscale value of each pixel with the average grayscale value in sequence along the positive direction of the y-axis. If the grayscale value of a pixel compared during the traversal is greater than the average grayscale value, then this point is regarded as a contour point. This contour point is the first pixel point that meets the conditions during this traversal process, that is, the y-value of this contour point is smaller than the y-values of other pixels whose grayscale values are greater than the average grayscale value.
[0126] After an interval of 1 unit, the second traversal is continued from x = 1 on the x-axis to find the contour point. If there is no pixel point that meets the requirements during a traversal, the next traversal is performed to stop the traversal and complete the entire medical image.
[0127] Step S4016: Perform secondary discrimination on all contour points, delete contour points that are not adjacent to other contour points, and connect all contour points after secondary discrimination as the contour line of the human body part.
[0128] When noise points appear in medical images, they may be mistakenly identified as contour points. This embodiment of the present invention performs a secondary identification on all contour points. Human body parts are connected in medical images. If a contour point is not adjacent to other contour points—that is, if the x-value of a contour point differs from the x-values of other contour points by more than a preset x-axis interval (e.g., 1)—then the point is considered isolated and not a contour point of a human body part.
[0129] Step S402: Divide the contour line into two parts.
[0130] In one embodiment disclosed in the present invention, Figure 7 As shown, step S402 is implemented in the following manner:
[0131] Step S4021: Determine the contour point with the smallest y value.
[0132] Among all the contour points, determine the contour point with the smallest y value. When there are multiple contour points with the same smallest y value, select the contour point closer to the midpoint of the contour line.
[0133] Step S4022: Set a segmentation line that includes the contour points and is parallel to the y-axis.
[0134] like Figure 8 As shown, a straight line passing through the contour points determined in step S4021 is set as a dividing line, and the dividing line is parallel to the y-axis.
[0135] Step S4023: Use a dividing line to divide the contour line and the medical image into two parts, the left and the right.
[0136] Step S403: For each portion of the contour line, a point is set based on the curvature radius and multiple concentric circles are drawn.
[0137] In one embodiment disclosed in the present invention, Figure 9 As shown, for each part of the contour line, the dots are set in the following way:
[0138] Get the mean curvature of the contour line ,
[0139]
[0140]
[0141] Where f(x) is the curve function fitted to all contour points in the contour line; is the curvature of f(x); a and b represent the starting point and end point of the contour line respectively;
[0142] Calculate the average curvature radius R of the contour line,
[0143]
[0144] The least squares method is used to determine the center of the arc that best fits the contour line using the average curvature radius R, and the center is set as the point of the contour line.
[0145] For specific implementation methods, please refer to the following:
[0146] Assume that the center of the circle is , for each contour point The distance to the center of the fitted circle is , then the square sum of the errors of the contour points is , using the center position of the current contour as the initial estimate, using Newton's method or using a numerical optimization library (for example: scipy.optimize.least_squares), iterating through the built-in trust region reflective algorithm or Levenberg-Marquardt algorithm to obtain the coordinates of the circle center .
[0147] According to the above method, the points corresponding to the left and right contour lines are obtained, and the points corresponding to the left contour line are recorded as , and mark the dots corresponding to the right side of the contour line as .
[0148] Draw multiple equally spaced concentric circles for each of the left and right dots. Each dot corresponds to multiple equally spaced concentric circles. The spacing is determined by the effective energy range of the energy focusing device and can be 0.3-0.8 times the diameter of the approximate sphere of the effective energy range. Each concentric circle encompasses part or all of the projection of the area to be treated in the medical image. The concentric circle with the largest diameter encompasses the entire projection of the area to be treated, ensuring that the concentric circles fully cover the projection of the area to be treated.
[0149] Take the concentric circles corresponding to the center of the left part as an example: A circle tangent to the area to be treated is made as the first concentric circle, and the radius of the second concentric circle is increased by 0.3-0.8 times the diameter of the approximate sphere of the effective energy area, and so on, until the largest concentric circle no longer intersects with the projection of the area to be treated. Figure 10 It shows that two concentric circles are drawn for the centers of the left and right parts.
[0150] Step S404: Determine the target point corresponding to the treatment surface according to the intersection points of all concentric circles and the projected boundary of the area to be treated.
[0151] In one embodiment disclosed in the present invention, Figure 11 As shown, step S404 can be implemented in the following manner:
[0152] Step S4041: In the medical image, obtain the projection boundary and the dot of the area to be treated in the left part. The intersection of the corresponding concentric circles, and obtain the projection boundary of the area to be treated in the right part and the dot The intersection of the corresponding concentric circles.
[0153] Get the projection boundary and dots of the area to be treated in the left part of the medical image The intersection of the corresponding concentric circles, similarly, obtain the projection boundary of the area to be treated in the right part of the medical image and the dot The intersection of the corresponding concentric circles. Figure 10 The intersection points of the two concentric circles corresponding to the left and right circles are shown. Other intersection points can be referred to Figure 10 obtained in the following way.
[0154] Step S4042: All the above intersection points are used as target points corresponding to the treatment surface of the medical image.
[0155] All the intersection points obtained in step S4041 are used as target points of the treatment surface corresponding to the medical image. During actual treatment, energy focusing equipment is used to treat each target point.
[0156] In one embodiment disclosed in the present invention, before executing step S500 of setting a treatment path connecting all targets in each treatment plane in a preset sorting manner, the following steps are also included:
[0157] (1) The area to be treated is divided into multiple sub-areas according to the preset unit volume.
[0158] (2) Determine whether there is a sub-region where the number of target points is less than the preset threshold.
[0159] If a subregion meets the criteria, it indicates that the density of targets in that subregion is low. Therefore, a treatment plane is added to this subregion, passing through it. For example, a treatment plane is set that passes through the midpoint of the subregion according to the order of treatment planes in the current treatment mode. Targets in this added treatment plane are then determined in the same manner as described above.
[0160] If there is no sub-region that meets the conditions, step S500 is directly executed.
[0161] (3) Re-determine whether there is a sub-region with a target number less than the preset threshold, and execute step S500 again until there is no sub-region with a target number less than the preset threshold.
[0162] Step S500: setting a treatment path connecting all targets in each treatment plane using a preset sorting method.
[0163] In one embodiment disclosed in the present invention, among all target points corresponding to the treatment surface, the order of the target points is arranged from large to small according to the y value, and all the target points are connected in order to obtain the treatment path.
[0164] The above content can be understood as first treating the path farthest from the emitter of the focused energy device on each treatment surface. After the farthest ends of all treatment surfaces are treated, switch to the adjacent path on each treatment surface (i.e., the farthest end that is not currently treated), achieving a layer-by-layer treatment effect from the inside of the human body to the outside, so that the treated area does not affect the energy pathway of the untreated area.
[0165] In another embodiment disclosed in the present invention, there is also another way to set up the treatment path.
[0166] Among all the targets corresponding to the treatment surface, the order of the targets is arranged from small to large according to the y value, and all the targets are connected in order to obtain the treatment path.
[0167] That is, treatment begins at the path closest to the transmitter end of the focused energy device, and proceeds layer by layer toward the interior of the human body, increasing penetration depth by reducing energy attenuation in the treated area.
[0168] Step S600: setting the mechanical path of the energy focusing device according to the treatment path so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
[0169] In one embodiment disclosed in the present invention, Figure 12 As shown, for each target, the mechanical path of the energy focusing device is set in the following way:
[0170] Step S601: Determine the point of the concentric circle where the target point is located, and draw the radius between the target point and the point.
[0171] Step S602: The center of the effective energy zone of the energy focusing device is aligned with the target point, and the angle between the central axis and the radius is minimized.
[0172] The energy emitter of the energy focusing device has a central axis. During treatment, the central axis needs to coincide with the radius of the concentric circle where each target point in the treatment path is located as much as possible. When the device interferes with the human body, the angle between the central axis and the radius is minimized. Figure 13 It is the mechanical pathway for focusing energy to treat a specific target.
[0173] According to the ordering method of the targets in the treatment path, the ordering method of the mechanical path for the energy focusing device to treat the targets is set, and the orientation of the energy focusing device in the mechanical path is set so that its central axis meets the requirements.
[0174] Figure 14 This is a schematic diagram of the structure of a treatment path planning system for non-invasive energy focused surgery disclosed in an embodiment of the present invention. The system includes the following modules:
[0175] The appearance feature determination module 1 is configured to determine the appearance features of the human body part to which the area to be treated belongs.
[0176] The treatment mode selection module 2 is configured to select a preset treatment mode according to the appearance characteristics. Each treatment mode has multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces in different treatment modes is different.
[0177] The image acquisition module 3 is configured to respectively acquire the medical image of each treatment surface in the treatment mode.
[0178] The target determination module 4 is configured to determine the target of each treatment surface based on the medical image, including:
[0179] Obtain the projected boundary of the area to be treated and the contour line of the human body part in the medical image; divide the contour line into two parts; for each part of the contour line, set a point based on the curvature radius and draw multiple concentric circles; determine the target point of the corresponding treatment surface based on the intersection of all concentric circles and the projected boundary of the area to be treated.
[0180] The treatment path setting module 5 is configured to set a treatment path connecting all targets in each treatment plane in a preset sorting manner.
[0181] The mechanical path setting module 6 is configured to set the mechanical path of the energy focusing device according to the treatment path, so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
[0182] While various embodiments of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technical improvements to existing technologies, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A treatment path planning method for non-invasive energy focused surgery, characterized in that: include: Determining the appearance characteristics of the human body part to which the area to be treated belongs, wherein the appearance characteristics of the human body part include a semi-cylinder and a hemisphere; A preset treatment mode is selected based on the appearance features, each treatment mode having multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces in different treatment modes is different; the selection of a preset treatment mode based on the appearance features includes: When the appearance of the human body part to be treated is a semi-cylinder, the first treatment mode is adopted; when the appearance of the human body part to be treated is a hemisphere, the second treatment mode is adopted; wherein, The first treatment mode is: the area to be treated is divided into multiple parallel treatment planes; The second treatment mode is: the area to be treated is divided by a plurality of treatment planes intersecting each other along a treatment axis, wherein the treatment axis is a straight line passing through the midpoint of the area to be treated; Obtaining medical imaging images of each treatment surface in the treatment mode; Determine the target for each treatment surface based on medical imaging, including: Obtaining the projected boundary of the area to be treated and the contour of the human body part in the medical image; dividing the contour into two parts; setting a point based on the curvature radius for each contour part and drawing multiple concentric circles; and determining the target point corresponding to the treatment surface based on the intersection of all the concentric circles and the projected boundary of the area to be treated; A treatment path connecting all targets in each treatment plane is set using a preset sorting method; The mechanical path of the energy focusing device is set according to the treatment path so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
2. The path planning method according to claim 1, characterized in that: The step of obtaining the projection boundary of the area to be treated in the medical image and the contour line of the human body part includes: Determining the projection boundary of the area to be treated in the medical image according to the boundary data input by the user; Establish an image coordinate system for the medical image, wherein the y-axis of the image coordinate system coincides with the shooting center axis of the image capture device, the positive direction of the y-axis is the shooting direction of the image capture device, the x-axis is perpendicular to the shooting center axis, and the origin o is the shooting center point of the image capture device; Obtain the coordinates and grayscale values of each pixel in the medical image in the image coordinate system; Calculate the average gray value b of pixels in the non-human body area of the medical image a ; Traverse the medical image at a preset x-axis interval parallel to the positive direction of the y-axis and find the contour point (x i ,y i ), where the contour point is the i-th traversal, when the gray value is greater than the average gray value b a Among all the points, the point with the smallest y value, x i is the x value corresponding to the i-th traversal, y i is the y value of the contour point; Perform secondary discrimination on all contour points, delete the contour points that are not adjacent to other contour points, and connect all the contour points after secondary discrimination as the contour line of the human body part.
3. The path planning method according to claim 2, characterized in that: The step of dividing the contour line into two parts comprises: Determine the contour point with the smallest y value; Setting a dividing line that includes the contour point and is parallel to the y-axis; The contour line and the medical image are divided into two parts, the left and the right, using the segmentation line.
4. The path planning method according to claim 3, characterized in that: For each part of the contour line, a point is set based on the curvature radius and multiple concentric circles are drawn, including: For each part of the outline, the points are set in the following way: Get the average curvature k(x) of the contour line avg , Wherein, f(x) is the curve function fitted to all contour points in the contour line; k(x) is the curvature of f(x); a and b represent the starting point and end point of the contour line respectively; Calculate the average curvature radius R of the contour line, The least square method is used to determine the center of the arc that best fits the contour line using the average curvature radius R, and the center is set as the point of the contour line; Draw multiple equally spaced concentric circles with the dots, where the spacing is determined according to the effective energy zone of the energy focusing device; each concentric circle contains part or all of the projection of the area to be treated in the medical image, wherein the concentric circle with the largest diameter contains all projections of the area to be treated.
5. The path planning method according to claim 3, characterized in that: The dot corresponding to the left part of the contour line is marked as o l , mark the dot corresponding to the right part of the contour line as o r ; The step of determining the target point corresponding to the treatment surface according to the intersection of all concentric circles and the projected boundary of the area to be treated includes: In the medical image, obtain the projection boundary of the area to be treated in the left part and the dot o l The intersection of the corresponding concentric circles, and obtain the projection boundary of the area to be treated in the right part and the point o r The intersection of the corresponding concentric circles; All of the above intersection points are used as target points of the treatment surface corresponding to the medical image.
6. The path planning method according to claim 1, characterized in that: The treatment path connecting all targets in each treatment plane is set in a preset sorting manner, including: Among all the target points corresponding to the treatment surface, the order of the targets is arranged from large to small according to the y value, and all the target points are connected in the order to obtain the treatment path.
7. The path planning method according to claim 1, characterized in that: Setting the mechanical path of the energy focusing device according to the treatment path includes: For each target, the mechanical path of the energy focusing device is set in the following way: Determine the point of the concentric circle where the target point is located, and draw the radius between the target point and the point; The center of the effective energy zone of the energy focusing device is made to coincide with the target point, and the angle between the central axis and the radius is minimized.
8. The path planning method according to claim 1, characterized in that: Before executing the step of determining the appearance characteristics of the human body part to which the area to be treated belongs, the method further includes: Based on the medical image, the relative position and boundary of the area to be treated in the human body are obtained using a preset three-dimensional reconstruction method.
9. The path planning method according to claim 1, wherein: The treatment path connecting all targets in each treatment plane is set in a preset sorting manner, including: Among all the target points corresponding to the treatment surface, the order of the target points is arranged in ascending order of y value, and all the target points are connected in the order to obtain the treatment path.
10. The path planning method according to claim 1, characterized in that: Before executing the step of setting a treatment path connecting all targets in each treatment plane in a preset sorting manner, the method further includes: Divide the area to be treated into multiple sub-areas according to preset unit volumes; Determine whether there is a sub-region where the number of targets is less than the preset threshold, If so, a treatment surface passing through the sub-region is added and a target point of the treatment surface is determined.
11. The path planning method according to claim 1, wherein: The medical images include but are not limited to B-ultrasound images and MRI magnetic resonance imaging images.
12. A treatment path planning system for non-invasive energy focused surgery, characterized in that: include: an appearance feature determination module, configured to determine appearance features of a human body part to which the area to be treated belongs, wherein the appearance features of the human body part include a semi-cylinder and a hemisphere; a treatment mode selection module configured to select a preset treatment mode based on the appearance features, each treatment mode having multiple treatment surfaces covering the area to be treated, and the arrangement of the treatment surfaces differs in different treatment modes; selecting a preset treatment mode based on the appearance features includes: When the appearance of the human body part to be treated is a semi-cylinder, the first treatment mode is adopted; when the appearance of the human body part to be treated is a hemisphere, the second treatment mode is adopted; wherein, The first treatment mode is: the area to be treated is divided into multiple parallel treatment planes; The second treatment mode is: the area to be treated is divided by a plurality of treatment planes intersecting each other along a treatment axis, wherein the treatment axis is a straight line passing through the midpoint of the area to be treated; An image acquisition module is configured to respectively acquire medical images of each treatment surface in the treatment mode; The target determination module is configured to determine the target of each treatment surface based on the medical image, including: Obtaining the projected boundary of the area to be treated and the contour of the human body part in the medical image; dividing the contour into two parts; setting a point based on the curvature radius for each contour part and drawing multiple concentric circles; and determining the target point corresponding to the treatment surface based on the intersection of all the concentric circles and the projected boundary of the area to be treated; a treatment path setting module, configured to set a treatment path connecting all targets in each treatment plane using a preset sorting method; The mechanical path setting module is configured to set the mechanical path of the energy focusing device according to the treatment path, so that when the energy focusing device treats each target area, the angle between the central axis and the radius of the concentric circle where the target is located is minimized.
Citation Information
Patent Citations
Therapy appliance for treating tissue by emission of offset crossed focused ultrasonic waves
CN113491847A
Target dose field forming method and system of stereotactic radiotherapy equipment
CN115253091A