Treatment method, device and treatment equipment for shock wave incidence point of in-vitro lithotripsy operation

Through CT data processing, the chan-vese model and octree algorithm are used to automatically search for the optimal incident path for extracorporeal lithotripsy surgery, which solves the problem of unstable incident path accuracy in traditional surgery and improves the accuracy and safety of surgery.

CN118557256AInactive Publication Date: 2024-08-30TONGJI HOSPITAL ATTACHED TO TONGJI MEDICAL COLLEGE HUAZHONG SCI TECH

Patent Information

Application Number
CN202410558548.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional extracorporeal lithotripsy surgery relies on manual control by doctors, which results in unstable incident path accuracy and is easily interfered by bones or gases, affecting the treatment effect and safety.

Method used

By converting CT data into an initial point cloud, the level set algorithm based on the chan-vese model is used to extract the kidney area point cloud, the stone point cloud is screened based on the HU value, combined with the shock wave focal length and attenuation area constraint model, and the k-nearest neighbor algorithm of octree is used to search Best incidence path.

Benefits of technology

It achieves high-precision and efficient automatic entrance point selection for extracorporeal lithotripsy surgery, reduces the doctor's dependence on experience, and improves the accuracy and safety of treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118557256A
    Figure CN118557256A
Patent Text Reader

Abstract

The invention provides an in-vitro lithotripsy shock wave incidence point processing method, device and processing equipment, which are used for providing a set of automatic processing scheme which is convenient to operate and can keep a high-precision processing effect for an epidermis incidence point of an in-vitro lithotripsy operation, so that powerful data reference can be provided for the in-vitro lithotripsy operation. The method comprises the following steps: converting collected CT data into an initial point cloud; extracting a kidney region point cloud from the initial point cloud through a level set algorithm based on a channel-vese model; in the kidney region point clouds, screening out calculus point clouds in combination with different HU values corresponding to different tissues and organs in the kidney region; in the initial point cloud, recognizing an abdomen point cloud through a contour extraction algorithm; and on the basis of the abdomen point cloud and the calculus point cloud, in combination with a constraint model, through an octree-based k-nearest neighbor algorithm, searching to obtain an epidermis incidence point coordinate of an optimal incidence path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing, and in particular to a method, device and equipment for processing shock wave incident points in extracorporeal lithotripsy. Background Art

[0002] Kidney stones, also known as urolithiasis, are a common kidney disease. Because urolithiasis is easy to develop and threatens health, medical treatment is increasingly committed to providing patients with non-invasive and safe treatment options. For stones with a diameter of less than 2 cm, extracorporeal shock wave lithotripsy (ESWL) is the first choice. Currently, extracorporeal shock wave lithotripsy (ESWL) is the only non-invasive treatment available for patients with urolithiasis. In addition to being non-invasive, it also has fewer side effects and is widely used in the clinical treatment of kidney stone disease.

[0003] However, in traditional surgical scenarios, doctors are required to perform manual control throughout the entire process, and two-dimensional ultrasound images have low resolution and a narrow field of view. Therefore, the doctor's positioning of stones is easily interfered by bones or gas, which can easily affect the accuracy and safety of the operation.

[0004] Moreover, at the current stage, the planning of the entry path of extracorporeal lithotripsy (abbreviation) relies heavily on the manual selection of doctors. This method obviously requires high technical skills of doctors. At the same time, there is also a problem, that is, it is difficult to take into account a variety of entry conditions and be comprehensive based on the personal experience of doctors. An unreasonable path can easily affect the treatment effect and may lead to recurrence of kidney tumors, and even worse, induce complications.

[0005] Obviously, the processing of the incident path of the extracorporeal lithotripsy surgery in the prior art relies on the manual operation of the doctor, and there is a problem of unstable processing accuracy. Summary of the invention

[0006] The present application provides a method, device and processing equipment for processing the shock wave entrance point of extracorporeal lithotripsy surgery, which is used to provide a set of automated processing solutions for the epidermal entrance point of extracorporeal lithotripsy surgery that are easy to operate and can maintain high-precision processing effects. This can provide strong data reference for extracorporeal lithotripsy surgery and promote the efficient and high-precision implementation of extracorporeal lithotripsy surgery.

[0007] In a first aspect, the present application provides a method for processing a shock wave incident point in an extracorporeal lithotripsy operation, the method comprising: Convert the acquired CT data into an initial point cloud; The kidney area point cloud is extracted from the initial point cloud using the level set algorithm based on the Chan-Vese model; In the point cloud of the kidney area, the different HU values ​​corresponding to different tissues and organs in the kidney area are combined to screen out the stone point cloud; In the initial point cloud, the abdominal point cloud is identified by using a contour extraction algorithm; Based on the abdominal point cloud and stone point cloud, combined with the constructed constraint models of shock wave focal length and shock wave severe attenuation area, the coordinates of the epidermal incident point that achieves the best incident path in extracorporeal lithotripsy are searched through the octree-based k-nearest neighbor algorithm.

[0008] In a second aspect, the present application provides a device for processing shock wave incident points in extracorporeal lithotripsy surgery, the device comprising: A conversion unit, used for converting the acquired CT data into an initial point cloud; The extraction unit is used to extract the kidney region point cloud from the initial point cloud by using the level set algorithm based on the chan-vese model; the screening unit is used to screen out the stone point cloud in the kidney region point cloud by combining different HU values ​​corresponding to different tissues and organs in the kidney region; The recognition unit is used to recognize the abdomen point cloud in the initial point cloud by using a contour extraction algorithm on the initial point cloud; The search unit is used to search for the coordinates of the epidermal entrance point for achieving the best entrance path in extracorporeal lithotripsy based on the abdominal point cloud and the stone point cloud, combined with the constructed constraint models of the shock wave focal length and the shock wave severe attenuation area, through the octree-based k-nearest neighbor algorithm.

[0009] In a third aspect, the present application provides a processing device, including a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the method provided in the first aspect of the present application or any possible implementation method of the first aspect of the present application is executed.

[0010] In a fourth aspect, the present application provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the method provided by the first aspect of the present application or any possible implementation of the first aspect of the present application.

