Skin segmentation method of CT images based on multi-scale filter

The CT image skin segmentation method based on multi-scale filters solves the problem of difficult skin tissue segmentation in fully supervised deep learning, achieves efficient and accurate segmentation of skin tissue in CT images, avoids waste of training time, and is suitable for CT images of different qualities.

CN115049681BActive Publication Date: 2024-08-27YANSHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210727665.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-08-27
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

Existing fully supervised deep learning methods have problems with data labeling and sparse data in the task of skin tissue segmentation in CT images, resulting in inaccurate skin tissue segmentation and affecting the subsequent extraction of subcutaneous fat tissue.

Method used

A CT image skin segmentation method based on multi-scale filters is used to obtain CT images and corresponding skin contour areas, outer contours and inner contours of skeletal muscle tissue, and perform Min-Max normalization processing and 2D filter sliding window operations, combined with Breadth-first search connected domain algorithm achieves accurate segmentation of skin tissue.

Benefits of technology

This method can efficiently and accurately complete the end-to-end segmentation of skin tissue in CT images, saving a lot of training time, is suitable for CT images of any quality, and is easy to reproduce.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115049681B
    Figure CN115049681B
Patent Text Reader

Abstract

The invention discloses a CT image skin segmentation method based on a multi-scale filter, which belongs to the technical field of medical image processing. The method comprises the following steps: obtaining a CT image and a skin contour region (SKN), a skeletal muscle tissue outer contour (OAM), and a skeletal muscle tissue inner contour (IAM) corresponding thereto; performing Min-Max normalization processing on the CT image, and obtaining a key region of interest (ROI) of skin tissue through the skin contour region (SKN), the skeletal muscle tissue outer contour (OAM), and the skeletal muscle tissue inner contour (IAM); performing a sliding window operation on multiple frames of human body 2DCT images obtained after slicing along the human body Z axis (the head to foot direction is the Z axis) through a 2D filter, and performing a sliding window calculation method through the 2D filter to obtain a segmentation result; the method can complete the end-to-end segmentation of skin tissue in the CT image, and is flexible and easy to reproduce.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of medical image processing, and in particular relates to a CT image skin segmentation method based on a multi-scale filter. Background Art

[0002] At present, under the technical background of medical image plus deep learning, it is very common to use fully supervised convolutional neural networks to handle the semantic segmentation task of medical images. However, this fully supervised deep learning method has some shortcomings - there must be a certain number of CT images and corresponding manual labeling results for the convolutional neural network model to iteratively train and continuously fit the data through the back-propagation algorithm to complete the semantic segmentation task.

[0003] In recent years, when researchers hope to solve the semantic segmentation task of CT images with deep learning methods, scientific research progress is often limited to the scarcity or lack of data sets. In the research task of "Body Composition Analysis", the segmentation of skin tissue has always been a difficult problem to solve. Ordinary image processing cannot accurately segment skin tissue, which in turn affects the subsequent extraction of subcutaneous fat tissue. The main reason why this problem is difficult to solve is that the labeling of skin tissue is too difficult and time-consuming, and there is no work on skin tissue segmentation in existing research. In order to accurately identify and quantify the components of the human body, we conducted necessary research on this issue in our research. After analysis, the skin data accounts for too small a proportion of CT images and presents a linear feature. The thickness and voxel value of the skin are different. Sometimes the skin tissue is only a few voxels wide. This is very difficult for the current method based on fully supervised deep learning to carry out work in the data labeling step, and there is no public or private CT image skin dataset for us to use to solve this problem through deep learning methods. Summary of the invention

[0004] In order to solve the above defects, the present invention proposes a CT image skin segmentation method based on a multi-scale filter.

[0005] The technical solution adopted by the present invention is:

[0006] The CT image skin segmentation method based on multi-scale filter includes:

[0007] S01: Acquire CT images and the corresponding skin contour area (SKN), skeletal muscle tissue outer contour (OAM), and skeletal muscle tissue inner contour (IAM);

