Brain tissue water intake rate calculation method, program product and equipment

By adjusting the healthy side area in the plain brain scan image to match the proportion of the infarct area, the accuracy problem caused by brain asymmetry in the calculation of brain tissue water uptake rate is solved and the accuracy of the calculation results is improved.

CN118608487APending Publication Date: 2024-09-06SHANGHAI UNITED IMAGING INTELLIGENCE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410750838.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When the existing technology calculates the water uptake rate of brain tissue, due to the asymmetry of the brain structure, the accuracy of mapping the infarct area to the healthy side area is poor, which affects the accuracy of the water uptake rate of brain tissue.

Method used

By determining the target infarction area and its symmetrical initial healthy side area in the plain brain scan image, and adjusting the initial healthy side area according to the proportion of the infarct area in the affected hemisphere, the target healthy side area is obtained, and then based on the target healthy side area The brain tissue water uptake rate was calculated from the gray value of the lateral area and the infarct area.

Benefits of technology

It improves the accuracy of brain tissue water uptake rate and reduces the impact of brain structural deformation on the accuracy of the target healthy side area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608487A
    Figure CN118608487A
Patent Text Reader

Abstract

In a brain tissue water intake rate calculation method, a program product and equipment provided by the specification, a target infarction area in a first brain plain-scan image is determined, an initial unhealthy side area symmetrical to the target infarction area is determined in an unhealthy side hemisphere according to a boundary of a left brain hemisphere and a right brain hemisphere in the first brain plain-scan image, and the target infarction area is calculated according to the initial unhealthy side area. And adjusting at least one of the shape or the position of the initial healthy side area according to the proportion of the target infarction area in the affected side hemisphere to obtain a target healthy side area, and further calculating the water intake rate of the brain tissue based on the gray value of the target healthy side area and the gray value of the target infarction area in the first brain plain-scan image. And adjusting at least one of the shape or the position of the initial uninjured side area according to the proportion of the target infarction area in the affected side hemisphere to obtain the target uninjured side area, so that the influence of the brain structure deformation on the accuracy of determining the target uninjured side area is reduced, and the accuracy of the water intake rate of the brain tissue is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method, program product and device for calculating brain tissue water uptake rate. Background Art

[0002] Net Water Uptake (NWU) is an important indicator for assessing the degree of cerebral edema, reflecting the degree of ischemia and edema of brain tissue. Therefore, determining the net water uptake is crucial for the diagnosis, treatment and prognosis of ischemic stroke.

[0003] In current clinical applications, the infarct area is manually outlined based on the plain scan brain images of the patient at two different times, and the healthy area corresponding to the infarct area is determined in the contralateral hemisphere of the infarct area, and then the brain tissue water uptake rate is calculated based on the grayscale value of the healthy area and the grayscale value of the infarct area. However, due to the incomplete symmetry of the brain structure, the accuracy of the healthy area obtained by mapping the infarct area is poor, which in turn affects the accuracy of the brain tissue water uptake rate.

[0004] To this end, this specification provides a method, program product and device for calculating brain tissue water uptake rate. Summary of the invention

[0005] This specification provides a method for calculating brain tissue water uptake rate and a program product to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This manual provides a method for calculating brain tissue water uptake rate, including:

[0008] Determine a target infarct region in the first brain plain scan image, and use the brain hemisphere where the target infarct region is located as the affected hemisphere, and use the other brain hemisphere as the healthy hemisphere;

[0009] Determining, in the healthy hemisphere, an initial healthy area symmetrical to the target infarct area according to the boundary between the left and right brain hemispheres in the first brain plain scan image;

[0010] According to the proportion of the target infarct area in the affected hemisphere, at least one of the shape or the position of the initial healthy side area is adjusted to obtain a target healthy side area;

[0011] The brain tissue water uptake rate is calculated according to the grayscale value of the target healthy side area and the grayscale value of the target infarct area in the first brain plain scan image.

[0012] Optionally, determining a target infarct area in the first brain plain scan image specifically includes:

[0013] Acquire a first plain scan image of the user's brain and a perfusion image of the user's brain;

[0014] Determining a cerebral blood flow parameter map of the perfusion image, and taking a region in the cerebral blood flow parameter map where the cerebral blood flow is less than a preset threshold as a first infarction region in the perfusion image;

[0015] The perfusion image is matched with the first brain plain scan image, and a target infarct region in the first brain plain scan image is determined according to a position of the first infarct region on the perfusion image.

[0016] Optionally, determining a target infarct area in the first brain plain scan image specifically includes:

[0017] Acquire a first brain plain scan image of a user and a second brain plain scan image of the user, where the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image;

[0018] Inputting the first brain plain scan image and the second brain plain scan image into the trained infarct region model, and determining the second infarct region in the first brain plain scan image as a target infarct region;

[0019] The infarct area model is trained using the following method:

[0020] Acquire a first brain plain scan image of a user and a second brain plain scan image of the user as training samples, wherein the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image;