[0011] From the above content, it can be concluded that the present application has the following beneficial effects: Focusing on the target of selecting the epidermal entry point for extracorporeal lithotripsy, the present application converts the collected CT data into an initial point cloud, and then extracts the kidney region point cloud from the initial point cloud through a level set algorithm based on the chan-vese model. Then, in the kidney region point cloud, the stone point cloud is screened out by combining the different HU values ​​corresponding to different tissues and organs in the kidney region. In addition, in the initial point cloud, the abdominal point cloud is identified through a contour extraction algorithm. At this time, based on the abdominal point cloud and the stone point cloud, the constructed constraint models of the shock wave focal length and the shock wave severe attenuation area are combined, and the coordinates of the epidermal entry point that achieves the best entry path in extracorporeal lithotripsy are searched through an octree-based k-nearest neighbor algorithm. In this processing process, the present application starts from CT data and creates a series of processing architectures, which provides a set of automated processing solutions for the epidermal entry points of extracorporeal lithotripsy that are easy to operate and can maintain high-precision processing effects. This can provide a strong data reference for extracorporeal lithotripsy and promote efficient and high-precision extracorporeal lithotripsy. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A schematic flow chart of a method for processing the shock wave incident point in extracorporeal lithotripsy surgery of the present application; Figure 2 A schematic diagram of a structure of a device for processing the shock wave incident point in extracorporeal lithotripsy surgery of the present application; Figure 3 A schematic diagram of the structure of the processing equipment of this application. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0015] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0016] The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.

[0017] Before introducing the method for processing the shock wave entrance point in extracorporeal lithotripsy provided by the present application, the background content involved in the present application is first introduced.

[0018] The method, device and computer-readable storage medium for processing the shock wave entrance point of extracorporeal lithotripsy provided in the present application can be applied to processing equipment to provide a set of automated processing solutions for the epidermal entrance points of extracorporeal lithotripsy that are easy to operate and can maintain high-precision processing effects. This can provide strong data reference for extracorporeal lithotripsy and promote the efficient and high-precision implementation of extracorporeal lithotripsy.

[0019] The method for processing the shock wave incident point of extracorporeal lithotripsy mentioned in the present application can be performed by a processing device for the shock wave incident point of extracorporeal lithotripsy, or a server, a physical host, or a user equipment (UE) or other different types of processing equipment that integrates the processing device for the shock wave incident point of extracorporeal lithotripsy. Among them, the processing device for the shock wave incident point of extracorporeal lithotripsy can be implemented in hardware or software, and the UE can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, or a personal digital assistant (PDA), and the processing device can be set in a device cluster.

[0020] Among them, it can be understood that, for the processing equipment that executes the method for processing the incident point of the shock wave in extracorporeal lithotripsy surgery provided by the present application, or, in other words, the processing equipment equipped with the application service of the method for processing the incident point of the shock wave in extracorporeal lithotripsy surgery provided by the present application, it usually only needs to have the required data processing capabilities to be used to implement the scheme of the present application. In this way, the processing equipment can not only be medical equipment / special equipment at the extracorporeal lithotripsy shock wave surgery site or the hospital site (the form of this equipment is convenient for linkage with other medical equipment / special equipment at the site), but also other types of equipment such as servers, physical hosts and even UEs, which can be adaptively adjusted according to the flexible application needs in actual situations.

[0021] In addition, the processing device can not only be a device deployed on-site, but also a device deployed remotely. For example, the processing device can also be a server in the cloud, or any device that provides on-site selection of shock wave impact point for extracorporeal lithotripsy surgery through cloud service / remote service. This is obviously possible in actual situations.

[0022] At the same time, it can be seen from here that the focus of this application scheme is how to automatically select the epidermal entry point for extracorporeal lithotripsy. In terms of scheme implementation, it is relatively independent of the development of the shock wave entry point for extracorporeal lithotripsy. It provides data support for the selection of epidermal entry points for the development of shock wave entry points for extracorporeal lithotripsy, and provides a more specific set of scheme contents that can bring high-precision processing effects while following the direction of the automatic point selection scheme.

[0023] Next, the method for processing the shock wave entrance point in extracorporeal lithotripsy provided by the present application is introduced.

[0024] First, see Figure 1 , Figure 1A schematic flow chart of a method for processing the shock wave incident point of an extracorporeal lithotripsy operation provided by the present application is shown. The method for processing the shock wave incident point of an extracorporeal lithotripsy operation provided by the present application may specifically include the following steps S101 to S105: Step S101, converting the collected CT data into an initial point cloud; It is understandable that the solution of the present application is based on CT data, or in other words, takes CT data as input data.

[0025] CT stands for computer tomography, therefore, CT data can also be referred to as computer tomography image data.

[0026] It is understandable that CT data is not the data obtained by scanning based on the conventional understanding of CT printed reports, but the background data obtained by the CT device (computed tomography device) by scanning the user (patient), and its data format is usually DICOM (a common data format for medical images). Among them, when scanning, the device usually focuses on scanning the user's kidney area, and also scans the surrounding body area, which corresponds to the subsequent local point cloud extraction processing.

[0027] The acquisition of CT data here usually refers to the extraction and processing of existing CT data. Of course, in some cases, it can also be linked to a computer tomography device to collect computer tomography data in real time through the CT device, which can be regarded as a detailed supplementary setting for the plan.

[0028] The CT data can also be converted into point cloud data format, which is the data characteristic of the CT data itself. Therefore, it can be understood that the processing involved in step S101 here can be considered to belong to the scope of the prior art. Therefore, this application will no longer provide a specific explanation.

[0029] Step S102, extracting a kidney region point cloud from the initial point cloud by using a level set algorithm based on a Chan-Vese model; After obtaining the initial point cloud obtained by converting the CT data, a series of point cloud processing constructed by the present application for the initial point cloud can be started.

[0030] It is understandable that the area involved in the initial point cloud usually includes other areas in addition to the kidney area where the kidney stones are located. In this regard, the present application can filter out the point cloud of the kidney area (recorded as the kidney area point cloud), among which the present application can be specifically implemented through the level set algorithm of the chan-vese model.

[0031] Among them, the chan-vese model, which can also be referred to as the chan model, CV algorithm, etc., is a commonly used processing tool for processing related images / point clouds in the medical field.