[0008] S02: Perform Min-Max normalization processing on the CT image, and obtain the key region of interest (ROI) of the skin tissue through the skin contour area (SKN), the outer contour of the skeletal muscle tissue (OAM), and the inner contour of the skeletal muscle tissue (IAM);

[0009] S03: using a 2D filter to obtain multiple frames of human body 2DCT images after slicing along the human body Z axis (the direction from head to foot is the Z axis), and performing a sliding window operation, and performing a sliding window calculation method through the 2D filter to obtain a segmentation result;

[0010] S04: De-noising is performed on the segmented results through the breadth-first search connected domain algorithm, and finally accurate skin tissue without noise is obtained.

[0011] A further improvement of this method is that the calculation formula of the key region of interest (ROI) in step S02 is as follows:

[0012] ROI i =Output i *(SKN i -(OAM i +IAM i ))

[0013] Among them, i represents the 2D slice index of the normalized CT image Output and the corresponding GroundTruth binary image SKN, OAM, IAM. The set intersection function in image processing is completed by multiplying with the binary image.

[0014] A further improvement of this method is that the sliding window operation formula in step S03 is as follows:

[0015]

[0016] Among them, the sliding window is calculated in 2D mode, I is the input 2D data; K represents the 2D filter;

[0017] The 2D filter is composed of five groups of filters of different sizes, wherein the filter in the middle is a smaller central filter (Kernel), and the remaining four filters are voter filters (Voter[1-4]) of different sizes.

[0018] A further improvement of the method is that the process that the five filters (the center filter and the four voter filters) need to execute in step S03 is as follows:

[0019] 1) Perform a sliding window operation on the 2D slice array of the CT image to obtain the corresponding small square areas (patches), including: the central small square area (kernel_patch), the small square area of ​​voter 1 (voter1_patch), the core small square area of ​​voter 2 (voter2_patch), the core small square area of ​​voter 3 (voter3_patch) and the core small square area of ​​voter 4 (voter4_patch).

[0020] 2) The five filters process the corresponding small square area (kernel_patch) of the center, the small square area (voter1_patch) of voter 1, the core small square area (voter2_patch) of voter 2, the core small square area (voter3_patch) of voter 3, and the core small square area (voter4_patch) of voter 4 one by one, and obtain their respective calculation results. Among them, the work completed by the center filter (kernel) is "rough positioning of skin tissue", and the function undertaken by the voter filter (voter[1-4]) is to reconfirm whether the central voxel is skin tissue by considering the surrounding voxel environment;

[0021] 3) Get the result and repeat step 2) to process the next set of patches; until the slice is finished, start the next slice and repeat step 1).

[0022] The further improvement of this method is that the center filter (Kernel) first determines whether all voxels are background voxels. If so, it is skipped. Otherwise, it is further determined whether the proportion of 0 voxels is greater than the threshold. If it is greater than the threshold, the center filter (Kernel) is no longer at the edge of the skin. If it is less than the threshold, the voxel point may still be at the edge of the skin. If the center filter (Kernel) does not detect the appearance of 0 voxels, it will further determine whether all the covered voxels have enough voxels exceeding the threshold through a threshold. If it exceeds, it means that it may be in the skin area. If it does not exceed, it will not be processed. The four voter filters (voter[1-4]) sort the small square area blocks within their coverage area in positive order and select a boundary as the dividing line. If the center voxel value of the center filter is greater than the voxel value of the dividing line, then the voting behavior of the four voter filters (voter[1-4]) jointly determines whether the voxel is a voxel of skin tissue.

[0023] Due to the adoption of the above technical solution, the technical progress achieved by the present invention is:

[0024] The present invention is a CT image skin segmentation method based on a multi-scale filter. It can complete the end-to-end segmentation of skin tissue in CT images only through simple and efficient image processing and filter algorithms. It is flexible and easy to reproduce. Compared with the fully supervised deep learning method, it saves a lot of training time, and according to different parameter settings, it can complete the accurate skin tissue segmentation of any CT image of different quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly explain the operating principle and technical solutions of the present invention, the following briefly introduces the drawings required for the operating principle and the technologies used. Obviously, the drawings described below are only some operating examples of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 It is a flowchart of a CT image skin segmentation method based on a multi-scale filter provided in the first embodiment of the present invention;