[0021] Determining an actual infarction area in the first brain plain scan image according to a grayscale difference between the second brain plain scan image and the first brain plain scan image as a label for the training data;

[0022] Inputting the training data into the infarct region model to be trained, so that the infarct region model to be trained outputs the second infarct region in the first brain plain scan image by comparing the grayscale difference between the first brain plain scan image and the second brain plain scan image;

[0023] The infarct region model is trained according to the difference between the second infarct region and the annotation.

[0024] Optionally, the method further includes:

[0025] determining an old lesion area in the second infarct area according to the first brain plain scan image on which the second infarct area is marked;

[0026] The old focus area in the second infarct area is eliminated to obtain the target infarct area in the first brain plain scan image.

[0027] Optionally, before calculating the brain tissue water uptake rate according to the grayscale value of the target healthy side area and the grayscale value of the target infarct area, the method further includes:

[0028] Inputting the first brain plain scan image into the trained cerebrospinal fluid segmentation model to determine an interference area in which cerebrospinal fluid is distributed in the first brain plain scan image;

[0029] An intersection area between the target healthy side area and the interference area is determined, and the intersection area is removed from the target healthy side area.

[0030] Optionally, adjusting at least one of the shape or the position of the initial healthy side region according to the proportion of the target infarct region in the hemisphere where the target infarct region is located to obtain the target healthy side region specifically includes:

[0031] Determine the intersection points of the demarcation line and the edge contour of the brain, and use the line between the intersection points as the ideal midline;

[0032] For each boundary point of at least a portion of the boundary points on the edge contour of the initial healthy side region, determine a straight line passing through the boundary point and perpendicular to the ideal midline as an adjustment baseline for the boundary point;

[0033] In a first brain plain scan image that divides the left and right brain hemispheres by a dividing line, determining a ratio between a length of the adjustment baseline in the key-side hemisphere and a length of the adjustment baseline in the affected-side hemisphere;

[0034] On the adjusted baseline, a point symmetrical to the boundary point in the target infarct region is used as the contralateral point of the boundary point, and the distance from the contralateral point to the dividing line is used as the affected side distance of the boundary point;

[0035] Determine the product of the affected side distance and the ratio as the healthy side distance of the boundary point, and adjust the distance from the boundary point on the adjustment baseline to the dividing line to the healthy side distance;

[0036] The target healthy side area is determined based on the adjusted boundary points.

[0037] Optionally, determining the initial healthy area corresponding to the target infarct area in the healthy hemisphere according to the boundary between the left and right hemispheres in the first brain plain scan image specifically includes:

[0038] For each boundary point of at least a portion of the boundary points on the edge contour of the target infarct region, determine a straight line passing through the boundary point and perpendicular to the ideal midline of the left and right hemispheres in the first brain plain scan image as an adjustment baseline for the boundary point;

[0039] The intersection point of the dividing line and the adjustment baseline is taken as the central symmetric point of the boundary point, and the symmetric point of the boundary point in the healthy hemisphere is determined;

[0040] The initial healthy side area is determined based on the symmetric points of each boundary point in the healthy side hemisphere.

[0041] Optionally, calculate brain tissue water uptake, including:

[0042] Determine the difference between the average gray value of the target healthy area and the average gray value of the target infarct area;

[0043] The ratio of the difference to the average gray value of the target healthy side area is taken as the brain tissue water uptake rate.

[0044] Optionally, the cerebrospinal fluid segmentation model is trained using the following method, wherein:

[0045] Obtaining brain plain scan images as training data, and for each training data, determining an interference region in which cerebrospinal fluid is distributed in the training data as a label for the training data;

[0046] The training data is input into a cerebrospinal fluid segmentation model to be trained to obtain interference regions segmented by the cerebrospinal fluid segmentation model, and the cerebrospinal fluid segmentation model is trained according to the segmented interference regions and the differences between the annotations.

[0047] The present specification provides a computer program product, which implements the above-mentioned method for calculating brain tissue water uptake rate when executed by a processor.

[0048] The present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for calculating brain tissue water uptake rate when executing the program.

[0049] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0050] In a method for calculating brain tissue water uptake rate provided in the present specification, a target infarct area in a first brain plain scan image is determined, and an initial healthy area symmetrical to the target infarct area is determined in the healthy hemisphere according to the boundary between the left and right brain hemispheres in the first brain plain scan image, and at least one of the shape or position of the initial healthy area is adjusted according to the proportion of the target infarct area in the affected hemisphere to obtain the target healthy area, and then the brain tissue water uptake rate is calculated based on the grayscale value of the target healthy area and the grayscale value of the target infarct area in the first brain plain scan image.

[0051] It can be seen from the above method that at least one of the shape or position of the initial healthy area is adjusted according to the proportion of the target infarct area in the affected hemisphere to obtain the target healthy area, thereby reducing the influence of brain structure deformation on the accuracy of determining the target healthy area and improving the accuracy of brain tissue water uptake rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The drawings described herein are used to provide further understanding of this specification and constitute a part of this specification. The illustrative embodiments of this specification and their descriptions are used to explain this specification and do not constitute improper limitations on this specification.

