An automatic measurement method of Cobb angle based on hierarchical reconstruction of the spine

Deep learning technology is used to automatically segment and reconstruct the spinal structure in CT sequence images and calculate the Cobb angle, which solves the problems in the existing technology of slow manual measurement and accuracy that depends on the doctor's expertise, and achieves efficient and accurate analysis of spinal curvature characteristics. .

CN113870098BActive Publication Date: 2024-09-24WUHAN UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111053719.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-09
Publication Date
2024-09-24
Estimated Expiration
2041-09-09

AI Technical Summary

Technical Problem

The measurement method of Cobb angle in the existing technology mainly relies on manual operation, which is slow, time-consuming, and the accuracy depends on the professional proficiency of the doctor. It is difficult to accurately locate spinal vertebrae and calculate spinal curvature characteristics in CT sequence images.

Method used

Using a method based on deep learning, through preprocessing and hierarchical reconstruction of CT sequence images, the sagittal and coronal images of the spine are extracted, the vertebra segmentation model is trained, the vertebrae are detected and segmented, and the spine curve and curvature are calculated to iteratively calculate the Cobb angle. .

Benefits of technology

It achieves automatic and accurate measurement of the Cobb angle without manual assistance, improves the efficiency and accuracy of scoliosis diagnosis, and is suitable for medical research and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113870098B
    Figure CN113870098B
Patent Text Reader

Abstract

The present invention discloses an automatic measurement method of Cobb angle based on hierarchical reconstruction of the spine, comprising the following steps: (1) inputting transverse CT sequence images, preprocessing DICOM raw data, hierarchically reconstructing a superimposed sagittal image, selecting the sagittal range of the spine by a template matching method, and then selecting the middle one-third position interval to reconstruct the bone coronal image; (2) based on a deep learning network, training a vertebra segmentation model based on the bone coronal image, using the model to detect and segment each vertebra of the spine and perform threshold processing to optimize the intervertebral space; (3) extracting the center point of each vertebra, using a sixth-order polynomial to perform curve fitting on the center point set to obtain a spinal curve; (4) iteratively calculating the Cobb angle by calculating the curvature between each feature point in the spinal curve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of medical artificial intelligence, and in particular proposes an automatic Cobb angle measurement method based on spinal layer reconstruction. Background Art

[0002] In recent years, medical imaging technology and artificial intelligence technology have been developing rapidly. Computed tomography is widely used in clinical diagnosis. The study of spinal lesions based on CT scans combined with deep learning and smart medicine has extremely important practical significance and research value. The use of artificial intelligence technology to process and analyze medical imaging data can provide a powerful auxiliary role in modern medical diagnosis.

[0003] When clinically judging scoliosis, the Cobb angle is a common research object. The size of the Cobb angle can more accurately reflect the severity of human scoliosis. At present, the Cobb angle is mainly measured manually. First, the upper and lower vertebrae on the most obvious concave side of the scoliosis are found in the spinal image as the upper and lower end plates, and then the straight lines passing through the upper and lower end plates are manually drawn. Finally, a protractor is used to measure the angle between the two straight lines, which is the Cobb angle. However, manual measurement is too slow, requires a lot of manpower and time, and the accuracy depends on the doctor's expertise and proficiency. Highly accurate positioning of each vertebral segment from the transverse CT sequence images, automatic judgment of the spinal curvature characteristics and calculation of the Cobb angle are of great significance to medical research such as scoliosis. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method for automatically measuring the Cobb angle based on spinal layer reconstruction in view of the deficiencies in the above-mentioned prior art, which specifically comprises the following steps:

[0005] (1) Input transverse CT sequence images, preprocess the DICOM raw data, reconstruct the superimposed sagittal image in layers, select the sagittal range of the spine using the template matching method, and then select a part of the middle position to reconstruct the bone coronal image;

[0006] (2) Based on the deep learning network, a vertebral segmentation model based on the skeletal coronal image is trained. This model is used to detect and segment each vertebra of the spine and perform threshold processing to optimize the intervertebral space;

[0007] (3) extract the center point of each vertebra, and use a polynomial to perform curve fitting on the center point set to obtain the spinal curve;

[0008] (4) The Cobb angle is iteratively calculated by calculating the curvature between each feature point in the spinal curve.

