Anatomical identification and location method and system of intracranial hemorrhage based on CT images

By constructing a multi-center large data set of intracranial hemorrhage and a generative adversarial network, combined with the segmentation model, the problem of accuracy and anatomical positioning of intracranial hemorrhage in the existing technology is solved, and the precise anatomical positioning and brain area of ​​intracranial hemorrhage are achieved. segmentation.

CN117746118BActive Publication Date: 2024-10-11ARMY MEDICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311733990.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2024-10-11
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

Existing intracranial hemorrhage localization technology cannot accurately locate the anatomical location of hematoma in the brain area, and is affected by the interference of hematoma and highlighted areas such as calcification points, resulting in difficulty in anatomical location and insufficient segmentation accuracy.

Method used

By constructing a multi-center large data set of intracranial hemorrhage, training an intracranial hemorrhage subtype identification and localization model, using a generative adversarial network to generate CT images without hematoma, and combining the first and second segmentation models to accurately locate the partitions of hematoma in the brain area. Output the hematoma identification and location results and partition names.

Benefits of technology

It achieves precise anatomical positioning of intracranial hemorrhage, avoids hematoma interference, improves the accuracy of brain segmentation, and meets the anatomical positioning requirements in clinical practice.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117746118B_ABST
    Figure CN117746118B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for anatomical identification and positioning of intracranial hemorrhage based on CT images. The method is: processing intracranial hemorrhage CT sequence images to obtain hematoma identification and positioning results corresponding to each CT image on the cross section, including hemorrhage subtype categories and hematoma location information marked with a bounding box; for hematoma identification and positioning results of brain hemorrhage: inputting a sub-image of the bounding box marked area to a first segmentation model to obtain a hematoma boundary; obtaining a generated CT image through a generative adversarial network; inputting the generated CT image to a second segmentation model to obtain a brain segmentation boundary; determining the partition where the hematoma is located by intersecting the hematoma boundary and the brain segmentation boundary, and outputting the hematoma identification and positioning results and the name of the partition where the hematoma is located. In order to avoid interference of the hematoma area with the brain partition, the brain segmentation boundary is obtained by using the generated CT image, and the hematoma boundary and the brain segmentation boundary are intersected to obtain the name of the partition where the hematoma is located, so as to achieve precise anatomical positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method and system for anatomical identification and positioning of intracranial hemorrhage based on CT images. Background Art

[0002] Intracranial hemorrhage is a neurological emergency with a high mortality rate and low prognosis. Rapid determination of the type and location of bleeding is of great significance for the subsequent formulation of treatment plans. According to the location of bleeding, intracranial hemorrhage is divided into five hemorrhage subtypes: intracerebral hemorrhage, intraventricular hemorrhage, subarachnoid hemorrhage, epidural hemorrhage, and subdural hemorrhage. The imaging characteristics and prognosis of different hemorrhage subtypes are different. Anatomical identification and positioning on CT images are of great significance and application value. However, the brain structure is complex and the brain parenchyma is divided into many parts. In clinical diagnosis and surgery, for intracerebral hemorrhage, it is necessary not only to know the bounding box positioning, but also to clarify the anatomical location. Doctors determine the treatment plan and make prognostic judgments based on the anatomical location.

[0003] Existing intracranial hemorrhage localization technologies mainly include hemorrhage subtype identification and localization based on deep learning technology, which can mark the hemorrhage subtype and specific location of the hematoma in the form of a bounding box, but only achieve 2D level positioning, and do not provide the relationship between the hematoma and the key brain region structure, which cannot meet the requirements of anatomical location positioning in clinical practice. The current hemorrhage anatomical localization technology often directly performs brain region segmentation or brain region registration on CT images with hematoma. Due to the interference of hematoma, brain region segmentation is inaccurate. The larger the hematoma volume, the greater the error in brain region registration, which makes anatomical positioning difficult.

[0004] A Chinese patent with publication number CN115908381A discloses a method, device and equipment for locating a target area in a brain CT image. In the patent, a brain CT image is registered with a standard brain CT image to generate a target deformation field, and the target deformation field is applied to the brain anatomical structure partition label of the standard brain CT image to obtain the brain anatomical structure partition label of the brain CT image. Then, by determining the segmentation threshold corresponding to each slice image, the target hemorrhage area is identified from the brain CT image, and the target hemorrhage area is matched with the brain anatomical structure partition label of the brain CT image. The brain anatomical structure partition where the target hemorrhage area is located can be obtained, thereby locating the location of the cerebral hemorrhage. However, the brain CT image in this patent contains a hematoma. Due to the influence of the hematoma, the brain CT image with the hematoma cannot be accurately aligned with the standard brain CT image, which results in the obtained brain anatomical structure partition label of the brain CT image is not accurate. In addition, since there are also highlighted areas such as calcification points and catheters in the CT images of patients with intracranial hemorrhage, the calcification points, catheters, etc. will be identified as bleeding areas by simply using the CT threshold. The segmentation accuracy is insufficient and accurate bleeding segmentation cannot be achieved. Summary of the invention

