Inspection information processing method, device, storage medium and electronic device
By extracting feature values and feature indices from the images and data captured by the inspection equipment, combined with the recognition model, the problem of screening various inspection information is solved and the accuracy of diagnosis is improved.
Patent Information
- Application Number
- CN202110276461.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-15
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-03-15
AI Technical Summary
Existing technology makes it difficult to filter out effective information from a variety of examination information, making it difficult for doctors to make accurate judgments.
By acquiring images and data captured by a variety of inspection equipment, the feature values in the target area are extracted, the feature index is calculated, and combined with the pre-trained recognition model, the target attributes are identified.
It improves the recognition accuracy of target attributes, can more effectively extract relevant features from various inspection information, and enhances the accuracy of diagnosis.
Smart Images

Figure CN112949659B
Abstract
Description
Technical Field
[0001] The present disclosure relates to electronic information processing technology, and in particular, to a method, device, storage medium and electronic device for processing inspection information. Background Art
[0002] With the continuous development of electronic information technology, more and more inspection methods and inspection equipment can collect inspection information reflecting the user's physical condition, thereby assisting doctors in making judgments. Inspection information may include, for example, inspection images generated by inspection equipment such as CT (Computed Tomography), PET (Positron Emission Tomography), and MRI (Magnetic Resonance Imaging). Inspection information may also include inspection data generated by analyzing the user's body fluids, tissues, etc. using various analytical instruments. Due to the large variety of inspection information, it is difficult to filter out effective information, and it is difficult to make an accurate judgment based on only one type of inspection information. Summary of the invention
[0003] In order to solve the problems existing in the related art, the purpose of the present disclosure is to provide a method, device, storage medium and electronic device for processing inspection information.
[0004] In order to achieve the above objective, according to a first aspect of an embodiment of the present disclosure, a method for processing inspection information is provided, the method comprising:
[0005] Acquire a first number of inspection images and a second number of inspection data, wherein the first number of inspection images are obtained by photographing a designated part of a target user by a first number of inspection devices, each inspection image corresponds to a type of inspection device, and the inspection data is used to characterize the state of the target user;
[0006] Acquire a target area of each of the inspection images in a first number of the inspection images;
[0007] For each of the inspection images, extract a feature value of at least one designated feature in a target area of the inspection image, where the designated feature is determined according to the inspection device corresponding to the inspection image, and a correlation between the designated feature and a target attribute of the target area satisfies a first preset condition;
[0008] determining a feature index of each inspection image according to a feature value of at least one of the specified features in the target area of the inspection image;
[0009] The recognition result of the target attribute is determined according to the feature indexes of the first number of the inspection images, the second number of the inspection data and a pre-trained recognition model.
[0010] Optionally, acquiring a target area of each of the inspection images in the first number of the inspection images includes:
[0011] Determining a target area of a designated inspection image according to annotation data corresponding to the designated inspection image, wherein the designated inspection image is the inspection image corresponding to a designated inspection device;
[0012] The target area of each of the other inspection images is determined based on the registration relationship between the designated inspection image and each other inspection image, and the target area of the designated inspection image. The other inspection image is any inspection image in the first number of inspection images except the designated inspection image.
[0013] Optionally, determining the recognition result of the target attribute according to the feature indexes of the first number of the inspection images, the second number of the inspection data and a pre-trained recognition model includes:
[0014] Determining a third number of inspection parameters according to the feature indices of the first number of inspection images and the second number of inspection data, wherein the inspection parameters are the feature indices or the inspection data whose correlation with the target attribute satisfies a second preset condition;
[0015] A third number of the inspection parameters are used as input of the recognition model to obtain the recognition result output by the recognition model.
[0016] Optionally, the recognition model is obtained by training in the following manner:
[0017] Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition;
[0018] Using the sample feature indexes of a first number of the sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user as sample inputs corresponding to the sample user, so as to obtain a sample input set including the sample inputs corresponding to each sample user, wherein the sample inspection data is used to characterize the state of the sample user;
[0019] Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user;
[0020] The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
[0021] Optionally, before obtaining the sample feature indexes of the first number of sample inspection images corresponding to each sample user among the multiple sample users, the recognition model is further trained in the following manner:
[0022] Acquire a first number of the sample inspection images corresponding to each of the sample users, and determine target areas of the first number of the sample inspection images corresponding to the sample user;
[0023] Determine feature values of a fourth number of sample features in a target area of a first sample inspection image corresponding to each of the sample users, and correlations between the fourth number of sample features and the target attribute, wherein the first sample inspection image corresponds to a first inspection device, and the first inspection device is any one of the first number of inspection devices;
[0024] Determine the sample feature whose correlation with the target attribute satisfies the first preset condition as the sample designated feature corresponding to the first inspection device, wherein the first preset condition is that the correlation is greater than or equal to a first correlation threshold;
[0025] The obtaining of sample feature indexes of a first number of sample inspection images corresponding to each sample user among the multiple sample users includes:
[0026] The sample feature index of each sample inspection image corresponding to the sample user is determined based on the feature value of at least one of the sample specified features in the target area of each sample inspection image corresponding to the sample user, and the correlation between each of the sample specified features and the target attribute.
[0027] Optionally, determining feature values of a fourth number of sample features in the target area of the first sample inspection image corresponding to each of the sample users, and correlations between the fourth number of sample features and the target attribute, includes:
[0028] generating an image to be extracted corresponding to the first sample inspection image corresponding to each sample user according to a target area of the first sample inspection image corresponding to the sample user;
[0029] Extracting feature values of a fourth number of the sample features included in the image to be extracted;
[0030] According to a preset regression algorithm, the feature values of a fourth number of the sample features in the target area of the first sample inspection image corresponding to each of the sample users and the true attribute value of the sample user are regressed to determine the correlation between each of the sample features and the target attribute.
[0031] Optionally, the determining the target areas of a first number of the sample inspection images corresponding to the sample user includes:
[0032] registering a designated sample inspection image and each other sample inspection image to obtain a registration relationship between the designated sample inspection image and each other sample inspection image, wherein the designated sample inspection image is the sample inspection image corresponding to a designated inspection device, and the other sample inspection image is any one of the first number of sample inspection images except the designated sample inspection image;
[0033] Determining a target area of the designated sample inspection image according to the annotation data corresponding to the designated sample inspection image;
[0034] The target area of each of the other sample inspection images is determined according to the registration relationship between the designated sample inspection image and each of the other sample inspection images, and the target area of the designated sample inspection image.
[0035] Optionally, the recognition model is obtained by training in the following manner:
[0036] Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition;
[0037] Determine a third number of sample inspection parameters corresponding to the sample user according to the sample feature indexes of the first number of sample inspection images corresponding to the sample user and the second number of sample inspection data corresponding to the sample user, and use the third number of sample inspection parameters as the sample input corresponding to the sample user, so as to obtain a sample input set including the sample input corresponding to each sample user, the sample inspection data being used to characterize the state of the sample user, and the sample inspection parameters being the sample feature indexes or the sample inspection data that satisfy the second preset condition with the target attribute;
[0038] Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user;
[0039] The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
[0040] According to a second aspect of an embodiment of the present disclosure, a device for processing inspection information is provided, the device comprising:
[0041] A first acquisition module is used to acquire a first number of inspection images and a second number of inspection data, wherein the first number of inspection images are obtained by photographing a designated part of a target user by a first number of inspection devices, each inspection image corresponds to a type of inspection device, and the inspection data is used to characterize the state of the target user;
[0042] A second acquisition module, used for acquiring a target area of each of the inspection images in a first number of the inspection images;
[0043] an extraction module, configured to extract, for each of the inspection images, a feature value of at least one designated feature in a target area of the inspection image, wherein the designated feature is determined according to the inspection device corresponding to the inspection image, and a correlation between the designated feature and a target attribute of the target area satisfies a first preset condition;
[0044] a determination module, configured to determine a feature index of each inspection image according to a feature value of at least one of the specified features in a target area of each inspection image;
[0045] A processing module is used to determine the recognition result of the target attribute according to the feature index of the first number of the inspection images, the second number of the inspection data and the pre-trained recognition model.
[0046] Optionally, the second acquisition module includes:
[0047] A determination submodule, configured to determine a target area of a specified inspection image according to annotation data corresponding to the specified inspection image, wherein the specified inspection image is the inspection image corresponding to a specified inspection device;
[0048] A registration submodule is used to determine the target area of each other inspection image based on the registration relationship between the designated inspection image and each other inspection image, and the target area of the designated inspection image, wherein the other inspection image is any inspection image in the first number of inspection images except the designated inspection image.
[0049] Optionally, the processing module includes:
[0050] a screening submodule, configured to determine a third number of inspection parameters according to the feature indexes of the first number of inspection images and the second number of inspection data, wherein the inspection parameters are the feature indexes or the inspection data whose correlation with the target attribute satisfies a second preset condition;
[0051] The processing submodule is used to use the third number of the inspection parameters as input of the recognition model to obtain the recognition result output by the recognition model.
[0052] Optionally, the recognition model is obtained by training in the following manner:
[0053] Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition;
[0054] Using the sample feature indexes of a first number of the sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user as sample inputs corresponding to the sample user, so as to obtain a sample input set including the sample inputs corresponding to each sample user, wherein the sample inspection data is used to characterize the state of the sample user;
[0055] Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user;
[0056] The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
[0057] Optionally, before obtaining the sample feature indexes of the first number of sample inspection images corresponding to each sample user among the multiple sample users, the recognition model is further trained in the following manner:
[0058] Acquire a first number of the sample inspection images corresponding to each of the sample users, and determine target areas of the first number of the sample inspection images corresponding to the sample user;
[0059] Determine feature values of a fourth number of sample features in a target area of a first sample inspection image corresponding to each of the sample users, and correlations between the fourth number of sample features and the target attribute, the first sample inspection image corresponding to a first inspection device, and the first inspection device is any one of the first number of inspection devices;
[0060] Determine the sample feature whose correlation with the target attribute satisfies the first preset condition as the sample designated feature corresponding to the first inspection device, wherein the first preset condition is that the correlation is greater than or equal to a first correlation threshold;
[0061] The obtaining of sample feature indexes of a first number of sample inspection images corresponding to each sample user among the multiple sample users includes:
[0062] The sample feature index of each sample inspection image corresponding to the sample user is determined based on the feature value of at least one of the sample specified features in the target area of each sample inspection image corresponding to the sample user, and the correlation between each of the sample specified features and the target attribute.
[0063] Optionally, determining feature values of a fourth number of sample features in the target area of the first sample inspection image corresponding to each of the sample users, and correlations between the fourth number of sample features and the target attribute, includes:
[0064] generating an image to be extracted corresponding to the first sample inspection image corresponding to each sample user according to a target area of the first sample inspection image corresponding to the sample user;
[0065] Extracting feature values of a fourth number of the sample features included in the image to be extracted;
[0066] According to a preset regression algorithm, the feature values of a fourth number of the sample features in the target area of the first sample inspection image corresponding to each of the sample users and the true attribute value of the sample user are regressed to determine the correlation between each of the sample features and the target attribute.
[0067] Optionally, the determining the target areas of a first number of the sample inspection images corresponding to the sample user includes:
[0068] registering a designated sample inspection image and each other sample inspection image to obtain a registration relationship between the designated sample inspection image and each other sample inspection image, wherein the designated sample inspection image is the sample inspection image corresponding to a designated inspection device, and the other sample inspection image is any one of the first number of sample inspection images except the designated sample inspection image;
[0069] Determining a target area of the designated sample inspection image according to the annotation data corresponding to the designated sample inspection image;
[0070] The target area of each of the other sample inspection images is determined according to the registration relationship between the designated sample inspection image and each of the other sample inspection images, and the target area of the designated sample inspection image.
[0071] Optionally, the recognition model is obtained by training in the following manner:
[0072] Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition;
[0073] Determine a third number of sample inspection parameters corresponding to the sample user according to the sample feature indexes of the first number of sample inspection images corresponding to the sample user and the second number of sample inspection data corresponding to the sample user, and use the third number of sample inspection parameters as the sample input corresponding to the sample user, so as to obtain a sample input set including the sample input corresponding to each sample user, the sample inspection data being used to characterize the state of the sample user, and the sample inspection parameters being the sample feature indexes or the sample inspection data that satisfy the second preset condition with the target attribute;
[0074] Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user;
[0075] The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
[0076] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the first aspect of the embodiment of the present disclosure are implemented.
[0077] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0078] a memory having a computer program stored thereon;
[0079] A processor is used to execute the computer program in the memory to implement the steps of the method described in the first aspect of the embodiment of the present disclosure.
[0080] Through the above technical solution, the present disclosure first obtains a first number of inspection images obtained by photographing the designated part of the target user by a first number of inspection devices, and a second number of inspection data that can characterize the state of the target user, and then determines the target area in each inspection image, and then extracts the feature value of at least one designated feature in the target area for each inspection image. Among them, the designated feature is determined according to the inspection device corresponding to the inspection image, and the correlation with the target attribute of the target area meets the first preset condition. Then, according to the feature value of the designated feature in the target area of each inspection image, the feature index of the inspection image is determined, and finally, according to the feature index of the first number of inspection images, the second number of inspection data and the pre-trained recognition model, the recognition result of the target attribute is determined. The present disclosure can extract the feature value of the designated feature related to the target attribute in the inspection image, thereby obtaining the corresponding feature index, and combine the feature index of the inspection image with the inspection data to identify the target attribute, thereby improving the recognition accuracy of the target attribute.
[0081] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0083] Figure 1is a flow chart showing a method for processing inspection information according to an exemplary embodiment;
[0084] Figure 2 is a flow chart showing another method for processing inspection information according to an exemplary embodiment;
[0085] Figure 3 is a flow chart showing another method for processing inspection information according to an exemplary embodiment;
[0086] Figure 4 is a flow chart showing a training recognition model according to an exemplary embodiment;
[0087] Figure 5 is a flowchart of another training recognition model according to an exemplary embodiment;
[0088] Figure 6 is a flowchart of another training recognition model according to an exemplary embodiment;
[0089] Figure 7 is a flowchart of another training recognition model according to an exemplary embodiment;
[0090] Figure 8 is a flowchart of another training recognition model according to an exemplary embodiment;
[0091] Fig. 9 is a block diagram of a device for processing inspection information according to an exemplary embodiment;
[0092] Fig.10 is a block diagram of another device for processing inspection information according to an exemplary embodiment;
[0093] Fig.11 is a block diagram of another device for processing inspection information according to an exemplary embodiment;
[0094] Fig.12 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0095] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0096] Figure 1is a flowchart of a method for processing inspection information according to an exemplary embodiment. Figure 1 As shown, the method may include the following steps:
[0097] Step 101, obtain a first number of inspection images and a second number of inspection data, the first number of inspection images are obtained by photographing designated parts of a target user by first number of inspection devices, each inspection image corresponds to one inspection device, and the inspection data are used to characterize the state of the target user.
[0098] For example, when the target user undergoes a physical examination, multiple examinations may be performed to obtain examination information. The examination information may include a first number of examination images and a second number of examination data, wherein the first number and the second number are both natural numbers greater than 1. The examination image may be understood as photographing a designated part of the target user (for example, the head, neck, chest, abdomen, upper limbs, lower limbs, etc.) using a first number of examination devices, thereby obtaining an image generated by each examination device. The examination device may be, for example, CT, PET, MRI, DR (English: Digital Radiography, Chinese: Digital X-ray Photography), DSA (English: Digital subtraction angiography, Chinese: Digital subtraction angiography), etc., and the corresponding examination image may be a CT image, a PET image, an MRI image, a DR image, a DSA image, etc. It should be noted that the examination image may be a two-dimensional image or a three-dimensional image, and the present disclosure does not impose specific restrictions on this. Inspection data can be understood as data that can characterize the state of the target user (which can be understood as clinical information) obtained by analyzing the target user's body fluids (e.g., blood, saliva, urine, etc.), tissues (e.g., epidermal tissue, hair, nails, etc.) using analytical instruments, test kits, etc. Inspection data can be, for example, blood parameters, hormone parameters, protein properties, gene sequences, etc.
[0099] Step 102: Acquire a target area of each inspection image in a first number of inspection images.
[0100] For example, the inspection image usually shows the global view of the designated part of the target user, while the doctor or user often needs to focus on a certain area of the designated part, that is, the target area. Therefore, the target area in each inspection image can be determined according to specific needs, so that in the subsequent processing, only the target area in each inspection image is processed. The method for determining the target area of each inspection image can be a manual segmentation method, in which the doctor manually marks the target area on the inspection image, which can be understood as ROI (English: Region of Interest), or it can be a pre-trained segmentation model. The inspection image is segmented to obtain the target area output by the segmentation model. The target area can also be extracted using preset edge segmentation, threshold segmentation, region segmentation, cluster segmentation and other algorithms, and the present disclosure does not make specific limitations on this.
[0101] Step 103, for each inspection image, extract a feature value of at least one specified feature in the target area of the inspection image, where the specified feature is determined according to the inspection device corresponding to the inspection image, and the correlation between the specified feature and the target attribute of the target area meets a first preset condition.
[0102] For example, since the target area of the inspection image contains a lot of information that cannot be obtained by human eye observation alone, in order to extract the information contained in the target area of each inspection image, the feature value of at least one specified feature in the target area of the inspection image can be extracted for each inspection image. Wherein, the specified feature can be understood as that the inspection image includes a large number of image features, such as: histogram features, gray level co-occurrence matrix, shape features, intensity features, texture features, edge features, etc., and the specified features that meet the first preset condition are screened out according to the correlation between each image feature and the target attribute of the target area. Wherein, the first preset condition can be greater than or equal to the first correlation threshold, that is, the specified feature is one or more image features that are most relevant to the target attribute among the large number of image features included in the inspection image, that is, the specified feature can better reflect the target attribute than other image features, or the specified feature has a greater impact on the target attribute, and it can also be understood that the specified feature is effective information for the target attribute. It should be noted that the target attribute of the target area can be understood as the attribute that the doctor or user is concerned about. Taking the target area as the area where the tumor is located as an example, the target attribute can be the property of the target area, and the attribute value of the target attribute can be benign or malignant. For another example, if the target area is the area where the blood vessels are located, then the target attribute can be the blockage of the target area, and the attribute value of the target attribute can be unobstructed or blocked. Alternatively, if the target area is the area where the bones are located, then the target attribute can be the density of the target area, and the attribute value of the target attribute can be high density or low density.
[0103] Furthermore, the designated features are determined according to the inspection device corresponding to the inspection image, and the inspection images captured by different inspection devices may have different corresponding extracted designated features. That is to say, when extracting features from a certain inspection image, the corresponding designated features are first determined according to the inspection device corresponding to the inspection image, and then the feature values of the corresponding designated features in the inspection image are extracted. A large number of sample inspection images captured by each inspection device can be collected in advance, and the correlation between a large number of image features included in the sample inspection images captured by the inspection device and the target attributes can be analyzed, so as to screen out designated features whose correlation meets the first preset condition.
[0104] For example, a sample inspection image taken by a certain inspection device includes three image features: histogram feature (expressed as F1), gray level co-occurrence matrix (expressed as F2) and shape feature (expressed as F3). The Lasso (English: Least absolute shrinkage and selection operator) regression algorithm or L1 regularization algorithm can be used to regress the feature values of the three image features corresponding to a large number of sample inspection images taken by the inspection device and the real attribute values of the target attributes (expressed as D) of the target areas in a large number of sample inspection images to obtain a linear relationship between the target attributes and the three image features: D = c1*F1+c2*F2+c3*F3, then the correlation between the histogram feature corresponding to the inspection device and the target attribute is c1, the correlation between the gray level co-occurrence matrix and the target attribute is c2, and the correlation between the shape feature and the target attribute is c3. If c1 and c3 are greater than the first correlation threshold, the histogram feature and the gray level co-occurrence matrix can be used as the designated features corresponding to the inspection device.
[0105] Step 104 : determining a feature index of each inspection image according to a feature value of at least one designated feature in the target area of each inspection image.
[0106] For example, after obtaining the feature value of at least one specified feature in the target area of each inspection image, the feature index of the inspection image can be determined using the feature value of at least one specified feature. The feature index can be understood as the radscore of the inspection image. Since the feature index is determined based on the feature value of the specified feature, the influence of the specified feature on the target attribute is integrated, that is, the feature index can reflect the influence of the inspection image on the target attribute as a whole. For example, the feature value of at least one specified feature in the target area of the inspection image can be weighted and summed to obtain the feature index. Among them, the weight corresponding to the feature value of each specified feature can be determined according to the correlation between the specified feature and the target attribute. For example, the two specified features in the target area of a certain inspection image are F1 and F3, and the corresponding feature values are f1 and f3. The correlations between F1 and F3 and the target attribute are c1 and c3 respectively, then the feature index of the inspection image is radscore=c1*f1+c3*f3.
[0107] Step 105 , determining a recognition result of a target attribute according to the feature indexes of the first number of inspection images, the second number of inspection data, and a pre-trained recognition model.
[0108] For example, the feature indexes of the first number of inspection images and the second number of inspection data can be used as inputs of the pre-trained recognition model, respectively, to obtain the recognition result of the target attribute output by the recognition model. The recognition result can be understood as the attribute value of the target attribute identified by the recognition model. Taking the target attribute as the property of the target area as an example, the recognition result can be that the attribute value of the target attribute is benign or malignant. For another example, the target attribute is the blockage of the target area, and the recognition result can be that the attribute value of the target attribute is unobstructed or blocked. The recognition model can be a model trained based on a large number of sample inspection images and a large number of sample inspection data taken by each inspection device collected in advance, for example, it can be a multi-factor logistic regression model, SVM (English: Support Vector Machines, Chinese: Support Vector Machine), random forest, decision tree, CNN (English: Convolutional Neural Networks, Chinese: Convolutional Neural Network), etc., which is not specifically limited in the present disclosure. In this way, by extracting the feature values of the specified features related to the target attributes in the first number of inspection images, the feature index of each inspection image is obtained to extract the information in the inspection image that is effective for the target attributes, and the feature indexes of the first number of inspection images are combined with the second number of inspection data, and the target attributes are identified using the recognition model, so that the recognition model can output the recognition results based on the information of the two dimensions of inspection image and inspection data, thereby improving the recognition accuracy of the target attributes.
[0109] In summary, the present disclosure first obtains a first number of inspection images obtained by photographing a designated part of a target user by a first number of inspection devices, and a second number of inspection data that can characterize the state of the target user, then determines the target area in each inspection image, and then extracts the feature value of at least one designated feature in the target area for each inspection image. The designated feature is determined according to the inspection device corresponding to the inspection image, and the correlation with the target attribute of the target area satisfies a first preset condition. Then, based on the feature value of the designated feature in the target area of each inspection image, the feature index of the inspection image is determined, and finally, based on the feature index of the first number of inspection images, the second number of inspection data and the pre-trained recognition model, the recognition result of the target attribute is determined. The present disclosure can extract the feature value of the designated feature related to the target attribute in the inspection image, thereby obtaining the corresponding feature index, and combine the feature index of the inspection image with the inspection data to identify the target attribute, thereby improving the recognition accuracy of the target attribute.
[0110] Figure 2 is a flowchart of another method for processing inspection information according to an exemplary embodiment. Figure 2 As shown, the implementation of step 102 may include:
[0111] Step 1021 , determining a target area of the designated inspection image according to the annotation data corresponding to the designated inspection image, wherein the designated inspection image is an inspection image corresponding to the designated inspection device.
[0112] Step 1022, determining the target area of each other inspection image according to the registration relationship between the designated inspection image and each other inspection image, and the target area of the designated inspection image, where the other inspection image is any inspection image in the first number of inspection images except the designated inspection image.
[0113] In one implementation, since each inspection image corresponds to a designated part of the target user, that is, each inspection image shows a designated part of the target user, a designated inspection device can be designated among the first number of inspection devices, and the designated inspection image corresponding to the designated inspection device is used as a reference, and then each other inspection image is aligned with the designated inspection image to obtain the alignment relationship between the designated inspection image and each other inspection image. Among them, the alignment relationship can be understood as the transformation matrix between the designated inspection image and each other inspection image. It should be noted that the inspection images taken by different inspection devices may have different amounts of information for different target areas, so the designated inspection device can be determined based on the target area. For example, the target area is the area where the blood vessels are located. Since the DSA image taken by the DSA device can clearly show the edge of the blood vessel, the DSA device can be used as the designated inspection device, and correspondingly, the DSA image can be used as the designated inspection image.
[0114] Afterwards, the target area of the designated inspection image can be determined according to the annotation data corresponding to the designated inspection image. The annotation data can be, for example, the ROI annotated by the doctor on the designated inspection image. After obtaining the target area of the designated inspection image, the target area of the designated inspection image is transformed to each other inspection image according to the registration relationship between the designated inspection image and each other inspection image to obtain the target area of each other inspection image.
[0115] It should be noted that the target area of the inspection image can be understood as the Mask matrix of the inspection image, which includes elements corresponding to the pixel points in the inspection image. If the element is 1, it means that the pixel point corresponding to the element belongs to the target area. If the element is 0, it means that the pixel point corresponding to the element does not belong to the target area.
[0116] Figure 3 is a flowchart showing another method for processing inspection information according to an exemplary embodiment. Figure 3 As shown, step 105 may include:
[0117] Step 1051, determining a third number of inspection parameters according to the feature indices of the first number of inspection images and the second number of inspection data, where the inspection parameters are feature indices or inspection data whose correlation with the target attribute meets a second preset condition.
[0118] Step 1052: Use the third number of inspection parameters as input to the recognition model to obtain a recognition result output by the recognition model.
[0119] For example, before the characteristic indexes of the first number of inspection images and the second number of inspection data are input into the recognition model, a third number of inspection parameters can be screened out, and the third number is less than or equal to the sum of the first number and the second number. The way to screen the inspection parameters can be to determine the characteristic index of each inspection image, the correlation of each inspection data with the target attribute respectively, and then use the characteristic index or inspection data whose correlation meets the second preset condition as the inspection parameter, that is, the inspection parameter can be the characteristic index or the inspection parameter. Among them, the second preset condition can be greater than or equal to the second correlation threshold, that is, the inspection parameter is the third number of parameters that are most relevant to the target attribute among the characteristic indexes of the first number of inspection images and the second number of inspection data, that is, the inspection parameter can better reflect the target attribute, or the inspection parameter has a greater impact on the target attribute. Specifically, the characteristic index of each inspection image and the correlation of each inspection data with the target attribute can be determined according to a large number of sample inspection images collected in advance in the manner of t-test or chi-square test, or the characteristic index of the first number of inspection images and the second number of inspection data can be regressed using the Lasso regression algorithm or the L1 regularization algorithm to determine the characteristic index of each inspection image and the correlation of each inspection data with the target attribute.
[0120] For example, three inspection images and two inspection data (i.e., the second number) taken by each user using three types of inspection equipment (i.e., the first number) of CT, DSA, and DR can be collected in advance from a large number of users. The characteristic indexes of the three inspection images are represented as radscore1, radscore2, and radscore3, respectively, and the two inspection data are the hemoglobin concentration and the white blood cell count, respectively. The target attribute is the blockage of the blood vessel. The correlation between radscore1, radscore2, and radscore3 and the blockage of the blood vessel, and the correlation between the hemoglobin concentration and the white blood cell count and the blockage of the blood vessel can be calculated using the chi-square test.
[0121] Finally, the screened third number of inspection parameters can be used as inputs of the recognition model to obtain the recognition results output by the recognition model. In this way, the amount of data processed by the recognition model can be further reduced on the basis of the feature indexes of the first number of inspection images and the second number of inspection data, thereby improving the recognition efficiency of the recognition model.
[0122] Figure 4 is a flowchart of a training recognition model according to an exemplary embodiment. Figure 4 As shown, the above recognition model can be trained in the following way:
[0123] Step 201, obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among multiple sample users, the first number of sample inspection images being obtained by photographing designated parts of the sample users by a first number of inspection devices, the sample feature index being determined based on a feature value of at least one sample designated feature in a target area of each sample inspection image, the sample designated feature being determined based on the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies a first preset condition.
[0124] Step 202, taking the sample feature index of a first number of sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user as the sample input corresponding to the sample user, so as to obtain a sample input set including the sample input corresponding to each sample user, and the sample inspection data is used to characterize the state of the sample user.
[0125] Step 203: Obtain a sample output set, where the sample output set includes a sample output corresponding to each sample input, and each sample output includes a true attribute value of a target attribute of a corresponding sample user.
[0126] For example, when training a recognition model, it is necessary to first obtain a sample input set and a sample output set. The sample input set includes sample inputs corresponding to each sample user among multiple sample users. The sample inputs corresponding to the sample user include: sample feature indices of a first number of sample inspection images corresponding to the sample user, and a second number of sample inspection data corresponding to the sample user. The sample output set includes sample outputs corresponding to each sample input, and each sample output includes the true attribute value of the target attribute of the corresponding sample user.
[0127] The sample inspection data is used to characterize the state of the sample user, and can be understood as data that can characterize the state of the sample user obtained by analyzing the body fluids, tissues, etc. of the sample user using an analytical instrument, a reagent kit, etc. The sample inspection image can be understood as an image generated by each inspection device by photographing a designated part of the sample user using a first number of inspection devices.
[0128] Further, the sample feature index of each sample inspection image is determined based on the feature value of at least one sample designated feature in the target area of the sample inspection image, the sample designated feature is determined based on the inspection device corresponding to the sample inspection image, and the correlation between the sample designated feature and the target attribute satisfies the first preset condition. The first preset condition may be greater than or equal to the first correlation threshold, that is, the sample designated feature is one or more image features that are most relevant to the target attribute among a large number of image features included in the sample inspection image, that is, the sample designated feature can better reflect the target attribute than other image features, or the sample designated feature has a greater impact on the target attribute.
[0129] Step 204: Use the sample input set as the input of the recognition model and use the sample output set as the output of the recognition model to train the recognition model.
[0130] When training the recognition model, the sample input set can be used as the input of the recognition model, and the sample output set can be used as the output of the recognition model for training, so that when the sample input set is input, the output of the recognition model can match the sample output set. For example, the difference (or mean square error) between the output of the recognition model and the sample output set can be used as the loss function of the recognition model. With the goal of reducing the loss function, the back propagation algorithm can be used to correct the parameters of the neurons in the recognition model. The parameters of the neurons can be, for example, the weights (English: Weight) and biases (English: Bias) of the neurons. Repeat the above steps until the loss function meets the preset conditions, such as the loss function is less than the preset loss threshold.
[0131] Furthermore, after obtaining the sample input set in step 202, the sample inputs included in the sample input set can also be normalized, and positive and negative samples can be balanced to obtain a processed sample input set, so that the processed sample input set is more universal. The processed sample input set can be used as the input of the recognition model, and the sample output set can be used as the output of the recognition model to train the recognition model. The processed sample input set can also be divided into a training sample input set and a test sample input set according to a preset ratio (for example, 7:3), and then the sample input set can be divided into a corresponding training sample output set and a test sample output set. Afterwards, the training sample input set is used as the input of the recognition model, and the training sample output set is used as the output of the recognition model to train the recognition model. Finally, the test sample input set can be used as the input of the trained recognition model, and the output of the trained recognition model can be compared with the test sample output set (for example, calculating the recall rate, specificity, precision, etc.) to evaluate the quality of the trained recognition model.
[0132] It should be noted that when training the recognition model, multiple sample users can be allocated according to a preset ratio and divided into a training set and a test set (or a training set, a test set, and a validation set). For example, if there are 5,000 sample users, 80% of the sample users can be used as a training set (including 4,000 sample users), and 20% of the sample users can be used as a test set (including 1,000 sample users). Afterwards, according to the sample feature index of the first number of sample inspection images corresponding to each sample user in the training set and the second number of sample inspection data corresponding to the sample user in the manner of steps 201 to 202, a training sample input set can be obtained, and then according to the true attribute value of the target attribute of each sample user in the training set in the manner of step 203, a training sample output set can be obtained. Afterwards, the training sample input set can be used as the input of the recognition model, and the training sample output set can be used as the output of the recognition model to train the recognition model.
[0133] At the same time, according to the method of step 201 to step 202, the test sample input set can be obtained according to the sample feature index of the first number of sample inspection images corresponding to each sample user in the test set and the second number of sample inspection data corresponding to the sample user, and then according to the method of step 203, the test sample output set can be obtained according to the real attribute value of the target attribute of each sample user in the test set. Afterwards, the test sample input set can be used as the input of the recognition model, and the recognition model can be tested according to the output of the recognition model and the test sample output set.
[0134] Figure 5 is a flowchart of another training recognition model according to an exemplary embodiment. Figure 5 As shown, before step 201, the above recognition model can also be obtained by training in the following manner:
[0135] Step 205 : acquiring a first number of sample inspection images corresponding to each sample user, and determining target areas of the first number of sample inspection images corresponding to the sample user.
[0136] Step 206, determine the feature values of the fourth number of sample features in the target area of the first sample inspection image corresponding to each sample user, and the correlation between the fourth number of sample features and the target attribute, the first sample inspection image corresponds to the first inspection device, and the first inspection device is any one of the first number of inspection devices.
[0137] For example, before obtaining the sample input set, the first number of sample inspection images corresponding to each sample user may be obtained, and then the target area of the first number of sample inspection images corresponding to the sample user may be determined. Specifically, the target area of a sample inspection image may be determined by manual segmentation, in which a doctor manually marks the ROI on the inspection image, or by using a pre-trained segmentation model to segment the sample inspection image to obtain the target area output by the segmentation model, or by using preset edge segmentation, threshold segmentation, region segmentation, cluster segmentation and other algorithms to extract the target area.
[0138] After determining the target area of the first number of sample inspection images corresponding to the sample user, the feature values of the fourth number of sample features in the target area of the first sample inspection image corresponding to the sample user and the correlation between the fourth number of sample features and the target attribute can be extracted for each sample user. The first sample inspection image corresponds to a first inspection device, and the first inspection device is any one of the first number of inspection devices. The sample features can be understood as the image features described above, such as histogram features, gray level co-occurrence matrix, shape features, intensity features, texture features, edge features, etc.
[0139] Step 207 : Determine the sample features whose correlation with the target attribute meets the first preset condition as the sample designated features corresponding to the first inspection device, wherein the first preset condition is that the correlation is greater than or equal to the first correlation threshold.
[0140] For example, at least one sample-specified feature is selected from the fourth number of sample features, wherein the sample-specified feature is a sample feature whose correlation with the target attribute satisfies the first preset condition. In other words, the sample-specified feature is one or more sample features that are most relevant to the target attribute from the fourth number of sample features. That is, the sample-specified feature can better reflect the target attribute than other sample features, or the sample-specified feature has a greater impact on the target attribute.
[0141] Accordingly, step 201 may be implemented as follows:
[0142] The sample feature index of each sample inspection image corresponding to the sample user is determined according to the feature value of at least one sample specified feature in the target area of each sample inspection image corresponding to the sample user and the correlation between each sample specified feature and the target attribute.
[0143] For example, the sample feature index of each sample inspection image corresponding to the sample user can be obtained by weighted summing the feature value of at least one sample designated feature in the target area of each inspection image corresponding to the sample user, wherein the weight corresponding to each sample designated feature can be the correlation between the sample designated feature and the target attribute. For example, the three sample designated features in the target area of a sample inspection image are intensity feature (expressed as F4), texture feature (expressed as F5) and edge feature (expressed as F6), and the corresponding feature values are f4, f5 and f6, and the correlations between F4, F5 and F6 and the target attribute are c4, c5 and c6 respectively, then the sample feature index of the sample inspection image is radscore'=c4*f4+c5*f5+c6*f6.
[0144] Figure 6 is a flowchart of another training recognition model according to an exemplary embodiment. Figure 6 As shown, the implementation of step 206 may include:
[0145] Step 2061 : generating an image to be extracted corresponding to the first sample inspection image corresponding to each sample user according to the target area of the first sample inspection image corresponding to the sample user.
[0146] Step 2062: extract feature values of a fourth number of sample features included in the image to be extracted.
[0147] For example, before extracting the feature values of the fourth number of sample features, the target area of the first sample inspection image corresponding to each sample user may be preprocessed to generate an image to be extracted corresponding to the first sample inspection image. For example, the image to be extracted may include an original image corresponding to the target area of the first sample inspection image, or may include a wavelet image after wavelet transformation of the target area of the first sample inspection image, or may include a Gaussian image after Gaussian filtering of the target area of the first sample inspection image. Afterwards, the feature values of the fourth number of sample features included in the image to be extracted may be extracted.
[0148] Step 2063, according to a preset regression algorithm, regress the feature values of the fourth number of sample features in the target area of the first sample inspection image corresponding to each sample user and the real attribute value of the sample user to determine the correlation between each sample feature and the target attribute.
[0149] For example, according to a preset regression algorithm, the feature values of the fourth number of sample features in the target area of the first sample inspection image corresponding to each sample user are used as input, and the real attribute value of each sample user is used as output to perform regression, thereby obtaining the correlation between each sample feature and the target attribute. The regression algorithm can be, for example, a Lasso regression algorithm or an L1 regularization algorithm.
[0150] Take 5000 sample users, the first inspection device is DSA, the first sample inspection image is a DSA image, the target attribute is the blockage of the blood vessels, and the fourth quantity is 15 as an example. Then, in step 205, the target area of each DSA image in the 5000 DSA images is obtained. According to the target area of the 5000 DSA images, 5000 images to be extracted are generated, and the characteristic values of the 15 sample features included in each of the 5000 images to be extracted are extracted respectively, that is, a 5000*15 input matrix is obtained, each row in the input matrix corresponds to the characteristic values of the 15 sample features included in the image to be extracted, and each column corresponds to a sample feature of the 5000 images to be extracted. The real attribute values (unobstructed or blocked) of the blockage of the blood vessels of the 5000 sample users are taken as a 5000*1 output matrix. Using the Lasso regression algorithm, the input matrix and the output matrix are regressed to obtain the coefficients of the 15 sample features, that is, the correlation between each sample feature and the target attribute.
[0151] Figure 7 is a flowchart of another training recognition model according to an exemplary embodiment. Figure 7 As shown, determining the target area of each sample inspection image corresponding to the sample user in step 205 may include:
[0152] Step 2051, align the specified sample inspection image and each other sample inspection image to obtain a registration relationship between the specified sample inspection image and each other sample inspection image, the specified sample inspection image is a sample inspection image corresponding to the specified inspection device, and the other sample inspection image is any sample inspection image in the first number of sample inspection images except the specified sample inspection image.
[0153] Step 2052: Determine the target area of the specified sample inspection image according to the annotation data corresponding to the specified sample inspection image.
[0154] Step 2053: Determine the target area of each other sample inspection image according to the registration relationship between the designated sample inspection image and each other sample inspection image, and the target area of the designated sample inspection image.
[0155] For example, for the same sample user, since each sample inspection image corresponds to a designated part of the sample user, that is, each sample inspection image shows a designated part of the sample user, a designated inspection device can be designated among the first number of inspection devices, and the designated sample inspection image corresponding to the designated inspection device is used as a reference, and then each other sample inspection image is registered with the designated sample inspection image to obtain a registration relationship between the designated sample inspection image and each other sample inspection image. The registration relationship can be understood as a transformation matrix between the designated inspection image and each other inspection image.
[0156] Afterwards, the target area of the specified sample inspection image can be determined according to the annotation data corresponding to the specified sample inspection image. The annotation data can be, for example, the ROI annotated by the doctor on the specified sample inspection image. After obtaining the target area of the specified sample inspection image, the target area of the specified sample inspection image is transformed to each other sample inspection image according to the registration relationship between the specified sample inspection image and each other sample inspection image, so as to obtain the target area of each other sample inspection image.
[0157] Figure 8 is a flowchart of another training recognition model according to an exemplary embodiment. Figure 8 As shown, the above recognition model can also be trained in the following way:
[0158] Step 301, obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among multiple sample users, the first number of sample inspection images being obtained by photographing designated parts of the sample users by a first number of inspection devices, the sample feature index being determined based on a feature value of at least one sample designated feature in a target area of each sample inspection image, the sample designated feature being determined based on the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies a first preset condition.
[0159] Step 302, based on the sample feature index of the first number of sample inspection images corresponding to the sample user and the second number of sample inspection data corresponding to the sample user, determine the third number of sample inspection parameters corresponding to the sample user, and use the third number of sample inspection parameters as the sample input corresponding to the sample user to obtain a sample input set including the sample input corresponding to each sample user, the sample inspection data is used to characterize the state of the sample user, and the sample inspection parameters are the sample feature index or sample inspection data that meets the second preset condition with the target attribute.
[0160] Step 303: Obtain a sample output set, where the sample output set includes a sample output corresponding to each sample input, and each sample output includes a true attribute value of a target attribute of a corresponding sample user.
[0161] For example, when training the recognition model, it is necessary to first obtain a sample input set and a sample output set. The sample input set includes sample inputs corresponding to each sample user among multiple sample users. The sample output set includes sample outputs corresponding to each sample input, and each sample output includes the true attribute value of the target attribute of the corresponding sample user. The sample input corresponding to the sample user includes: a third number of sample inspection parameters corresponding to the sample user. Among them, the sample inspection parameter is the sample feature index of the first number of sample inspection images corresponding to the sample user, and the sample feature index or sample inspection data of the second number of sample inspection data corresponding to the sample user that meets the second preset condition with the target attribute. In this way, the amount of data processed by the recognition model can be further reduced on the basis of the sample feature index of the first number of sample inspection images and the second number of sample inspection data, thereby improving the training efficiency of the recognition model. Among them, the second preset condition is that the correlation is greater than or equal to the second correlation threshold. The method for determining the sample feature index of the first number of sample inspection images corresponding to the sample user is the same as the method for determining the sample feature index in step 201, and will not be repeated here.
[0162] Step 304: Use the sample input set as the input of the recognition model and use the sample output set as the output of the recognition model to train the recognition model.
[0163] The specific method of training the recognition model according to the sample input set and the sample output set in this embodiment is the same as the training method in step 204, and will not be repeated here.
[0164] In summary, the present disclosure first obtains a first number of inspection images obtained by photographing a designated part of a target user by a first number of inspection devices, and a second number of inspection data that can characterize the state of the target user, then determines the target area in each inspection image, and then extracts the feature value of at least one designated feature in the target area for each inspection image. The designated feature is determined according to the inspection device corresponding to the inspection image, and the correlation with the target attribute of the target area satisfies a first preset condition. Then, based on the feature value of the designated feature in the target area of each inspection image, the feature index of the inspection image is determined, and finally, based on the feature index of the first number of inspection images, the second number of inspection data and the pre-trained recognition model, the recognition result of the target attribute is determined. The present disclosure can extract the feature value of the designated feature related to the target attribute in the inspection image, thereby obtaining the corresponding feature index, and combine the feature index of the inspection image with the inspection data to identify the target attribute, thereby improving the recognition accuracy of the target attribute.
[0165] Fig. 9 is a block diagram of a device for processing inspection information according to an exemplary embodiment. Fig. 9 As shown, the device 400 includes:
[0166] The first acquisition module 401 is used to acquire a first number of inspection images and a second number of inspection data. The first number of inspection images are obtained by photographing designated parts of a target user by first number of inspection devices. Each inspection image corresponds to one inspection device. The inspection data is used to characterize the state of the target user.
[0167] The second acquisition module 402 is used to acquire a target area of each inspection image in the first number of inspection images.
[0168] The extraction module 403 is used to extract the feature value of at least one specified feature in the target area of each inspection image, where the specified feature is determined according to the inspection device corresponding to the inspection image, and the correlation between the specified feature and the target attribute of the target area meets the first preset condition.
[0169] The determination module 404 is configured to determine a feature index of each inspection image according to a feature value of at least one specified feature in the target area of the inspection image.
[0170] The processing module 405 is used to determine the recognition result of the target attribute according to the feature indexes of the first number of inspection images, the second number of inspection data and the pre-trained recognition model.
[0171] Fig.10 is a block diagram of another apparatus for processing inspection information according to an exemplary embodiment. Fig.10As shown, the second acquisition module 402 may include:
[0172] The determination submodule 4021 is used to determine the target area of the specified inspection image according to the annotation data corresponding to the specified inspection image, and the specified inspection image is the inspection image corresponding to the specified inspection device.
[0173] The registration submodule 4022 is used to determine the target area of each other inspection image based on the registration relationship between the specified inspection image and each other inspection image, and the target area of the specified inspection image. The other inspection image is any inspection image in the first number of inspection images except the specified inspection image.
[0174] Fig.11 is a block diagram of another apparatus for processing inspection information according to an exemplary embodiment. Fig.11 As shown, the processing module 405 may include:
[0175] The screening submodule 4051 is used to determine a third number of inspection parameters based on the feature indices of the first number of inspection images and the second number of inspection data, where the inspection parameters are feature indices or inspection data whose correlation with the target attribute meets a second preset condition.
[0176] The processing submodule 4052 is used to use the third number of inspection parameters as input of the recognition model to obtain a recognition result output by the recognition model.
[0177] In one application scenario, the above recognition model can be trained in the following way:
[0178] Step 1) obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing a designated part of the sample user by a first number of inspection devices, and the sample feature index is determined based on a feature value of at least one sample designated feature in a target area of each sample inspection image, the sample designated feature is determined based on the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies a first preset condition.
[0179] Step 2) The sample feature indexes of a first number of sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user are used as sample inputs corresponding to the sample user to obtain a sample input set including sample inputs corresponding to each sample user, and the sample inspection data are used to characterize the state of the sample user.
[0180] Step 3) Obtain a sample output set, where the sample output set includes a sample output corresponding to each sample input, and each sample output includes a true attribute value of a target attribute of a corresponding sample user.
[0181] Step 4) Using the sample input set as the input of the recognition model and the sample output set as the output of the recognition model to train the recognition model.
[0182] In another application scenario, before step 1), the above recognition model can also be trained in the following way:
[0183] Step 5) Acquire a first number of sample inspection images corresponding to each sample user, and determine the target areas of the first number of sample inspection images corresponding to the sample user.
[0184] Step 6) Determine the feature values of a fourth number of sample features in the target area of the first sample inspection image corresponding to each sample user, and the correlation between the fourth number of sample features and the target attribute, the first sample inspection image corresponds to a first inspection device, and the first inspection device is any one of the first number of inspection devices.
[0185] Step 7) The sample features whose correlation with the target attribute meets the first preset condition are determined as the sample designated features corresponding to the first inspection device, and the first preset condition is that the correlation is greater than or equal to the first correlation threshold.
[0186] Accordingly, step 1) may be implemented as follows:
[0187] The sample feature index of each sample inspection image corresponding to the sample user is determined according to the feature value of at least one sample specified feature in the target area of each sample inspection image corresponding to the sample user and the correlation between each sample specified feature and the target attribute.
[0188] In another application scenario, step 6) may include:
[0189] Firstly, according to the target area of the first sample inspection image corresponding to each sample user, an image to be extracted corresponding to the first sample inspection image corresponding to the sample user is generated.
[0190] Afterwards, feature values of a fourth number of sample features included in the image to be extracted are extracted.
[0191] Finally, according to a preset regression algorithm, the feature values of the fourth number of sample features in the target area of the first sample inspection image corresponding to each sample user and the true attribute value of the sample user are regressed to determine the correlation between each sample feature and the target attribute.
[0192] In another application scenario, step 5) may include:
[0193] First, the designated sample inspection image and each other sample inspection image are registered to obtain a registration relationship between the designated sample inspection image and each other sample inspection image, where the designated sample inspection image is a sample inspection image corresponding to a designated inspection device, and the other sample inspection images are any sample inspection images in the first number of sample inspection images except the designated sample inspection image.
[0194] Afterwards, the target area of the designated sample inspection image is determined according to the annotation data corresponding to the designated sample inspection image.
[0195] Finally, according to the registration relationship between the designated sample inspection image and each other sample inspection image, and the target area of the designated sample inspection image, the target area of each other sample inspection image is determined.
[0196] In another application scenario, the above recognition model can be trained in the following way:
[0197] Step 8) Obtain sample feature indexes of a first number of sample inspection images corresponding to each sample user among multiple sample users, the first number of sample inspection images being obtained by photographing designated parts of the sample user by a first number of inspection devices, the sample feature index being determined based on a feature value of at least one sample designated feature in a target area of each sample inspection image, the sample designated feature being determined based on the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies a first preset condition.
[0198] Step 9) Determine a third number of sample inspection parameters corresponding to the sample user based on the sample feature index of a first number of sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user, and use the third number of sample inspection parameters as the sample input corresponding to the sample user to obtain a sample input set including the sample input corresponding to each sample user, the sample inspection data is used to characterize the state of the sample user, and the sample inspection parameters are sample feature indexes or sample inspection data that meet the second preset condition with the target attribute.
[0199] Step 10) Obtain a sample output set, where the sample output set includes a sample output corresponding to each sample input, and each sample output includes a true attribute value of a target attribute of a corresponding sample user.
[0200] Step 11) Using the sample input set as the input of the recognition model and using the sample output set as the output of the recognition model to train the recognition model.
[0201] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0202] In summary, the present disclosure first obtains a first number of inspection images obtained by photographing a designated part of a target user by a first number of inspection devices, and a second number of inspection data that can characterize the state of the target user, then determines the target area in each inspection image, and then extracts the feature value of at least one designated feature in the target area for each inspection image. The designated feature is determined according to the inspection device corresponding to the inspection image, and the correlation with the target attribute of the target area satisfies a first preset condition. Then, based on the feature value of the designated feature in the target area of each inspection image, the feature index of the inspection image is determined, and finally, based on the feature index of the first number of inspection images, the second number of inspection data and the pre-trained recognition model, the recognition result of the target attribute is determined. The present disclosure can extract the feature value of the designated feature related to the target attribute in the inspection image, thereby obtaining the corresponding feature index, and combine the feature index of the inspection image with the inspection data to identify the target attribute, thereby improving the recognition accuracy of the target attribute.
[0203] Fig.12 FIG. 5 is a block diagram of an electronic device 500 according to an exemplary embodiment. Fig.12 As shown, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input / output (I / O) interface 504, and a communication component 505.
[0204] The processor 501 is used to control the overall operation of the electronic device 500 to complete all or part of the steps in the above-mentioned inspection information processing method. The memory 502 is used to store various types of data to support the operation of the electronic device 500, and these data may include, for example, instructions for any application or method used to operate on the electronic device 500, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 502 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 502 or sent through the communication component 505. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 504 provides an interface between the processor 501 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 505 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0205] In an exemplary embodiment, the electronic device 500 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned inspection information processing method.
[0206] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned method for processing inspection information are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 502 including program instructions, and the above-mentioned program instructions can be executed by the processor 501 of the electronic device 500 to complete the above-mentioned method for processing inspection information.
[0207] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned method for processing inspection information when executed by the programmable device.
[0208] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0209] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0210] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for processing inspection information, characterized in that: The method comprises: Acquire a first number of inspection images and a second number of inspection data, wherein the first number of inspection images are obtained by photographing a designated part of a target user by a first number of inspection devices, each inspection image corresponds to a type of inspection device, and the inspection data is used to characterize the state of the target user; Acquire a target area of each of the inspection images in a first number of the inspection images; For each of the inspection images, extract a feature value of at least one designated feature in a target area of the inspection image, where the designated feature is determined according to the inspection device corresponding to the inspection image, and a correlation between the designated feature and a target attribute of the target area satisfies a first preset condition, where the first preset condition is that the correlation is greater than or equal to a first correlation threshold; determining a feature index of each inspection image according to a feature value of at least one of the specified features in the target area of the inspection image; The recognition result of the target attribute is determined according to the feature indexes of the first number of the inspection images, the second number of the inspection data and a pre-trained recognition model.
2. The method according to claim 1, characterized in that: The step of acquiring a target area of each of the inspection images in the first number of the inspection images comprises: Determining a target area of a designated inspection image according to annotation data corresponding to the designated inspection image, wherein the designated inspection image is the inspection image corresponding to a designated inspection device; The target area of each of the other inspection images is determined based on the registration relationship between the inspection image and each other inspection image, and the target area of the designated inspection image. The other inspection image is any inspection image in the first number of inspection images except the designated inspection image.
3. The method according to claim 1, characterized in that Determining the recognition result of the target attribute according to the feature indexes of the first number of the inspection images, the second number of the inspection data and the pre-trained recognition model includes: Determining a third number of inspection parameters according to the feature indices of the first number of inspection images and the second number of inspection data, wherein the inspection parameters are the feature indices or the inspection data whose correlation with the target attribute satisfies a second preset condition; A third number of the inspection parameters are used as input of the recognition model to obtain the recognition result output by the recognition model.
4. The method according to any one of claims 1 to 3, characterized in that The recognition model is obtained by training in the following way: Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition; Using the sample feature indexes of a first number of the sample inspection images corresponding to the sample user and a second number of sample inspection data corresponding to the sample user as sample inputs corresponding to the sample user, so as to obtain a sample input set including the sample inputs corresponding to each sample user, wherein the sample inspection data is used to characterize the state of the sample user; Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user; The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
5. The method according to claim 4, characterized in that Before obtaining the sample feature indexes of the first number of sample inspection images corresponding to each sample user among the multiple sample users, the recognition model is also trained in the following manner: Acquire a first number of the sample inspection images corresponding to each of the sample users, and determine target areas of the first number of the sample inspection images corresponding to the sample user; Determine feature values of a fourth number of sample features in a target area of a first sample inspection image corresponding to each of the sample users, and correlations between the fourth number of sample features and the target attribute, wherein the first sample inspection image corresponds to a first inspection device, and the first inspection device is any one of the first number of inspection devices; Determine the sample feature whose correlation with the target attribute satisfies the first preset condition as the sample specified feature corresponding to the first inspection device; The obtaining of sample feature indexes of a first number of sample inspection images corresponding to each sample user among the multiple sample users includes: The sample feature index of each sample inspection image corresponding to the sample user is determined based on the feature value of at least one of the sample specified features in the target area of each sample inspection image corresponding to the sample user, and the correlation between each of the sample specified features and the target attribute.
6. The method according to claim 5, characterized in that The determining of feature values of a fourth number of sample features in the target area of the first sample inspection image corresponding to each of the sample users, and the correlation between the fourth number of sample features and the target attribute, includes: generating an image to be extracted corresponding to the first sample inspection image corresponding to each sample user according to a target area of the first sample inspection image corresponding to the sample user; Extracting feature values of a fourth number of the sample features included in the image to be extracted; According to a preset regression algorithm, the feature values of a fourth number of the sample features in the target area of the first sample inspection image corresponding to each of the sample users and the true attribute value of the sample user are regressed to determine the correlation between each of the sample features and the target attribute.
7. The method according to claim 5, characterized in that The determining of the target areas of the first number of the sample inspection images corresponding to the sample user includes: registering a designated sample inspection image and each other sample inspection image to obtain a registration relationship between the designated sample inspection image and each other sample inspection image, wherein the designated sample inspection image is the sample inspection image corresponding to a designated inspection device, and the other sample inspection image is any one of the first number of sample inspection images except the designated sample inspection image; Determining a target area of the designated sample inspection image according to the annotation data corresponding to the designated sample inspection image; The target area of each of the other sample inspection images is determined according to the registration relationship between the designated sample inspection image and each of the other sample inspection images, and the target area of the designated sample inspection image.
8. The method according to claim 3, characterized in that The recognition model is obtained by training in the following way: Obtaining sample feature indexes of a first number of sample inspection images corresponding to each sample user among a plurality of sample users, wherein the first number of sample inspection images are obtained by photographing the designated part of the sample user by the inspection device in a first number of times, and the sample feature index is determined according to a feature value of at least one sample designated feature in a target area of each of the sample inspection images, the sample designated feature is determined according to the inspection device corresponding to the sample inspection image, and a correlation between the sample designated feature and the target attribute satisfies the first preset condition; Determine a third number of sample inspection parameters corresponding to the sample user according to the sample feature indexes of the first number of sample inspection images corresponding to the sample user and the second number of sample inspection data corresponding to the sample user, and use the third number of sample inspection parameters as the sample input corresponding to the sample user, so as to obtain a sample input set including the sample input corresponding to each sample user, the sample inspection data being used to characterize the state of the sample user, and the sample inspection parameters being the sample feature indexes or the sample inspection data that satisfy the second preset condition with the target attribute; Acquire a sample output set, wherein the sample output set includes a sample output corresponding to each of the sample inputs, and each of the sample outputs includes a true attribute value of the target attribute of the corresponding sample user; The sample input set is used as the input of the recognition model, and the sample output set is used as the output of the recognition model to train the recognition model.
9. A device for processing inspection information, characterized in that: The device comprises: A first acquisition module is used to acquire a first number of inspection images and a second number of inspection data, wherein the first number of inspection images are obtained by photographing a designated part of a target user by a first number of inspection devices, each inspection image corresponds to a type of inspection device, and the inspection data is used to characterize the state of the target user; A second acquisition module, used for acquiring a target area of each of the inspection images in a first number of the inspection images; an extraction module, configured to extract, for each of the inspection images, a feature value of at least one designated feature in a target area of the inspection image, wherein the designated feature is determined according to the inspection device corresponding to the inspection image, and a correlation between the designated feature and a target attribute of the target area satisfies a first preset condition, wherein the first preset condition is that the correlation is greater than or equal to a first correlation threshold; a determination module, configured to determine a feature index of each inspection image according to a feature value of at least one of the specified features in a target area of each inspection image; A processing module is used to determine the recognition result of the target attribute according to the feature index of the first number of the inspection images, the second number of the inspection data and the pre-trained recognition model.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.
11. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 8.