[0032] Level set, that is, level set, the level set algorithm can be understood as representing the curve through the horizontal cross-section of the high-dimensional function, or it can be understood as a surface function, whose contour is represented implicitly.

[0033] The core of the Chan-Vese model is to minimize the energy function, which is based on two main parts: the difference between the pixel intensity and its average value in the area inside and outside the curve, and the smoothness of the curve; the level set algorithm separates the foreground and background in the image by adjusting the curve so that the pixel values ​​in these two areas are as consistent as possible while maintaining the smoothness of the curve.

[0034] It is understandable that point clouds of different tissue organs have different characteristics under the level set algorithm. In this regard, the present application can identify point clouds that meet the characteristics of the kidney region from the initial point cloud based on the level set algorithm of the Chan-Vese model to obtain the kidney region point cloud.

[0035] Step S103, in the kidney region point cloud, combining different HU values ​​corresponding to different tissues and organs in the kidney region, screening out the stone point cloud; After obtaining the kidney area point cloud belonging to the kidney area, the point cloud belonging to the stone can be further identified therefrom. For this purpose, the HU value described in the CT data or recorded during the CT scan can be used as a distinguishing element between the stone point cloud and other point clouds.

[0036] Among them, HU, namely Hounsfield Unit, is used to reflect the relative density of tissue structure and is the original content of CT technology.

[0037] It is easy to understand that the HU value of stones in non-biological tissue structures may be greatly different from that of biological tissue structures included in the kidney region. Therefore, the stone point cloud can be filtered out from the kidney region point cloud based on the difference in HU values.

[0038] Step S104, identifying the abdomen point cloud in the initial point cloud by using a contour extraction algorithm; It is understandable that in the process of selecting the epidermal entrance point for extracorporeal lithotripsy, the present application needs to consider the path in the user's abdomen. Therefore, it is also necessary to filter out the point cloud of the user's abdomen for path search.

[0039] In this regard, compared with the previous high-precision screening of stone point clouds through the level set algorithm based on the chan-vese model and the HU value, the different contour features of different tissue structures can be considered here. Starting from the unique contour features of the abdominal area, the abdominal contour (also referred to as the abdominal epidermal contour) can be identified with higher precision. This is used as a reference for the abdominal range, and the corresponding abdominal point cloud (also referred to as the abdominal epidermal point cloud) is filtered out from the initial point cloud.

[0040] Step S105, based on the abdominal point cloud and the stone point cloud, combined with the constructed constraint models of the shock wave focal length and the shock wave severe attenuation area, the epidermal incident point coordinates that achieve the best incident path in extracorporeal lithotripsy are searched through the octree-based k-nearest neighbor algorithm.

[0041] At this point, it can be learned that, on the one hand, the present application obtains the stone point cloud through the above step S103 and completes the three-dimensional modeling of the stone, and on the other hand, obtains the abdominal point cloud through the above step S104 and completes the three-dimensional modeling of the abdomen. At this time, the constraint model configured according to the planned clinical impact criteria of the present application can be combined to provide specific constraints to carry out the search for the optimal incident path of the optimal extracorporeal lithotripsy shock wave.

[0042] Among them, the constraint model configured in this application specifically involves two aspects: the focal length of the shock wave and the severe attenuation area of ​​the shock wave (which can also be referred to as the avoidance area), which corresponds to the content of the clinical strike criteria pre-planned in this application: 1. The line from the incident point to the stone must be within the focal length of the shock wave; 2. The line from the incident point to the stone must not pass through areas such as the belly, bones, and gas that would cause severe shock wave attenuation (attenuation greater than the preset attenuation).

[0043] In this way, through the constraint models of shock wave focal length and severe shock wave attenuation area, we can effectively avoid dependence on doctors' clinical experience, effectively avoid key organs of the human body, prevent shock wave attenuation, and ensure the high impact efficiency of the searched entrance point in extracorporeal lithotripsy.

[0044] In the process of searching for the best incident path, it is easy to understand that the search and judgment are performed based on the path composed of point clouds.

[0045] As an example, the search process could be as follows: 1) Search for points whose point cloud distance between the route and the area where the shock wave is severely attenuated is greater than the threshold.

[0046] Let the center of the kidney stone be C s, the set of candidate incident points in the abdomen point cloud is P = {P1, P2, ... P n}, where P i is the abdominal point cloud with C s The distance to the point within the focal length of the shock wave.

[0047] Assume that the point cloud set of the shock wave severe attenuation area is B = {B1, B2, ... B 1m}, for each candidate incident point P i , calculate P i With C s The shortest distance d from a point on the line connecting i .

[0048] 2) Choose the one that satisfies d(P i ,C s ,B)>threshold P i as the effective incident point.

[0049] Let d(P i ,C s ,B) indicates P i With C s The distance from the point on the line to the nearest point in B, threshold represents the distance threshold for determining whether the route passes through the severe shock wave attenuation area, distance(q,b) represents the Euclidean distance from point q to point b, b represents a point in B, min distance(q,b) represents the minimum Euclidean distance from point q to point b, and the corresponding mathematical model can be expressed as follows: Points = {P i ∈P d(P i ,C s ,B)>threshold}, d(P i ,C s ,B)=mindistance(q,b), As an example, the threshold can be set to 28, which is the approximate distance of 10 particle sizes of the epidermal particles. i ,C s ,B)(Since d i If it is consistent with distance, it has been uniformly written as d(P i ,C s ,B), and delete d i ) The specific search algorithm can be implemented through the octree-based k-nearest neighbor algorithm.

[0050] Among them, octree means octree; k nearest neighbor means K-Nearest Neighbor, KNN.

[0051] It can be understood that octree can be understood as a tree-like data structure that describes a three-dimensional space, and the k-nearest neighbor algorithm can be understood as judging the category of an input instance based on the category distribution of the k nearest samples of the input instance in its feature space. Both belong to the scope of the prior art and can be used as a carrier / tool ​​to implement the search processing of the present application. Therefore, the present application will not elaborate on the specific description of the two.

[0052] After searching for multiple incident points that meet the requirements, an incident point that meets the optimal requirements can be selected as the best incident point for final output (ie, the epidermal incident point of the best incident path).