[0005] The present invention aims to solve the technical problem that there is a lack of large-scale annotated data sets for intracranial hemorrhage identification and positioning in the prior art, which seriously hinders the development of intracranial hemorrhage subtype identification and positioning based on deep learning, especially the inability to accurately locate the anatomical position of hematoma in the brain area, and provides a method and system for anatomical identification and positioning of intracranial hemorrhage based on CT images.

[0006] In order to achieve the above-mentioned purpose of the present invention, according to the first aspect of the present invention, the present invention provides an intracranial hemorrhage anatomical identification and positioning method based on CT images, comprising: obtaining intracranial hemorrhage CT sequence images; processing the intracranial hemorrhage CT sequence images using an intracranial hemorrhage subtype identification and positioning model to obtain a hematoma identification and positioning result corresponding to each CT image on the cross section, the hematoma identification and positioning result including a hemorrhage subtype category and hematoma location information marked with a bounding box; the intracranial hemorrhage subtype identification and positioning model is obtained by training a constructed intracranial hemorrhage multi-center large data set; for a CT image with a hematoma identification and positioning result of no hematoma, performing Enter the next CT image for processing; for the CT image whose hematoma recognition and positioning results are non-brain hemorrhage: output the hematoma recognition and positioning results; for the CT image whose hematoma recognition and positioning results are brain hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model to obtain the hematoma boundary; generate the generated CT image corresponding to the CT image through the generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain region segmentation boundary; determine the partition of the hematoma in the brain region in the CT image by the intersection of the hematoma boundary and the brain region segmentation boundary, and output the hematoma recognition and positioning results of the CT image and the partition name of the hematoma in the brain region in the CT image.

[0007] In order to achieve the above-mentioned purpose of the present invention, according to the second aspect of the present invention, the present invention provides an intracranial hemorrhage anatomical identification and positioning system based on CT images, which is used to implement the intracranial hemorrhage anatomical identification and positioning method based on CT images described in the first aspect of the present invention, including: an input module, which obtains intracranial hemorrhage CT image sequence; a hemorrhage subtype identification and positioning module, which uses an intracranial hemorrhage subtype identification and positioning model to process the intracranial hemorrhage CT image sequence to obtain a hematoma identification and positioning result corresponding to each CT image on the cross-section, and the hematoma identification and positioning result includes a hemorrhage subtype category and hematoma location information marked with a bounding box; the intracranial hemorrhage subtype identification and positioning model is obtained by training a constructed intracranial hemorrhage multi-center large data set; and a hematoma-free processing module. Module, for CT images with hematoma recognition and positioning results as no hematoma, enter the next CT image processing; non-brain area processing module, for CT images with hematoma recognition and positioning results as non-brain area hemorrhage, output hematoma recognition and positioning results; brain area processing module, for CT images with hematoma recognition and positioning results as brain area hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model to obtain the hematoma boundary; generate the generated CT image corresponding to the CT image through the generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain area segmentation boundary; determine the partition of the hematoma in the brain area in the CT image by the intersection of the hematoma boundary and the brain area segmentation boundary, and output the hematoma recognition and positioning results of the CT image and the partition name of the hematoma in the brain partition.

[0008] In order to achieve the above-mentioned purpose of the present invention, according to the third aspect of the present invention, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for anatomical identification and positioning of intracranial hemorrhage based on CT images as described in the first aspect of the present invention.

[0009] The present invention trains an intracranial hemorrhage subtype recognition and positioning model through a constructed multi-center large data set of intracranial hemorrhage, thereby solving the dilemma that there is currently no large-scale intracranial hemorrhage subtype annotation data set; the intracranial hemorrhage subtype recognition and positioning model is used to process each CT image in the intracranial hemorrhage CT sequence, and the hematoma recognition and positioning results of the CT image on each cross-section are obtained. For non-brain hemorrhage, such as three hemorrhage subtypes of subarachnoid hemorrhage, epidural hemorrhage and subdural hemorrhage, the hematoma recognition and positioning results are directly output; for brain hemorrhage, such as two hemorrhage subtypes of ventricular hemorrhage and cerebral parenchymal hemorrhage, the first segmentation model is further used to obtain a fine hematoma boundary, in order to avoid the hematoma area in the CT image from interfering with the partition of the partition, a generative adversarial network is used to generate a generated CT image corresponding to the intracranial hemorrhage CT sequence, and then a second segmentation model is used to obtain an accurate brain segmentation boundary based on the generated CT image, and finally the name of the partition where the hematoma is located is obtained by intersecting the hematoma boundary and the brain segmentation boundary, so as to achieve accurate anatomical positioning of the intracranial hemorrhage. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is a flow chart of a method for anatomical identification and positioning of intracranial hemorrhage based on CT images in a preferred embodiment of the present invention;

[0011] Figure 2 It is a schematic diagram of marking a CT image with a bounding box according to the hematoma recognition and positioning results in a preferred embodiment of the present invention;

[0012] Figure 3 It is a flow chart of a method for anatomical identification and positioning of intracranial hemorrhage based on CT images in an application scenario of the present invention. DETAILED DESCRIPTION

[0013] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0014] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0015] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.

[0016] The present invention discloses a method for anatomical identification and location of intracranial hemorrhage based on CT images. In a preferred embodiment, Figure 1 As shown, including:

