A facial paralysis rating method, device and equipment
Through image segmentation and facial paralysis assessment model, facial paralysis assessment results are automatically calculated, which solves the problems of poor facial paralysis rating accuracy and low efficiency in the existing technology, and achieves efficient and accurate facial paralysis assessment and remote diagnosis.
Patent Information
- Application Number
- CN202410414483.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-04-08
AI Technical Summary
In the existing technology, facial paralysis rating relies on the doctor's experience, and the assessment results have problems of poor accuracy and low efficiency.
By acquiring the patient's medical image data, performing image segmentation to obtain the coordinates of the target point, inputting it into the pre-trained facial paralysis assessment model, calculating the comprehensive difference ratio to obtain the facial paralysis assessment results, and realizing automated assessment.
It improves the accuracy and efficiency of facial paralysis assessment, reduces reliance on professional medical personnel, and enables remote automatic diagnosis.
Smart Images

Figure CN118172819B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing and artificial intelligence technology, and in particular to a method, device and equipment for grading facial paralysis. Background Art
[0002] Facial paralysis, also known as facial neuritis, is a disease caused by the facial nerve being infected by bacteria or viruses, or induced by external cold stimulation factors. It causes facial paralysis and incoordination of facial expressions. It is mainly manifested by unilateral weakness of the facial muscles, resulting in asymmetry of the entire facial area, inflexible facial movements, and other symptoms such as drooling, speech disorders and nasal congestion.
[0003] The most common way to evaluate facial paralysis is facial paralysis rating. In the prior art, facial paralysis rating often relies on doctors' observation and judgment of patients' facial movements. This manual method of facial paralysis rating often relies on doctors' experience, and the evaluation results are relatively subjective, with problems of poor accuracy and low efficiency.
[0004] Based on this, the embodiments of this specification provide a new facial paralysis rating method. Summary of the invention
[0005] The embodiments of this specification provide a facial paralysis rating method, device and equipment for solving the following technical problems: In the prior art, the method of manually rating facial paralysis often needs to rely on the experience of doctors, and the evaluation results are relatively subjective, with problems of poor accuracy and low efficiency.
[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows:
[0007] This specification embodiment provides a facial paralysis rating method, the method comprising:
[0008] Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data;
[0009] Performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours;
[0010] Inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result;
[0011] in,
[0012] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0013] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0014] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0015] The embodiment of this specification also provides a facial paralysis rating device, including:
[0016] An acquisition module, which acquires a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data;
[0017] A segmentation module, performing image segmentation on the plurality of medical image data to be processed, and obtaining image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours;
[0018] An evaluation module, inputting the image segmentation result into a pre-trained facial paralysis evaluation model to obtain a facial paralysis evaluation result;
[0019] in,
[0020] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0021] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0022] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0023] The embodiment of the present specification also provides an electronic device, including:
[0024] at least one processor; and,
[0025] a memory communicatively connected to the at least one processor; wherein,
[0026] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0027] Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data;
[0028] Performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours;
[0029] Inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result;
[0030] in,
[0031] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0032] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0033] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0034] The embodiments of this specification obtain facial paralysis assessment results through a pre-trained facial paralysis assessment model, and can realize automated facial paralysis assessment. Automated processing reduces dependence on professional medical personnel, improves the speed and efficiency of facial paralysis assessment, ensures the accuracy and consistency of the assessment, and can realize remote automatic diagnosis based on network applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 A schematic diagram of the system architecture of a facial paralysis rating method provided in an embodiment of this specification;
[0037] Figure 2 A schematic diagram of a facial paralysis rating method provided in an embodiment of this specification;
[0038] Figure 3 A schematic diagram of the training process of the image segmentation model provided in the embodiments of this specification;
[0039] Figure 4 A schematic diagram of the model structure of the image segmentation model provided in the embodiments of this specification;
[0040] Figure 5 A schematic diagram of a facial paralysis rating device is provided for an embodiment of the present specification.
[0041] illustrate:
[0042] Input Layer: input layer;
[0043] Initial Conv Layer: Initialize the convolution layer;
[0044] Dense Block: dense block;
[0045] Transiton Layer: transition layer or conversion layer;
[0046] Global Average Pooling: Global average pooling;
[0047] Fully connected Layer: fully connected layer;
[0048] Conv: convolution;
[0049] BN: Batch Normalization, batch normalization;
[0050] ReLU: linear rectification function;
[0051] Avg Pool: average pooling;
[0052] Output nodes: Output nodes;
[0053] Linear or Softmax for Multiple Classes: Linear or normalized classification results. DETAILED DESCRIPTION
[0054] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0055] The most common evaluation method for facial paralysis is the House-Brackmann grading system (HBGS). Table 1 is a schematic diagram of the HBGS facial paralysis grading system.
[0056] Table 1: HBGS facial paralysis grading system
[0057]
[0058] In the prior art, when evaluating a patient's facial paralysis, the doctor will ask the patient to make a series of facial movements according to the evaluation criteria shown in Table 1, observe the facial changes of the patient in static and moving states, and make a judgment. This method often relies on the doctor's experience, and the evaluation results are relatively subjective, with problems of poor accuracy and low efficiency, which in turn leads to deviations in the subsequent treatment plan formulated based on the evaluation results.
[0059] The facial paralysis rating method provided in the embodiments of this specification segments the patient's image, obtains the coordinate positions of key points, and then uses a BP neural network to evaluate facial paralysis, which can quickly implement facial paralysis evaluation and improve the efficiency and accuracy of facial paralysis evaluation.
[0060] Figure 1 A schematic diagram of the system architecture of a facial paralysis rating method provided in an embodiment of this specification. Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0061] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various client applications may be installed on the terminal devices 101, 102, 103, such as special programs for facial paralysis rating, etc.
[0062] The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various dedicated or general electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When the terminal devices 101, 102, 103 are software, they may be installed in the electronic devices listed above. They may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services), or they may be implemented as a single software or software module.
[0063] The server 105 may be a server that provides various services, such as a back-end server that provides services for client applications installed on the terminal devices 101, 102, and 103. For example, the server may perform facial paralysis rating so that the facial paralysis rating result is displayed on the terminal device servers 101, 102, and 103, and the server may also perform facial paralysis rating so that the facial paralysis rating result is displayed on the terminal devices 101, 102, and 103.
[0064] The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server 105 is software, it may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services), or as a single software or software module.
[0065] Figure 2 The following is a flowchart of a facial paralysis rating method provided in the embodiment of this specification. From the program perspective, the execution subject of the image segmentation method can be a program installed on an application server or an application terminal. It can be understood that the method can be executed by any device, equipment, platform, or device cluster with computing and processing capabilities. Figure 2 As shown, the facial paralysis rating method includes:
[0066] Step S201: Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data and air blowing expression image data.
[0067] In the embodiments of this specification, the image to be processed is a medical image, specifically an image of a user for facial paralysis assessment. The acquisition of the image to be processed can be achieved by a device with a camera function, specifically a mobile phone, a camera, a webcam, etc. The device with a camera function is not limited.
[0068] The image to be processed is an RGB image and an image that can be converted into an RGB image. Of course, the image to be processed can also be a video image, and a frame in the video image can be used as the image to be processed.
[0069] In one embodiment of the present specification, the size of the image to be processed is 224×224. If the size of the image to be processed does not meet the requirement, the size of the image to be processed is adjusted to 224×224.
[0070] Step S203: performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours.
[0071] In the embodiment of this specification, performing image segmentation on the medical image data to be processed and obtaining the image segmentation result specifically includes:
[0072] Inputting the image data to be processed into a pre-trained image segmentation model to perform image segmentation, and obtaining the image segmentation result;
[0073] in,
[0074] The image segmentation model is a model obtained through training based on the DenseNet model. During the training process, the image segmentation model uses mean square error as the loss function and Adam and / or SGD as the optimizer.
[0075] In order to further understand the training process of the image segmentation model, it will be explained in detail below. Figure 3 A schematic diagram of the training process of the image segmentation model provided in the embodiment of this specification, such as Figure 3 As shown in Figure 1, the training process of the image segmentation model includes:
[0076] Step S301: Acquire a medical image sample set.
[0077] In the embodiment of this specification, the medical image sample set is an image of a user for facial paralysis assessment. The image format in the medical image sample set is an RGB image and an image that can be converted into an RGB image. Of course, the image in the medical image sample set can also be a video image, and a frame in the video image can be used as an image in the medical image sample set.
[0078] Step S303: labeling the medical image sample set to obtain each labeled sample image.
[0079] In the embodiments of the present specification, a medical image sample set is annotated to annotate target points of interest. The purpose of obtaining the segmented image in this embodiment is for facial paralysis assessment, so the annotated target points of interest include: eyebrows, eyes, nose, mouth, and face contour. After annotation, each annotated sample image includes the annotation results of eyebrows, eyes, nose, mouth, and face contour. Specifically in the embodiment, the eyebrows should include the starting point, middle point, and end point of the left and right eyebrows; the eyes should include the inner and outer corners of the left and right eyes, the center of the pupil; the starting point and tip of the bridge of the nose; the left and right end points and the corners of the upper and lower lips of the mouth.
[0080] When annotating a medical image sample set, the more points of interest are annotated on each annotated sample, the better. In one embodiment of the specification, when specifically selecting the points of interest to be annotated, at least 5 points are selected for each of the left and right eyebrows, at least 5 points are selected for each of the left and right eyes, at least 10 points are selected for the nose, at least 10 points are selected for the mouth, and at least 30 points are selected for the facial contour.
[0081] In the embodiments of this specification, manual annotation, semi-automatic annotation, or automatic annotation may be used when annotating a medical image sample set. The specific method of annotating a medical image sample set does not constitute a limitation of this application.
[0082] Step S305: Perform data enhancement processing on each labeled sample image to obtain a target image sample set.
[0083] In order to ensure the improvement of the generalization ability of the model, it is further necessary to perform data enhancement processing on the labeled sample images. Specifically, image rotation, and / or image scaling, and / or image cropping, and / or image brightness adjustment, and / or image contrast adjustment, etc. can be used for enhancement processing to obtain the target image sample set.
[0084] Step S307: inputting the target image sample set into an initial segmentation model for training to obtain an image segmentation model.
[0085] In the embodiment of this specification, the initial segmentation model is a DenseNet model, which is obtained based on DenseNet model training.
[0086] Specifically, the initial segmentation model can be DenseNet variants DenseNet-121, DenseNet-169 and DenseNet-201, and the initial segmentation model is preferably DenseNet-169.
[0087] DenseNet refers to Densely connected convolutional networks. Based on features, it optimizes all features in the training process by densely connecting all previous layers with the following layers, thereby achieving better results and reducing parameters. In DenseNet, the features of each layer are saved and used in each subsequent convolution operation. Therefore, the network structure of each layer uses all the previous information (including information before and after the convolution operation).
[0088] In the embodiments of this specification, during the training process of the image segmentation model, mean square error is used as the loss function, and Adam and / or SGD is used as the optimizer.
[0089] It should be noted that, in order to achieve better training results and higher training efficiency, in the training process of the image segmentation model, the Adam optimizer is first used, and when the target image sample set increases to a preset number of samples, SGD is used as the optimizer. In a specific embodiment, the preset number of samples is 1000.
[0090] In the process of model training, in order to prevent overfitting and accelerate convergence, in the embodiment of this specification, when the image segmentation model is optimized using an optimizer, cosine annealing is used.
[0091] The mean square error is used as a loss function to evaluate the difference between the predicted value and the true value. Therefore, during the training process, the smaller the mean square error, the better.
[0092] like Figure 4 As shown, in the embodiment of the present specification, the image segmentation model includes an input layer, an initial convolutional layer, Dense Blocks, Transition Layers, a global average pooling layer, a fully connected layer and an output layer, and the Transition Layers are located between the Dense Blocks.
[0093] In the embodiment of this specification, the input of the input layer is a 224×224 RGB image.
[0094] In the embodiment of this specification, the initial convolution layer is used for preliminary feature extraction of the image to be processed, and the convolution kernel size of the initial convolution layer is 7×7;
[0095] The Dense Blocks include at least two dense blocks, each of which includes a BN-ReLU-Conv structure, and the convolution layer of each dense block is 1×1;
[0096] The Transition Layers include: a 1×1 convolution layer and a 2×2 average pooling layer;
[0097] The number of output nodes of the fully connected layer is 5.
[0098] In this embodiment of the specification, the initial convolutional layer further includes:
[0099] The preliminary features obtained from the initial convolutional layer are processed by the ReLU activation function and then batch normalized.
[0100] It should be specially noted that, in the embodiments of this specification, the number of dense blocks of Dense Blocks is at least two dense blocks, and may also be multiple dense blocks. Dense Blocks is preferably two dense blocks.
[0101] The number of Transition Layers is the same as the number of Dense Blocks. One dense block is connected to one Transition Layer, and then one dense block is connected to one Transition Layer, and so on.
[0102] In the embodiment of this specification, the Transition Layers also include: concatenation of feature vectors;
[0103] The concatenation of the feature vectors refers to merging the features of the feature maps output by each dense block in the Dense Blocks.
[0104] In order to further understand the training of the image segmentation model in the embodiments of this specification, this specification embodiment also provides a model structure diagram of the image segmentation model. Figure 4 A schematic diagram of the model structure of the image segmentation model provided in the embodiments of this specification.
[0105] like Figure 4 As shown in the figure, the 224×224 RGB image is used as the input layer to the initial convolution layer. The initial convolution layer is used for preliminary feature extraction. The size of the convolution kernel (Conv) of the initial convolution layer is 7×7. After convolution with the convolution kernel, it is further processed by the ReLU activation function and processed by BN (Batch Normalization) as the input of the first dense block (DenseBlocks#1). In the first dense block, the number of convolution kernels is 1×1, and then it passes through the first Transition Layer (Transition Layer#1), then the second dense block (Dense Blocks#2), and finally the second Transition Layer (Transition Layer#2). The features output by the second Transition Layer are globally average pooled, connected by the fully connected layer, and then output in the output layer. When outputting at the output layer, linear classification results or normalized classification results can be output. Both the first Transition Layer and the second Transition Layer include a 1×1 convolution kernel and a 2×2 average pooling layer. The linear classification result or normalized classification result output by the output layer is the image segmentation result.
[0106] In an embodiment of the present specification, when the image segmentation model is verified using a verification set, if the performance of the verification set does not improve during a preset number of training sessions, the training of the image segmentation model is terminated; if the image segmentation model does not converge when verified, the mean absolute percentage error is used as an evaluation indicator of the verification set, as an evaluation indicator for verifying the image segmentation model with the verification set.
[0107] When the image segmentation model is used, the image to be processed is taken as input, and the image segmentation result can be outputted through the image segmentation model.
[0108] In an embodiment of the present specification, the image segmentation result includes not only the position and coordinate information of the facial features in the image to be processed, but also the patient's unique identification code and the patient's image category. Specifically, the patient's image category is images with different expressions. In one embodiment of the present specification, the patient's image category includes: normal expression images, eyebrow raising images, closed eyes images, smiling images, and blowing images. It should be noted that the method provided in the embodiment of the present specification can also be used for image categories with other expressions.
[0109] In one embodiment of the present specification, the image segmentation result is saved in the format of a json file.
[0110] Step S205: inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result;
[0111] in,
[0112] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0113] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0114] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0115] In the embodiment of this specification, determining the horizontal length and vertical length of the target point specifically includes:
[0116] If the target point is a symmetrical target point, the difference between the maximum and minimum values of the horizontal coordinates of the key points in the symmetrical target point is used as the horizontal length of the target point, and the average value of the maximum and minimum values of the vertical coordinates of the key points in the symmetrical target point is used as the vertical length of the target point. The symmetrical target points are the eyebrows and eyes.
[0117] If the target point is an asymmetric target point, the horizontal length of the target point is determined based on the horizontal coordinate of the asymmetric target point, and the vertical length of the target point is determined based on the vertical coordinate of the asymmetric target point, and the asymmetric target point is the nose, mouth or face contour.
[0118] In the embodiment of the present specification, the determination of the comprehensive difference ratios corresponding to the plurality of medical image data to be processed based on the horizontal length and the vertical length of the target point specifically includes:
[0119] Determining the difference ratios of the target points respectively corresponding to the plurality of medical image data to be processed based on the horizontal length and the vertical length of the target point;
[0120] The maximum value of the difference ratios of the target points respectively corresponding to the several medical image data to be processed is taken as the comprehensive difference ratio respectively corresponding to the several medical image data to be processed.
[0121] In the embodiment of the present specification, determining the difference ratios of the target points corresponding to the plurality of medical image data to be processed based on the horizontal length and the vertical length of the target point specifically includes:
[0122] Determining a horizontal difference ratio of the target point based on the horizontal length of the target point;
[0123] Determining a vertical difference ratio of the target point based on the vertical length of the target point;
[0124] The maximum value of the horizontal difference ratio of the target point and the vertical difference ratio of the target point is used as the difference ratio of each target point corresponding to the plurality of medical image data to be processed.
[0125] In order to further understand how to obtain the comprehensive difference ratio, it will be described below in conjunction with a specific embodiment.
[0126] For each pair of symmetrical target points (for example, the starting point of the left eyebrow and the starting point of the right eyebrow), calculate the horizontal (x-axis) and vertical (y-axis) lengths of the organ size they are in. Specifically: the horizontal length of the left eyebrow is obtained by taking the maximum and minimum values of the x-coordinates of several key points of the left eyebrow and making the difference; the vertical length of the left eyebrow is obtained by taking the maximum and minimum values of the y-coordinates of all key points of the left eyebrow and making the difference.
[0127] The average level and vertical length of eyebrows are obtained by taking the arithmetic average of the left and right eyebrows. The eyes are similar. For the nose and mouth, there is no need to calculate the arithmetic average, and the horizontal and vertical lengths of the organs can be directly calculated. Calculate the symmetric difference percentage of each key point pair. For example, if the coordinates of two key points are (x1, y1) and (x2, y2), the horizontal difference is x2-x1|, the vertical difference is |y2-y1|, and the difference ratio is |x2-x1| / [horizontal length of the organ], |y2-y1| / [vertical length of the organ]. Take the maximum value of the horizontal and vertical difference ratios as the difference ratio of the key point. Take the maximum value of the difference ratio of all key points of an organ as the difference ratio of the organ. Take the maximum value of the difference ratio of all organs as the comprehensive difference ratio Dz of the photo.
[0128] In an embodiment of the present application, the several medical image data to be processed are normal expression image data, eyebrow raised expression image data, eye closed expression image data, smiling expression image data and air blowing expression image data, and correspondingly, the obtained comprehensive difference ratios are also several, namely, the comprehensive difference ratio Dz1 corresponding to the normal expression image data, the comprehensive difference ratio Dz2 corresponding to the eyebrow raised expression image data, the comprehensive difference ratio Dz3 corresponding to the eye closed expression image data, the comprehensive difference ratio Dz4 corresponding to the smiling expression image data and the comprehensive difference ratio Dz5 corresponding to the air blowing expression image data.
[0129] In the embodiment of this specification, the facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, specifically including:
[0130] If the maximum value of the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed is not greater than the first preset threshold, the facial paralysis assessment result corresponding to the plurality of medical image data to be processed is level I;
[0131] If the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the first preset threshold value and less than or equal to the second preset threshold value, the facial paralysis assessment result corresponding to the several medical image data to be processed is level II;
[0132] If the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the second preset threshold, and both the eye closure test and the air blowing test are passed, the facial paralysis assessment result corresponding to the several medical image data to be processed is level III;
[0133] If the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eye closure test or the air blowing test fails, the facial paralysis assessment result corresponding to the several medical image data to be processed is level IV;
[0134] If the maximum value of the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed is greater than the second preset threshold value, and the expression comparison pair fails, then the facial paralysis assessment result corresponding to the plurality of medical image data to be processed is level V;
[0135] If the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test fails, the air blowing test fails, and the expression comparison test fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level VI.
[0136] In the embodiment of this specification, the eye-closing test refers to determining the ratio r1 of the vertical distance to the horizontal distance of the left eye and the ratio r2 of the vertical distance to the horizontal distance of the right eye based on the eye-closing expression image data in the medical image data to be processed;
[0137] Based on the normal expression image data in the medical image data to be processed, determining a ratio r3 of the vertical distance to the horizontal distance of the left eye and a ratio r4 of the vertical distance to the horizontal distance of the right eye;
[0138] If r1 / r3>the third preset threshold, and / or r2 / r4>the third preset threshold, the eye closure test fails;
[0139] The blowing test refers to determining the ratio r5 of the vertical distance to the horizontal distance of the mouth based on the blowing expression image data in the medical image data to be processed;
[0140] Based on the normal expression image data in the medical image data to be processed, determining a ratio r6 of the vertical distance to the horizontal distance of the mouth;
[0141] If r5 / r6 is less than a fourth preset threshold, the air blowing test fails;
[0142] The expression comparison test refers to determining, based on the plurality of medical image data to be processed, the horizontal distance ratios of the left eye or the right eye corresponding to the plurality of medical image data to be processed;
[0143] Determine a coefficient of variation based on the ratio of horizontal distances of the left eye or the right eye respectively corresponding to the plurality of medical image data to be processed;
[0144] If the coefficient of variation is less than the fifth preset threshold, the expression comparison test fails.
[0145] In a specific embodiment, the first preset threshold is 5%, the second preset threshold is 10%, the third preset threshold is 0.2, the fourth preset threshold is 0.5, and the fifth preset threshold is 10%.
[0146] In the embodiment of the present specification, the facial paralysis assessment model is an assessment model based on a BP neural network. The input layer of the facial paralysis assessment model contains 8 neurons, the hidden layer includes 3 layers, and the output layer contains 6 neurons. The output layer is used to output six facial paralysis rating levels.
[0147] In order to further understand the facial paralysis assessment model provided in the embodiments of this specification, the training process of the facial paralysis assessment model will be described in detail below.
[0148] During the training process of the facial paralysis assessment model, the comprehensive difference ratio Dz1 corresponding to the normal expression image data, the comprehensive difference ratio Dz2 corresponding to the eyebrow raising expression image data, the comprehensive difference ratio Dz3 corresponding to the eyes closed expression image data, the comprehensive difference ratio Dz4 corresponding to the smiling expression image data and the comprehensive difference ratio Dz5 corresponding to the air blowing expression image data are used as a group of data, and the corresponding ratios in the eyes closed test, the ratios in the air blowing test, and the coefficient of variation of the expression comparison test are used as inputs to the model.
[0149] In the training process of the facial paralysis assessment model, the cross entropy loss is used as the loss function, the optimizer is the SGD optimizer, and the activation function is the ReLU activation function.
[0150] The embodiments of this specification obtain facial paralysis assessment results through a pre-trained facial paralysis assessment model, and can realize automated facial paralysis assessment. Automated processing reduces dependence on professional medical personnel, improves the speed and efficiency of facial paralysis assessment, ensures the accuracy and consistency of the assessment, and can realize remote automatic diagnosis based on network applications.
[0151] The above content introduces a facial paralysis rating method in detail. Correspondingly, this specification also provides a facial paralysis rating device. Figure 5 A schematic diagram of a facial paralysis rating device is provided for an embodiment of this specification. Figure 5 As shown, the facial paralysis rating device comprises:
[0152] An acquisition module 501 acquires a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data;
[0153] The segmentation module 503 performs image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours;
[0154] An evaluation module 505 inputs the image segmentation result into a pre-trained facial paralysis evaluation model to obtain a facial paralysis evaluation result;
[0155] in,
[0156] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0157] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0158] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0159] The embodiment of the present specification also provides an electronic device, including:
[0160] at least one processor; and,
[0161] a memory communicatively connected to the at least one processor; wherein,
[0162] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0163] Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data;
[0164] Performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours;
[0165] Inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result;
[0166] in,
[0167] The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point;
[0168] Based on the horizontal length and the vertical length of the target point, determining the comprehensive difference ratios respectively corresponding to the plurality of medical image data to be processed, wherein the comprehensive difference ratio is the maximum value of the difference ratios of the target point;
[0169] The facial paralysis assessment result is obtained based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed.
[0170] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0171] 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 device, electronic device, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0172] The apparatus, electronic device, non-volatile computer storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, electronic device and non-volatile computer storage medium also have beneficial technical effects similar to those of the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, electronic device and non-volatile computer storage medium will not be repeated here.
[0173] 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.
[0174] 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.
[0175] 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.
[0176] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0177] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in 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 contain computer-usable program code.
[0178] This specification 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 this specification. 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 optimization device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data optimization 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.
[0179] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data optimization device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including 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.
[0180] These computer program instructions may also be loaded onto a computer or other programmable data optimization device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide 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.
[0181] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0182] 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.
[0183] 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.
[0184] 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.
[0185] The 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. The 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.
[0186] 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.
[0187] The above is only an embodiment of this specification and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A facial paralysis rating method, characterized in that: The facial paralysis rating method includes: Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data; Performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours; Inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result; in, The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point; Determine the comprehensive difference ratios respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point, specifically including: determine the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point; use the maximum value of the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed as the comprehensive difference ratio respectively corresponding to the several medical image data to be processed; the comprehensive difference ratio is the maximum value of the difference ratios of the target points; Based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed, the facial paralysis assessment result is obtained, specifically including: if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is not greater than the first preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level I; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the first preset threshold, and less than or equal to the second preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the second preset threshold, and both the eye closure test and the air blowing test are passed, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II. is level III; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test or the air blowing test fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level IV; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level V; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test fails, the air blowing test fails, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level VI.
2. The facial paralysis rating method according to claim 1, characterized in that: Determining the horizontal length and vertical length of the target point specifically includes: If the target point is a symmetrical target point, the difference between the maximum and minimum values of the horizontal coordinates of the key points in the symmetrical target point is used as the horizontal length of the target point, and the average value of the maximum and minimum values of the vertical coordinates of the key points in the symmetrical target point is used as the vertical length of the target point. The symmetrical target points are the eyebrows and eyes. If the target point is an asymmetric target point, the horizontal length of the target point is determined based on the horizontal coordinate of the asymmetric target point, and the vertical length of the target point is determined based on the vertical coordinate of the asymmetric target point, and the asymmetric target point is the nose, mouth or face contour.
3. The facial paralysis rating method according to claim 1, characterized in that: The determining, based on the horizontal length and the vertical length of the target point, the difference ratios of the target points respectively corresponding to the plurality of medical image data to be processed specifically includes: Determining a horizontal difference ratio of the target point based on the horizontal length of the target point; Determining a vertical difference ratio of the target point based on the vertical length of the target point; The maximum value of the horizontal difference ratio of the target point and the vertical difference ratio of the target point is used as the difference ratio of each target point corresponding to the plurality of medical image data to be processed.
4. The facial paralysis rating method according to claim 1, characterized in that: The eye-closing test refers to determining the ratio r1 of the vertical distance to the horizontal distance of the left eye and the ratio r2 of the vertical distance to the horizontal distance of the right eye based on the eye-closing expression image data in the medical image data to be processed; Based on the normal expression image data in the medical image data to be processed, determining a ratio r3 of the vertical distance to the horizontal distance of the left eye and a ratio r4 of the vertical distance to the horizontal distance of the right eye; If r1 / r3>the third preset threshold, and / or r2 / r4>the third preset threshold, the eye closure test fails; The blowing test refers to determining the ratio r5 of the vertical distance to the horizontal distance of the mouth based on the blowing expression image data in the medical image data to be processed; Based on the normal expression image data in the medical image data to be processed, determining a ratio r6 of the vertical distance to the horizontal distance of the mouth; If r5 / r6 is less than a fourth preset threshold, the air blowing test fails; The expression comparison test refers to determining, based on the plurality of medical image data to be processed, the horizontal distance ratios of the left eye or the right eye corresponding to the plurality of medical image data to be processed; Determine a coefficient of variation based on the ratio of horizontal distances of the left eye or the right eye respectively corresponding to the plurality of medical image data to be processed; If the coefficient of variation is less than the fifth preset threshold, the expression comparison test fails.
5. The facial paralysis rating method according to claim 1, characterized in that: The facial paralysis assessment model is an assessment model based on a BP neural network. The input layer of the facial paralysis assessment model contains 8 neurons, the hidden layer includes 3 layers, and the output layer contains 6 neurons. The output layer is used to output six facial paralysis rating levels.
6. The facial paralysis rating method according to claim 1, characterized in that: The performing image segmentation on the medical image data to be processed to obtain the image segmentation result specifically includes: Inputting the image data to be processed into a pre-trained image segmentation model to perform image segmentation, and obtaining the image segmentation result; in, The image segmentation model is a model obtained through training based on the DenseNet model. During the training process, the image segmentation model uses mean square error as the loss function and Adam and / or SGD as the optimizer.
7. A facial paralysis rating device, characterized in that: The facial paralysis rating device comprises: An acquisition module, which acquires a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data; A segmentation module, performing image segmentation on the plurality of medical image data to be processed, and obtaining image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours; An evaluation module, inputting the image segmentation result into a pre-trained facial paralysis evaluation model to obtain a facial paralysis evaluation result; in, The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point; Determine the comprehensive difference ratios respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point, specifically including: determine the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point; use the maximum value of the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed as the comprehensive difference ratio respectively corresponding to the several medical image data to be processed; the comprehensive difference ratio is the maximum value of the difference ratios of the target points; Based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed, the facial paralysis assessment result is obtained, specifically including: if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is not greater than the first preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level I; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the first preset threshold, and less than or equal to the second preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the second preset threshold, and both the eye closure test and the air blowing test are passed, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II. is level III; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test or the air blowing test fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level IV; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level V; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test fails, the air blowing test fails, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level VI.
8. An electronic device comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Acquire a number of medical image data to be processed, wherein the number of medical image data to be processed is normal expression image data, eyebrow raising expression image data, eye closing expression image data, smiling expression image data, and air blowing expression image data; Performing image segmentation on the plurality of medical image data to be processed to obtain image segmentation results, wherein the image segmentation results include coordinates of target points, and the target points include eyebrows, eyes, nose, mouth and face contours; Inputting the image segmentation result into a pre-trained facial paralysis assessment model to obtain a facial paralysis assessment result; in, The facial paralysis assessment model is used to determine the horizontal length and vertical length of the target point; Determine the comprehensive difference ratios respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point, specifically including: determine the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed based on the horizontal length and the vertical length of the target point; use the maximum value of the difference ratios of the respective target points respectively corresponding to the several medical image data to be processed as the comprehensive difference ratio respectively corresponding to the several medical image data to be processed; the comprehensive difference ratio is the maximum value of the difference ratios of the target points; Based on the comprehensive difference ratios respectively corresponding to the several medical image data to be processed, the facial paralysis assessment result is obtained, specifically including: if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is not greater than the first preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level I; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the first preset threshold, and less than or equal to the second preset threshold, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II; if the maximum value of the comprehensive difference ratios respectively corresponding to the several medical image data to be processed is greater than the second preset threshold, and both the eye closure test and the air blowing test are passed, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level II. is level III; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test or the air blowing test fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level IV; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level V; if the maximum value of the comprehensive difference ratios corresponding to the several medical image data to be processed is greater than the second preset threshold, and the eyes closure test fails, the air blowing test fails, and the expression comparison fails, then the facial paralysis assessment result corresponding to the several medical image data to be processed is level VI.
Citation Information
Patent Citations
Facial paralysis objective evaluation method and system thereof
CN107713984A
Facial paralysis grading comprehensive evaluation system combining facial textures and optical flow characteristics
CN110084259A