[0053] For example, for each effective incident point screened out, the distance used in the process of determining whether it is greater than a threshold can be used to select the effective incident point with the maximum distance as the best incident point.

[0054] After the best incident point is obtained, it can be stored or output. Typically, corresponding to data reference work, the calculated incident point and its corresponding incident path can be directly displayed.

[0055] from Figure 1 It can be seen from the illustrated embodiment that the target of selecting the epidermal entry point for extracorporeal lithotripsy is focused on. After converting the collected CT data into an initial point cloud, the present application extracts the kidney region point cloud from the initial point cloud through a level set algorithm based on the chan-vese model. Then, in the kidney region point cloud, the stone point cloud is screened out by combining the different HU values ​​corresponding to different tissues and organs in the kidney region. In addition, in the initial point cloud, the abdominal point cloud is identified by a contour extraction algorithm. At this time, based on the abdominal point cloud and the stone point cloud, the constraint models of the shock wave focal length and the shock wave severe attenuation area are combined, and the coordinates of the epidermal entry point that obtains the best entry path in extracorporeal lithotripsy are searched through an octree-based k-nearest neighbor algorithm. In this processing process, the present application starts from CT data and creates a series of processing architectures, which provides a set of automated processing solutions for the epidermal entry point of extracorporeal lithotripsy that are easy to operate and can maintain high-precision processing effects. This can provide a strong data reference for extracorporeal lithotripsy and promote efficient and high-precision extracorporeal lithotripsy.

[0056] Continue to the above Figure 1 Each step of the illustrated embodiment and possible implementation methods thereof in practical applications are described in detail.

[0057] For the level set algorithm based on the Chan-Vese model involved in step S102, in addition to using a general level set algorithm, the present application can also perform specific optimization and improvement to more conveniently and accurately complete the recognition target of the kidney area point cloud.

[0058] In this regard, as an exemplary embodiment, the level set algorithm based on the Chan-Vese model of the present application may be specifically configured with the following contents: 1) Performing window thresholding processing on the initial point cloud describing the corresponding HU value to filter the connective tissue and fat structure and highlight the contour to obtain the first point cloud; It can be understood that the preliminary filtering of the initial point cloud here also involves the application of HU values, and is specifically implemented in the form of windowed thresholding processing.

[0059] Among them, the windowed thresholding processing adjusts the processing range through a dynamically adjusted window, and combines the HU threshold to filter out the point cloud that meets the HU value range of the stepped tissue and fat structure. In this way, the contrast between the kidney area and the surrounding tissue is enhanced, the interference of background noise is reduced, and the kidney area is made more obvious in the image. The first point cloud that filters out the connective tissue and fat structure and highlights the contour can be obtained.

[0060] The HU value distribution of the kidney area is concentrated between -75 and 325Hu. As an example here, the present application may specifically be set as follows: The window width in the windowing thresholding process may specifically adopt a value of 400HU, and the window level may specifically adopt a value of 125HU.

[0061] It can be seen that the present application provides a practical application solution for the windowed thresholding processing of the kidney area point cloud in a specific processing range, which has better practical significance.

[0062] 2) Preprocessing the first point cloud using a watershed algorithm to obtain a second point cloud; After the first point cloud is obtained, it can be preprocessed. The specific preprocessing methods that can be used can remove noise point clouds, smooth point cloud distribution, enhance the edges of point cloud distribution, etc., thereby playing a role in improving data quality.

[0063] The specific preprocessing can be achieved by introducing a watershed algorithm. The watershed algorithm, that is, the watershed algorithm, belongs to the scope of the prior art, so it will not be described in detail here.

[0064] As for the preprocessing of the watershed algorithm here, it can be understood that it can provide the Chan-Vese model with clearer starting point and boundary information, which helps to improve the initialization of the level set algorithm, allowing it to focus on the kidney area more quickly, thereby improving the accuracy of the overall segmentation.

[0065] 3) Based on the preset central pixel point of the kidney area as the initial contour of the level set evolution, and based on the definition of an energy function that measures the similarity between the segmented area and the original image, an iterative solution is performed to iteratively minimize the energy function to update the level set evolution curve to screen out the point cloud belonging to the kidney area.

[0066] It can be understood that the process of identifying the point cloud of the kidney region by the level set algorithm based on the Chan-Vese model is, in layman's terms, multiple rounds of iterative processing of the contour of the kidney region, so as to iteratively obtain the point cloud belonging to the kidney region. The Chan-Vese model is used to iteratively refine the contour of the kidney region to achieve accurate segmentation. This model is suitable for processing images with unclear boundaries or noise, so after combining with the preprocessing steps, it can more effectively realize the extraction of kidney contour information.

[0067] In the iterative process, the preset central pixel of the kidney region (it can also be understood as the universal, specified central pixel of the kidney region) is initially used as the initial contour of the level set evolution. Then, based on the energy function that defines the similarity between the segmented region and the original image, an iterative solution is performed to iteratively minimize the energy function to update the level set evolution curve.

[0068] It is understandable that how to iterate here belongs to the general scope of the level set algorithm based on the Chan-Vese model, so the iterative process will not be described in detail here.

[0069] The Chan-Vese model is used to iteratively refine the contour of the kidney region to achieve accurate segmentation. The model is suitable for processing images with unclear boundaries or noise. In the embodiment here, the present application provides a specific implementation scheme for how to better apply the level set algorithm based on the Chan-Vese model. Through window threshold processing and preprocessing based on the watershed algorithm, the level set algorithm based on the Chan-Vese model can be more efficiently and accurately completed The recognition target of the kidney region point cloud.

[0070] Further, as another exemplary embodiment, based on the level set algorithm of the Chan-Vese model, the kidney evolution iteration curve function involved in the iteration process can be specifically expressed as: F CV (φ,c1,c2)=∫ in I(x)-c12 dx = ∫ out I(x)-c2 2 dx+vL(φ)+μRp(φ), Among them, F CV (φ, c1, c2) represents the iterative curve function of kidney evolution, φ represents the level set function, constant c1 represents the mean value obtained by grayscale statistics of abdominal cavity areas other than kidneys, constant c2 represents the mean value obtained by grayscale statistics of abdominal cavity kidney areas, in represents the kidney inner cavity area, I(x) represents the grayscale value of the image at position x (that is, the intensity value of each pixel or voxel in the CT scan), out represents the abdominal cavity area other than kidneys, L(φ) represents the length term, Rp(φ) represents the regularization term, v represents the relative weight of the image data item, adjusts the sensitivity of the segmentation contour to the image grayscale value, and is a parameter used to balance the importance of different items, μ is an adjustment parameter, which is mainly used to control the influence of the regularization term and adjust the smoothness of the contour and the level of detail of the segmentation.