[0017] Step S1, obtaining intracranial hemorrhage CT sequence images, which include a plurality of continuous CT images. The intracranial hemorrhage CT sequence images generally refer to the patient's intracranial hemorrhage cross-sectional CT sequence.

[0018] Step S2, using the intracranial hemorrhage subtype recognition and positioning model to process the intracranial hemorrhage CT sequence images, obtain the hematoma recognition and positioning results corresponding to each CT image on the cross section, the hematoma recognition and positioning results include the hemorrhage subtype category and the hematoma location information marked with a bounding box, and the hemorrhage area of ​​the CT image is marked with a bounding box; the intracranial hemorrhage subtype recognition and positioning model is trained by the constructed intracranial hemorrhage multi-center large data set to obtain the hemorrhage subtype category of each CT image, including subarachnoid hemorrhage, epidural hemorrhage, subdural hemorrhage, ventricular hemorrhage and brain parenchymal hemorrhage. Among them, the hematoma recognition and positioning results of non-brain hemorrhage include subarachnoid hemorrhage, epidural hemorrhage and subdural hemorrhage, and the hematoma recognition and positioning results of the brain area include ventricular hemorrhage and brain parenchymal hemorrhage. Figure 2 A schematic diagram showing the hematoma area marked by a bounding box corresponding to a CT image is shown. Figure 2 In the present invention, the hematoma area in the CT image is roughly located by a bounding box.

[0019] In step S2, the intracranial hemorrhage subtype recognition and positioning model is used to process the intracranial hemorrhage CT sequence images to obtain the hematoma recognition and positioning results corresponding to each CT image on the cross-section. This step includes two execution schemes.

[0020] The first approach is to identify and locate the hemorrhage subtypes of the CT images of the intracranial hemorrhage CT sequence images one by one, including:

[0021] Step a1, sequentially acquiring a plurality of continuous CT images from the intracranial hemorrhage CT sequence images;

[0022] Step a2, inputting the CT images into the pre-trained intracranial hemorrhage subtype recognition and localization model in sequence, and obtaining the hematoma recognition and localization results corresponding to each CT image on the upper cross section.

[0023] Although Scheme 1 can also obtain relatively accurate hematoma identification and positioning results, it does not fully utilize the inter-layer information of intracranial hemorrhage CT sequence images. Therefore, in order to further improve the accuracy of hematoma identification and positioning results, Scheme 2 is proposed. Scheme 2 fully utilizes the inter-layer information of intracranial hemorrhage CT sequence images to avoid the problem of single CT image recognition errors. Scheme 2 specifically includes:

[0024] Step b1, the CT sequences of the cross-section, coronal plane and sagittal plane are all expressed as [x, y, z], where x represents the number of pixels in the X direction, y represents the number of pixels in the Y direction, and z represents the number of pixels in the Z direction; wherein the X direction represents the horizontal axis direction of the CT image on the cross-section, the Y direction represents the vertical axis (i.e., longitudinal axis) direction of the CT image on the cross-section, and the Z direction represents the sequence direction of the cross-section CT sequence.

[0025] The CT images of the cross-sectional CT sequence are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the initial hematoma recognition and localization results corresponding to each CT image on the cross-section. The 3D bounding box coordinates on the cross-section are obtained based on the initial hematoma recognition and localization results corresponding to each CT image on the cross-section. Specifically, the lower left corner coordinates [x1, y1] and the upper right corner coordinates [X1′, y1′] of the largest bounding box in the cross-sectional CT sequence, as well as the Z-axis coordinates z1 corresponding to the hematoma appearance layer and the Z-axis coordinates z1′ corresponding to the hematoma end layer are selected to obtain the 3D bounding box coordinates on the cross-section, which are expressed as [x1, y1, z1; x1′, y1′, z1′].

[0026] Step b2, counting the bounding box types obtained from the cross-sectional 2D layer, and determining the hemorrhage subtype category detected in 3D by majority voting.

[0027] Step b3, reconstructing and acquiring the coronal CT sequence and the sagittal CT sequence from the intracranial hemorrhage CT sequence images respectively.

[0028] Step b4, input the coronal CT images into the pre-trained intracranial hemorrhage subtype recognition and positioning model in sequence, and obtain the hematoma recognition and positioning results corresponding to each CT image on the coronal plane. Based on the hematoma recognition and positioning results corresponding to each CT image on the coronal plane, the 3D bounding box coordinates on the coronal plane are obtained. Specifically, the lower left corner coordinates [x2, z2] and the upper right corner coordinates [x2′, z2′] of the largest bounding box in the coronal CT sequence are selected, as well as the Y-axis coordinates y2 corresponding to the hematoma appearance layer and the Y-axis coordinates y2′ corresponding to the hematoma end layer, and the 3D bounding box coordinates on the coronal plane are obtained, which are expressed as [x2, y2, z2; x2′, y2′, z2′].