[0009] Furthermore, the specific implementation of step (1) is as follows:

[0010] (11) The CT sequence images refer to transverse CT sequence images obtained by chest and abdominal CT examination, which at least include thoracic vertebrae and most of lumbar vertebrae and contain relatively complete spinal morphology;

[0011] (12) According to the INSTANCENUMBER field in the header file of the CT sequence images, the sequence images are sorted in the chronological order of the CT scans;

[0012] (13) Determine the grayscale value threshold of the bone area and the grayscale value threshold of the metal object by performing grayscale value statistics based on the DICOM image data, and eliminate the possible influence of the metal object by limiting the threshold value;

[0013] (14) Determine the valid DICOM image data range, set the traversal range, and eliminate the impact of the CT machine bed;

[0014] (15) Based on the above steps, each DICOM image is processed in the order of CT scanning, and the effective data of the bone part is extracted to reconstruct the bone sagittal image in three dimensions. The bone sagittal image is actually the projection of the three-dimensional data on a certain plane;

[0015] (16) using the thoracic and lumbar regions of the spine in any bone sagittal image as feature templates, and binarizing the generated bone sagittal image and feature templates;

[0016] (17) performing multi-scale template matching on the binary feature template and the bone coronal image, and drawing a rectangular frame on the matching area;

[0017] (18) Return the horizontal coordinate x0 of the center point of the rectangle to obtain the sagittal extent of the spine;

[0018] (19) Based on x0, the middle one-third of the sagittal range of the spine is selected to reconstruct the coronal image of the skeleton.

[0019] Furthermore, the pixel grayscale value threshold for distinguishing between the bone area and the metal object in step (13) is

[0020] 4. The automatic Cobb angle measurement method based on spinal layer reconstruction as described in claim 2 is characterized in that: in step (14), the image size is 512*512, when the part greater than 450 in the y-axis direction contains the bed board and has almost no valid pixel information, the traversal range of the y-axis is set to 0-450.

[0021] Furthermore, the specific implementation method of training the vertebral segmentation model based on the skeleton coronal image in step (2) is as follows;

[0022] (21) obtaining several examples of skeletal coronal images based on layered reconstruction as training set images;

[0023] (22) Each vertebra in the coronal image of the skeleton is used as the ROI to annotate the training set images and generate training label images;

[0024] (23) Based on the deep learning U-Net network, the training parameters are adjusted to obtain a vertebral segmentation model based on the skeletal coronal image;

[0025] (24) Use the trained model to perform vertebral segmentation and save the segmentation results;

[0026] (25) Use threshold processing to optimize the intervertebral space to obtain a binary vertebral segmentation image and save the result.

[0027] Furthermore, the specific implementation method of extracting the center point for curve fitting in step (3) is as follows:

[0028] (31) extracting the contour of the binary vertebral segmentation image;

[0029] (32) The center point of each contour, i.e., the center point of each vertebral segment, is extracted using the first-order moment;

[0030] (33) The polynomial is used to perform curve fitting on the center point of the spine to obtain the fitting curve of the spine.

[0031] Furthermore, the specific implementation process of calculating the Cobb angle according to the curvature in step (4) is as follows:

[0032] (41) By calculating the first derivative of the fitted spinal curve at each center point, the curvature of different center points can be obtained;

[0033] (42) Iteratively calculating the angle between the tangents at different center points according to the curvatures of the different center points, i.e., the slopes of the tangents;

[0034] (43) The size of the angle is determined, and the largest angle is the Cobb angle.

[0035] The beneficial effects of the present invention are as follows: the automatic Cobb angle measurement method based on spinal layered reconstruction of the present invention can automatically and accurately find each vertebral segment without manual assistance, determine the spinal curvature characteristics and calculate the Cobb angle, which is convenient for subsequent medical research and analysis on scoliosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is a flow chart of the automatic measurement of Cobb angle of the present invention.

[0037] Figure 2 The template is for multi-scale template matching.

[0038] Figure 3 is the result of multi-scale template matching.

[0039] Figure 4 Coronal view of the reconstructed skeleton.

[0040] Figure 5 It is a schematic diagram of the thoracic and lumbar spine regions;