[0027] Figure 2 It is a schematic diagram of a filter algorithm of a CT image skin segmentation method based on a multi-scale filter provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0028] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration and not limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical methods in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any organization and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.

[0032] like Figure 1The first aspect of the present invention is an example of providing a CT image skin segmentation method based on a multi-scale filter.

[0033] S01: Acquire CT images and the corresponding skin contour area (SKN), skeletal muscle tissue outer contour (OAM), and skeletal muscle tissue inner contour (IAM);

[0034] Among them, SKN, OAM and IAM in the data set CT-GroundTruth (CT: (SKN, OAM, IAM)) used in the embodiment are all prior results of our private data set. After a long period of doctor's guidance, the binary image results with precise manual annotation and format of .BIM have their special and highly medical definition and significance.

[0035] S02: Perform Min-Max normalization processing on the CT image and obtain the ROI area of ​​the skin tissue through SKN, OAM, and IAM;

[0036] The present invention needs to complete the data required for step S03, and in this step, the CT image (3-dimensional matrix array) needs to be processed by normalization operation.

[0037] The specific normalization process is:

[0038]

[0039] Among them, Min() means taking the minimum voxel value in the target CT; Max() means taking the maximum voxel value in the target CT; CT i Represents the three-dimensional matrix data of the i-th CT image in the data set, Output i The three-dimensional matrix output result is after normalization calculation.

[0040] In order to make the results obtained by the filter algorithm more accurate, here we perform relevant set operations on the calculation results of SKN, OAM, and IAM with the normalized CT data to obtain the ROI area, so that the filter can obtain the most accurate results after processing the CT image data.

[0041] The ROI calculation formula is as follows:

[0042] ROI i =Output i *(SKN i -(OAM i +IAM i ))

[0043] Theoretically, the maximum value of the OAM+IAM result is 1, because in this example there is no intersection between the two results. However, due to uncontrollable human errors in the labeling process, the two results still need to be processed and the value whose sum exceeds 1 is assigned to 1.

[0044] Similarly, the theoretical minimum value of the result of SKN-(OAM+IAM) is 0, but in view of the certain errors in manual labeling, it is still necessary to process the results of both and assign the value less than 0 in the subtraction operation to 0.

[0045] Finally, by multiplying the CT result, a CT image containing only the human body ROI area is obtained.

[0046] S03: Perform sliding window operation on the 2DCT image through the 2D filter we designed to obtain the corresponding segmentation result;

[0047] In the present invention, the sliding window operation formula is as follows:

[0048]

[0049] The sliding window is calculated in 2D, I is the input 2D data, and K represents the multi-layer 2D filter designed by us. The filter is composed of 5 filters. The micro Kernel filter in the middle is responsible for the rough positioning of skin tissue. The large Voter [1-4] filters around it are filters with different receptive field sizes. Their main function is to determine whether the central voxel is skin tissue, taking into account the situation around the voxel.

[0050] The process that the filter needs to perform is as follows:

[0051] 1. Continuously perform sliding window operations on the 2D slice array of the CT image to obtain the corresponding patch blocks to be processed by the five filters: kernel_patch, voter1_patch, voter2_patch, voter3patch, and voter4patch.

[0052] 2. The kernel, voter1, voter2, voter3, and voter4 filter groups process the corresponding patch blocks respectively. The kernel performs the work of "roughly locating the skin tissue", and the function of voter[1-4] is to reconfirm whether the central voxel is skin tissue by considering the surrounding voxel environment through the voting mechanism.

[0053] 3. Get the result and repeat step 2 to process the next set of patches; until the slice is finished, start the next slice and repeat step 1.