[0071] For the specific quantitative formula of the kidney evolution iterative curve function, it can be understood that F CV (φ, c1, c2) combines the grayscale information and geometric information of the image. This combination enables the algorithm to maintain the clarity of the boundaries while taking into account the grayscale changes in the image, thereby effectively distinguishing the kidney area from the non-kidney area. The constants c1 and c2 represent the grayscale means of the kidney's external area and the kidney area, respectively. This distinction helps the algorithm optimize the specific grayscale features of the kidney and improve the accuracy of segmentation. The length term L(φ) helps to maintain the smoothness of the contour and reduce the impact of noise. The regularization term Rp(φ) is used to maintain the regularity of the level set function φ to prevent numerical instability during the iteration process.

[0072] In addition, during the iteration process, you can also configure: The reduced kidney outer contour is used as the initialization contour, the number of iterations (num_iter) is 40, and the step size Δt is 0.2.

[0073] Similar to the specific parameter settings above, the selection of the initial contour (reduced kidney outer contour), the number of iterations (40 times), and the setting of the step size Δt (0.2) are all configurations optimized for the characteristics of kidney images, which can ensure that the algorithm converges within an effective number of iterations while avoiding overfitting or underfitting.

[0074] It can be seen that in the embodiment here, the present application is an iterative curve function of kidney evolution involved in the iterative process of the level set algorithm based on the chan-vese model, which discloses the iterative function of the specific configuration of the present application, and through a series of optimization settings, it can ensure high-precision extraction of kidney area point cloud, which has better practical significance in the implementation of the solution.

[0075] At the same time, for the contour extraction algorithm developed for the initial point cloud in step S104, the present application also takes into account the incident point planning scenario and constructs more specific algorithm implementation content to achieve faster and more accurate processing results.

[0076] Specifically, as another exemplary embodiment of the present application, the contour extraction algorithm of the present application may be configured with the following processing contents: 1) Taking the geometric center of the kidney region point cloud as the center and a circular area with a radius of 100 pixels as the dividing line, the initial point cloud is subjected to image binarization threshold processing to obtain the regional point cloud where the kidney region point cloud is located; It can be understood that the present application here uses a 100-pixel value to perform a binary split of the point cloud range, thereby making it easy to determine the approximate range of the kidney. Of course, the regional point cloud obtained at this time is relatively fuzzy, and is represented by a circular area with a radius of 100 pixels drawn with the center point of the previously determined kidney regional point cloud as the center.

[0077] 2) Use the findcounter function to perform preliminary contour detection on the regional point cloud to obtain all contours in the regional point cloud; wherein, the findcounter function can also be referred to as the findcounter() function.

[0078] The findcounter function is an existing image contour detection function, which can detect different contours in the input image. In this way, through the findcounter function, multiple contours existing in the point cloud of the previous area at the image level can be obtained.

[0079] 3) Performing a morphological opening operation on the first contour with the largest area among all contours to obtain a second contour, wherein the morphological opening operation includes dilation followed by erosion, and removing contour holes and protrusions; Among the multiple contours (all contours) obtained by the findcounter function above, the contour with the maximum area can be determined and recorded as the first contour. At this time, a morphological opening operation can be performed on the first contour to obtain a second contour that optimizes its specific contour.

[0080] The morphological opening operation for the first contour can be explained more specifically through the following related mathematical model: Max_idx = argmax A z , Dilation = dialate(f i,j ,K) Closing=close(Dilation,K) Among them, Max_idx represents the index value of the contour with the largest area among all detected contours, argmax represents the maximum area value function, and A k represents the area of ​​each detected contour, the subscript z is used to identify the different detected contours, Dilation represents the result of the dilation operation, dialate represents the dilation function, and f i,j Represents the coordinates of the contour point, K represents the kernel used in the morphological opening operation, which is a structural element that defines the nature and scope of the operation. The kernel is the unit matrix for the morphological opening operation. Closing represents the result of the closing operation, and clone represents the closing function.

[0081] 4) Use the findContours function to extract the second contour again to obtain the third contour corresponding to the abdominal point cloud.

[0082] After obtaining the second contour with optimized contour through morphological opening operation, it can be extracted again, and specifically, the findContours function (another contour detection function, which plays the role of optimizing contour here) can be used to run on the image after preliminary processing to obtain a more accurate third contour. At this time, through the third contour, the abdominal point cloud of the corresponding range can be obtained from the initial point cloud.

[0083] In addition, as another exemplary embodiment of the present application, for the element of the severe shock wave attenuation area involved in the constraint model in the previous step S105, it can be understood that it has been mentioned before, and specifically may include the belly area, bone area, gas area and other areas that will cause severe shock wave attenuation (the attenuation degree is greater than the preset attenuation degree).

[0084] Corresponding to the incident path search process carried out by the octree-based k-nearest neighbor algorithm, the point clouds involved in the three areas of the belly area, the bone area and the gas area can be specifically converted into an Octree structure.

[0085] In this setting, each segmented unit (node) contains the point cloud data in the area to which it belongs, and when converted into an Octree structure, the time complexity can be reduced from linear O(n) to logarithmic O(longn) level through hierarchical division of space. Moreover, compared with the traditional traversal algorithm, the running time of the avoidance algorithm based on the Octree structure can also be optimized from about 60s to 25s. Obviously, both the computing efficiency and computing cost have been significantly optimized.

[0086] In addition, for a determined incident point (the epidermal incident point of the incident path), the present application may additionally configure Euler angles (incident angles) in consideration of better incident point data support, so that it may include not only the corresponding three-dimensional coordinate information, but also the corresponding Euler angle information.

[0087] Among them, the Euler angle information is the Euler angle in the Euler angle coordinate system. The Euler angle is composed of the nutation momentum α, the rotation angle (i.e., the precession angle) β and the rotation angle γ. It should be understood that the definition of the Euler angle coordinate system itself belongs to the scope of the prior art, so this application will no longer make a specific explanation.