[0029] Step b5, input the sagittal CT images into the pre-trained intracranial hemorrhage subtype recognition and positioning model in sequence, and obtain the hematoma recognition and positioning results corresponding to each CT image on the sagittal plane. Based on the hematoma recognition and positioning results corresponding to each CT image on the sagittal plane, obtain the 3D bounding box coordinates on the coronal plane. Specifically: select the lower left corner coordinates [y3, z3] and the upper right corner coordinates [y3′, z3′] of the largest bounding box in the sagittal CT sequence, as well as the X-axis coordinates x3 corresponding to the hematoma appearance layer and the X-axis coordinates x3′ corresponding to the hematoma end layer, and obtain the 3D bounding box coordinates on the coronal plane, which are expressed as [x3, y3, z3; x3′, y3′, z3′].

[0030] Step b6, obtaining the final 3D bounding box based on the 3D bounding box coordinates on the cross section, the 3D bounding box coordinates on the coronal plane and the 3D bounding box coordinates on the coronal plane, specifically: selecting a set of coordinates with the smallest sum of the squares of the X-axis coordinate, the Y-axis coordinate and the Z-axis coordinate from [x1, y1, z1], [x2, y2, z2] and [x3, y3, z3] as the coordinates [x4, y4, z4] of the final 3D bounding box, and selecting a set of coordinates with the largest sum of the squares of the X-axis coordinate, the Y-axis coordinate and the Z-axis coordinate from [x1′, y1′, z1′], [x2′, y2′, z2′] and [x3′, y3′, z3′] as the coordinates [x4′, y4′, z4′] of the final 3D bounding box. The final 3D bounding box is expressed as [x4, y4, z4; X4′, y4′, z4′].

[0031] Step b7, mapping the final 3D bounding box onto the cross section, and obtaining the hematoma position information marked by the bounding box corresponding to each CT image on the cross section.

[0032] Solution 2 realizes 3D detection of hematoma from three levels: transverse, coronal and sagittal planes, in order to make full use of inter-layer information and avoid the problem of incorrect recognition of a single CT image.

[0033] The intracranial hemorrhage subtype recognition and localization model is a deep learning model pre-trained using a large multi-center data set of intracranial hemorrhage. The output hematoma location information includes more than one bounding box. If there are multiple bleeding sites in the CT image, each bleeding site corresponds to a bounding box. The number and annotation quality of the data set have an important impact on the performance of the deep neural network. However, there is currently a lack of high-quality annotated large-scale data sets for intracranial hemorrhage recognition and localization, which also leads to the poor positioning effect of the hemorrhage subtype recognition and localization model based on deep learning technology when applying subtype recognition and localization. In order to improve the positioning effect of the intracranial hemorrhage subtype recognition and localization model, the training process of the intracranial hemorrhage subtype recognition and localization model of the present invention is:

[0034] First, we will build a multi-center large-scale data set on intracranial hemorrhage, including:

[0035] (1) Collect intracranial hemorrhage CT sequence datasets, including public intracranial hemorrhage CT sequence datasets such as RSNA2019 and CQ500 datasets and private intracranial hemorrhage CT sequence datasets collected from hospitals. Public datasets solve the problem of deep learning sample size, while private datasets solve the problems of transferability and generalization of detection models.

[0036] (2) Data labeling. Invite multiple radiology experts to label the hemorrhage subtype bounding box and hemorrhage subtype category for each collected CT image. The bounding box labeling principles include:

[0037] 1. Edge rule: The boundary box must be close to the edge of the hematoma (the minimum circumscribed rectangle) for frame marking. The frame cannot be too small or too large.

[0038] 2 Independent rule: Each target object (target hematoma area) needs to be framed separately, and several adjacent targets cannot be framed as a whole.

[0039] 3 Overlap rule: Two boxes are allowed to overlap. If one object blocks part of the other object, the shape of the other object needs to be completed based on the radiologist's knowledge and experience when framing.

[0040] 4 No-frame rules: Do not frame blurry images, images that are too dark or overexposed, and images with artifacts.

[0041] Hemorrhage subtypes included intraparenchymal hemorrhage, intraventricular hemorrhage, subarachnoid hemorrhage, epidural hemorrhage, and subdural hemorrhage.

[0042] (3) After annotation, we obtain the intracranial hemorrhage recognition and localization datasets based on bounding boxes, namely the multi-center intracranial hemorrhage dataset, including the RSNA 2019+ dataset (RSNA 2019+ training set and RSNA 2019+ test set), the CQ500+ dataset, and the annotated private dataset.

[0043] Second, a network structure of an intracranial hemorrhage subtype recognition and localization model is constructed, preferably but not limited to using a YOLO v7 network.

[0044] Third, the RSNA 2019+ training set was used to train the constructed intracranial hemorrhage subtype recognition and localization model network, and the RSNA 2019+ test set was used as the test set to perform internal verification of the trained intracranial hemorrhage subtype recognition and localization model network. The CQ500+ dataset and private dataset were used as multi-center verification sets to perform multi-center verification on the trained intracranial hemorrhage subtype recognition and localization model network. After the verification, the intracranial hemorrhage subtype recognition and localization model was obtained.

[0045] Through the above training method, a multi-center dataset of intracranial hemorrhage based on bounding box annotation was constructed to solve the problem that there is currently no large-scale intracranial hemorrhage subtype annotation dataset, and a high-precision and strong generalization ability intracranial hemorrhage subtype recognition and localization model was trained.

[0046] Step S3, for the CT image whose hematoma identification and positioning result is no hematoma, proceed to the next CT image processing.