[0053] In the attached picture:

[0054] Figure 1 A schematic diagram of a method for calculating brain tissue water uptake rate provided in this specification;

[0055] Figure 2 A schematic diagram of the boundary between the left and right brain hemispheres provided in this manual;

[0056] Figure 3 This is a schematic diagram for determining the initial healthy side area provided in this specification;

[0057] Figure 4 A schematic diagram for determining a target infarct area provided in this specification;

[0058] Figure 5 A schematic diagram of adjusting the initial healthy side area to obtain the target healthy side area provided in this specification;

[0059] Figure 6 A schematic diagram of straightening the first brain plain scan image provided in this specification;

[0060] Figure 7 This is a schematic diagram of a brain tissue water uptake rate calculation device provided in this specification;

[0061] Figure 8 This is a schematic diagram of the structure of an electronic device for calculating the water uptake rate of brain tissue provided in this specification. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0064] Figure 1 This is a flow chart of a method for calculating brain tissue water uptake rate provided in this specification, comprising the following steps:

[0065] S100: determining a target infarct region in a first brain plain scan image, and taking the brain hemisphere where the target infarct region is located as the affected hemisphere, and taking the other brain hemisphere as the healthy hemisphere.

[0066] In one or more embodiments of this specification, it is not limited to which device is used to implement a method for calculating brain tissue water uptake rate, for example, a personal computer, a mobile terminal, and a server. However, since the subsequent steps involve operations such as data processing, and such operations with high requirements for computing resources are generally performed by a server, this specification will also use a server to implement a method for calculating brain tissue water uptake rate as an example for description. Among them, the server can be a single device, or composed of multiple devices, for example, a distributed server, and this specification does not limit this.

[0067] In one or more embodiments of the present specification, in order to determine the initial healthy area in the healthy hemisphere in the subsequent steps, in this step, it is necessary to determine the target infarction area in the first brain plain scan image, and the brain hemisphere where the target infarction area is located is used as the affected hemisphere, and the other brain hemisphere is used as the initial healthy hemisphere.

[0068] Specifically, the server may determine the target infarct region in the first brain plain scan image, and the brain hemisphere where the target infarct region is located. The first brain plain scan image is a medical image obtained without using any contrast enhancement agent, such as computer tomography, magnetic resonance imaging, etc., which is not limited in this specification.

[0069] It should be noted that the longitudinal fissure is a crack between the left and right brain hemispheres, which divides the brain into two roughly symmetrical parts. In the first brain plain scan image, the longitudinal fissure appears as the dividing line between the left and right brain hemispheres. However, due to diseases such as cerebral edema and hydrocephalus, the brain tissue may be compressed and displaced. In this case, in the first brain plain scan image, the dividing line appears to be stretched to one side of the brain hemisphere and is a curve. Figure 2 As shown in the figure, the ventricles are squeezed in the first brain plain scan image, and the dividing line is stretched toward the affected hemisphere, and the left and right brain hemispheres are asymmetrical, that is, the affected hemisphere where the target infarction area is located is smaller than the healthy hemisphere. Of course, this figure only illustrates the effect of brain deformation on the dividing line between the left and right brain hemispheres, and does not limit the dividing line to stretching only toward the affected hemisphere.

[0070] S102: Determine, in the healthy hemisphere, an initial healthy area symmetrical to the target infarct area according to the boundary between the left and right brain hemispheres in the first brain plain scan image.

[0071] In one or more embodiments of the present specification, in order to determine the target healthy area in subsequent steps, in this step, based on the target infarct area in step S100, based on the boundary line between the left and right brain hemispheres in the first brain plain scan image, an initial healthy area symmetrical to the target infarct area is determined in the healthy hemisphere.

[0072] Specifically, the server can determine the intersection of the dividing line and the brain edge contour in step S100, and use the line between the intersections as the ideal center line, and determine a straight line passing through the boundary point and perpendicular to the ideal center line for each boundary point in at least part of the boundary points on the edge contour of the target infarct area determined in step S100 as the adjustment baseline of the boundary point. The intersection of the dividing line and the adjustment baseline is used as the central symmetric point of the boundary point, and the symmetric point of the boundary point in the healthy hemisphere is determined. The initial healthy area is determined based on the determined symmetric points in the healthy area. Among them, the dividing line between the left and right brain hemispheres when no brain structure deformation occurs in the first brain plain scan image is the ideal center line.

[0073] It should be noted that when determining the initial healthy side area symmetrical to the target infarct area according to the dividing line, it is not necessary to target each boundary point on the edge contour of the target infarct area, but only to determine some boundary points. In order to ensure the accuracy of the determined initial healthy side area, the some boundary points can be determined based on the shape of the target infarct area or the size of the edge contour. For example, according to the size of the edge contour and the preset spacing, the edge contour of the target infarct area can be uniformly sampled, and the uniformly sampled points can be used as the some boundary points, or according to the shape of the target infarct area, the intersection points or edge contour turning points in the target infarct area identified by feature point detection can be used as the some boundary points. Of course, the specific method of determining some boundary points and the number of some boundary points are not limited in this specification.