[0088] Taking the incident angles of different incident paths before determining the optimal incident path as an example, it can also be recorded as the following set of incident angle data: {x1,y1,z1,α1,β1,γ1}, {x2,y2,z2,α2,β2,γ2}…{x n ,y n ,z n ,α n ,β n ,γ n} Where n is the number of incident paths searched.

[0089] Correspondingly, as another exemplary embodiment, taking the best incident point as an example, the position information of the epidermal incident point coordinates of the best incident path may specifically include three-dimensional coordinate information and Euler angle information. Correspondingly, the calculation process of the Euler angle information may specifically include the following contents: 1) Extract the three-dimensional coordinates of the three marking points configured by the user respectively, and the three marking points are not collinear with each other; 2) According to the three-dimensional coordinates of the three marking points, matrix A and matrix B are constructed. Matrix A corresponds to the image coordinate system (CT image coordinate system), and matrix B corresponds to the world coordinate system (system simulation coordinate system), and they are expressed as: A=[P local (1) ,P local (2) ,P local (3) ], B=[P fixed (1) ,P fixed (2) ,P fixed (3) ], Among them, P local (i) represents the coordinates of the i-th marker point in the CT image coordinate system, i = 1, 2, 3, P fixed (i) Represents the coordinates of the i-th marker point in the system simulation space coordinate system; 3) Calculate the matrix product by the following formula to obtain the matrix M: M=AB T ; 4) Perform singular value decomposition on the matrix M and obtain the following relationship: M=USV T , where U represents an orthogonal matrix and the left singular vector of the matrix M, S is a diagonal matrix, and the elements on the diagonal of S are the singular values ​​of the matrix M, V T represents another orthogonal matrix and also represents the transpose of the right singular vectors of the matrix M; 5) Obtain the rotation matrix R by the following formula: R=UV T ; 6) Get the Euler angle information, and have the following relationship: α=arcsin(-R 31 ), β=arctan2(R 32 ,R 33 ), γ=arctan2(R 21 ,R 11 ), Among them, R ij It represents the value of the i-th row and j-th column in the rotation matrix R, α represents the nutation angle, β represents the precession angle, and γ represents the rotation angle.

[0090] For the three marking points involved in the above content, as an example, three silicon nitride balls with a diameter of 5 mm can be used and placed at three locations on the user's body for measurement of three sets of three-dimensional coordinates, wherein the three marking points are not collinear.

[0091] When calculating the Euler angles, this application specifically uses the arctan2 function to obtain the precise angle value. Compared with the ordinary inverse tangent function (arctan function), the arctan2 function can take into account the signs of x and y, ensuring that the angle calculation can correctly reflect the rotation direction and amplitude in the rotation matrix, which is more helpful to accurately represent the rotation relationship in three-dimensional space.

[0092] It can be seen that in the embodiments here, the present application provides a set of specific implementation solutions for how to calculate the Euler angle information of the best incident point, which has better practical significance.

[0093] The above is an introduction to the method for processing the shock wave incident point of extracorporeal lithotripsy surgery provided by the present application. In order to facilitate better implementation of the method for processing the shock wave incident point of extracorporeal lithotripsy surgery provided by the present application, the present application also provides a device for processing the shock wave incident point of extracorporeal lithotripsy surgery from the perspective of functional modules.

[0094] See also Figure 2 , Figure 2 This is a schematic diagram of a structure of a device for processing shock wave incident points in extracorporeal lithotripsy surgery of the present application. In the present application, the device 200 for processing shock wave incident points in extracorporeal lithotripsy surgery may specifically include the following structure: A conversion unit 201, used to convert the collected CT data into an initial point cloud; An extraction unit 202 is used to extract a kidney region point cloud from the initial point cloud by using a level set algorithm based on a Chan-Vese model; A screening unit 2032 is used to screen out the stone point cloud in the kidney region point cloud by combining different HU values ​​corresponding to different tissues and organs in the kidney region; The identification unit 204 is used to identify the abdomen point cloud in the initial point cloud by using a contour extraction algorithm on the initial point cloud; The search unit 205 is used to search for the epidermal incident point coordinates for obtaining the best incident path in extracorporeal lithotripsy based on the abdominal point cloud and the stone point cloud in combination with the constructed constraint models of the shock wave focal length and the shock wave severe attenuation area through an octree-based k-nearest neighbor algorithm.

[0095] In an exemplary embodiment, the level set algorithm based on the Chan-Vese model is configured with the following contents: The initial point cloud describing the corresponding HU value is subjected to window thresholding processing to filter the connective tissue and fat structure and highlight the contour to obtain the first point cloud; The first point cloud is preprocessed using a watershed algorithm to obtain a second point cloud; Based on the preset central pixel point of the kidney region as the initial contour of the level set evolution, and based on the definition of an energy function that measures the similarity between the segmented region and the original image, an iterative solution is performed to iteratively minimize the energy function to update the level set evolution curve to screen out the point cloud belonging to the kidney region.

[0096] In yet another exemplary embodiment, the window width of the windowing thresholding process uses a value of 400 HU, and the window level uses a value of 125 HU.

[0097] In another exemplary embodiment, the iterative curve function of kidney evolution during the iteration process is specifically expressed as: CV (φ,c1,c2)=∫ in I(x)-c1 2 dx = ∫ out I(x)-c2 2 dx+vL(φ)+μRp(φ), Among them, F CV represents the iterative curve function of kidney evolution, φ represents the level set function, constant c1 represents the mean value obtained by grayscale statistics of the abdominal cavity area excluding kidney, constant c2 represents the mean value obtained by grayscale statistics of the abdominal cavity kidney area, in represents the kidney cavity area, I(x) represents the grayscale value of position x, out represents the abdominal cavity area excluding kidney, L(φ) represents the length term, Rp(φ) represents the regularization term, v represents the relative weight of the control image data item, and μ is the adjustment parameter; During the iteration process, the reduced kidney outer contour was used as the initial contour, the number of iterations was 40, and the step size Δt was 0.2.