[0047] Step S4, for a CT image in which the hematoma identification and positioning result is non-brain hemorrhage: outputting the hematoma identification and positioning result.

[0048] For hematoma identification and localization results of non-brain hemorrhage, such as subarachnoid hemorrhage, epidural hemorrhage and subdural hemorrhage, there is no overlap with the brain area. In clinical practice, it is only necessary to understand its type and location, and directly output the hematoma identification and localization results.

[0049] Step S5, for the CT image whose hematoma identification and positioning result is brain hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model, the first segmentation model only performs hematoma segmentation processing on the bounding box marked area in the hemorrhage positioning mark image, reduces background pixels, and can obtain a more accurate hematoma boundary; generate a generated CT image corresponding to the CT image through a generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain segmentation boundary; determine the partition of the hematoma in the brain region in the CT image by intersecting the hematoma boundary and the brain segmentation boundary, and output the hematoma identification and positioning result of the CT image and the partition name of the hematoma in the brain region in the CT image. If there are hematomas in multiple partitions in a CT image, then output the names of multiple partitions with hematomas.

[0050] In this embodiment, the hematoma identification and positioning results of brain hemorrhage generally include intraventricular hemorrhage and brain parenchyma hemorrhage. Preferably, the brain region includes ventricles and brain parenchyma, ventricles include left ventricles and right ventricles, and brain parenchyma includes left frontal lobe, right frontal lobe, left temporal lobe, right temporal lobe, left parietal lobe, right parietal lobe, left occipital lobe, right occipital lobe, left semioval center, right semioval center, left basal ganglia, right basal ganglia, left cerebellum, right cerebellum and brain stem. Therefore, the brain region includes 17 partitions, and the names of the 17 partitions are respectively left ventricle, right ventricle, left frontal lobe, right frontal lobe, left temporal lobe, right temporal lobe, left parietal lobe, right parietal lobe, left occipital lobe, right occipital lobe, left semioval center, right semioval center, left basal ganglia, right basal ganglia, left cerebellum, right cerebellum and brain stem, and the brain region segmentation boundary of the CT image divides the contours of each partition in the CT image. When bleeding occurs in the brain, accurate segmentation of the hematoma area to obtain the bleeding volume and locate the anatomical position can guide the surgery. Therefore, the results of hematoma identification and positioning in brain bleeding require further fine segmentation of the hematoma and determination of the partition where the hematoma is located to complete the accurate positioning of the anatomical position of the hematoma in the brain.

[0051] In this embodiment, the first segmentation model is pre-trained, and its training process includes:

[0052] Obtain a hematoma fine segmentation data set: obtain multiple first CT images of hematomas located in the brain region from a multi-center intracranial hemorrhage big data set, process the first CT image through the intracranial hemorrhage subtype recognition and positioning model to obtain the first hematoma recognition and positioning result corresponding to the first CT image, and the expert manually segments the hematoma boundary in the sub-image of the bounding box marking area corresponding to the first CT image, and uses the multiple manually segmented hematoma boundaries as the gold standard for hematoma fine segmentation. Multiple hematoma fine segmentation samples constitute a hematoma fine segmentation data set; divide the hematoma fine segmentation data set into a training set, a test set, and a validation set; construct a first segmentation model network structure, preferably but not limited to selecting a SWIN-Unet segmentation network; use the training set to train the constructed first segmentation model network structure, and use the test set and validation set to test and verify the trained first segmentation model network, and obtain the first segmentation model after verification. The first segmentation model realizes the fine segmentation of brain hematomas and obtains the precise segmentation boundary of hematomas.

[0053] In this embodiment, in order to make the acquired generated CT image close to the healthy CT image of the patient without bleeding in the intracranial hemorrhage CT sequence. Preferably, the generated CT image corresponding to the CT image is generated by the generative adversarial network, including: using the bounding box or hematoma boundary to generate a mask, using the mask to shield the bounding box or hematoma boundary in the CT image to form an area to obtain the generator input image, and inputting the generator input image into the generator of the generative adversarial network to obtain the generated CT image. The bounding box or hematoma boundary in the CT image is shielded by the mask to form an area to remove the hematoma area in the CT image, and all other areas in the generator input image except the hematoma area are the patient's real image data.

[0054] In this embodiment, the generated CT image is input to the second segmentation model to obtain the brain region segmentation boundary. The second segmentation model is pre-trained, and its training process includes:

[0055] The creation of a brain region segmentation dataset specifically includes: obtaining multiple CT images without bleeding, that is, normal healthy CT images, recorded as the second CT images, manually outlining 17 partition contours of the left ventricle, right ventricle, left frontal lobe, right frontal lobe, left temporal lobe, right temporal lobe, left parietal lobe, right parietal lobe, left occipital lobe, right occipital lobe, left semiovale center, right semiovale center, left basal ganglia, right basal ganglia, left cerebellum, right cerebellum and brainstem in the brain region of the second CT image as the gold standard, and completing the creation of the brain region segmentation dataset.

[0056] The brain region segmentation dataset is divided into training set, test set and validation set.

[0057] Construct a second segmentation model network structure, preferably but not limited to selecting a SWIN-Unet segmentation network.