[0074] Using the above example, Figure 3 As shown, the intersection of the dividing line and the brain edge contour is determined, and the line between the intersection points is used as the ideal center line. For each boundary point A1 in at least part of the boundary points on the edge contour of the target infarct area, a straight line passing through the boundary point A1 and perpendicular to the ideal center line is used as the adjustment baseline of the boundary point A1, and based on the dividing line, the symmetric point A2 of the boundary point is determined on the adjustment baseline, and the initial healthy side area is determined according to each symmetric point.

[0075] S104: According to the proportion of the target infarct area in the affected hemisphere, at least one of the shape or the position of the initial healthy-side area is adjusted to obtain a target healthy-side area.

[0076] In one or more embodiments of the present specification, in order to improve the accuracy of calculating the water uptake rate of brain tissue in subsequent steps, in this step, it is necessary to adjust the shape or position of the initial healthy area determined in step S102 according to the proportion of the target infarct area in the affected hemisphere in step S100.

[0077] Specifically, the server may determine the proportion of the target infarct region in the affected hemisphere, and obtain the target healthy region by scaling the initial healthy region, so that the proportion of the target healthy region in the healthy hemisphere is consistent with the proportion of the target infarct region in the affected hemisphere. Of course, the specific method of scaling the initial healthy region is not limited in this specification, such as overall scaling, horizontal scaling, etc.

[0078] It should be noted that due to the distortion of the brain structure, the dividing line is stretched to one side of the cerebral hemisphere, resulting in the asymmetry of the two cerebral hemispheres in the first brain plain scan image. Therefore, the shape or position of the initial healthy area can be adjusted according to the proportion of the target infarct area in the affected hemisphere to obtain the target healthy area, so that the proportion of the target healthy area in the healthy hemisphere is consistent with the proportion of the target infarct area in the affected hemisphere, ensuring that the brain tissue water uptake rate is calculated on a unified comparison basis (consistent proportion) in the subsequent steps.

[0079] S106: Calculate the brain tissue water uptake rate according to the grayscale value of the target healthy area and the grayscale value of the target infarct area in the first brain plain scan image.

[0080] In one or more embodiments of the present specification, the brain tissue water uptake rate may be calculated according to the grayscale value of the target infarct region in step S100 and the grayscale value of the target healthy side region determined in step S104.

[0081] Specifically, the server may calculate the brain tissue water uptake rate according to the grayscale value of the target healthy area and the grayscale value of the target infarct area in the first brain plain scan image.

[0082] Calculate the brain tissue water uptake rate P as follows:

[0083]

[0084] Where P is the water uptake rate of brain tissue, is the average gray value of the target infarct area, is the average gray value of the target healthy area.

[0085] It can be seen from the above method that the target infarction area in the first brain plain scan image is determined, and according to the boundary line between the left and right brain hemispheres in the first brain plain scan image, an initial healthy area symmetrical to the target infarction area is determined in the healthy hemisphere, and according to the proportion of the target infarction area in the affected hemisphere, at least one of the shape or position of the initial healthy area is adjusted to obtain the target healthy area, and then based on the grayscale value of the target healthy area and the grayscale value of the target infarction area in the first brain plain scan image, the brain tissue water uptake rate is calculated, that is, based on the degree of deformation of the user's brain structure in the first brain plain scan image, the initial healthy area is adjusted to obtain the target healthy area, thereby reducing the influence of brain structure deformation on the accuracy of the target healthy area, thereby improving the accuracy of the brain tissue water uptake rate.

[0086] In step S100, the specific method of determining the target infarction area in the first brain plain scan image is not limited. In addition to manually comparing the second brain plain scan image with the first brain plain scan image and then outlining the target infarction area in the first brain plain scan image, this specification also provides a method for determining the target infarction area through the infarction area model completed by training, specifically including:

[0087] In one or more embodiments of the present specification, the first brain plain scan image and the second brain plain scan image can be input into a trained infarction area model to determine the second infarction area in the first brain plain scan image as the target infarction area.

[0088] Specifically, the server can obtain a first brain plain scan image of the user and a second brain plain scan image of the user, and input the first brain plain scan image and the second brain plain scan image into a trained infarction area model to determine the second infarction area in the first brain plain scan image, wherein the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image.

[0089] Among them, the infarct area model is trained using the following method:

[0090] First, a first brain plain scan image of a user and a second brain plain scan image of the user are obtained as training samples, and based on the grayscale difference between the second brain plain scan image and the first brain plain scan image, the actual infarction area in the first brain plain scan image is determined as the annotation of the training data, wherein the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image.

[0091] Secondly, the training data is input into the infarct region model to be trained, so that the infarct region model compares the grayscale difference between the second brain plain scan image and the first brain plain scan image, and outputs the second infarct region in the first brain plain scan image.