[0098] In yet another exemplary embodiment, the contour extraction algorithm is configured with the following processing content: The circular area with a radius of 100 pixels and the geometric center of the kidney area point cloud as the center is used as the dividing line, and the initial point cloud is subjected to image binarization threshold processing to obtain the regional point cloud where the kidney area point cloud is located; Use the findcounter function to perform preliminary contour detection on the regional point cloud to obtain all contours in the regional point cloud; Performing a morphological opening operation on the first contour with the largest area among all contours to obtain a second contour, wherein the morphological opening operation includes dilation followed by erosion, and removing contour holes and protrusions; The findContours function is used to extract the second contour again to obtain the third contour corresponding to the abdominal point cloud.

[0099] In another exemplary embodiment, the shock wave severe attenuation region specifically includes a belly region, a bone region, and a gas region, and point clouds involved in the belly region, the bone region, and the gas region are all converted into an Octree structure.

[0100] In another exemplary embodiment, the position information of the epidermal incident point coordinates includes three-dimensional coordinate information and Euler angle information, and the calculation process of the Euler angle information includes the following contents: Extract the three-dimensional coordinates of three marking points configured by the user respectively, and the three marking points are not collinear with each other; According to the three-dimensional coordinates of the three marking points, matrix A and matrix B are constructed. Matrix A corresponds to the image coordinate system, and matrix B corresponds to the system simulation space coordinate system, and they are expressed as: A=[P local (1) ,P local (2) ,P local (3) ], B=[P fixed (1) ,P fixed (2) ,P fixed (3) ], Among them, P local (i) represents the coordinates of the i-th marker point in the CT image coordinate system, i = 1, 2, 3, P fixed (i) Represents the coordinates of the i-th marker point in the system simulation space coordinate system; The matrix M is obtained by calculating the matrix product through the following formula: M=AB T ; Performing singular value decomposition on the matrix M, we obtain the following relationship: M=USV T , Among them, U represents an orthogonal matrix and also represents the left singular vector of the matrix M, S represents a diagonal matrix, and the elements on the diagonal of S are the singular values ​​of the matrix M, V T represents another orthogonal matrix and also represents the transpose of the right singular vectors of the matrix M; The rotation matrix R is obtained by the following formula: R=UV T ; Get Euler angle information and have the following relationship: α=arcsin(-R 31 ), β=arctan2(R 32 ,R 33), γ=arctan2(R 21 ,R 11 ), Among them, R ij It represents the value of the i-th row and j-th column in the rotation matrix R, α represents the nutation angle, β represents the precession angle, and γ represents the rotation angle.

[0101] This application also provides a processing device from the perspective of hardware structure, see Figure 3 , Figure 3 301, a memory 302, and an input / output device 303. The processor 301 is used to execute the computer program stored in the memory 302 to implement the following Figure 1 The steps of the method for processing the shock wave incident point of the extracorporeal lithotripsy surgery in the corresponding embodiment; or, the processor 301 is used to execute the computer program stored in the memory 302 to implement the following Figure 2 Corresponding to the functions of each unit in the embodiment, the memory 302 is used to store the processor 301 executing the above Figure 1 The computer program required for the method for processing the shock wave incident point in extracorporeal lithotripsy surgery in the corresponding embodiment.

[0102] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 302, and executed by the processor 301 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0103] The processing device may include, but is not limited to, a processor 301, a memory 302, and an input / output device 303. Those skilled in the art will appreciate that the illustration is merely an example of a processing device and does not constitute a limitation on the processing device, and may include more or fewer components than shown in the illustration, or a combination of certain components, or different components. For example, the processing device may also include a network access device, a bus, etc., and the processor 301, the memory 302, the input / output device 303, etc. are connected via a bus.

[0104] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the processing device, and uses various interfaces and lines to connect various parts of the entire device.

[0105] The memory 302 can be used to store computer programs and / or modules. The processor 301 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 302 and calling the data stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the processing device, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0106] When the processor 301 is used to execute the computer program stored in the memory 302, the following functions can be implemented: Convert the acquired CT data into an initial point cloud; The kidney area point cloud is extracted from the initial point cloud using the level set algorithm based on the Chan-Vese model; In the point cloud of the kidney area, the different HU values ​​corresponding to different tissues and organs in the kidney area are combined to screen out the stone point cloud; In the initial point cloud, the abdomen point cloud is identified through the contour extraction algorithm; Based on the abdominal point cloud and stone point cloud, combined with the constructed constraint models of shock wave focal length and shock wave severe attenuation area, the coordinates of the epidermal incident point that achieves the best incident path in extracorporeal lithotripsy are searched through the octree-based k-nearest neighbor algorithm.

[0107] A person skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device for processing the shock wave incident point of the extracorporeal lithotripsy surgery, the processing equipment and the corresponding units can refer to the following. Figure 1 The description of the method for processing the shock wave incident point in the extracorporeal lithotripsy surgery in the corresponding embodiment will not be repeated here in detail.

[0108] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0109] To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the present application as follows: Figure 1 The steps of the method for processing the shock wave incident point of the extracorporeal lithotripsy surgery in the corresponding embodiment, the specific operation can be referred to as follows Figure 1 The description of the method for processing the shock wave incident point in the extracorporeal lithotripsy surgery in the corresponding embodiment will not be repeated here.

[0110] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0111] Due to the instructions stored in the computer-readable storage medium, the present application can be executed. Figure 1 The steps of the method for processing the shock wave incident point of extracorporeal lithotripsy surgery in the corresponding embodiment, therefore, the present application can be realized as follows Figure 1 The beneficial effects that can be achieved by the method for processing the shock wave incident point during extracorporeal lithotripsy surgery in the corresponding embodiment are detailed in the previous description and will not be repeated here.

[0112] The above is a detailed introduction to the processing method, device, processing equipment and computer-readable storage medium for the shock wave incident point of extracorporeal lithotripsy provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for processing the shock wave incident point in extracorporeal lithotripsy, characterized in that: The method comprises: Convert the acquired CT data into an initial point cloud; Extracting kidney region point cloud from the initial point cloud by using a level set algorithm based on the Chan-Vese model; In the kidney region point cloud, the stone point cloud is screened out by combining different HU values ​​corresponding to different tissues and organs in the kidney region; in the initial point cloud, the abdominal point cloud is identified by using a contour extraction algorithm for the initial point cloud; Based on the abdominal point cloud and the stone point cloud, combined with the constructed constraint models of shock wave focal length and shock wave severe attenuation area, the coordinates of the epidermal incident point that achieves the best incident path in extracorporeal lithotripsy are searched through the octree-based k-nearest neighbor algorithm.