[0058] The constructed second segmentation model network structure is trained using the training set, and the trained second segmentation model network is tested and verified using the test set and the verification set respectively, and the second segmentation model is obtained after the verification passes.

[0059] In this embodiment, preferably, in one example, the training process of the generative adversarial network includes:

[0060] Step A: construct a generative adversarial network, which includes a generator and a discriminator. The generative adversarial network is preferably, but not limited to, style-GAN.

[0061] Step B, obtaining multiple hematoma-free CT image samples and multiple randomly generated noise samples, the data label of the hematoma-free CT image samples is true, and the data label of the noise samples is false, and the discriminator is trained using the multiple hematoma-free CT image samples and the multiple noise samples; preferably, the noise sample is an image obtained by randomly generating pixel values ​​of pixel points in the area corresponding to the mask input image of the generator.

[0062] Step C, obtaining multiple intracranial hemorrhage CT images, preferably, the multiple intracranial hemorrhage CT images obtained cover the bleeding conditions of 17 partitions, processing the intracranial hemorrhage CT images through the intracranial hemorrhage subtype recognition and positioning model to obtain the hematoma recognition and positioning results, processing the bounding box marked area sub-image through the first segmentation model to obtain the hematoma boundary, using the bounding box or hematoma boundary to generate a mask, and shielding the bounding box or hematoma boundary in the intracranial hemorrhage CT image by the mask to obtain the generated sample. When the bounding box is used to generate the mask, the bounding box in the intracranial hemorrhage CT image is shielded by the mask to obtain the generated sample; when the hematoma boundary is used to generate the mask, the hematoma boundary in the intracranial hemorrhage CT image is shielded by the mask to obtain the generated sample.

[0063] Step D, using multiple generated samples to train the generator: the generated samples are input into the generator, the generator outputs the generated CT images corresponding to the generated samples, the trained discriminator is used to obtain the true probability of the pseudo-healthy generated CT images, the loss function is calculated according to the true probability, and the generator network parameters are updated using the back propagation algorithm.

[0064] In this embodiment, preferably, while realizing the anatomical positioning of the hematoma, the 3D visualization of the anatomical position of the hematoma is realized. In the intracranial hemorrhage CT sequence, the acquired hematoma boundary and the brain region segmentation boundary are respectively surface rendered to complete the 3D stereoscopic display of the hematoma, preferably but not limited to using the Matching Cubes algorithm for surface rendering, and performing 3D stereoscopic display, which can show the anatomical position of the hematoma more three-dimensionally and intuitively.

[0065] Figure 3A schematic diagram of the process of the method provided by this preferred embodiment in an application market is shown.

[0066] The present invention also discloses a system for anatomical identification and positioning of intracranial hemorrhage based on CT images, which is used to implement the above-mentioned method for anatomical identification and positioning of intracranial hemorrhage based on CT images. In a preferred embodiment, the system includes: an input module for acquiring CT sequence images of intracranial hemorrhage; a hemorrhage subtype identification and positioning module for processing the CT sequence images of intracranial hemorrhage using an intracranial hemorrhage subtype identification and positioning model to obtain a hematoma identification and positioning result corresponding to each CT image on the cross section, wherein the hematoma identification and positioning result includes a hemorrhage subtype category and hematoma location information marked with a bounding box; the intracranial hemorrhage subtype identification and positioning model is obtained by training a constructed intracranial hemorrhage multi-center large data set; and a no-hematoma processing module for processing a hematoma identification and positioning result of no-hematoma. CT image, enter the next CT image processing; non-brain area processing module, for CT images whose hematoma identification and positioning results are non-brain area hemorrhage, output the hematoma identification and positioning results; brain area processing module, for CT images whose hematoma identification and positioning results are brain area hemorrhage: for CT images whose hematoma identification and positioning results are brain area hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model to obtain the hematoma boundary; generate the generated CT image corresponding to the CT image through the generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain area segmentation boundary; determine the partition of the hematoma in the brain area in the CT image by the intersection of the hematoma boundary and the brain area segmentation boundary, and output the hematoma identification and positioning results of the CT image and the partition name of the hematoma in the brain partition. The input module, the hemorrhage subtype identification and positioning module, the non-hematoma processing module, the non-brain area processing module and the brain area processing module correspond to steps S1-S5 of the above method one by one, and will not be repeated here.

[0067] The present invention also discloses a computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the method for anatomical identification and positioning of intracranial hemorrhage based on CT images provided by the present invention is implemented.