[0092] Finally, the infarct region model is trained according to the difference between the second infarct region and the annotations of the training data.

[0093] It should be noted that since the old lesions are diseased brain tissues left over from historical cerebral infarction, the edema and blood flow changes of the old lesions have stabilized and cannot reflect the current state of the brain tissue. Therefore, when calculating the water uptake rate of brain tissue, the influence of the old lesions area needs to be eliminated.

[0094] Therefore, in addition to manually removing the old lesion area in the second infarct area, this specification also provides a method for removing the old lesion area in the second infarct area through training of the old lesion recognition model to obtain the target infarct area, which specifically includes:

[0095] In one embodiment of the present specification, the server may input the first brain plain scan image marked with the second infarct area into a trained old lesion recognition model to identify the old lesion area in the second infarct area, thereby eliminating the old lesion area in the second infarct area to obtain the target infarct area in the first brain plain scan image.

[0096] The following method is used to train the old stove recognition model:

[0097] First, a brain plain scan image is obtained as training data, and for each training data, the actual old lesion area in the brain plain scan image is determined as the label of the training data.

[0098] Secondly, the training data is input into the old hearth recognition model to be trained to identify the old hearth area in the training data.

[0099] Finally, the old hearth recognition model is trained according to the difference between the identified old hearth area and the annotation of the training data.

[0100] It should be noted that the second brain plain scan image is an image acquired after the acquisition time of the first brain plain scan image. Since the infarction area model refers to the area of ​​"grayscale difference" between the second brain plain scan image and the first brain plain scan image, the second infarction area is marked in the first brain plain scan image. Therefore, in order to ensure the accuracy of the second infarction area, it is necessary to ensure that the infarction phenomenon in the acquired second brain plain scan image is relatively obvious, so the acquisition time of the second brain plain scan image cannot be close to the acquisition time of the first brain plain scan image, and generally the acquisition time interval with the first brain plain scan image must exceed 24 hours.

[0101] Based on the above, for users who need to determine the infarction area within 24 hours, it is necessary to collect the user's first brain plain scan image and the perfusion image of the user's brain, and determine the target infarction area in the first brain plain scan image by referring to the cerebral blood flow parameter map of the perfusion image.

[0102] Specifically, the server can obtain the user's first brain plain scan image and the perfusion image of the user's brain, and determine the cerebral blood flow (CBF) parameter map of the perfusion image, and use the area in the cerebral blood flow parameter map where the cerebral blood flow (CBF) is less than a preset threshold as the first infarction area. The perfusion image is matched with the first brain plain scan image, and the target infarction area in the first brain plain scan image is determined according to the position of the first infarction area on the perfusion image.

[0103] It should be noted that, since the blood supply to the first infarct region is blocked or interrupted, the CBF in the first infarct region is significantly reduced or even absent on the CBF parameter map. Then, the region where the CBF is lower than the preset threshold can be determined by setting the preset threshold.

[0104] like Figure 4As shown, it is a schematic diagram of determining the target infarction area provided in this specification, wherein, according to the needs of the user, within 24 hours after the first brain plain scan image is acquired, the first infarction area is determined based on the user's brain perfusion image and the first brain plain scan image through the cerebral blood flow parameter map, and the target infarction area in the first brain plain scan image is determined based on the position of the first infarction area in the perfusion image; when outside 24 hours after the first brain plain scan image is acquired, the user's second brain plain scan image is acquired, and the second brain plain scan image and the first brain plain scan image are combined through the infarction area model to determine the second infarction area, and then based on the second infarction area, the old lesion area is eliminated through the old lesion recognition model to obtain the target infarction area in the first brain plain scan image.

[0105] In addition, in the first brain plain scan image, the boundary line is "stretched" to one side, resulting in different degrees of distortion of the left and right brain hemispheres on each adjusted baseline. Therefore, in step S104, in determining the target healthy area, the server can adjust the boundary point according to the ratio between the length of the adjusted baseline of the boundary point in the healthy hemisphere and the length in the affected hemisphere for each boundary point in at least part of the edge contour of the initial healthy area, so that the proportion of "the distance from the boundary point to the boundary line after adjustment" in "the length of the adjusted baseline in the healthy hemisphere" is consistent with the proportion of "the distance from the boundary point to the boundary line before adjustment" in "the length of the adjusted baseline in the affected hemisphere".

[0106] Specifically, the server can determine the adjustment baseline of each boundary point in at least part of the boundary points on the edge contour of the initial healthy side area, and determine the ratio between the length of the adjustment baseline in the healthy side hemisphere and the length of the adjustment baseline in the affected side hemisphere in the first brain plain scan image that divides the left and right brain hemispheres by the dividing line. On the adjustment baseline, the point symmetrical to the boundary point in the target infarct area is used as the contralateral point of the boundary point, and the distance from the contralateral point to the dividing line is used as the affected side distance of the boundary point. The product of the affected side distance and the determined ratio is determined as the healthy side distance of the boundary point, and the distance from the boundary point to the dividing line on the adjustment baseline is adjusted to the healthy side distance. Based on the adjusted boundary points, the target healthy side area is determined.