2. The method according to claim 1, characterized in that The level set algorithm based on the chan-vese model is configured with the following contents: Performing a windowing thresholding process on the initial point cloud described with the corresponding HU value to filter the connective tissue and fat structure and highlight the contour to obtain a first point cloud; Preprocessing the first point cloud using a watershed algorithm to obtain a second point cloud; Based on the preset central pixel point of the kidney region as the initial contour of the level set evolution, and on the basis of defining an energy function that measures the similarity between the segmented region and the original image, an iterative solution is performed to iteratively minimize the energy function to update the level set evolution curve in order to screen out the point cloud belonging to the kidney region.

3. The method according to claim 2, characterized in that The window width of the windowing thresholding process adopts a value of 400HU, and the window level adopts a value of 125HU.

4. The method according to claim 2, characterized in that: The iterative curve function of kidney evolution during the iteration process is specifically expressed as: F CV (φ,c1,c2)=∫ in I(x)-c1 2 dx=∫ out I(x)-c2 2 dx+vL(φ)+μRp(φ), Among them, F CV represents the iterative curve function of the kidney evolution, φ represents the level set function, the constant c1 represents the mean value obtained by grayscale statistics of the abdominal cavity area excluding the kidney, the constant c2 represents the mean value obtained by grayscale statistics of the abdominal cavity kidney area, in represents the kidney inner cavity area, I(x) represents the grayscale value of position x, out represents the abdominal cavity area excluding the kidney, L(φ) represents the length term, Rp(φ) represents the regularization term, v represents the relative weight of the control image data item, and μ is the adjustment parameter; During the iteration process, the reduced kidney outer contour was used as the initial contour, the number of iterations was 40, and the step size Δt was 0.

2.

5. The method according to claim 1, characterized in that: The contour extraction algorithm is configured with the following processing content: Taking the geometric center of the kidney region point cloud as the center and a circular area with a radius of 100 pixels as the dividing line, the initial point cloud is subjected to image binarization threshold processing to obtain the regional point cloud where the kidney region point cloud is located; the findcounter function is used to perform preliminary contour detection on the regional point cloud to obtain all contours in the regional point cloud; a morphological opening operation is performed on the first contour with the largest area among all the contours to obtain a second contour, wherein the morphological opening operation includes dilation first and then erosion, and removing contour holes and protrusions; The second contour is extracted again using the findContours function to obtain a third contour corresponding to the abdomen point cloud.

6. The method according to claim 1, characterized in that The shock wave severe attenuation region specifically includes a belly region, a bone region and a gas region, and point clouds involved in the belly region, the bone region and the gas region are all converted into an Octree structure.

7. The method according to claim 1, characterized in that The position information of the epidermal incident point coordinates includes three-dimensional coordinate information and Euler angle information, and the calculation process of the Euler angle information includes the following contents: Respectively extracting the three-dimensional coordinates of three marking points configured by the user, wherein the three marking points are not collinear with each other; According to the three-dimensional coordinates of the three marking points, matrix A and matrix B are constructed. The matrix A corresponds to the image coordinate system, and the matrix B corresponds to the system simulation space coordinate system, and is expressed as: A=[P local (1) ,P local (2) ,P local (3) ], B=[P fixed (1) ,P fixed (2) ,P fixed (3) ], Among them, P local (i) represents the coordinates of the i-th marker point in the CT image coordinate system, i = 1, 2, 3, P fixed (i) represents the coordinates of the i-th marking point in the system simulation space coordinate system; The matrix M is obtained by calculating the matrix product through the following formula: M=AB T ; Performing singular value decomposition on the matrix M, the following relationship is obtained: M=USV T , Wherein, U represents an orthogonal matrix and is also the left singular vector of the matrix M, S represents a diagonal matrix, and the elements on the diagonal of S are the singular values ​​of the matrix M, V T is another orthogonal matrix, and represents the transpose of the right singular vectors of the matrix M; The rotation matrix R is obtained by the following formula: R=UV T ; Get the Euler angle information and have the following relationship: α=arcsin(-R 31 ), β=arctan2(R 32 ,R 33 ), γ=arctan2(R 21 ,R 11 ), Among them, R ij represents the value of the i-th row and j-th column in the rotation matrix R, α represents the nutation angle, β represents the precession angle, and γ represents the rotation angle.

8. A device for processing the shock wave incident point in extracorporeal lithotripsy, characterized in that: The device comprises: A conversion unit, used for converting the acquired CT data into an initial point cloud; An extraction unit, used for extracting a kidney region point cloud from the initial point cloud by using a level set algorithm based on a Chan-Vese model; A screening unit, configured to screen out a stone point cloud in the kidney region point cloud by combining different HU values ​​corresponding to different tissues and organs in the kidney region; The identification unit is used to identify the abdominal point cloud in the initial point cloud by using a contour extraction algorithm; the search unit is used to search for the epidermal incident point coordinates for obtaining the best incident path in extracorporeal lithotripsy based on the abdominal point cloud and the stone point cloud in combination with the constructed constraint models of the shock wave focal length and the shock wave severe attenuation area through an octree-based k-nearest neighbor algorithm.

9. A processing device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the method according to any one of claims 1 to 7 when calling the computer program in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Kidney stone detection method and system based on CT slice

    CN114240937A

  • Shock wave incidence point simulation planning method and system based on medical image

    CN114550943A

  • Contour analysis system for kidney stone image

    CN116523940A

  • System And Method For Assessing Lithotripsy

    US20100249671A1

Cited By

  • Kidney stone body surface incidence point determination method, system and equipment and storage medium

    CN119970266A

  • Method, system, device and storage medium for determining the surface entry point of kidney stones

    CN119970266B

  • Kidney stone three-dimensional coordinate determination method, system and device and storage medium

    CN120014055A

  • Three-dimensional Coordinate Determination Method, System, Device and Storage Medium for Kidney Stones

    CN120014055B