[0068] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0069] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A method for anatomical identification and localization of intracranial hemorrhage based on CT images, characterized in that: include: Acquire CT sequence images of intracranial hemorrhage; The intracranial hemorrhage subtype recognition and localization model is used to process the intracranial hemorrhage CT sequence images to obtain the hematoma recognition and localization results corresponding to each CT image on the cross-section, and the hematoma recognition and localization results include the hemorrhage subtype category and the hematoma location information marked with a bounding box; the intracranial hemorrhage subtype recognition and localization model is obtained by training a constructed intracranial hemorrhage multi-center large data set; For CT images with no hematoma as a result of hematoma identification and positioning, the next CT image processing is performed; For CT images where the hematoma identification and positioning results are non-brain hemorrhage: output the hematoma identification and positioning results; For a CT image whose hematoma recognition and positioning result is brain hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model to obtain the hematoma boundary; generate a generated CT image corresponding to the CT image through a generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain segmentation boundary; determine the partition of the hematoma in the brain region in the CT image by the intersection of the hematoma boundary and the brain segmentation boundary, and output the hematoma recognition and positioning result of the CT image and the partition name of the hematoma in the brain region in the CT image; Among them, the intracranial hemorrhage subtype recognition and positioning model is used to process the intracranial hemorrhage CT sequence images to obtain the 3D recognition and positioning results of the hematoma corresponding to each CT image on the cross-section, including: The CT images of the cross-sectional CT sequence are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the initial hematoma recognition and localization results corresponding to each CT image on the cross-sectional surface, and the 3D bounding box coordinates on the cross-sectional surface are obtained based on the initial hematoma recognition and localization results corresponding to each CT image on the cross-sectional surface; The bounding box types obtained from the cross-sectional 2D planes were counted, and the hemorrhage subtype category detected in 3D was determined by majority voting; Reconstruct and obtain the coronal CT sequence and sagittal CT sequence from the intracranial hemorrhage CT sequence images respectively; The coronal CT images are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the hematoma recognition and localization results corresponding to each CT image on the coronal plane, and the 3D bounding box coordinates on the coronal plane are obtained based on the hematoma recognition and localization results corresponding to each CT image on the coronal plane; The sagittal CT images are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the hematoma recognition and localization results corresponding to each CT image on the sagittal plane, and the 3D bounding box coordinates on the sagittal plane are obtained based on the hematoma recognition and localization results corresponding to each CT image on the sagittal plane; A final 3D bounding box is obtained based on the 3D bounding box coordinates on the transverse plane, the 3D bounding box coordinates on the sagittal plane, and the 3D bounding box coordinates on the coronal plane; The final 3D bounding box is mapped onto the cross section to obtain the hematoma location information marked by the bounding box corresponding to each CT image on the cross section.

2. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images as claimed in claim 1, characterized in that: The intracranial hemorrhage subtype identification and positioning model is used to process the intracranial hemorrhage CT sequence images to obtain the hematoma identification and positioning results corresponding to each CT image on the cross section, including: Multiple continuous CT images are acquired sequentially from the CT sequence images of intracranial hemorrhage; The CT images are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the hematoma recognition and localization results corresponding to each CT image in the cross section.

3. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images according to claim 1 or 2, characterized in that: The construction process of the intracranial hemorrhage subtype identification and localization model is as follows: Collect intracranial hemorrhage CT sequence datasets, annotate each CT image in the intracranial hemorrhage CT sequence dataset with a hemorrhage subtype bounding box and a hemorrhage subtype category; divide the annotated intracranial hemorrhage CT sequence dataset into a training set, a test set, and a multi-center validation set; Construct the network structure of the intracranial hemorrhage subtype identification and localization model; The constructed intracranial hemorrhage subtype recognition and localization model network was trained using the training set, and the trained intracranial hemorrhage subtype recognition and localization model network was verified using the test set. The trained intracranial hemorrhage subtype recognition and localization model network was verified using the multi-center verification set, and the intracranial hemorrhage subtype recognition and localization model was obtained after the verification.

4. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images as claimed in claim 1, characterized in that: The brain region includes 17 partitions, which are the left ventricle, right ventricle, left frontal lobe, right frontal lobe, left temporal lobe, right temporal lobe, left parietal lobe, right parietal lobe, left occipital lobe, right occipital lobe, left semioval center, right semioval center, left basal ganglia, right basal ganglia, left cerebellum, right cerebellum and brainstem, and the partition outline is divided in the brain region segmentation boundary; The construction process of the second segmentation model includes: Creating a brain segmentation dataset includes: obtaining multiple CT images without bleeding, recorded as the second CT images, manually outlining 17 partition contours of the left ventricle, right ventricle, left frontal lobe, right frontal lobe, left temporal lobe, right temporal lobe, left parietal lobe, right parietal lobe, left occipital lobe, right occipital lobe, left semiovale center, right semiovale center, left basal ganglia, right basal ganglia, left cerebellum, right cerebellum and brainstem in the brain area of ​​the second CT images as the gold standard, and completing the creation of the brain segmentation dataset; Divide the brain region segmentation dataset into training set, test set and validation set; Constructing the second segmentation model network structure; The constructed second segmentation model network structure is trained using the training set, and the trained second segmentation model network is tested and verified using the test set and the verification set respectively, and the second segmentation model is obtained after the verification passes.

5. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images as claimed in claim 1, characterized in that: The method of determining the partition of the hematoma in the brain region in the CT image by intersecting the hematoma boundary and the brain region segmentation boundary, and outputting the hemorrhage subtype category of the CT image and the partition name of the hematoma in the brain region in the CT image includes: Determine whether each partition outline in the brain region segmentation boundary intersects with the hematoma segmentation boundary. If the partition outline intersects with the hematoma boundary, output the name of the intersecting partition while outputting the hematoma recognition and positioning results of the CT image; In the intracranial hemorrhage CT sequence, the acquired hematoma boundary and brain region segmentation boundary are respectively drawn to perform 3D stereoscopic display of the hematoma and each partition.

6. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images as claimed in claim 1, 2, 4 or 5, characterized in that: The generating a CT image corresponding to the CT image generated by the generative adversarial network includes: A mask is generated using a bounding box or a hematoma segmentation boundary, and the mask is used to shield the bounding box or the hematoma segmentation boundary in the CT image to form an area to obtain a generator input image, and the generator input image is input to the generator of the generative adversarial network to obtain a generated CT image.

7. The method for anatomical identification and positioning of intracranial hemorrhage based on CT images as claimed in claim 6, characterized in that: The training process of the generative adversarial network includes: Construct a generative adversarial network, which includes a generator and a discriminator; Acquire multiple CT image samples without hematoma and multiple randomly generated noise samples, wherein the data labels of the CT image samples without hematoma are true, and the data labels of the noise samples are false, and train the discriminator using the multiple CT image samples without hematoma and the multiple noise samples; Acquire multiple intracranial hemorrhage CT images, process the intracranial hemorrhage CT images through the intracranial hemorrhage subtype recognition and positioning model to obtain hematoma recognition and positioning results, process the sub-image of the bounding box marked area through the first segmentation model to obtain the hematoma boundary, generate a mask using the bounding box or the hematoma boundary, and shield the bounding box or the hematoma boundary in the intracranial hemorrhage CT image through the mask to obtain a generated sample; The generator is trained using multiple generated samples: the generated samples are input into the generator, and the generator outputs the pseudo-healthy generated CT images corresponding to the generated samples. The trained discriminator is used to obtain the true probability of the pseudo-healthy generated CT images, the loss function is calculated based on the true probability, and the generator network parameters are updated using the back-propagation algorithm.

8. The intracranial hemorrhage anatomical identification and positioning system based on CT images is characterized by: The method for realizing the anatomical identification and positioning of intracranial hemorrhage based on CT images as described in any one of claims 1 to 7 comprises: Input module, obtains CT sequence images of intracranial hemorrhage; A hemorrhage subtype recognition and positioning module processes intracranial hemorrhage CT sequence images using an intracranial hemorrhage subtype recognition and positioning model to obtain hematoma recognition and positioning results corresponding to each CT image on the cross-section, wherein the hematoma recognition and positioning results include hemorrhage subtype categories and hematoma location information marked with a bounding box; the intracranial hemorrhage subtype recognition and positioning model is obtained by training a constructed intracranial hemorrhage multi-center large data set; A no-hematoma processing module, for CT images with no-hematoma as a result of hematoma identification and positioning, enters the next CT image processing; The non-brain region processing module outputs the hematoma recognition and positioning results for CT images whose hematoma recognition and positioning results are non-brain region hemorrhage; The brain region processing module, for a CT image whose hematoma recognition and positioning result is brain region hemorrhage: input the bounding box marked area sub-image corresponding to the CT image to the first segmentation model to obtain the hematoma boundary; generate a generated CT image corresponding to the CT image through a generative adversarial network; input the generated CT image to the second segmentation model to obtain the brain region segmentation boundary; determine the partition of the hematoma in the brain region in the CT image by the intersection of the hematoma boundary and the brain region segmentation boundary, and output the hematoma recognition and positioning result of the CT image and the partition name of the hematoma in the brain partition; Among them, the hemorrhage subtype identification and positioning module uses the intracranial hemorrhage subtype identification and positioning model to process the intracranial hemorrhage CT sequence images to obtain the hematoma 3D identification and positioning results corresponding to each CT image on the cross-section, including: The CT images of the cross-sectional CT sequence are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the initial hematoma recognition and localization results corresponding to each CT image on the cross-sectional surface, and the 3D bounding box coordinates on the cross-sectional surface are obtained based on the initial hematoma recognition and localization results corresponding to each CT image on the cross-sectional surface; The bounding box types obtained from the cross-sectional 2D planes were counted, and the hemorrhage subtype category detected in 3D was determined by majority voting; Reconstruct and obtain the coronal CT sequence and sagittal CT sequence from the intracranial hemorrhage CT sequence images respectively; The coronal CT images are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the hematoma recognition and localization results corresponding to each CT image on the coronal plane, and the 3D bounding box coordinates on the coronal plane are obtained based on the hematoma recognition and localization results corresponding to each CT image on the coronal plane; The sagittal CT images are sequentially input into the pre-trained intracranial hemorrhage subtype recognition and localization model to obtain the hematoma recognition and localization results corresponding to each CT image on the sagittal plane, and the 3D bounding box coordinates on the sagittal plane are obtained based on the hematoma recognition and localization results corresponding to each CT image on the sagittal plane; A final 3D bounding box is obtained based on the 3D bounding box coordinates on the transverse plane, the 3D bounding box coordinates on the sagittal plane, and the 3D bounding box coordinates on the coronal plane; The final 3D bounding box is mapped onto the cross section to obtain the hematoma location information marked by the bounding box corresponding to each CT image on the cross section.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for anatomical identification and positioning of intracranial hemorrhage based on CT images as described in any one of claims 1 to 7 is implemented.