Perfusion image judgment system and method based on OPENCV and intelligent terminal
Technical Field
The invention belongs to the technical field of image processing, and particularly relates to a perfusion image judgment system and method based on OPENCV and an intelligent terminal.
Background
Currently, the closest prior art: due to aging population, the number of people suffering from ischemic brain diseases in China increases year by year, head nuclear magnetic perfusion examination is performed after patients suffering from cerebral ischemic diseases are admitted, and clinical doctors can grade the ischemic degree of the patients according to the head nuclear magnetic perfusion examination of the patients provided by the imaging department so as to formulate a treatment scheme. At present, the low perfusion state before infarction is divided into four stages by the commonly used brain perfusion stage in China according to the researches of Hieropi and the like: stage I1: TTP prolongation, MTT, rCBF and rCBV normal; and I2 stage: TTP and MTT prolongation, rCBF normal, rCBV normal or mild elevation; stage II 1: TTP, prolonged MTT and decreased rCBF, with essentially normal or mild decrease in rCBV; and II, stage 2: TTP, MTT prolonged, rCBF and rCBV decreased.
At present, the main applications are: the early cerebral infarction, transient ischemic attack, carotid artery stenosis, intracranial vascular stenosis, smog and other ischemic cerebrovascular disease intervention and before and after surgical evaluation. At present, the identification, interpretation and staging of perfusion images only depend on the artificial identification of each clinical doctor on the images, the possible abnormality on the images is identified by visual perception, and the subjective decision is made to a certain extent by depending on knowledge, experience and understanding of normal nuclear magnetic perfusion performance. Each clinician may have slight errors in the discrimination of the images, resulting in errors in the ranking of the images.
In summary, the problems of the prior art are as follows: at present, the identification, interpretation and division stages of perfusion images have errors on the judgment of the images, so that the errors on the image classification are caused.
The difficulty of solving the technical problems is as follows:
the reason why the above problems are present is that the judgment is highly subjective, and therefore, different diagnosis results are generated among different doctors. The problem is solved in the field of computer images, so that the artificial subjectivity can be removed, and a scientific diagnosis result can be obtained to assist a doctor in diagnosis and treatment. The technical difficulties in solving the current problems are the following aspects. 1. The color distribution of the perfusion images does not have a completely uniform standard, and different imaging doctors have large color matching difference when the perfusion images are output, which is also the main reason that clinical doctors have differences in judgment. 2. There is no gold standard when determining the degree of ischemia of a patient by perfusion images, that is, doctors can only estimate the degree of ischemia by so-called "feeling", and different doctors have their own measures in mind, which is also an important reason for the difference in determination. At this stage, the perfusion image can be further processed by image methods of a computer, such as image preprocessing, image segmentation and the like, so that more accurate image information can be obtained. The position and the severity of a focus of a patient are obtained more intuitively through pixel identification, and then a threshold value is set to judge a pixel point to obtain a result.
The significance of solving the technical problems is as follows:
by solving the problems, the method is a one-time organic collision between computer science and medicine, and the trend of future development is to solve the medical problem which is difficult to break through in the medical field through the computer science. In this regard, the results obtained in the present invention can be used by clinicians for clinical diagnosis and treatment. The method can help clinical doctors to improve the interpretation accuracy of the head nuclear magnetic perfusion images, help clinical doctors who lack clinical experience interpret and learn the head nuclear magnetic perfusion images in stages, and accelerate the maturity of the clinical doctors. Meanwhile, the accuracy and efficiency of interpretation and staging of perfusion images are improved, and help is provided for the work of clinical doctors; the combination of computer and clinical medicine is realized, and thus a way for fusing more computers and more clinical medicine is opened up.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a perfusion image judgment system and method based on OPENCV and an intelligent terminal.
The present invention is achieved in such a way that an OPENCV-based perfusion image determination method includes the steps of:
firstly, taking out corresponding perfusion images from an image library of a hospital by each perfusion image;
second, what color the target color point is in the perfusion image;
thirdly, preprocessing the perfusion image, segmenting the image, and removing noise which does not make sense in result judgment such as patient information, time sequence information and the like;
fourthly, the brain area position of the image is divided, and the left and right brain areas in a single picture are divided;
fifthly, converting RGB- > HSV by a color system of the perfusion picture by using pixel points;
sixthly, setting the pixel points to be black or white in the value of the RGB color space by traversing the pixel points through the threshold value of the pixel points to the HSV color space;
seventhly, obtaining pixel point differences of a single picture, obtaining all target color points of the single picture in a certain mode, displaying the target color points by using black pixel points, and displaying non-target color points by using white pixel points;
eighthly, obtaining pixel point difference of a single mode, giving a weight to each element in the array, wherein the sum of the weights corresponding to all the elements in the array is 1;
and ninthly, judging the disease condition classification and stage of the current mode by a threshold method, and adjusting a threshold parameter through a large amount of data after obtaining the value of the pixel color point of each mode to obtain a more appropriate threshold parameter.
Further, the function prototype of the first step reading picture is as follows:
CV_EXPORTS_W Mat imread(const String&filename,int flags=IMREAD_COLOR);
the returned value of Imread is of Mat type, the read image is returned, and an empty matrix object is returned when the image reading fails (Mat: data is NULL); parameter 1filename, picture filename read, using a relative path or an absolute path; parameter 2flags, a reading flag, for selecting the mode of reading the picture, the default value is IMREAD _ COLOR, and the setting of the flag value is related to what COLOR format the picture is read;
a function that recursively traverses the file directory, using the function findAllFile () function, whose function prototype is:
voidfindAllFile(const char*path,const char*format,intsum_pixel[4]);
the return value of the function is null type, the parameter 1path represents the address of the path, the parameter 2 represents the file type to be read, the format value is bmp, and the parameter 3 represents the sum of the number of traversal pixels.
Further, the third step divides the original segment 1168 807 into 680 x 700 segments.
Further, the algorithm for equally dividing the brain region in the fourth step includes: setting a pixelistanceminSuch a variable is initialized to 10000, which represents the minimum value of the number of pixel points from the image edge to the brain region; defining PixelDistanceleftAnd pixelistancerightThe two variables are initialized to 0, and represent the number of pixels from the edge of the image to the pixels which are not black pixels;
for a perfusion image, passing pixel pointsTraversing the images, taking one image as a matrix, and obtaining the value of the pixel point at the fixed position through coordinates; when traversing the image matrix, traversing from left to right, and for each row, when touching the first pixel which is not the background color, obtaining the column number of the pixel and the pixel distanceminBy comparison, if the row column number is less than pixelDistanceminIf so, the pixelDistance is updatedminAnd record the pixelDistance of the lineleftAnd pixelistancerightThese two values; in the process of traversing the image, pixelistanceminThis value may be updated at any time; PixelDistanceleftAnd pixelistancerightAnd pixelistanceminAre corresponding; when the image traversal is completed, the pixelistanceminThe minimum pixel point of the brain area, which is far away from the edge of the image, is stored as pixel distanceleftAnd pixelistancerightRespectively storing the number of pixel points from the brain area to the left edge of the image and the number of pixel points from the brain area to the right edge of the image;
pixelistanceminThe line with the minimum distance is used as a segmentation reference, the central axis of the brain region is found through the line, and the calculation formula is as follows:
axis=pixelDis tan cemin+((picturewide-(pixelDis tan celeft+pixelDis tan ceright) 2) according to
The central axis of the brain region, i.e. the first column of the matrix, is obtained by the above formula, and the image is divided left and right on the basis of the central axis to obtain left and right brain regions.
Further, the fifth step includes that the color system of the perfusion picture is composed of RGB- > HSV:
(1)max=max(R,G,B);
(2)min=min(R,G,B);
(3)V=max(R,G,B);
(4)S=(max-min)/max;
(5)if R=max,H=(G-B)/(max-min)*60;
(6)ifG=max,H=120+(B-R)/(max-min)*60;
(7)ifB=max,H=240+(R-G)/(max-min)*60;
(8)ifH<0,H=H+360。
further, in the sixth step, through the set threshold of the pixel point to the HSV color space, the traversal pixel point sets the pixel point to be pixelRGBBlack or white, 0 for black, 255 for white; the threshold algorithm is as follows:
in which pixelRGB,pixelHSV,pixelTagHSVRespectively represent the values of three dimensions; pixelRGBRepresenting the value of an image in RGB color space if pixelRGBWhen the value is 255, the values of the three dimensions are 255; PixelTagHSVRepresenting the range of three dimensional values of the current target color point H, S, V, pixelTagHSVThe value of (b) is obtained according to the physician selected color used.
Further, the seventh step records the number of target pixel points to obtain pixelleftAnd pixelrightSo that the difference value pixeldifferenceComprises the following steps:
pixeldifference=pixelleft-pixelright;
by pixelsleftSubtract pixelrightIf the obtained result is a positive value, the color points of the target pixels of the left brain are more; if the color point of the target pixel of the right brain is negative, more color points are formed; if 0, it indicates that the pixel points of left and right brains are consistent in number, pixeldifferenceThe final result pixel point result of a single picture is obtained;
the eighth step obtains pixelArrdifferenceAfter array, now pixelArrdifferenceAll elements in the array are sorted in descending order, pixelArrdifference[0]The value stored is maximum, pixelArrdifference[17]The value deposited is minimal; each element in the array is given a weight value, and the sum of the corresponding weight values of all the elements in the array is 1(ii) a The specific formula is as follows:
wherein, weight [ i ] represents the weight value of the color point of the pixel of the ith picture in the mode;
then the value pixelSum of the total pixel color point in a certain modalityxComprises the following steps:
wherein pixelSumxRepresenting the total number of pixel points in X mode, wherein X is TTP, MTT, CBV and CBF;
after the ninth step of obtaining pixelSum of each modality, adjusting the threshold parameter according to data of a large number of patients to finally obtain a relatively proper threshold parameter, wherein the threshold is defined as follows:
and judging the final disease staging result according to the obtained results of all the modes, wherein the judgment of the disease staging result is based on the following steps:
SumR=RTTP+RMTT+RCBV+RCBF;
from the above, the final diagnosis result is obtained.
Another object of the present invention is to provide an OPENCV-based perfusion image determination system that implements the OPENCV-based perfusion image determination method, the OPENCV-based perfusion image determination system including:
the perfusion image extracting module is used for extracting corresponding perfusion images of each perfusion image in an image library of the hospital;
a target color point labeling module for what color the target color point is in the perfusion image;
the perfusion image preprocessing module is used for preprocessing a perfusion image, segmenting the image and removing noise which does not make sense in result judgment such as patient information, time sequence information and the like;
the image segmentation module is used for segmenting the brain region position of the image and segmenting the left and right brain regions in a single picture;
the color conversion module is used for realizing that pixel points for a color system of the perfusion picture are used for converting RGB- > HSV;
the threshold setting module is used for setting the pixel points to be black or white in the value of the RGB color space through the traversal pixel points by setting the threshold of the pixel points to the HSV color space;
the pixel point display module is used for obtaining the pixel point difference of a single picture, obtaining all target color points of the single picture in a certain mode, displaying the target color points by using black pixel points, and displaying non-target color points by using white pixel points;
the weight value giving module is used for giving a weight value to each element in the array according to the obtained pixel point difference of the single mode, and the sum of the weight values corresponding to all the elements in the array is 1;
and the threshold parameter acquisition module is used for judging the disease condition classification and stage of the current mode by using a threshold method, and adjusting the threshold parameter through a large amount of data after obtaining the value of the pixel color point of each mode to obtain a more appropriate threshold parameter.
Another object of the present invention is to provide an information data processing terminal for implementing the OPENCV-based perfusion image determination method.
It is another object of the present invention to provide a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the OPENCV-based perfusion image determination method.
In summary, the advantages and positive effects of the invention are: the present invention provides clinicians with an OPENCV-based perfusion image disease grading algorithm that is implemented as executable software running in a fixed facility in a hospital. According to the invention, through learning and analyzing a plurality of head nuclear magnetic perfusion images, system software capable of identifying the perfusion images is manufactured, intelligent analysis of the head nuclear magnetic perfusion images can be realized more quickly and accurately, and accurate and quick clinical staging is realized.
The invention can realize intelligent analysis of the head nuclear magnetic perfusion image, quickly judge the change of the TTP, MTT, CBF and CBV indexes, intelligently judge the clinical stage of nuclear magnetic perfusion, and has guiding significance for the treatment of ischemic diseases. Even the brain tissue structure with corresponding change can be automatically identified and divided, and the severity of the pathological brain tissue can be judged by analyzing the color pixels of the image.
Drawings
FIG. 1 is a schematic structural diagram of a perfusion image determination system based on OPENCV according to an embodiment of the present invention;
in the figure: 1. a perfusion image extraction module; 2. a target color point marking module; 3. a perfusion image preprocessing module; 4. an image segmentation module; 5. a color conversion module; 6. a threshold setting module; 7. a pixel point display module; 8. a weight value giving module; 9. and a threshold parameter acquisition module.
Fig. 2 is a flowchart of a perfusion image determination method based on OPENCV according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a target color palette provided in an embodiment of the invention.
Fig. 4 is a flowchart of obtaining piexlTag according to an embodiment of the present invention.
Fig. 5 is a diagram of image segmentation (taking one image of a TTP modality of a patient as an example) provided by an embodiment of the present invention.
Fig. 6 is a schematic diagram of a brain region segmentation result according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of RGB- > HSV color space conversion according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of finding a target color point according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of a program screenshot 1 provided in an embodiment of the present invention.
Fig. 10 is a schematic diagram of a program screenshot 2 provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In view of the problems in the prior art, the present invention provides a perfusion image determination system and method based on OPENCV, and an intelligent terminal, and the present invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the OPENCV-based perfusion image determination system provided by the embodiment of the present invention includes:
a perfusion image extracting module 1, configured to extract a corresponding perfusion image of each perfusion image in an image library of a hospital.
A target color point labeling module 2 for what color the target color point is in the perfusion image.
And the perfusion image preprocessing module 3 is used for preprocessing the perfusion image, segmenting the picture and removing noise which does not have significance on result judgment, such as patient information, time sequence information and the like.
And the image segmentation module 4 is used for segmenting the brain region position of the image and segmenting the left and right brain regions in a single picture.
And the color conversion module 5 is used for realizing that pixel points for a color system of the perfusion picture are used for converting RGB- > HSV.
And the threshold setting module 6 is used for setting the pixel points to be black or white in the value of the RGB color space through the traversal pixel points according to the set threshold of the pixel points to the HSV color space.
And the pixel point display module 7 is used for obtaining the pixel point difference of the single picture, obtaining all target color points of the single picture in a certain mode, displaying the target color points by using black pixel points, and displaying non-target color points by using white pixel points.
And the weight value giving module 8 is used for giving a weight value to each element in the array according to the obtained pixel point difference of the single mode, and the sum of the corresponding weight values of all the elements in the array is 1.
The threshold parameter obtaining module 9 is configured to implement a threshold method to determine the disease condition classification and stage of the current modality, and adjust the threshold parameter through a large amount of data after obtaining the value of the pixel color point of each modality, so as to obtain a relatively appropriate threshold parameter.
As shown in fig. 2, the method for determining a perfusion image based on OPENCV according to an embodiment of the present invention includes the following steps:
s201: taking out the corresponding perfusion image from the image library of the hospital for each perfusion image;
s202: what color the target color point is in the perfusion image;
s203: preprocessing the perfusion image, segmenting the image, and removing noise which does not make sense in result judgment such as patient information, time sequence information and the like;
s204: the brain area position of the image is divided, and the left and right brain areas in a single picture are divided;
s205: the color system of the perfusion picture uses pixel points to convert RGB- > HSV;
s206: traversing pixel points to set the pixel points to be black or white in the value of the image in the RGB color space through the set threshold of the pixel points to the HSV color space;
s207: obtaining pixel point differences of a single picture, obtaining all target color points of the single picture in a certain mode, displaying the target color points by using black pixel points, and displaying non-target color points by using white pixel points;
s208: obtaining pixel point difference of a single mode, giving a weight to each element in the array, wherein the sum of the weights corresponding to all the elements in the array is 1;
s209: the threshold method judges the grading and stage of the disease condition of the current mode, and after the value of the pixel color point of each mode is obtained, the threshold parameter is adjusted through a large amount of data to obtain a more appropriate threshold parameter.
The technical solution of the present invention is further described below with reference to the accompanying drawings.
The perfusion image judging method based on OPENCV provided by the embodiment of the invention comprises the following steps:
deriving perfusion images of a patient from an imaging system
The perfusion image of each patient is taken out of the image library of the hospital before using the device, and the perfusion image of the corresponding patient is used in the subsequent steps. The C + + language used by the invention reads the function prototype of the picture as follows:
CV_EXPORTS_W Mat imread(const String&filename,int flags=IMREAD_COLOR);
the returned value of Imread is of Mat type, that is, the read image is returned, and an empty matrix object is returned when the image reading fails (Mat:: data ═ NULL). Parameter 1filename, picture filename read, may use a relative path or an absolute path, but must be accompanied by a full file extension (picture format suffix). Parameter 2flags, a read flag, for selecting the mode of reading the picture, the default value is read _ COLOR, and the flag value is set according to what COLOR format the picture is read.
Since i want to recursively traverse the file directory, a function for recursively traversing the file directory is designed, and a findAllFile () function is used, which is prototype of the function:
voidfindAllFile(const char*path,const char*format,intsum_pixel[4]);
the return value of the function is null type, the parameter 1path represents the address of the path, the parameter 2 represents the file type to be read, the value of format in the invention is 'bmp', and the parameter 3 represents the sum of the number of traversal pixel points.
After the first step, perfusion images of the patient may be obtained from the imaging system for use in subsequent steps.
2 setting a target color point
As shown in fig. 3 and 4, the physician tells the software what color point of the target color in the perfusion image is before use. If the color of the TTP-perfused area is red, red is selected. The software sets the red to the target color point, thus obtaining the value of the HSV color space of the red pixel points, namely pixelTagHSV。
3 preprocessing the perfusion image
After the first step, the medical image of the patient has been taken from the system library, and the perfusion image is then preprocessed. The preprocessing refers to dividing the picture, and aims to remove noise which does not have significance on result judgment, such as patient information, time sequence information and the like, so that the noise information does not influence subsequent judgment of pixel points. The original image segment (1168 807) is segmented into 680 700 sizes to achieve data enhancement. The splitting operation is shown in fig. 5 below.
4 segmentation of left and right semi-brain regions
And segmenting the brain region position of the image. In order to divide the left and right brain areas in a single picture, the resolution of the image is 680 x 700 in the previous step, so that the width of the image has 680 pixel points, but the invention cannot divide 680/2 equally according to the length of the width of the picture, and the division method is inaccurate because the brain area of a patient is not in the middle of the picture. The invention provides an algorithm for equal division of brain regions, which comprises the following steps:
in the algorithm, the invention sets a pixelistanceminSuch a variable is initialized to 10000, which represents the minimum value of the number (distance) of pixels from the edge of the image to the brain region. PixelDistance is also definedleftAnd pixelistancerightThese two variables are initialized to 0, and represent the number (distance) of pixels from the edge of the image to pixels other than black pixels. For example, pixelistanceleftThe number (distance) of pixels at the left edge of the image from the first pixel which is not black is represented. The algorithm idea of the invention is as follows:
for a perfusion image, the invention traverses the image through the pixel points. The invention can obtain the value of the fixed position pixel point through the coordinate by taking an image as a matrix (700 rows and 680 columns). Because the value of the pixel point of the background color is different from the value of the pixel point of the brain area, the invention can easily distinguish whether the pixel point belongs to the brain area part or the background part. When the invention traverses the image (matrix), the image is traversed from left to right, and for each row, when the first pixel which is not the background color is touched, the invention obtains the column number of the pixel and the pixel distanceminThis value is compared if the row column count is less than pixelistanceminIf so, the pixelDistance is updatedminAnd record the pixelDistance of the lineleftAnd pixelistancerightThese two values. In the process of traversing the image, pixelistanceminThis isThe value may be updated at any time. PixelDistanceleftAnd pixelistancerightAnd pixelistanceminIs the corresponding. When the image traversal is completed, the pixelistanceminThe pixel distance which is the minimum distance between the brain area and the image edge pixel point is storedleftAnd pixelistancerightThe number (distance) of pixel points from the brain area to the left edge of the image and the number (distance) of pixel points from the brain area to the right edge of the image are respectively stored.
After these three variables are obtained separately, the invention will use pixelDistanceminThe line with the smallest distance is used as the segmentation reference, i.e. the central axis of the brain region is found through the line. The calculation formula of the invention is as follows:
axis=pixelDis tan cemin+((picturewide-(pixelDis tan celeft+pixelDis tan ceright) 2) according to the above formula, the present invention can obtain the central axis of the brain region, i.e. the several columns of the matrix, and then divide the image left and right on this basis to obtain the left and right brain regions. According to experiments, the algorithm provided by the invention is very accurate. The operation in this step is as in fig. 6.
5 the color system of the perfusion picture is composed of RGB- > HSV
The color system of the original picture is RGB, which is now converted into HSV. The RGB- > HSV color system conversion is realized by using pixel points, and the algorithm is executed for each pixel point in an image and is divided into eight steps:
(1)max=max(R,G,B);
(2)min=min(R,G,B);
(3)V=max(R,G,B);
(4)S=(max-min)/max;
(5)if R=max,H=(G-B)/(max-min)*60;
(6)ifG=max,H=120+(B-R)/(max-min)*60;
(7)ifB=max,H=240+(R-G)/(max-min)*60;
(8)ifH<0,H=H+360。
through the above steps, the perfusion image has become an image of the HSV color system, as shown in fig. 7.
6 finding the target color point
According to the invention, through the threshold value of the pixel point for the HSV color space, the pixel point is set to pixel by traversing the pixel pointRGBBlack or white (0 for black and 255 for white). The threshold algorithm is as follows:
in which pixelRGB,pixelHSV,pixelTagHSVRepresented are the values of the three dimensions, respectively. PixelRGBRepresenting the value of an image in RGB color space if pixelRGB255 indicates that the values of all three dimensions are 255. PixelTagHSVRepresenting the range of three dimensional values of H, S, V for the current target color point. PixelTagHSVThe value of (b) is obtained by selecting a color according to the doctor used in the device of the invention. The result of this step is shown in fig. 8.
And 7, obtaining pixel point differences of a single picture, obtaining all target color points of the single picture in a certain mode, displaying the target color points by using black pixel points, and displaying non-target color points by using white pixel points. In the step, the invention records the number of the target pixel points to obtain pixelleftAnd pixelrightTherefore, the differential pixel of the present inventiondifferenceComprises the following steps:
pixeldifference=pixelleft-pixelright;
here, pixels are used in the inventionleftSubtract pixelrightIf the obtained result is a positive value, the color point of the target pixel of the left brain is more. If negative, the target pixel color point of the right brain is more. If the number is 0, the number of the pixel points of the left brain and the right brain is consistent. PixeldifferenceThe final result pixel point result of a single picture is obtained.
8 obtaining pixel point difference of single mode
The invention obtains the difference pixel of a single target pixel point in a certain modedifference. The invention calculates the pixel point difference of all images in the whole mode to obtain the pixel point difference of the whole mode. The invention obtains all pixel point differences of the current mode by traversing the image in the whole mode and stores the pixel point differences in an array. This array is called pixelArr in the inventiondifference. The present invention does not directly sum all the elements in this array, and such values are not necessarily accurate and the results obtained are certainly not good. Here, the present invention designs a weighted sum algorithm. The algorithm is described as follows:
the invention obtains pixelArrdifferenceAfter array, now pixelArrdifferenceAll elements in the array are sorted in descending order, that is to say pixelArrdifference[0]The value stored is the largest, and there are typically 18 pictures in one modality, pixelArrdifference[17]The value stored is minimal. Then, the invention gives a weight to each element in the array, and the sum of the weights corresponding to all the elements in the array is 1. The specific formula is as follows:
wherein, weight [ i ] represents the weight value of the color point of the pixel of the ith picture in the mode.
Then the value pixelSum of the total pixel color point in a certain modalityxComprises the following steps:
wherein pixelSumxRepresenting the total number of pixels in the x mode. X can be TTP, MTT, CBV and CBF.
9 threshold value method for judging grading and staging of current modal state of illness
After the pixelSum of each modality is obtained, the method adjusts the threshold parameter according to the data of a large number of patients to finally obtain a more appropriate threshold parameter, and the effect of the algorithm is more accurate through a large number of tests. The threshold of the invention is defined as follows:
the final disease staging result is judged according to the results of all the modes, and the judgment basis of the disease staging result is as follows:
SumR=RTTP+RMTT+RCBV+RCBF;
from the above, the final diagnosis result can be obtained. According to the judgment of the doctor, the result is more accurate.
The technical effects of the present invention will be described in detail below with reference to program screenshots.
As shown in fig. 9 and 10.
(1) Taking patient A as an example:
the image of the perfusion exam in Guizhou, is reported as follows: head perfusion, left side temporoparietal lobe, frontal occipital lobe partial area and basal ganglia, radiation coronal region MTT, TTP prolongation, CBV, CBF did not see obvious abnormal changes.
The results of the present invention are shown in FIG. 9.
(2) Taking patient B as an example:
the Lixingjie perfusion exam imaging department reports as follows: PWI: the right hemioval center MTT, TTP is slightly longer, and CBV, CBF of bilateral cerebral hemispheres have no clear abnormality.
The results of the present invention are shown in FIG. 10.
Compared with the cases of many patients in hospitals, the diagnosis result of the invention is more accurate with the diagnosis results of image departments and clinicians, and the pixel-level diagnosis can even reflect the real conditions of the patients.
It should be noted that the embodiments of the present invention can be realized by hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. Those skilled in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such code being provided on a carrier medium such as a disk, CD-or DVD-ROM, programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier, for example. The apparatus and its modules of the present invention may be implemented by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., or by software executed by various types of processors, or by a combination of hardware circuits and software, e.g., firmware.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.