[0054] S04: Perform noise reduction on the segmented results through the breadth-first connected region algorithm.

[0055] Among them, the skin segmentation result obtained by performing filter algorithm processing on the basis of ROI will have many noise points of different sizes in the subcutaneous fat area, which is particularly obvious at the OAM boundary. In view of this method, in the present invention, the shape composition of the noise points is considered and analyzed, and it is found that the noise points mainly exist in the subcutaneous fat range in the form of "islands". This is because of the quality problem of CT images. Different voxel values ​​appear to be the same to the naked eye, but the naked eye cannot distinguish them. In the case of voxel level, the image processing results will have some noise points, and there are also "circle" shaped noise points at the edge of OAM. The results are post-processed according to the breadth-first connected domain algorithm. There are significant differences between the connected domains of skin tissue and the two noise connected domains and they are rarely connected. According to the different sizes of the connected domains, different thresholds T can be used to remove the noise points.

[0056] Preferably, in the present invention, in step S03, a suitable filter size can be selected according to different situations. In this experiment, according to actual data conditions, the sizes of kernel and Voter [1-4] filters are 5*5, 9*9, 9*12, 12*9, and 12*12, respectively.

[0057] like Figure 2 As shown, a filter algorithm schematic diagram of a CT image skin segmentation method based on traditional image processing and filter processing provided by Embodiment 2 of the present invention.

[0058] The filter is composed of 5 groups of filters of different sizes, which are convenient for explanation. Figure 2 The filter is fully displayed in three dimensions. In this filter, the Kernel filter is the core filter responsible for the rough positioning of the skin. In this filter, the rough positioning of the skin tissue needs to be completed through the established algorithm process. The surrounding 4 groups of filters are rectangular filters of different sizes, which are mainly responsible for completing the perception of the surrounding voxels to determine whether the central voxel of the Kernel is skin tissue. The 5 groups of filters overlap to form a filter to complete the segmentation of skin tissue.

[0059] Continuously perform sliding window operations on 2DCT image slices to obtain the corresponding 5 groups of filter patches to be processed: kernel_patch, voter1_patch, voter2_patch, voter3patch, and voter4patch.

[0060] The kernel filter will first process kernel_patch through the algorithm flow, identify the central voxel in it, and preliminarily determine the probability that its environment is skin tissue. If the judgment fails, the subsequent Voter[1-4] filter calculation is no longer required, thereby reducing the amount of calculation and improving segmentation efficiency.

[0061] Preferably, in the present invention, the specific kernel and voter [1-4] algorithm processes are described as follows.

[0062] According to the function of Kernel, different methods can be selected to achieve it. In the present invention, the following algorithm process is used to complete the rough positioning of skin tissue:

[0063]

[0064]

[0065] Among them, FLAT(x) means flattening the two-dimensional array x into a one-dimensional array; RATIO(x) means the proportion of voxels with voxel value x in the one-dimensional array; MEDIA(x) means the median of the one-dimensional array; True and False are signs of whether further voxel identification is needed.

[0066] After entering the algorithm flow, the filter will first determine whether all voxels are background voxels. If all are background voxels, the subsequent calculation is meaningless and is skipped. If not, it will further determine whether the proportion of 0 voxels is greater than 20%. If it is greater than 20%, it is considered that the filter is no longer at the edge of the skin. If it is less than 20%, then we believe that the acceleration point may still be at the edge of the skin and needs to be further determined by Voter[1-4].

[0067] If the background voxels are not included, the filter will perform noise reduction judgment. Because of the quality problems of CT images in the subcutaneous fat area, there will be many "salt and pepper noise" which will affect the rough positioning results of the filter. Therefore, if the proportion of voxels exceeding a certain threshold in flat_kernel_patch reaches more than 55%, it is considered to be skin. We set this threshold as the median of these voxels. This method completes the function of "avoiding noise".