[0107] It should be noted that, since the initial healthy area is the symmetrical area of ​​the target infarct area in the healthy hemisphere, at least some of the boundary points of the initial healthy area may be "symmetrical points of at least some of the boundary points of the target infarct area in S102". Of course, since the boundary line may be stretched to one side of the brain hemisphere, the shape and position of the initial healthy area symmetrical to the target infarct area may change when determining it. Therefore, at least some of the boundary points may be re-determined based on the initial healthy area, which is not limited in this specification.

[0108] like Figure 5 As shown, following the above example, for each boundary point A2 in at least part of the boundary points on the edge contour of the initial healthy side region, the adjustment baseline of the boundary point is determined, and in the first brain plain scan image, the ratio a / b between the length a of the adjustment baseline in the healthy side hemisphere (the distance from B2 to the dividing line in the figure) and the length b of the adjustment baseline in the affected side hemisphere (the distance from B1 to the dividing line in the figure) is determined, and on the adjustment baseline, the point symmetrical to the boundary point in the target infarct region is used as the contralateral point A1 of the boundary point, and the distance from the contralateral point A1 to the dividing line is used as the affected side distance of the boundary point. The product of the affected side distance and the ratio a / b is determined as the healthy side distance, and the distance from the boundary point to the dividing line on the adjustment baseline is adjusted to the healthy side distance, to obtain the adjusted boundary point A3, and the target healthy side region is determined based on the adjusted boundary points.

[0109] In addition, in steps S102 and S104, the target healthy-side area can be directly determined in the healthy-side half period according to the target infarct area and the proportion of the target infarct area in the affected-side hemisphere.

[0110] Specifically, the server can determine the adjustment baseline of each boundary point in at least part of the boundary points on the edge contour of the target infarct area, and determine the ratio between the length of the adjustment baseline in the healthy hemisphere and the length of the adjustment baseline in the affected hemisphere in the first brain plain scan image that divides the left and right brain hemispheres by the dividing line. On the adjustment baseline, the product of the distance from the boundary point to the dividing line and the determined ratio is used as the healthy side distance. In the adjustment baseline of the healthy side hemisphere, a point whose distance from the dividing line is the healthy side distance is determined, and the target healthy side area is determined based on the determined points.

[0111] In addition, before calculating the brain tissue water uptake rate in step S106, the grayscale value of the target healthy side area will become lower due to the area where cerebrospinal fluid is distributed. Therefore, in order to avoid the influence of the interference area on the accuracy of the brain tissue water uptake rate, the interference area where cerebrospinal fluid is distributed in the target healthy side area needs to be eliminated.

[0112] Specifically, the server can input the first brain plain scan image into the trained cerebrospinal fluid segmentation model, determine the interference area where cerebrospinal fluid is distributed in the first brain plain scan image, and determine the intersection area between the target healthy side area determined in step S104 and the interference area, thereby eliminating the intersection area in the target healthy side area, wherein the interference area includes at least one of the sulci, gyri and ventricles.

[0113] The cerebrospinal fluid segmentation model was trained using the following method:

[0114] First, a brain plain scan image is obtained as training data, and for each training data, an interference area in which cerebrospinal fluid is distributed in the training data is determined as a label for the training data.

[0115] Secondly, the training data is input into the cerebrospinal fluid segmentation model to be trained to obtain the interference region segmented by the cerebrospinal fluid segmentation model.

[0116] Finally, the cerebrospinal fluid segmentation model is trained based on the differences between the segmented interference regions and the annotations of the training data.

[0117] In addition, in one or more embodiments of the present specification, the server may exchange information with the user, that is, in step S102, when the server determines "at least some of the boundary points" in the initial healthy area, it may also send the first brain plain scan image marked with "at least some of the boundary points" in the target infarct area to the terminal. The terminal displays the first brain plain scan image, and in response to the user's adjustment operation, adjusts the number or position of at least some of the boundary points, and returns the first brain plain scan image to the server.

[0118] At the same time, in order to facilitate the user to observe the first brain plain scan image on the terminal, the first brain plain scan image can be rectified. Specifically, the triangular area formed by the left and right eyeballs and the brain stem in the first brain plain scan image is determined, and the midline of the midpoint of the line connecting the brain stem to the left and right eyeballs is determined. According to the horizontal angle between the line connecting the left and right eyeballs in the triangular area and the horizontal direction, and the vertical angle between the midline and the vertical direction, the first brain plain scan image is rectified, that is, the sum of the horizontal angle and the vertical angle is minimized as the alignment target, and the first brain plain scan image is adjusted.

[0119] like Figure 6 , which is a schematic diagram of straightening the first brain plain scan image provided in this specification.

[0120] The above is a method for calculating the water uptake rate of brain tissue provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding device for calculating the water uptake rate of brain tissue, such as Figure 7 shown.