[0041] Figure 6 This is a schematic diagram of the traversal range in step 4 of the embodiment;

[0042] Figure 7 This is a multi-plane example of a medical image;

[0043] Figure 8 It is a cross-sectional schematic diagram;

[0044] Fig. 9 Schematic diagram of the sagittal plane. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail with reference to the accompanying drawings.

[0046] Most of the existing technologies focus on automatic Cobb angle measurement on X-ray images, but X-ray images are plane images. The present invention uses double-helix CT images, which are cross-sectional sequence images. With the three-dimensional data of CT double-helix, data processing can be performed according to the characteristics of the vertebrae to generate effective coronal images and remove interference, which is a problem that X-ray imaging cannot solve. Therefore, the two are essentially different in imaging principles, data latitude, and accuracy. The focus of the present invention is on layered reconstruction. First, a sagittal image is reconstructed based on the CT image, such as Figure 3 As shown (side view), the three-dimensional coronal image of the spine is reconstructed based on the sagittal image, as shown in Figure 4 As shown (front), the coronal image is an overlapping coronal image of the CT image, which is formed by superimposing multiple coronal images (which can completely overcome the problem that the superposition of the sternum and ribs in X-ray imaging cannot effectively identify the spine). It not only contains clear vertebrae for segmentation, but also removes interference from factors such as bone organs. Finally, the coronal image is segmented by UNET to obtain each spinal block, so as to obtain the center point and obtain the Cobb angle by curve fitting.

[0047] like Figure 1 As shown, a method for automatically measuring Cobb angle based on spinal layered reconstruction includes the following steps:

[0048] (1) Transverse CT sequence images were input, the DICOM raw data were preprocessed, and the superimposed sagittal images were reconstructed in layers. The sagittal range of the spine was selected using the template matching method, and then the middle one-third position was selected to reconstruct the coronal image of the bone;

[0049] (2) Based on the deep learning network, a vertebral segmentation model based on the skeletal coronal image is trained. This model is used to detect and segment each vertebra of the spine and perform threshold processing to optimize the intervertebral space;

[0050] (3) extract the center point of each vertebra, and use a polynomial to perform curve fitting on the center point set to obtain the spinal curve;

[0051] (4) The Cobb angle is iteratively calculated by calculating the curvature between each feature point in the spinal curve.

[0052] The method for reconstructing the coronal image of the skeleton in layers based on the transverse CT sequence images in step (1) comprises the following steps:

[0053] (11) The CT sequence images here refer to the transverse CT sequence images obtained by chest and abdominal CT examination, which at least include the thoracic vertebrae and most of the lumbar vertebrae and contain a relatively complete spinal morphology.

[0054] The main feature of the thoracic spine is that there are costal concavities and ribs connected to them. The characteristics of the lumbar spine are that the vertebral body is larger, the spinous process is plate-shaped, but there are no ribs connected to it. The thoracic vertebra T12 is connected to the ribs on both sides, while the lumbar vertebrae have only transverse processes on both sides and no ribs connected to them. Therefore, the thoracic vertebra T12 and the lumbar vertebra L1 can be used as features to divide the thoracic and lumbar regions, such as Figure 5 As shown, only the complete spine is displayed when most of the thoracic and lumbar vertebrae are included, so as to judge the degree of spinal curvature.

[0055] (12) According to the INSTANCENUMBER field in the header file of the CT sequence images, the sequence images are sorted in the chronological order of the CT scans;

[0056] (13) Determine the grayscale value threshold of the bone area and the grayscale value threshold of the metal object by performing grayscale value statistics based on the DICOM image data, and eliminate the possible influence of the metal object by limiting the threshold value;

[0057] The threshold of the normal range of non-human tissues is generally >1800, and the range of human bones and calcium is roughly 1200-1800. When the metal foreign body is removed, a sagittal or coronal view of the bone can be generated.

[0058] (14) Determine the valid DICOM image data range, set the traversal range, and eliminate the impact of the CT machine bed;

[0059] Set the pixel range of the reconstruction area. The image size is 512*512. Traverse all the pixels of the image. However, the part greater than 450 in the y-axis direction includes the CT bed plate and does not affect the generation of the coronal or sagittal images of the bones. Therefore, set the y-axis traversal range to 0-450. Figure 6 shown.