[0068] After the kernel filter is judged, it needs to be further judged by the voter [1-4] filter. The four groups of filters are filters of different sizes and shapes (rectangular, square), and different sizes and shapes will also affect the results of skin tissue segmentation. The four filters sort the patch blocks within their coverage area in positive order and select a boundary as the dividing line. If the kernel center voxel value is greater than the voxel value of the dividing line, then the four filters vote to jointly decide whether the voxel is a voxel of skin tissue.

[0069] Preferably, in the present invention, we specifically set the sizes of the five filters Kernel and Voter [1-4] to 5*5, 9*9, 9*12, 12*9, and 12*12 according to the skin features of the obtained CT image, and if the number of votes exceeds 3, the voxel is considered to be skin tissue.

[0070] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A CT image skin segmentation method based on a multi-scale filter, characterized in that: include: S01: Acquire CT images and the corresponding skin contour area SKN, skeletal muscle tissue outer contour OAM, and skeletal muscle tissue inner contour IAM; S02: Perform Min-Max normalization processing on the CT image, and obtain the key region of interest ROI of the skin tissue through the skin contour area SKN, the skeletal muscle tissue outer contour OAM, and the skeletal muscle tissue inner contour IAM; S03: using a 2D filter to obtain multiple frames of human 2D CT images after slicing along the human body Z axis, with the direction from head to foot being the Z axis, and performing a sliding window operation, and using the 2D filter to perform a sliding window calculation method to obtain a segmentation result; The sliding window operation formula is as follows: Among them, the sliding window is calculated in 2D mode, I is the input 2D data; K represents the 2D filter; The 2D filter is composed of 5 groups of filters of different sizes, wherein the filter in the middle is a smaller central filter Kernel, and the remaining four filters are voter filters Voter[1-4] of different sizes; There are 5 filters - the center filter and 4 voter filters. The process to be executed is as follows: 1) Perform a sliding window operation on the 2D slice array of the CT image to obtain the corresponding small square area patches, including: the central small square area kernel_patch, the small square area voter1_patch of voter 1, the core small square area voter2_patch of voter 2, the core small square area voter3_patch of voter 3 and the core small square area voter4_patch of voter 4; 2) The five filters process the corresponding small square area kernel_patch in the center, the small square area voter1_patch of voter 1, the core small square area voter2_patch of voter 2, the core small square area voter3_patch of voter 3, and the core small square area voter4_patch of voter 4 respectively, and obtain their respective calculation results; among them, the work completed by the center filter kernel is "rough positioning of skin tissue", and the function undertaken by the voter filter voter[1-4] is to reconfirm whether the central voxel is skin tissue by considering the surrounding voxel environment through the voting mechanism; 3) Get the result, repeat step 2) to process the next set of patches; until the slice is finished, start the next slice and repeat step 1); The center filter kernel will first determine whether all voxels are background voxels. If so, it will skip. Otherwise, it will further determine whether the proportion of 0 voxels is greater than the threshold. If it is greater than the threshold, the center filter kernel is no longer at the edge of the skin. If it is less than the threshold, the voxel point may still be at the edge of the skin. If the center filter kernel does not detect the appearance of 0 voxels, it will further use a threshold to determine whether all the covered voxels have enough voxels exceeding the threshold. If they exceed, it means that they may be in the skin area. If not, they will not be processed. The four voter filters voter[1-4] sort the small square area blocks within their coverage area in positive order and select a boundary as the dividing line. If the central voxel value of the center filter is greater than the voxel value of the dividing line, then the four voter filters voter[1-4] vote to jointly decide whether the voxel is a voxel of skin tissue. S04: De-noising is performed on the segmented results through the breadth-first search connected domain algorithm, and finally accurate skin tissue without noise is obtained.

2. The CT image skin segmentation method based on multi-scale filter according to claim 1, characterized in that: The calculation formula of the key region of interest ROI in step S02 is as follows: ROI i =Output i *(SKN i -(OAM i +IAM i )) Among them, i represents the 2D slice index of the normalized CT image Output and the corresponding GroundTruth binary images SKN, OAM, and IAM; the set intersection function in image processing is completed by multiplying with the binary image.