[0121] The target infarction module 500 determines a target infarction region in the first brain plain scan image, and uses the brain hemisphere where the target infarction region is located as the affected hemisphere, and uses the other brain hemisphere as the healthy hemisphere;

[0122] An initial healthy side module 501 determines, in the healthy side hemisphere, an initial healthy side region symmetrical to the target infarct region according to the boundary between the left and right brain hemispheres in the first brain plain scan image;

[0123] A target healthy side module 502 adjusts at least one of the shape or the position of the initial healthy side region according to the proportion of the target infarct region in the affected hemisphere to obtain a target healthy side region;

[0124] The water uptake rate module 503 calculates the water uptake rate of the brain tissue according to the grayscale value of the target healthy area and the grayscale value of the target infarct area in the first brain plain scan image.

[0125] Optionally, the target infarction module 500 is specifically used to obtain a first brain plain scan image of a user and a perfusion image of the user's brain; determine a cerebral blood flow parameter map of the perfusion image, and use an area in the cerebral blood flow parameter map where the cerebral blood flow is less than a preset threshold as a first infarction area in the perfusion image; match the perfusion image with the first brain plain scan image, and determine a target infarction area in the first brain plain scan image based on the position of the first infarction area on the perfusion image.

[0126] Optionally, the target infarction module 500 is specifically used to obtain a first brain plain scan image of a user and a second brain plain scan image of the user, and the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image; the first brain plain scan image and the second brain plain scan image are input into the trained infarction area model, and the second infarction area in the first brain plain scan image is determined as the target infarction area.

[0127] Optionally, the target infarction module 500 can also be used to determine the old lesion area in the second infarction area based on the first brain plain scan image in which the second infarction area is marked; and eliminate the old lesion area in the second infarction area to obtain the target infarction area in the first brain plain scan image.

[0128] Optionally, the device also includes an interference area module 504, which is specifically used to input the first brain plain scan image into the trained cerebrospinal fluid segmentation model to determine the interference area where cerebrospinal fluid is distributed in the first brain plain scan image; determine the intersection area between the target healthy side area and the interference area, and remove the intersection area from the target healthy side area.

[0129] Optionally, the target healthy side module 502 is specifically used to determine the intersection of the dividing line and the brain edge contour, and use the line between the intersection points as the ideal midline; for each boundary point of at least part of the boundary points on the edge contour of the initial healthy side area, determine a straight line passing through the boundary point and perpendicular to the ideal midline as the adjustment baseline of the boundary point; in the first brain plain scan image that divides the left and right brain hemispheres by the dividing line, determine the ratio between the length of the adjustment baseline in the healthy side hemisphere and the length of the adjustment baseline in the affected side hemisphere; on the adjustment baseline, use the point symmetrical to the boundary point in the target infarct area as the contralateral point of the boundary point, and use the distance from the contralateral point to the dividing line as the affected side distance of the boundary point; determine the product of the affected side distance and the ratio as the healthy side distance of the boundary point, and adjust the distance from the boundary point to the dividing line on the adjustment baseline to the healthy side distance; determine the target healthy side area according to the adjusted boundary points.

[0130] Optionally, the initial healthy side module 501 is specifically used to determine, for each boundary point of at least part of the boundary points on the edge contour of the target infarct area, a straight line passing through the boundary point and perpendicular to the ideal midline of the left and right hemispheres in the first brain plain scan image as the adjustment baseline for the boundary point; use the intersection of the dividing line and the adjustment baseline as the central symmetric point of the boundary point, and determine the symmetric point of the boundary point in the healthy hemisphere; and determine the initial healthy side area based on the symmetric points of each boundary point in the healthy hemisphere.

[0131] Optionally, the water uptake rate module 503 is specifically used to determine the difference between the average grayscale value of the target healthy side area and the average grayscale value of the target infarct area; and take the ratio of the difference to the average grayscale value of the target healthy side area as the water uptake rate of brain tissue.

[0132] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 A method for calculating brain tissue water uptake rate is provided.

[0133] This manual also provides Figure 8 The schematic structure diagram of the electronic device shown in FIG. Figure 8 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0134] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0135] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0136] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0137] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0143] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0144] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0145] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0146] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0147] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0148] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0149] The above description is only an embodiment of this specification and is not intended to limit this specification. For those skilled in the art, this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims of this application.

Claims

1. A method for calculating brain tissue water uptake rate, characterized in that: include: Determine a target infarct region in the first brain plain scan image, and use the brain hemisphere where the target infarct region is located as the affected hemisphere, and use the other brain hemisphere as the healthy hemisphere; Determining, in the healthy hemisphere, an initial healthy area symmetrical to the target infarct area according to the boundary between the left and right brain hemispheres in the first brain plain scan image; According to the proportion of the target infarct area in the affected hemisphere, at least one of the shape or the position of the initial healthy side area is adjusted to obtain a target healthy side area; The brain tissue water uptake rate is calculated according to the grayscale value of the target healthy side area and the grayscale value of the target infarct area in the first brain plain scan image.