[0060] (15) Based on the above steps, each DICOM image is processed in the order of CT scanning, and the effective data of the bone part is extracted to reconstruct the bone sagittal view in three dimensions (the reconstruction of the sagittal view is actually the projection of the three-dimensional data on a certain plane);

[0061] (16) using the thoracic and lumbar regions of the spine in any bone sagittal image as feature templates, and binarizing the generated bone sagittal image and feature templates;

[0062] like Figure 7 As shown in the figure, the sagittal plane refers to the longitudinal section that divides the human body into left and right parts. This section is perpendicular to the ground plane and can see the left and right positions of the anatomical body; the coronal plane refers to the longitudinal section that divides the human body into front and back parts. This section can see the front and back positions of the anatomical body. This section is perpendicular to the sagittal plane and the horizontal plane. The transverse section refers to the transverse section that divides the human body into upper and lower parts, as shown below Figure 8 As shown, because the acquired image data are all CT cross-sectional data, they are three-dimensional data. During multi-plane reconstruction, the three-dimensional grayscale data is directly projected onto a two-dimensional plane in different directions to generate a tomographic image at any angle. The specific implementation method is: take the effective data to calculate the average pixel value. The coronal plane is generated by projection in the y-axis direction, and the sagittal plane is generated by projection in the x-axis direction. When generating a coronal or sagittal image of the bone, the pixel threshold described in (3) is taken as 1200-1800, and other useless pixel values ​​are removed. The generated sagittal image is as follows: Fig. 9 shown.

[0063] (17) Perform multi-scale template matching on the binary feature template and the bone coronal image, and draw a red rectangular frame on the matching area;

[0064] (18) Return the horizontal coordinate x0 of the center point of the rectangle to obtain the sagittal extent of the spine;

[0065] (19) Based on x0, the middle one-third of the sagittal range of the spine is selected to reconstruct the coronal image of the skeleton.

[0066] The reconstructed coronal image is shown in Figure 4 As shown, the selected one-third area corresponds to Figure 3 The small rectangular box inside the cross section corresponds to the area Figure 8 A horizontal rectangular frame in .

[0067] The method of training a vertebra segmentation model based on a skeletal coronal image and performing vertebra segmentation in step (2) comprises the following steps:

[0068] (21) obtaining several examples of skeletal coronal images based on layered reconstruction as training set images;

[0069] (22) Each vertebra in the coronal image of the skeleton is used as the ROI to annotate the training set images and generate training label images;

[0070] (23) Based on the deep learning U-Net network, the training parameters are adjusted to obtain a vertebral segmentation model based on the skeletal coronal image;

[0071] (24) Use the trained model to perform vertebral segmentation and save the segmentation results;

[0072] (25) Use threshold processing to optimize the intervertebral space to obtain a binary vertebral segmentation image and save the result.

[0073] The method for extracting the center point for curve fitting in step (3) comprises the following steps:

[0074] (31) extracting the contour of the binary vertebral segmentation image;

[0075] (32) The center point of each contour, i.e., the center point of each vertebral segment, is extracted using the first-order moment;

[0076] (33) The polynomial is used to perform curve fitting on the center point of the spine to obtain the fitting curve of the spine.

[0077] The method for calculating the Cobb angle according to the curvature in step (4) comprises the following steps:

[0078] (41) By calculating the first derivative of the fitted spinal curve at each center point, the curvature of different center points can be obtained;

[0079] (42) Iteratively calculating the angle between the tangents at different center points according to the curvatures of the different center points, i.e., the slopes of the tangents;

[0080] (43) The size of the angle is determined, and the largest angle is the Cobb angle.

[0081] The above description clearly illustrates the technical solution, process and advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited by the above embodiments. The above described embodiments and specifications are only the technical solution and principle of the present invention and do not represent all. Without abandoning the spirit and content of the present invention, the present invention makes improvements to the corresponding algorithms, which are all within the scope of protection required by the present invention. The experimental results of the present invention are realized in a unique form. The scope of protection of the present invention is limited by the attached claims and equivalent requirements.

Claims

