Human body metabolism state detection method and system based on infrared image
Through the detection method of human metabolic status based on infrared images, the SVM model is used to analyze infrared image information, which solves the problem of low metabolic abnormality detection rate, realizes simple assessment of metabolic status, reduces medical costs, and has important clinical and socioeconomic value. .
Patent Information
- Application Number
- CN202410957975.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, the detection rate of patients with metabolic abnormalities is low, and the evaluation process is cumbersome and subjective, making it difficult to screen for and intervene in metabolic abnormalities early, resulting in high medical costs.
The human body metabolic state detection method based on infrared images is used to construct a support vector machine (SVM) model, analyze the infrared image information, extract image features, and screen out a feature set that can predict the metabolic state to achieve a simple and sensitive assessment of the metabolic state.
It achieves reliable detection and evaluation of metabolic abnormalities, simplifies the detection process, reduces medical costs, and provides health protection, which has important clinical and socioeconomic value.
Smart Images

Figure CN118749913A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical detection technology based on artificial intelligence, and in particular to a method and system for detecting human metabolic state based on infrared images. Background Art
[0002] Representative diseases among various chronic diseases related to metabolic abnormalities, such as diabetes, coronary heart disease, cerebrovascular disease, etc., have become common chronic diseases. Chronic diseases develop slowly and have a long course. From healthy people to mild metabolic abnormalities and then to the occurrence of related chronic diseases, it is equivalent to the process of the occurrence, development and aggravation of metabolic abnormalities in the body. Metabolic disorders (ie metabolic abnormalities) are an important cause of many chronic diseases, and can significantly increase the risk of cardiovascular and cerebrovascular diseases and diabetes in the long term. Therefore, early detection, screening and intervention of metabolic abnormalities can significantly reduce medical costs and have considerable socioeconomic value.
[0003] At present, in the medical field, patients with metabolic abnormalities generally have low detection rates and insufficient intervention. On the one hand, the disease is hidden at this stage, patients lack obvious symptoms, and the consultation rate and compliance are low; on the other hand, the metabolic assessment relies on professional medical institutions and personnel, and the process is time-consuming and cumbersome. Moreover, the current metabolic disorder assessment methods mainly rely on blood tests and patient self-reports, and the assessment process is cumbersome and highly subjective.
[0004] In view of this, the present invention is proposed. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for detecting the metabolic state of the human body based on infrared images, so as to provide a simple, sensitive and economical metabolic state assessment scheme for the severity of metabolic abnormalities and solve the problems existing in the prior art.
[0006] The objective of the present invention is achieved through the following technical solutions:
[0007] A method for detecting human metabolic state based on infrared images, comprising:
[0008] Collect infrared image information of the person to be detected;
[0009] The infrared image information of the person to be detected is analyzed and processed by using support vector machine (SVM) models of different categories of metabolic states constructed based on infrared image information of people with normal metabolism and people with abnormal metabolism; wherein there are multiple SVM models, and each SVM model corresponds to a pair of image feature sets of two categories of metabolic states;
[0010] The detection and evaluation result of the metabolic state of the person to be detected is determined according to the analysis and processing result.
[0011] The process of constructing the SVM model of the different categories of metabolic states includes:
[0012] Obtain medical test indicators and medical history of people with normal metabolic status and abnormal metabolic status, as well as their corresponding infrared image information;
[0013] The infrared image information of people with normal metabolic status and people with abnormal metabolic status are annotated with metabolic status, and the region of interest ROI of the infrared image information is segmented, and the ROI includes at least one of the head and face, neck, palm, front trunk, thigh, calf and dorsum of foot, and the front trunk includes chest and abdomen;
[0014] Analyze all infrared image information corresponding to the same category of metabolic state, extract image features of each ROI, screen out image feature sets that can predict the corresponding category of metabolic state, and then obtain image feature sets of multiple categories of metabolic states;
[0015] Based on the image feature sets of the multiple categories of metabolic states, SVM models corresponding to different categories of metabolic states are constructed, and if the total number of categories of metabolic states is N, N×(N-1) / 2 SVM models need to be constructed.
[0016] The process of screening out a set of image features capable of predicting the metabolic state of a corresponding category comprises:
[0017] Process the collected infrared image information to obtain images after exponential, logarithmic, square, square root, gradient operations, wavelet transform images and two-dimensional LBP2D images of local binary patterns, and extract statistical features and texture features of each image;
[0018] The Pearson correlation coefficient (PCC) method was used to reduce the dimension of the extracted features in feature space, and two-sample t-tests were performed on the features of people with normal metabolic status and those with abnormal metabolic status, respectively, to screen the features whose p-values were less than the predetermined values;
[0019] The multi-factor logistic regression method with pre-fold cross validation combined with Lasso penalty was used to screen image features related to various categories of metabolic states and obtain a set of image features that can be incorporated into the SVM model.
[0020] The process of obtaining the image after exponential, logarithmic, square, square root, gradient operation, wavelet transform image and LBP2D image specifically includes:
[0021] The exponential transformation is to apply an exponential operation to each pixel (p) in the image, and the calculation formula is: new =e p ;
[0022] The logarithmic transformation is to apply the natural logarithm operation to each pixel in the image, and the calculation formula is: new = lnp;
[0023] The square transformation is to square each pixel value in the image. The calculation formula is: new =p 2 :;
[0024] The square root transformation takes the square root of each pixel value in the image. The calculation formula is:
[0025] Gradient transformation is to calculate the intensity change rate of each pixel in the image. The calculation formula is: Among them, G x is the gradient in the x direction, G y is the gradient in the y direction;
[0026] The formula for wavelet filtering is: filtered (x,y)=∑ a ∑ b w′ a,b ψ a, (x,y), where w a, is the wavelet coefficient after wavelet filtering; ψ a, (x, y) is the wavelet basis function, which represents the wavelet function at scale a and displacement b;
[0027] The formula for local binary pattern LBP texture processing is: In the formula, (x c ,y c ) is the neighborhood center, g p , g c is the gray value of the center pixel and the area pixel; P is the number of sampling points.
[0028] The model definition of the multi-factor logistic regression method includes:
[0029]
[0030] in,
[0031] Pr(GC i |X x) means that under the condition that the feature X value is x, the target variable G is in category C i probability;
[0032] Pr(G=C j ||X x) means that under the condition that the feature X value is x, the target variable G is in category C j probability;
[0033] β0 represents the intercept term, also known as the bias term, which does not depend on the input variable X but directly affects the log odds;
[0034] β represents the coefficient vector, which is multiplied by the feature vector x. These coefficients describe the probability that each feature belongs to C for the target category G. i Relative to C j The magnitude and direction of the effect.
[0035] The process of screening image features related to various categories of metabolic states includes: calculating model parameters by minimizing the logistic regression loss function containing an L1 regularization term, and implementing feature screening by forcing some feature coefficients to be zero, and the formula used is:
[0036]
[0037] in,
[0038] y i is the predicted label of the i-th sample in the training set;
[0039] x i is the feature vector of the corresponding i-th sample, which contains the values of p features;
[0040] N is the total number of samples in the training set;
[0041] λ is the regularization parameter, which is a non-negative real number that controls the strength of the regularization term λ|β|1;
[0042] |β|1 is the L1 norm of β, that is, ∑j 1 p |β j |. ;
[0043] The L1 norm regularization term λ|β|1 makes the model coefficient β sparse during the optimization process, achieving the effect of feature selection, making the coefficient β non-zero after screening j These are the features obtained by screening.
[0044] The division of the metabolically normal population and the metabolically abnormal population is based on one or more of the following metabolic evaluation criteria:
[0045] Abdominal obesity, waist circumference ≥90cm for men and ≥85cm for women;
[0046] Hyperglycemia: fasting blood glucose ≥ 6.1mmol / L or 2h blood glucose ≥ 7.8mmol / L after glucose load and / or those who have been diagnosed with diabetes and treated;
[0047] Hypertension: blood pressure ≥130 / 85 mmHg and / or confirmed as having hypertension and receiving treatment;
[0048] Abnormal triglycerides: fasting triglycerides (TG) ≥ 1.70mmol / L;
[0049] Abnormal HDL-C: fasting HDL-C <1.04mmol / L;
[0050] No metabolic abnormalities, that is, not meeting any of the above criteria;
[0051] Based on the above metabolic evaluation criteria, the different categories of metabolic states include:
[0052] There was no metabolic abnormality category;
[0053] Category that meets one metabolic criterion;
[0054] categories that met the binomial metabolic criteria;
[0055] categories that met the three metabolic criteria;
[0056] categories that met the four metabolic criteria;
[0057] Categories that meet five metabolic criteria.
[0058] A human body metabolic state detection system based on infrared images, comprising:
[0059] An image acquisition module is used to acquire infrared image information of the person to be detected;
[0060] The metabolic state assessment module is used to use the support vector machine (SVM) model of different categories of metabolic states constructed based on the infrared image information of the metabolically normal population and the metabolically abnormal population to analyze and process the infrared image information of the person to be detected acquired by the image acquisition module, and determine the detection and assessment result of the metabolic state of the person to be detected based on the analysis and processing result; wherein, there are multiple SVM models, and each SVM model corresponds to a category of metabolic state, and each category of metabolic state includes model features obtained by training two feature sets, namely, normal metabolism and abnormal metabolism.
[0061] The system also includes an image recognition and modeling module, which performs the following operations:
[0062] Obtain medical test indicators and medical history of people with normal metabolic status and abnormal metabolic status, as well as their corresponding infrared image information;
[0063] The infrared image information of people with normal metabolic status and people with abnormal metabolic status are annotated with metabolic status, and the region of interest ROI of the infrared image information is segmented, and the ROI includes at least one of the head and face, neck, palm, front trunk, thigh, calf and dorsum of foot, and the front trunk includes chest and abdomen;
[0064] Analyze all infrared image information corresponding to the same category of metabolic state, extract the image features of each ROI, screen out the image feature set that can predict the corresponding category of metabolic state, and then obtain the image feature set of multiple categories of metabolic states;
[0065] Based on the image feature sets of the metabolic states of the multiple categories, SVM models corresponding to pairs of metabolic states of different categories are constructed.
[0066] The process of screening out a set of image features capable of predicting the metabolic state of a corresponding category comprises:
[0067] Process the collected infrared image information to obtain images after exponential, logarithmic, square, square root, gradient operations, wavelet transform images and two-dimensional LBP2D images of local binary patterns, and extract statistical features and texture features of each image;
[0068] The Pearson correlation coefficient (PCC) method was used to reduce the dimension of the extracted features in feature space, and two-sample t-tests were performed on the features of people with normal metabolic status and those with abnormal metabolic status, respectively, to screen the features whose p-values were less than the predetermined values;
[0069] The multi-factor logistic regression method with pre-fold cross validation combined with Lasso penalty was used to screen image features related to various categories of metabolic states and obtain a set of image features that can be incorporated into the SVM model.
[0070] Compared with the prior art, the infrared image-based human metabolic state detection method and system provided by the present invention can realize reliable detection and evaluation of metabolic abnormalities, and can make the metabolic state detection and evaluation process simple, sensitive and economical. The implementation of the present invention can significantly reduce medical costs, provide more protection for people's health, and has important clinical value and considerable social and economic value. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0072] Figure 1 A schematic diagram of the implementation process of the method provided in the embodiment of the present invention;
[0073] Figure 2 A functional block diagram of a system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0074] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0075] First, the terms that may be used in this article are explained as follows:
[0076] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.
[0077] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.
[0078] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.
[0079] The term "parts by mass" refers to the mass ratio relationship between multiple components. For example, if it is described that component X is x parts by mass and component Y is y parts by mass, then the mass ratio of component X to component Y is x:y. 1 part by mass can represent any mass, for example, 1 part by mass can be represented as 1 kg or 3.1415926 kg. The sum of the parts by mass of all components is not necessarily 100 parts, but can be greater than 100 parts, less than 100 parts or equal to 100 parts. Unless otherwise specified, the parts, proportions and percentages described herein are all measured by mass.
[0080] Unless otherwise specified or limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this article can be understood according to specific circumstances.
[0081] When concentration, temperature, pressure, size or other parameters are expressed in the form of a numerical range, the numerical range should be understood to specifically disclose all ranges formed by the pairing of any upper limit, lower limit, and preferred value in the numerical range, regardless of whether the range is explicitly stated; for example, if a numerical range of "2 to 8" is stated, the numerical range should be interpreted as including ranges such as "2 to 7", "2 to 6", "5 to 7", "3 to 4 and 6 to 7", "3 to 5 and 7", "2 and 5 to 7", etc. Unless otherwise specified, the numerical ranges stated herein include both their end values and all integers and fractions within the numerical range.
[0082] The orientation or position relationship indicated by terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. are based on the orientation or position relationship shown in the drawings and are only for the convenience and simplification of description, and do not explicitly or implicitly indicate that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation of this document.
[0083] The following is a detailed description of a method and system for detecting the human metabolic state based on infrared images provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professionals in the field. If no specific conditions are specified in the embodiments of the present invention, the conditions are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturer of the reagents or instruments used in the embodiments of the present invention is not specified, they are all conventional products that can be purchased commercially.
[0084] In the process of realizing the present invention, it is found that in the medical field, medical infrared thermal imaging technology is a functional medical imaging that integrates multidisciplinary technologies such as medicine, physics and computer science. Its temperature measurement accuracy can reach 0.03-0.1°C, and it has many advantages such as simplicity, non-contact, real-time, repeatability, visualization, and digitization. It is recognized as one of the most promising medical non-destructive testing technologies. Moreover, modern medical theory believes that the surface temperature of the human body is the result of the combined effect of heat production and heat dissipation, and the local temperature of the body is affected by multiple factors such as the functional activities of adjacent organs, blood perfusion, neural regulation, and fat distribution. It is a comprehensive response to the body's internal metabolic state.
[0085] However, infrared thermal images are relatively complex and data utilization is low, and existing interpretation methods cannot provide reliable metabolic status detection and evaluation based on infrared images.
[0086] In order to solve the problem that existing interpretation methods cannot provide reliable metabolic status detection and evaluation based on infrared images, the present invention aims to explore a simple, sensitive and economical infrared image-based detection method and system for the severity of metabolic abnormalities, thereby achieving accurate evaluation and detection of abnormal metabolic states.
[0087] Based on the above research, the present invention specifically provides a method for detecting the metabolic state of the human body based on infrared images, that is, a method for evaluating and screening the degree of metabolic abnormality based on infrared thermal imaging technology, which mainly involves the application of artificial intelligence technology in the field of health assessment. In the specific implementation process, Figure 1 As shown, the processing steps may include but are not limited to the following:
[0088] Step 11, obtaining medical test indicators and medical history of case samples with normal and abnormal metabolic states, as well as infrared image information of case samples;
[0089] Specifically, according to the diagnostic criteria of metabolic syndrome in the "Guidelines for the Prevention and Treatment of Type 2 Diabetes in China (2020 Edition)", different metabolic states (abdominal obesity, hyperglycemia, hypertension, abnormal triglycerides, abnormal HDL-C, and no metabolic abnormalities) were classified, and a large number of case samples that met the above-mentioned single or overlapping metabolic states were obtained, and a certain sample size was ensured for each category;
[0090] Collect anthropometric indicators, clinical biochemical test indicators, and medical history of the patients, and use infrared thermal imaging to collect whole-body infrared thermal imaging images;
[0091] Step 12, annotating the metabolic status of the infrared image information of each case sample;
[0092] Specifically, the metabolic status of the case is determined based on the medical test indicators and medical history of the case, and the metabolic status is used as a label for the infrared image. For example, an image with three or more metabolic abnormality labels is labeled with a "metabolic syndrome" label.
[0093] Step 13, constructing SVM (Support Vector Machine) models of different metabolic states based on the labeled infrared image information;
[0094] Specifically, the main regions of interest (ROIs) of the infrared thermal image (i.e., the infrared image corresponding to the infrared image information) are segmented, and the ROIs include: head and face, neck, palms, frontal trunk, thighs, calves, and dorsum of feet;
[0095] After that, the image features of each ROI of the heat map are extracted. For each pair of metabolic states C in the dataset i and C j (i.e., two sets of image features corresponding to the two categories of metabolic states contained in each pair of categories of metabolic states), establish a corresponding SVM (Support Vector Machine) model; if the total number of categories of metabolic states is N, then it is necessary to build N×(N-1) / 2 SVM models (for example, if the metabolic states used in the present invention are divided into 32 categories, then it is necessary to build 496 SVM models), in each pair of metabolic level categories, a heat map feature set that distinguishes the two categories of metabolic states (normal or abnormal) is obtained by feature screening, and each SVM model is trained separately using the screened feature set;
[0096] Step 14, evaluating the metabolic status of the person to be tested based on the SVM model;
[0097] Specifically, the infrared thermal map of the new case is segmented into ROIs and features are extracted. When making predictions, each classifier only distinguishes between two metabolic level categories. When evaluating and classifying the metabolic level of a new case, the results of all classifiers need to be aggregated through voting, and finally the category with the most wins is selected. Based on this category, the metabolic level evaluation result of the new case can be determined.
[0098] Furthermore, with reference to the metabolic status assessment results obtained by computer processing in the above step 14, actual cases are diagnosed so as to provide feedback and corrections based on the diagnosis results, that is, the SVM model is updated using the image features of the infrared images of the corresponding actual cases and the information on their metabolic status, thereby continuously enriching the database sample size and improving the accuracy of computer diagnosis.
[0099] In the specific implementation process of the present invention, the metabolic state of the case can be determined according to the diagnostic criteria for metabolic syndrome in the "Guidelines for the Prevention and Treatment of Type 2 Diabetes in China (2020 Edition)", that is, the classification criteria for different metabolic states are determined based on this, for example, it can be specifically divided into abnormal metabolic state and normal metabolic state, where:
[0100] Abnormal metabolic status includes any one or more of the following:
[0101] Abdominal obesity: waist circumference ≥90cm for men and ≥85cm for women;
[0102] Hyperglycemia: fasting blood glucose ≥ 6.1mmol / L or 2h blood glucose ≥ 7.8mmol / L after glucose load and / or those who have been diagnosed with diabetes and have been treated;
[0103] Hypertension: blood pressure ≥130 / 85 mmHg and / or those who have been confirmed to have hypertension and received treatment;
[0104] Abnormal triglycerides: fasting triglycerides (TG) ≥ 1.70mmol / L;
[0105] Abnormal HDL-C: fasting HDL-C <1.04mmol / L.
[0106] A normal metabolic state means that there is no metabolic abnormality, that is, a person who does not meet any of the above criteria for abnormal metabolic state has a normal metabolic state.
[0107] Except for those without metabolic abnormalities, the other five types of metabolic states can overlap with each other, so the different metabolic states are further classified to obtain a total of 32 types of different metabolic states, which can be specifically shown as follows:
[0108] No metabolic abnormality (1 type): No metabolic abnormality;
[0109] One metabolic abnormality (5 types): any one of abdominal obesity, hyperglycemia, hypertension, abnormal triglycerides, and abnormal HDL-C;
[0110] Two metabolic abnormalities (10 types): abdominal obesity combined with hyperglycemia, abdominal obesity combined with hypertension, abdominal obesity combined with abnormal triglycerides, abdominal obesity combined with abnormal HDL-C, hyperglycemia combined with hypertension, hyperglycemia combined with abnormal triglycerides, hyperglycemia combined with abnormal HDL-C, hypertension combined with abnormal triglycerides, hypertension combined with abnormal HDL-C, abnormal triglycerides combined with abnormal HDL-C;
[0111] Three metabolic abnormalities (10 types): abdominal obesity combined with hyperglycemia and hypertension, abdominal obesity combined with hyperglycemia and abnormal triglycerides, abdominal obesity combined with hyperglycemia and abnormal HDL-C, abdominal obesity combined with hypertension and abnormal triglycerides, abdominal obesity combined with hypertension and abnormal HDL-C, abdominal obesity combined with abnormal triglycerides and abnormal HDL-C, hyperglycemia combined with hypertension and abnormal triglycerides, hyperglycemia combined with hypertension and abnormal HDL-C, hyperglycemia combined with abnormal triglycerides and abnormal HDL-C, hypertension combined with abnormal triglycerides and abnormal HDL-C;
[0112] Four metabolic abnormalities (5 types): those who meet all the five indicators except abdominal obesity, those who meet all the five indicators except high blood sugar, those who meet all the five indicators except hypertension, those who meet all the five indicators except triglyceride abnormalities, and those who meet all the five indicators except HDL-C abnormalities;
[0113] Five metabolic abnormalities (1 type): Those who meet all 5 indicators.
[0114] Furthermore, the feature screening implementation method mentioned in the above step 13 can use the pyradiomics v3.0.1 platform to extract the statistical features and texture features of the original image (i.e., the original infrared image). Before extraction, it is necessary to obtain an image, a wavelet transform image, and an LBP2D image after exponential, logarithmic, square, square root, and gradient operations based on the original image, and then extract the corresponding statistical features and texture features. For the extracted statistical features and texture features, the three methods of Pearson's correlation coefficient (PCC), independent sample t-test, and least absolute shrinkage and selection operator (Lasso) regression can be applied to each model on the training set, and the corresponding specific processing process may include:
[0115] First, the PCC method is used to reduce the dimension of the feature space. For example, if the PCC value of two features is greater than 0.99, they are considered to be highly correlated, and one of the features is removed;
[0116] Second, for each pair of categories C in the dataset i and C j Perform a two-sample t-test, for example, to select features where the p-value is less than a certain value (such as 0.05);
[0117] Finally, the multi-factor Logistic regression method with K-fold cross validation combined with Lasso penalty is used to screen out the i and Cj The significantly correlated important features are obtained to obtain the infrared thermal image features suitable for inclusion in the SVM model.
[0118] In the above process, the multi-factor Logistic regression model is defined as follows:
[0119]
[0120] Pr(GC i |X x) means that under the condition that the feature X value is x, the target variable G is in category C i The probability of Pr(G=C j ||X x) means that under the condition that the feature X value is x, the target variable G is in category C j probability;
[0121] β0 represents the intercept term, also known as the bias term, which does not depend on the input variable X but directly affects the log odds;
[0122] β represents the coefficient vector, which is multiplied by the feature vector x; the corresponding coefficient describes the probability that each feature belongs to C for the target category G. i Relative to C j The magnitude and direction of the effect.
[0123] Furthermore, based on the above model definition, the model parameters are calculated by minimizing the logistic regression loss function containing the L1 regularization term, and feature screening is achieved by forcing some feature coefficients to be zero. The corresponding calculation formula is:
[0124]
[0125] in:
[0126] y i is the predicted label of the i-th sample in the training set;
[0127] x i is the feature vector of the corresponding i-th sample, which contains the values of p features;
[0128] N is the total number of samples in the training set;
[0129] λ is the regularization parameter, a non-negative real number, which controls the strength of the regularization term λ|β|1; a larger λ value means stronger regularization, resulting in more parameters β being compressed to zero, thereby reducing the complexity of the model and the risk of overfitting;
[0130] |β|1 is the L1 norm of β, that is, ∑j 1 p |β j |. ;
[0131] The L1 norm regularization term λ|β|1 makes the model coefficient β sparse during the optimization process, that is, many β j It may be compressed to zero, thereby achieving the effect of feature selection, and the coefficients β with non-zero coefficients after screening j These are the features obtained by screening.
[0132] In the above processing, the process of obtaining the image after exponential, logarithmic, square, square root, gradient operation, wavelet transform image and LBP2D image for the corresponding infrared image may specifically include:
[0133] The exponential transformation process is: apply an exponential operation to each pixel p in the image, the formula is: new =e p ;
[0134] The logarithmic transformation process is: apply the natural logarithm operation to each pixel p in the image, the formula is: new = lnp;
[0135] The square transformation process is: square the value of each pixel p in the image, the formula is: p new =p 2 ;
[0136] The square root transformation process is: take the square root of each pixel p value in the image, the formula is:
[0137] The gradient transformation process is to calculate the intensity change rate of each pixel in the image, and the formula is: Among them, G x is the gradient in the x direction, G y is the gradient in the y direction;
[0138] in, and are the partial derivatives of (p) in the (x) and (y) directions, respectively, and are usually approximated by the central difference method of the image.
[0139] The wavelet filtering, i.e. the wavelet transform processing, adopts the formula: filtered (x,y)=∑ a ∑ b w′ a, ψ a, (x,y), where w a, is the wavelet coefficient after wavelet filtering; ψ a, (x, y) is the wavelet basis function, which represents the wavelet function at scale a and displacement b;
[0140] The formula used in the LBP texture processing in the process of obtaining the LBP2D image is: In the formula, (x c ,y c ) is the neighborhood center, g p , g c is the gray value of the center pixel and the area pixel, and P is the number of sampling points.
[0141] Through the application of the embodiments provided by the present invention, the metabolic status detection and evaluation process for the person to be detected can be simple, sensitive and economical, thereby significantly reducing the medical costs of the social system and providing more protection for people's health. Therefore, the implementation of the present invention has important clinical value and considerable social and economic value.
[0142] The embodiment of the present invention also provides a human metabolic state detection system based on infrared images, that is, a metabolic abnormality assessment and screening system based on infrared thermal imaging technology, and its specific implementation method is as follows: Figure 2 As shown, it can include but is not limited to the following processing modules:
[0143] The metabolic state classification module 21 classifies different metabolic states according to the diagnostic criteria of metabolic syndrome in the "Guidelines for the Prevention and Treatment of Type 2 Diabetes in China (2020 Edition)", stores them in the classification module, obtains a large number of cases covering various metabolic states, and ensures that each category of metabolic state has a certain number of case samples;
[0144] The image acquisition module 22 collects the anthropometric indicators, clinical biochemical test indicators, and medical history of the case, and collects the whole body infrared thermal imaging images through an infrared thermal imager, and stores them in the file to be classified; and collects infrared image information of the person to be tested when evaluating the metabolic status of the case;
[0145] The diagnostic labeling module 23 determines the metabolic status of the case according to the case index and medical history information, and uses the status as a label for the infrared image. The image with three or more metabolic abnormality labels is labeled with a "metabolic syndrome" label;
[0146] The image segmentation module 24 segments the main regions of interest (ROI) of the infrared thermal image, and the ROI includes: head and face, neck, palm, front trunk, thigh, calf, dorsum of foot, etc.;
[0147] The image recognition and modeling module 25 extracts the image features of each ROI of the thermal map (i.e., infrared image information) and for each pair of metabolic state categories C in the data set i and C j, establish an SVM model; for example, if the total number of categories is N, it is necessary to construct N×(N-1 / 2 models (in the implementation process of the embodiment of the present invention, the corresponding metabolic state classification can be 32 metabolic state categories, so 496 SVM models need to be constructed), in each pair of metabolic states (i.e., one metabolic state category in multiple categories), a heat map feature set (i.e., image feature set) that distinguishes two types of metabolic states (i.e., normal metabolic state and abnormal metabolic state) can be obtained by feature screening. Using the image feature set obtained after screening, each SVM model can be trained separately to construct a corresponding SVM model.
[0148] The metabolic state assessment module 26 is used to analyze and process the infrared image information of the person to be detected collected by the image acquisition module (i.e., the infrared image information collected by the image acquisition module 22), and determine the detection and assessment result of the metabolic state of the person to be detected based on the analysis and processing result, after the infrared thermal image of the new case (i.e., the infrared image information collected by the image acquisition module 22) is segmented into ROI and feature extracted by the image segmentation module 24, and when prediction is needed, the support vector machine SVM model of different categories of metabolic states constructed based on the infrared image information of the metabolically normal population and the metabolically abnormal population is used; specifically, each classifier (the SVM model corresponding to each pair of metabolic states) is only distinguished between two categories of metabolic states. When classifying a new case, the prediction results of all classifiers are aggregated by voting, and finally the metabolic state of the category with the most wins is selected as the prediction category of the model, that is, as the evaluation result for the case, its metabolic state category is determined.
[0149] In the image recognition and modeling module 25 included in the above system, the specific operations performed may include:
[0150] (1) Obtaining medical test indicators and medical history of people with normal metabolic status and abnormal metabolic status, as well as their corresponding infrared image information;
[0151] (2) annotating the metabolic status of infrared image information of people with normal metabolic status and people with abnormal metabolic status, and segmenting the region of interest (ROI) of the infrared image information, wherein the ROI includes at least one of the head and face, neck, palm, front trunk, thigh, calf and dorsum of foot, and the front trunk includes the chest and abdomen;
[0152] (3) Analyze all infrared image information corresponding to the same category of metabolic state, extract the image features of each ROI, screen out the image feature set that can predict the metabolic state of the corresponding category, and then obtain the image feature set of multiple categories of metabolic states;
[0153] (4) Constructing SVM models corresponding to different categories of metabolic states based on the image feature sets of the multiple categories of metabolic states.
[0154] In the above process (3), the process of screening out the image feature set that can predict the metabolic state of the corresponding category may specifically include the following implementation process:
[0155] Process the collected infrared image information to obtain images after exponential, logarithmic, square, square root, gradient operations, wavelet transform images and two-dimensional LBP2D images of local binary patterns, and extract statistical features and texture features of each image;
[0156] The Pearson correlation coefficient (PCC) method was used to reduce the dimension of the extracted features in feature space, and two-sample t-tests were performed on the features of people with normal metabolic status and those with abnormal metabolic status, respectively, to screen the features whose p-values were less than the predetermined values;
[0157] The multi-factor logistic regression method with pre-fold cross validation combined with Lasso penalty was used to screen image features related to various categories of metabolic states and obtain a set of image features that can be incorporated into the SVM model.
[0158] In the above system, the implementation method of the specific processing process adopted by each module has been described in detail in the previous method description and will not be repeated here.
[0159] In summary, the embodiments of the present invention provide a simple, sensitive and economical method and system for detecting the severity of metabolic abnormalities, thereby achieving the evaluation of abnormal metabolic states, and having important clinical and economic value.
[0160] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.
Claims
1. A method for detecting human metabolic state based on infrared images, characterized in that: include: Collect infrared image information of the person to be detected; The infrared image information of the person to be detected is analyzed and processed by using support vector machine (SVM) models of different categories of metabolic states constructed based on infrared image information of people with normal metabolism and people with abnormal metabolism; wherein there are multiple SVM models, and each SVM model corresponds to a pair of image feature sets of two categories of metabolic states; The detection and evaluation result of the metabolic state of the person to be detected is determined according to the analysis and processing result.
2. The method according to claim 1, characterized in that The process of constructing the SVM model of the different categories of metabolic states includes: Obtain medical test indicators and medical history of people with normal metabolic status and abnormal metabolic status, as well as their corresponding infrared image information; The infrared image information of people with normal metabolic status and people with abnormal metabolic status are annotated with metabolic status, and the region of interest ROI of the infrared image information is segmented, and the ROI includes at least one of the head and face, neck, palm, front trunk, thigh, calf and dorsum of foot, and the front trunk includes chest and abdomen; Analyze all infrared image information corresponding to the same category of metabolic state, extract image features of each ROI, screen out image feature sets that can predict the corresponding category of metabolic state, and then obtain image feature sets of multiple categories of metabolic states; Based on the image feature sets of the multiple categories of metabolic states, SVM models corresponding to different categories of metabolic states are constructed, and if the total number of categories of metabolic states is N, N×(N-1) / 2 SVM models need to be constructed.
3. The method according to claim 2, characterized in that The process of screening out a set of image features capable of predicting the metabolic state of a corresponding category comprises: Process the collected infrared image information to obtain images after exponential, logarithmic, square, square root, gradient operations, wavelet transform images and two-dimensional LBP2D images of local binary patterns, and extract statistical features and texture features of each image; The Pearson correlation coefficient (PCC) method was used to reduce the dimension of the extracted features in feature space, and two-sample t-tests were performed on the features of people with normal metabolic status and those with abnormal metabolic status, respectively, to screen the features whose p-values were less than the predetermined values; The multi-factor logistic regression method with pre-fold cross validation combined with Lasso penalty was used to screen image features related to various categories of metabolic states and obtain a set of image features that can be incorporated into the SVM model.
4. The method according to claim 3, characterized in that The process of obtaining the image after exponential, logarithmic, square, square root, gradient operation, wavelet transform image and LBP2D image specifically includes: The exponential transformation is to apply an exponential operation to each pixel (p) in the image, and the calculation formula is: new =e p ; The logarithmic transformation is to apply the natural logarithm operation to each pixel in the image, and the calculation formula is: new =ln p; The square transformation is to square each pixel value in the image. The calculation formula is: new =p 2 :; The square root transformation takes the square root of each pixel value in the image. The calculation formula is: Gradient transformation is to calculate the intensity change rate of each pixel in the image. The calculation formula is: Among them, G x is the gradient in the x direction, G y is the gradient in the y direction; The formula for wavelet filtering is: filtered (x,y)=∑ a ∑ b w′ a,b ψ a,b (x,y), where w a,b is the wavelet coefficient after wavelet filtering; ψ a,b (x, y) is the wavelet basis function, which represents the wavelet function at scale a and displacement b; The formula for local binary pattern LBP texture processing is: In the formula, (x c ,y c ) is the neighborhood center, g p , g c is the gray value of the center pixel and the area pixel; P is the number of sampling points.
5. The method according to claim 3, characterized in that: The model definition of the multi-factor logistic regression method includes: in, Pr(G=C i |X=x) means that under the condition that the feature X value is x, the target variable G is in category C i probability; Pr(G=C j |||X=x) means that under the condition that the feature X value is x, the target variable G is in category C j probability; β0 represents the intercept term, also known as the bias term, which does not depend on the input variable X but directly affects the log odds; β represents the coefficient vector, which is multiplied by the feature vector x. These coefficients describe the probability that each feature belongs to C for the target category G. i Relative to C j The magnitude and direction of the effect.
6. The method according to claim 5, characterized in that The process of screening image features related to various categories of metabolic states includes: calculating model parameters by minimizing the logistic regression loss function containing an L1 regularization term, and implementing feature screening by forcing some feature coefficients to be zero, and the formula used is: in, y i is the predicted label of the i-th sample in the training set; x i is the feature vector of the corresponding i-th sample, which contains the values of p features; N is the total number of samples in the training set; λ is the regularization parameter, which is a non-negative real number that controls the strength of the regularization term λ|β|1; |β|1 is the L1 norm of β, that is, ∑j=1 p |β j |. ; The L1 norm regularization term λ|β|1 makes the model coefficient β sparse during the optimization process, achieving the effect of feature selection, making the coefficient β non-zero after screening j These are the features obtained by screening.
7. The method according to any one of claims 1 to 6, characterized in that: The division of the metabolically normal population and the metabolically abnormal population is based on one or more of the following metabolic evaluation criteria: Abdominal obesity, waist circumference ≥90cm for men and ≥85cm for women; Hyperglycemia: fasting blood glucose ≥ 6.1mmol / L or 2h blood glucose ≥ 7.8mmol / L after glucose load and / or those who have been diagnosed with diabetes and treated; Hypertension: blood pressure ≥130 / 85 mmHg and / or confirmed as having hypertension and receiving treatment; Abnormal triglycerides: fasting triglycerides (TG) ≥ 1.70mmol / L; Abnormal HDL-C: fasting HDL-C <1.04mmol / L; No metabolic abnormalities, that is, not meeting any of the above criteria; Based on the above metabolic evaluation criteria, the different categories of metabolic states include: There was no metabolic abnormality category; Category that meets one metabolic criterion; categories that met the binomial metabolic criteria; categories that met the three metabolic criteria; categories that met the four metabolic criteria; Categories that meet five metabolic criteria.
8. A human metabolic state detection system based on infrared images, characterized in that: include: An image acquisition module is used to acquire infrared image information of the person to be detected; The metabolic state assessment module is used to use the support vector machine (SVM) model of different categories of metabolic states constructed based on the infrared image information of the metabolically normal population and the metabolically abnormal population to analyze and process the infrared image information of the person to be detected acquired by the image acquisition module, and determine the detection and assessment result of the metabolic state of the person to be detected based on the analysis and processing result; wherein, there are multiple SVM models, and each SVM model corresponds to a category of metabolic state, and each category of metabolic state includes model features obtained by training two feature sets, namely, normal metabolism and abnormal metabolism.
9. The system according to claim 8, characterized in that The system also includes an image recognition and modeling module, which performs the following operations: Obtain medical test indicators and medical history of people with normal metabolic status and abnormal metabolic status, as well as their corresponding infrared image information; The infrared image information of people with normal metabolic status and people with abnormal metabolic status are annotated with metabolic status, and the region of interest ROI of the infrared image information is segmented, and the ROI includes at least one of the head and face, neck, palm, front trunk, thigh, calf and dorsum of foot, and the front trunk includes chest and abdomen; Analyze all infrared image information corresponding to the same category of metabolic state, extract the image features of each ROI, screen out the image feature set that can predict the corresponding category of metabolic state, and then obtain the image feature set of multiple categories of metabolic states; Based on the image feature sets of the metabolic states of the multiple categories, SVM models corresponding to pairs of metabolic states of different categories are constructed.
10. The system according to claim 9, characterized in that The process of screening out a set of image features capable of predicting the metabolic state of a corresponding category comprises: Process the collected infrared image information to obtain images after exponential, logarithmic, square, square root, gradient operations, wavelet transform images and two-dimensional LBP2D images of local binary patterns, and extract statistical features and texture features of each image; The Pearson correlation coefficient (PCC) method was used to reduce the dimension of the extracted features in feature space, and two-sample t-tests were performed on the features of people with normal metabolic status and those with abnormal metabolic status, respectively, to screen the features whose p-values were less than the predetermined values; The multi-factor logistic regression method with pre-fold cross validation combined with Lasso penalty was used to screen image features related to various categories of metabolic states and obtain a set of image features that can be incorporated into the SVM model.