2. The method according to claim 1, characterized in that Determining a target infarct area in the first brain plain scan image specifically includes: Acquire a first plain scan image of the user's brain and a perfusion image of the user's brain; Determining a cerebral blood flow parameter map of the perfusion image, and taking a region in the cerebral blood flow parameter map where the cerebral blood flow is less than a preset threshold as a first infarction region in the perfusion image; The perfusion image is matched with the first brain plain scan image, and a target infarct region in the first brain plain scan image is determined according to a position of the first infarct region on the perfusion image.

3. The method according to claim 1, characterized in that Determining a target infarct area in the first brain plain scan image specifically includes: Acquire a first brain plain scan image of a user and a second brain plain scan image of the user, where the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image; Inputting the first brain plain scan image and the second brain plain scan image into the trained infarct region model, and determining the second infarct region in the first brain plain scan image as a target infarct region; The infarct area model is trained using the following method: Acquire a first brain plain scan image of a user and a second brain plain scan image of the user as training samples, wherein the acquisition time of the second brain plain scan image is after the acquisition time of the first brain plain scan image; Determining an actual infarction area in the first brain plain scan image according to a grayscale difference between the second brain plain scan image and the first brain plain scan image as a label for the training data; Inputting the training data into the infarct region model to be trained, so that the infarct region model to be trained outputs the second infarct region in the first brain plain scan image by comparing the grayscale difference between the first brain plain scan image and the second brain plain scan image; The infarct region model is trained according to the difference between the second infarct region and the annotation.

4. The method according to claim 3, characterized in that The method further comprises: determining an old lesion area in the second infarct area according to the first brain plain scan image on which the second infarct area is marked; The old focus area in the second infarct area is eliminated to obtain the target infarct area in the first brain plain scan image.

5. The method according to claim 1, characterized in that Before calculating the brain tissue water uptake rate according to the grayscale value of the target healthy side area and the grayscale value of the target infarct area, the method further includes: Inputting the first brain plain scan image into the trained cerebrospinal fluid segmentation model to determine an interference area in which cerebrospinal fluid is distributed in the first brain plain scan image; An intersection area between the target healthy side area and the interference area is determined, and the intersection area is removed from the target healthy side area.

6. The method according to claim 1, characterized in that According to the proportion of the target infarct area in the hemisphere where the target infarct area is located, at least one of the shape or the position of the initial healthy side area is adjusted to obtain the target healthy side area, specifically including: Determine the intersection points of the demarcation line and the edge contour of the brain, and use the line between the intersection points as the ideal midline; For each boundary point of at least a portion of the boundary points on the edge contour of the initial healthy side region, determine a straight line passing through the boundary point and perpendicular to the ideal midline as an adjustment baseline for the boundary point; In a first brain plain scan image that divides the left and right brain hemispheres by a dividing line, determining a ratio between a length of the adjustment baseline in the key-side hemisphere and a length of the adjustment baseline in the affected-side hemisphere; On the adjusted baseline, a point symmetrical to the boundary point in the target infarct region is used as the contralateral point of the boundary point, and the distance from the contralateral point to the dividing line is used as the affected side distance of the boundary point; Determine the product of the affected side distance and the ratio as the healthy side distance of the boundary point, and adjust the distance from the boundary point on the adjustment baseline to the dividing line to the healthy side distance; The target healthy side area is determined based on the adjusted boundary points.

7. The method according to claim 6, characterized in that Determining an initial healthy side region corresponding to the target infarct region in the healthy side hemisphere according to the boundary line between the left and right hemispheres in the first brain plain scan image specifically includes: For each boundary point of at least a portion of the boundary points on the edge contour of the target infarct region, determine a straight line passing through the boundary point and perpendicular to the ideal midline of the left and right hemispheres in the first brain plain scan image as an adjustment baseline for the boundary point; The intersection point of the dividing line and the adjustment baseline is taken as the central symmetric point of the boundary point, and the symmetric point of the boundary point in the healthy hemisphere is determined; The initial healthy side area is determined based on the symmetric points of each boundary point in the healthy side hemisphere.

8. The method according to claim 1, characterized in that Calculate brain tissue water uptake, including: Determine the difference between the average gray value of the target healthy area and the average gray value of the target infarct area; The ratio of the difference to the average gray value of the target healthy side area is taken as the brain tissue water uptake rate.

9. A computer program product, characterized in that When the computer program product is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the method according to any one of claims 1 to 8 is implemented when the processor executes the program.

Citation Information

Patent Citations

  • A cerebral infarction judgment method and system based on a skull CT image

    CN109671066A

  • Target area extraction method and system based on craniocerebral image data

    CN111091563A

  • Device and method for evaluating cerebral arterial thrombosis infarction based on multi-model fusion

    CN115205294A

  • Myocardial infarction recognition algorithm based on position backtracking deep learning network

    CN117649590A

  • System and method for estimating acute cerebral infarction onset time

    US20190269359A1