1. A method for automatically measuring Cobb angle based on hierarchical reconstruction of the spine, characterized in that: The steps include: (1) Input transverse CT sequence images, preprocess the DICOM raw data, reconstruct the superimposed sagittal image in layers, select the sagittal range of the spine using the template matching method, and then select a part of the middle position to reconstruct the bone coronal image; (2) Based on the deep learning network, a vertebral segmentation model based on the skeletal coronal image is trained. This model is used to detect and segment each vertebra of the spine and perform threshold processing to optimize the intervertebral space; (3) extract the center point of each vertebra, and use a polynomial to perform curve fitting on the center point set to obtain the spinal curve; (4) The Cobb angle is iteratively calculated by calculating the curvature between each feature point in the spinal curve.

2. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 1, characterized in that: The specific implementation of step (1) is as follows: (11) The CT sequence images refer to transverse CT sequence images obtained by chest and abdominal CT examination, which at least include thoracic vertebrae and most of lumbar vertebrae and contain relatively complete spinal morphology; (12) According to the INSTANCENUMBER field in the header file of the CT sequence images, the sequence images are sorted in the chronological order of the CT scans; (13) Determine the grayscale value threshold of the bone area and the grayscale value threshold of the metal object by performing grayscale value statistics based on the DICOM image data, and eliminate the possible influence of the metal object by limiting the threshold value; (14) Determine the valid DICOM image data range, set the traversal range, and eliminate the impact of the CT machine bed; (15) Based on the above steps, each DICOM image is processed in the order of CT scanning, and the effective data of the bone part is extracted to reconstruct the bone sagittal image in three dimensions. The bone sagittal image is actually the projection of the three-dimensional data on a certain plane; (16) using the thoracic and lumbar regions of the spine in any bone sagittal image as feature templates, and binarizing the generated bone sagittal image and feature templates; (17) performing multi-scale template matching on the binary feature template and the bone coronal image, and drawing a rectangular frame on the matching area; (18) Return the horizontal coordinate x0 of the center point of the rectangle to obtain the sagittal extent of the spine; (19) Based on x0, the middle one-third of the sagittal range of the spine is selected to reconstruct the coronal image of the skeleton.

3. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 2, characterized in that: The pixel grayscale value threshold for distinguishing the bone area and the metal object in step (13) is 4. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 2, characterized in that: In step (14), the image size is 512*512. The part larger than 450 on the y-axis contains the bed board and has almost no valid pixel information. Therefore, the traversal range of the y-axis is set to 0-450.

5. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 1, characterized in that: The specific implementation method of training the vertebral segmentation model based on the skeleton coronal image in step (2) is as follows; (21) obtaining several examples of skeletal coronal images based on layered reconstruction as training set images; (22) Each vertebra in the coronal image of the skeleton is used as the ROI to annotate the training set images and generate training label images; (23) Based on the deep learning U-Net network, the training parameters are adjusted to obtain a vertebral segmentation model based on the skeletal coronal image; (24) Use the trained model to perform vertebral segmentation and save the segmentation results; (25) Use threshold processing to optimize the intervertebral space to obtain a binary vertebral segmentation image and save the result.

6. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 1, characterized in that: The specific implementation method of extracting the center point for curve fitting in step (3) is as follows: (31) extracting the contour of the binary vertebral segmentation image; (32) The center point of each contour, i.e., the center point of each vertebral segment, is extracted using the first-order moment; (33) The polynomial is used to perform curve fitting on the center point of the spine to obtain the fitting curve of the spine.

7. The method for automatically measuring Cobb angle based on spinal layer reconstruction according to claim 1, characterized in that: The specific implementation process of calculating the Cobb angle according to the curvature in step (4) is as follows: (41) By calculating the first derivative of the fitted spinal curve at each center point, the curvature of different center points can be obtained; (42) Iteratively calculating the angle between the tangents at different center points according to the curvatures of the different center points, i.e., the slopes of the tangents; (43) The size of the angle is determined, and the largest angle is the Cobb angle.

Citation Information

Patent Citations

  • Method for automatically measuring Cobb angle

    CN108573502A

  • Automatic lumbar vertebra positioning method based on CT sequence images

    CN111325754A

  • System and method for measuring and calculating scoliosis Cobb angle through spine full-length X-ray film based on artificial intelligence-image recognition

    CN112381757A

  • System and method for predicting scoliosis progression

    US20150287184A1