Three-dimensional information extraction method and extraction system for radiotherapy CT images
By preprocessing and dividing feature areas in radiotherapy CT images and converting them into point cloud data, the problem of information loss and low efficiency in the existing technology is solved, fast and accurate three-dimensional information extraction is achieved, and accurate radiotherapy plan formulation is supported. .
Patent Information
- Application Number
- CN202411000932.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-25
AI Technical Summary
When existing technology extracts three-dimensional information from radiotherapy CT images, it is easy to lose internal information, resulting in too much information when formulating radiotherapy plans, affecting efficiency, and making it difficult to accurately capture the three-dimensional data of tumors changing over time.
By preprocessing CT images within the respiratory cycle, time point image groups are extracted, a reference group is selected and divided into feature areas, and other image groups are converted into point cloud data. Three-dimensional vectors are extracted by combining principal component analysis and boundary zone diffusion. information, reducing the information duplication rate and improving extraction efficiency.
It achieves rapid and accurate extraction of three-dimensional tumor data information, reduces irrelevant information, improves information extraction efficiency, can better describe the changes in the gray value of the tumor, and supports the formulation of accurate radiotherapy plans.
Smart Images

Figure CN118552645B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a method and system for extracting three-dimensional information from radiotherapy CT images. Background Art
[0002] During radiotherapy, CT images or CT images are used to capture the tumor in order to formulate a radiotherapy plan. Because the position and shape of the tumor in the patient's lungs are affected by breathing, 4D CT technology is used to locate the tumor. 4D CT technology is used to capture the changes in the position of the tumor during the patient's breathing. Therefore, when formulating a radiotherapy plan, the changes in the position of the tumor during the patient's breathing can be taken into account.
[0003] When extracting CT images or three-dimensional image information of CT images, the current solution is to convert the two-dimensional CT image sequence into three-dimensional volume data and use the three-dimensional volume data to formulate a radiotherapy plan, or to convert the three-dimensional volume data into three-dimensional point cloud data and then formulate a radiotherapy plan.
[0004] After converting 3D volume data into 2D point cloud data, the internal information in the 3D volume data is easily lost. In the 3D volume data, the internal voxel information is too redundant, resulting in too much information to be input when making a radiotherapy plan, which affects the efficiency of making a radiotherapy plan.
[0005] Thus, there is currently a lack of an information extraction method that can quickly and accurately extract three-dimensional data of tumor changes over time. Summary of the invention
[0006] The content of this application is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this application is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0007] As a first aspect of the present application, in order to solve the technical problems mentioned in the above background technology section, the present application provides a method for extracting three-dimensional information of radiotherapy CT images, comprising the following steps:
[0008] Step 1: Collect CT images of the patient in one respiratory cycle and preprocess the CT images;
[0009] Step 2: extract m time points from the respiratory cycle, and use the CT images collected at each time point as an image group to obtain m image groups;
[0010] Step 3: Select a reference group m0 from the m image groups, divide the reference group m0 into several feature regions, and convert each feature region into point cloud data;
[0011] Step 4: The remaining image groups will convert the corresponding calculation areas in the reference group into point cloud data in turn.
[0012] In the technical solution provided in the present application, the CT images within a respiratory cycle are converted and represented by point cloud data, thereby reducing the repetition rate of internal information of the tumor. At the same time, in order to improve the efficiency of information extraction, when converting into point cloud data, the corresponding areas of the remaining image groups and the reference image group are converted into point cloud data, and the remaining image groups can be quickly converted into data point clouds.
[0013] In view of the fact that CT images contain a lot of information that is irrelevant to tumors, this application provides the following technical solutions:
[0014] The pre-processing comprises the following steps:
[0015] Step 11: obtaining a tomographic sequence of the CT image, and selecting a tumor position sequence from the tomographic sequence according to the location of the tumor;
[0016] Step 12: For each tomographic image in the tumor position sequence, a region of interest is pre-set, and image information outside the region of interest in each tomographic image is deleted, and the maximum range of the region of interest is larger than the maximum range of the tumor in the tomographic image.
[0017] In the technical solution provided by the present application, the tumor position sequence is firstly screened out from the tomographic sequence, and then the CT image information irrelevant to the area where the tumor is located is removed. Then, the maximum range is set in the tumor position sequence, and the information irrelevant to the tumor in the CT image containing the tumor is further deleted, thereby improving the efficiency of information extraction.
[0018] During the breathing process, the patient may move, which may cause misalignment of CT images at different time points. To address this problem, this application includes the following steps:
[0019] Step 2 includes the following steps:
[0020] Step 21: Divide the respiratory cycle into m time points, wherein the m time points include a time point when the inspiratory volume is maximum, a time point when the expiratory volume is maximum, and a time point when the inspiratory volume is zero;
[0021] Step 22: The first image group among the m image groups is used as a registration reference group, and the remaining image groups are registered with the registration reference group, wherein the registration includes translation and rotation.
[0022] In the technical solution provided in the present application, by aligning all image groups, making the tomographic images of the same sequence in each image group represent the same area, and comparing the tomographic images of the same order in each image group, the dynamic information of the tumor can be captured.
[0023] The three-dimensional model constructed by voxels is difficult to capture the changing information of cancer cell density during breathing, which is not conducive to the design of radiotherapy plan. To address this problem, this application provides the following technical solutions:
[0024] Step 3 includes the following steps:
[0025] Step 31: Take the image group corresponding to the time point when the inspiratory volume is zero as the reference group m0, and obtain each tomographic image m in the reference group m0. 0,i The gray value of each pixel point, i is the index of the fault layer image in the reference group m0, m 0,i represents the i-th picture in the reference image m0;
[0026] Step 32: Transform the tomographic image 0,i The pixel point (i, k) in is converted into a three-dimensional vector representation, where (i, k) represents the tomographic image m 0,i The kth pixel in ;
[0027] A three-dimensional vector includes first-dimensional information, second-dimensional information, and third-dimensional information;
[0028] The first dimension of information is the tomographic image m 0,i The sequence information in the reference group m0, the second dimension information is the pixel point (i, k) in the tomographic image m 0,i The third dimension information is the gray value of the pixel;
[0029] Step 33: Calculate the three-dimensional vector P (i, k, r) of each pixel in the reference group m0 i,k ), obtain the three-dimensional vector matrix M of the lth boundary area m0 of the reference group;
[0030] Among them, i represents the first dimension information of the three-dimensional vector P, k represents the second dimension information of the three-dimensional vector P, and r i,k Represents the third dimension information of the three-dimensional vector P;
[0031] Step 34: Divide the three-dimensional vector matrix into a number of feature regions;
[0032] Step 35: Pre-set the point cloud extraction method, and convert the feature areas into point cloud data according to the average grayscale value in each feature area.
[0033] In the technical solution provided by the present application, all the tomographic images in the reference group are converted into three-dimensional vector representations. Because the three-dimensional vector contains the position information and gray value information of each pixel, the feature region obtained by dividing the three-dimensional vector matrix can represent the change of gray value information in space, that is, the region with continuous position area and similar gray value will be divided into feature region.
[0034] The step 34 comprises the following steps:
[0035] Step 341: Divide the three-dimensional vector matrix into a number of boundary regions;
[0036] Step 342: diffuse the boundary areas according to the adjacency relationship and coplanarity relationship of each boundary area, and classify the boundary areas that have completed diffusion;
[0037] Step 343: According to the distance between each boundary area, the boundary areas of the same category are merged to obtain a plurality of feature areas.
[0038] In the technical solution provided in the present application, the coplanar relationship is used to determine whether to divide it into a boundary area. In the three-dimensional vector matrix, the elements of the three dimensions include not only the spatial position relationship of the pixel points, but also the grayscale information of the pixel points. In this way, the coplanar relationship is used to obtain the feature area, and feature areas that are connected together in spatial relationship and have similar grayscale values can be obtained.
[0039] Further, step 341 includes the following steps:
[0040] Step 3411: taking each three-dimensional vector in the three-dimensional vector matrix as a query point;
[0041] Step 3412: For each query point, find the h points closest to the query point to form a point set A;
[0042] Step 3413: Perform principal component analysis on point set A, and take the smallest principal component direction as the normal vector a1, and the other two component vectors as a2 and a3;
[0043] Step 3414: For the query point and any point a in point set A j The vector a j ', vector a j 'Project along the direction of the normal vector n onto the two-dimensional plane formed by a2 and a3 to obtain the projection vector a j ;
[0044] Step 3415: Calculate projection vector a j The angle between a2 and a2, and the angles formed by the points extracted from the point set A are sorted in ascending order;
[0045] Step 3416: Preset the angle threshold θ max If point a j The angle generated is greater than θ max Then point a j After obtaining the boundary point set of the three-dimensional vector matrix and the boundary point set of the point cloud, we can obtain the boundary area f j, j∈[1,J], j is the index of the boundary region, J is the total number of boundary regions, f j represents the jth boundary region.
[0046] In the technical solution provided in the present application, principal component analysis is used to find the area where the information in the three dimensions of the three-dimensional vector matrix changes most dramatically, and the area where the three-dimensional information changes most dramatically is the area related to the boundary. The obtained boundary area can well describe the area with the same or similar grayscale values and the consistent spatial position in the reference group.
[0047] Further, step 342 includes the following steps:
[0048] Step 3421: Filtering a number of reference areas from all boundary areas;
[0049] Step 3422: According to the boundary area f j Adjacency and coplanarity relationships are used to diffuse the reference area;
[0050] Diffusion conditions include: boundary region f j In the reference area f u The search radius is, u represents the index of the reference area, f u represents the u-th reference area;
[0051] When the growth conditions are met, the boundary region f j From the center point to the reference area f u If the distance d of the plane is less than the set distance threshold σ, f j With f u merged into the same boundary area;
[0052] Step 3423: sorting all the boundary regions that have completed diffusion according to the number of three-dimensional vectors contained in each boundary region;
[0053] Step 3424: Divide the boundary areas into c categories according to the arrangement order of the boundary areas, where c>3.
[0054] In the technical solution provided in the present application, the boundary areas are merged according to the distance between each boundary area, so that relatively similar boundary areas can be connected together, and then classified according to the size occupied by each boundary area, so that the tumor area can be quickly segmented to reflect the density information of cancer cells in different areas.
[0055] Step 343 includes:
[0056] For the boundary region f of the same category j , set a search radius and search the remaining boundary areas of the same category;
[0057] If we find an adjacent boundary region fj-l , f j-l Represents the boundary area f j The lth boundary area of the same category within the search radius, boundary area f j With the boundary area f j-l If the distance is less than the preset threshold, the boundary area f j With the boundary area f j-l merge;
[0058] If no adjacent boundary region is found, the boundary region remains independent, and the remaining boundary region is used as the feature region of the three-dimensional vector.
[0059] Further, step 4 includes the following steps:
[0060] Step 41: obtaining the segmentation area and segmentation ratio of the tumor by each characteristic area in the reference image group m0;
[0061] Step 42: The remaining image groups are divided into calculation areas of the same number as those in the reference image group according to the segmentation method and the segmentation ratio;
[0062] Step 43: Each calculation area is converted into point cloud data according to the average gray value of the calculation area.
[0063] In this application, the entire target area of the patient is converted into point cloud data representation, and the density change of the pixel points in the point cloud data will obviously have boundary information, which is convenient for providing accurate radiation dose when formulating subsequent radiotherapy plans.
[0064] As a second aspect of the present application, the present application provides a three-dimensional information extraction system for radiotherapy CT images, comprising: an image information acquisition module and a three-dimensional information extraction module;
[0065] The image information acquisition module is used to acquire the CT image of the patient within a respiratory cycle, and the three-dimensional information extraction module uses the three-dimensional information extraction method of the radiotherapy CT image to extract the point cloud information of the CT image that changes with time.
[0066] The beneficial effects of this application are:
[0067] In the technical solution provided by the present application, the reference group is converted into a three-dimensional matrix description, and then the reference group is divided into several feature areas, so for each feature area, it is a region that is continuous in space and has relatively close grayscale values. Point cloud data is then extracted for each feature area, so the density of the point cloud is consistent in each feature area, while the density of the point cloud is inconsistent in different feature areas. Therefore, the density of the point cloud data can better reflect the change information of the grayscale value. Furthermore, the point cloud density is high in areas with relatively large grayscale values (high cancer cell density), and low in areas with small grayscale values (small cancer cells). In this way, the three-dimensional information of the tumor can be accurately described with less data. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The illustrative embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application.
[0069] In addition, throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the components and elements are not necessarily drawn to scale.
[0070] In the attached picture:
[0071] Figure 1 Schematic diagram of the three-dimensional information extraction method for radiotherapy CT images. DETAILED DESCRIPTION
[0072] Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms, and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0073] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0074] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.
[0075] Example 1: Reference Figure 1 , a method for extracting three-dimensional information from radiotherapy CT images, comprising the following steps:
[0076] Step 1: Collect CT images of the patient in one respiratory cycle and preprocess the CT images.
[0077] In addition to tumor information, CT images also contain a lot of information that is irrelevant to the tumor. This irrelevant information is used to generate subsequent point cloud data, which will reduce operating efficiency. To address this problem, this application provides the following technical solutions:
[0078] The pre-processing comprises the following steps:
[0079] Step 11: Obtain a tomographic sequence of the CT image, and select a tumor position sequence from the tomographic sequence according to the location of the tumor.
[0080] A slice sequence is a sequence of slice images in a CT image. The CT image is used to represent the scan information of each slice area of the patient. For example, if a patient undergoes a chest CT scan to find a tumor in the lungs, the CT image will include scan information of the patient's entire chest. Because the tumor will not fill the entire chest, the slice images where the tumor does not exist are deleted, thereby filtering out the tumor location sequence.
[0081] Step 12: For each tomographic image in the tumor position sequence, a region of interest is pre-set, and image information outside the region of interest in each tomographic image is deleted, and the maximum range of the region of interest is larger than the maximum range of the tumor in the tomographic image.
[0082] The tumor will not fill the entire tomographic image, so a region of interest is set on a tomographic image in advance, and then the information outside the region of interest in each tomographic image in the tumor position sequence is deleted, so the amount of information irrelevant to the tumor in the CT image can be reduced.
[0083] Step 2: Extract m time points from the respiratory cycle, and use the CT images collected at each time point as an image group to obtain m image groups.
[0084] During the breathing process, the patient may move, which may cause the CT images at different time points to be misaligned. To address this problem, the present application includes the following steps:
[0085] Step 2 includes the following steps:
[0086] Step 21: Divide the respiratory cycle into m time points, wherein the m time points include a time point when the inspiratory volume is maximum, a time point when the expiratory volume is maximum, and a time point when the inspiratory volume is zero.
[0087] When the patient is breathing, the shape of the tumor will change with the breathing. In order to obtain dynamic information about the changes of the tumor with the patient's breathing, it is necessary to find the relationship between the dynamic changes of the tumor and the breathing situation. In this solution, the extracted time points include the time point when the inhalation volume is the largest, the time point when the exhalation volume is the largest, and the time point when the inhalation volume is zero. The image groups corresponding to the above time points can intuitively describe the patient's breathing process, and then collecting the image groups corresponding to the above time points can reflect the relationship that the shape of the tumor will change with breathing.
[0088] Step 22: The first image group among the m image groups is used as a registration reference group, and the remaining image groups are registered with the registration reference group, wherein the registration includes translation and rotation.
[0089] Step 3: Select a reference group m0 from the m image groups, convert each tomographic image in the reference group m0 into raw cloud data, and then divide the raw cloud data of each tomographic image into several feature regions.
[0090] In the existing radiotherapy technical solutions, the radiotherapy plan is selected based on the three-dimensional model constructed from the tomographic image. This three-dimensional model is difficult to capture the changing information of cancer cell density during breathing, which is not conducive to the design of radiotherapy plan. To address this problem, this application provides the following technical solutions:
[0091] Step 3 includes the following steps:
[0092] Step 31: Take the image group corresponding to the time point when the inspiratory volume is zero as the reference group m0, and obtain each tomographic image m in the reference group m0. 0,i The gray value of each pixel point, i is the index of the fault layer image in the reference group m0, m 0,i represents the i-th picture in the reference image m0;
[0093] Step 32: Transform the tomographic image 0,i The pixel point (i, k) in is converted into a three-dimensional vector representation, where (i, k) represents the tomographic image m 0,i The kth pixel in ;
[0094] A three-dimensional vector includes first-dimensional information, second-dimensional information, and third-dimensional information;
[0095] The first dimension of information is the tomographic image m 0,i The sequence information in the reference group m0, the second dimension information is the pixel point (i, k) in the tomographic image m 0,i The third dimension information is the position information in the pixel, and the third dimension information is the gray value of the pixel.
[0096] Specifically, the first dimension of information is sequence information, which is actually the order of the tomographic image corresponding to the pixel point in the reference image group m0. If the tomographic image where the pixel point is located is the first image in the reference image group m0, the sequence information is 1. The second dimension of information is position information, which is the number of the pixel point in the tomographic image. All pixels are sorted from 1 to the next to obtain the sequence number of each pixel point, which is the position information of the pixel point. The third dimension of information is the gray value.
[0097] Furthermore, in order to allow the second-dimensional information to well represent the position information of each pixel point, the present solution uses a linear indexing method or a Hippo curve to describe the second-dimensional information. The following is an example of a linear indexing method. Assuming that in the i-th tomographic image, the coordinates of point P of the tomographic image are (x, y), the maximum number of rows of the tomographic image is X, and the maximum number of columns is Y, then k=xY+y. If x=2, y=3, Y=4, then k=11. The Hippo curve is a prior art, and the specific conversion method will not be described here.
[0098] Step 33: Calculate the three-dimensional vector P (i, k, r) of each pixel in the reference group m0 i,k ), obtain the three-dimensional vector matrix M of the reference group m0;
[0099] Among them, i represents the first dimension information of the three-dimensional vector P, k represents the second dimension information of the three-dimensional vector P, and r i,k Represents the third dimension information of the three-dimensional vector P;
[0100] Step 34: Divide the three-dimensional vector matrix into a number of feature regions;
[0101] Further, the step 34 includes the following steps:
[0102] Step 341: Divide the three-dimensional vector matrix into a number of boundary regions.
[0103] Further, step 341 includes the following steps:
[0104] Step 3411: taking each three-dimensional vector in the three-dimensional vector matrix as a query point;
[0105] Step 3412: For each query point, find the h points closest to it to form a point set A;
[0106] Step 3413: Perform principal component analysis on point set A, and take the smallest principal component direction as the normal vector a1, and the other two component vectors as a2 and a3;
[0107] Principal Components Analysis (PCA) is a commonly used data dimensionality reduction technique that converts a set of possibly correlated variables into a set of linearly uncorrelated variables, i.e., principal components, through orthogonal transformation. The specific dimensionality reduction method will not be described in detail in this application. In this application, three components are obtained by principal component analysis.
[0108] Step 3414: For the query point and any point a in point set A j The vector a j ', vector a j 'Project along the direction of the normal vector n onto the two-dimensional plane formed by a2 and a3 to obtain the projection vector a j ;
[0109] Step 3415: Calculate projection vector a j The angle between a2 and a2, and the angles formed by the points extracted from the point set A are sorted in ascending order;
[0110] Step 3416: Preset the angle threshold θ max If point a j The angle generated is greater than θ max Then point a j After obtaining the boundary point set of the three-dimensional vector matrix and the boundary point set of the point cloud, we can obtain the boundary area f j , j∈[1,J], j is the index of the boundary region, J is the total number of boundary regions, f j represents the jth boundary region.
[0111] Step 342: diffuse the boundary areas according to the adjacency relationship and coplanarity relationship of each boundary area, and classify the boundary areas that have completed diffusion;
[0112] Further, step 342 includes the following steps:
[0113] Step 3421: Filtering a number of reference areas from all boundary areas;
[0114] Step 3422: According to the boundary area f j Adjacency and coplanarity relationships are used to diffuse the reference area;
[0115] Diffusion conditions include: boundary region f j Must be in reference zone f u The search radius is, u represents the index of the reference area, f u represents the u-th reference area;
[0116] When the growth conditions are met, the boundary region f j From the center point to the reference area f u If the distance d of the plane is less than the set distance threshold σ, fj With f u It is classified into a type of area, and whether to f j As a reference area for subsequent diffusion. This condition is the reference area f u Whether the surrounding area has been connected to the rest of the boundary area. If it has been connected, it will not be used as a reference area.
[0117] Step 3423: sorting all the boundary regions that have completed diffusion according to the number of three-dimensional vectors contained in each boundary region;
[0118] Step 3424: Divide the boundary areas into c categories according to the arrangement order of the boundary areas, where c>3.
[0119] Step 343: According to the distance between each boundary area, the boundary areas of the same category are merged to obtain a plurality of feature areas.
[0120] Specifically, step 343 is:
[0121] For the boundary region f of the same category j , set a search radius and search the remaining boundary areas of the same category;
[0122] If we find an adjacent boundary region f j-l , f j-l Represents the boundary area f j The lth boundary area of the same category within the search radius, boundary area f j With the boundary area f j-l If the distance is less than the preset threshold, the boundary area f j With the boundary area f j-l merge;
[0123] If no adjacent boundary region is found, the boundary region remains independent, and the remaining boundary region is used as the feature region of the three-dimensional vector.
[0124] Step 35: Pre-set the point cloud extraction method, and convert the feature areas into point cloud data according to the average grayscale value in each feature area.
[0125] In step 35, the larger the average grayscale value of the feature region is, the more pixels are extracted from the corresponding feature region. In this way, the three-dimensional point cloud data of the patient's tumor at the time point corresponding to the reference group m0 is finally obtained.
[0126] In the technical solution provided in the present application, all the tomographic images in the reference group are converted into three-dimensional vector representations. Because the three-dimensional vector contains the position information and gray value information of each pixel, the feature area obtained by dividing the three-dimensional vector matrix can represent the change of gray value information in space.
[0127] In the technical solution provided in the present application, when dividing the feature area, all information in the reference group is converted into a two-dimensional three-dimensional vector matrix, the boundary area is diffused using the adjacency relationship and coplanar relationship, and the feature area is obtained through a priority search mechanism. The feature area will consider the similarity of the grayscale values of all pixels and the spatial relationship of the pixels in the reference group, so the feature area can be divided reasonably.
[0128] Step 4: The remaining image groups will convert the corresponding calculation areas in the reference group into point cloud data.
[0129] Performing the above-mentioned segmentation of the three-dimensional point cloud data for each image group will consume a lot of computing resources, and the cost-effective method of calculating the feature area of each image group is not consistent. To address this problem, the present application provides the following technical solutions:
[0130] Further, step 4 includes the following steps:
[0131] Step 41: obtaining the segmentation area and segmentation ratio of the tumor by each characteristic area in the reference image group m0;
[0132] Step 42: The remaining image groups are divided into calculation areas of the same number as those in the reference image group according to the segmentation method and the segmentation ratio;
[0133] Step 43: Each calculation area is converted into point cloud data according to the average gray value of the calculation area.
[0134] The point cloud extraction method in step 4 is the same as that in step 35.
[0135] In this way, the entire target area of the patient is converted into point cloud data representation, and the density change of the pixels in the point cloud data will clearly have boundary information, which is convenient for providing accurate radiation dose when formulating subsequent radiotherapy plans.
[0136] Embodiment 2: A three-dimensional information extraction system for radiotherapy CT images, comprising: an image information acquisition module and a three-dimensional information extraction module;
[0137] The image information acquisition module is used to acquire the CT image of the patient within a respiratory cycle, and the three-dimensional information extraction module uses the three-dimensional information extraction method of the radiotherapy CT image to extract the point cloud information of the CT image that changes with time.
[0138] The above description is only some preferred embodiments of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present application is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present application to form a technical solution.
Claims
1. A method for extracting three-dimensional information from radiotherapy CT images. It is characterized in that The steps include: Step 1: Collect CT images of the patient in one respiratory cycle and preprocess the CT images; Step 2: extract m time points from the respiratory cycle, and use the CT images collected at each time point as an image group to obtain m image groups; Step 3: Select a reference group m from the m image groups 0 , the reference group m 0 Divide into several feature areas, and convert each feature area into point cloud data; Step 4: The remaining image groups will convert the corresponding calculation areas in the reference group into point cloud data; Dividing the respiratory cycle into m time points, wherein the m time points include a time point when the inspiratory volume is maximum, a time point when the expiratory volume is maximum, and a time point when the inspiratory volume is zero; Step 3 includes the following steps: Step 31: The image group corresponding to the time point when the inspiratory volume is zero is used as the reference group m 0 , get the reference group m 0 Each fault image m 0,i The gray value of each pixel, i is the reference group m 0 The index of the fault layer image, m 0,i Indicates reference image m 0 The i-th picture in ; Step 32: Transform the tomographic image 0,i The pixel point (i, k) in is converted into a three-dimensional vector representation, where (i, k) represents the tomographic image m 0,i The kth pixel in ; A three-dimensional vector includes first-dimensional information, second-dimensional information, and third-dimensional information; The first dimension of information is the tomographic image m 0,i In the reference group m 0 The second dimension information is the sequence information in the tomographic image m. 0,i The third dimension information is the gray value of the pixel; Step 33: Calculate the reference group m 0 The three-dimensional vector P (i, k, r) of each pixel in i,k ), and obtain the reference group m 0 The three-dimensional vector matrix M of Among them, i represents the first dimension information of the three-dimensional vector P, k represents the second dimension information of the three-dimensional vector P, and r i,k Represents the third dimension information of the three-dimensional vector P; Step 34: Divide the three-dimensional vector matrix into a number of feature regions; Step 35: Pre-set the point cloud extraction method, and convert the feature areas into point cloud data according to the average grayscale value in each feature area.
2. The method for extracting three-dimensional information from radiotherapy CT images according to claim 1, Features: The pre-processing comprises the following steps: Step 11: obtaining a tomographic sequence of the CT image, and selecting a tumor position sequence from the tomographic sequence according to the location of the tumor; Step 12: For each tomographic image in the tumor position sequence, a region of interest is pre-set, and image information outside the region of interest in each tomographic image is deleted, and the maximum range of the region of interest is larger than the maximum range of the tumor in the tomographic image.
3. The method for extracting three-dimensional information from radiotherapy CT images according to claim 1, Features: Step 2 includes: The first image group among the m image groups is used as a registration reference group, and the remaining image groups are registered with the registration reference group, and the registration includes translation and rotation.
4. The method for extracting three-dimensional information from radiotherapy CT images according to claim 1, Features: The step 34 comprises the following steps: Step 341: Divide the three-dimensional vector matrix into a number of boundary regions; Step 342: diffuse the boundary areas according to the adjacency relationship and coplanarity relationship of each boundary area, and classify the boundary areas that have completed diffusion; Step 343: According to the distance between each boundary area, the boundary areas of the same category are merged to obtain a plurality of feature areas.
5. The method for extracting three-dimensional information from radiotherapy CT images according to claim 4, Features: Step 341 includes the following steps: Step 3411: taking each three-dimensional vector in the three-dimensional vector matrix as a query point; Step 3412: For each query point, find the h points closest to the query point to form a point set A; Step 3413: Perform principal component analysis on point set A and take the direction of the smallest principal component as the normal vector a 1 , and the other two component vectors are a 2 and a 3 ; Step 3414: For the query point and any point a in point set A j The vector a j ', vector a j 'Along the normal vector a 1 The direction of projection to a 2 、a 3 On the two-dimensional plane composed of j ; Step 3415: Calculate projection vector a j with a 2 The angles formed by the points extracted from the point set A are sorted in ascending order; Step 3416: Preset the angle threshold θ max If point a j The angle generated is greater than θ max Then point a j is the boundary point, and the boundary area f is obtained according to the boundary points of the three-dimensional vector matrix j , j∈[1,J], j is the index of the boundary region, J is the total number of boundary regions, f j represents the jth boundary region.
6. The method for extracting three-dimensional information from radiotherapy CT images according to claim 5, Features: Step 342 includes the following steps: Step 3421: Filtering a number of reference areas from all boundary areas; Step 3422: According to the boundary area f j Adjacency and coplanarity relationships are used to diffuse the reference area; Diffusion conditions include: boundary region f j In the reference area f u The search radius is, u represents the index of the reference area, f u represents the u-th reference area; When the growth conditions are met, the boundary region f j From the center point to the reference area f u If the distance d of the plane is less than the set distance threshold σ, f j With f u merged into the same boundary area; Step 3423: sorting all the boundary regions that have completed diffusion according to the number of three-dimensional vectors contained in each boundary region; Step 3424: Divide the boundary areas into c categories according to the arrangement order of the boundary areas, where c>3.
7. The method for extracting three-dimensional information from radiotherapy CT images according to claim 6, Features: Step 343 includes: For the boundary region f of the same category j , set a search radius and search the remaining boundary areas of the same category; If we find an adjacent boundary region f j-l , f j-l Represents the boundary area f j The lth boundary area of the same category within the search radius, boundary area f j With the boundary area f j-l If the distance is less than the preset threshold, the boundary area f j With the boundary area f j-l merge; If no adjacent boundary region is found, the boundary region remains independent, and finally the feature regions of each type of boundary region in the three-dimensional vector matrix are output.
8. The method for extracting three-dimensional information from radiotherapy CT images according to claim 3, Features: Step 4 includes the following steps: Step 41: Obtain reference image group m 0 The segmentation area and segmentation ratio of each characteristic region in the tumor; Step 42: The remaining image groups are divided into calculation areas of the same number as those in the reference image group according to the segmentation method and the segmentation ratio; Step 43: Each calculation area is converted into point cloud data according to the average gray value of the calculation area.
9. A three-dimensional information extraction system for radiotherapy CT images, Features: include: Image information acquisition module and three-dimensional information extraction module; The image information acquisition module is used to obtain the CT image of the patient within a respiratory cycle, and the three-dimensional information extraction module uses the three-dimensional information extraction method of radiotherapy CT images described in any one of claims 1 to 8 to extract point cloud information of the CT image that changes with time.
