Machine vision-based psoriasis example feature recognition method and device

By applying machine vision technology in psoria diagnosis, three-dimensional fusion analysis of skin surface images and psoriatic skin section images are solved, and the accuracy and consistency problems in psoria diagnosis are achieved, and accurate identification and quantitative analysis of psoriasis level are achieved.

CN119863439AActive Publication Date: 2025-04-22THE FIRST HOSPITAL OF HUNAN UNIV OF CHINESE MEDICINE (CLINICAL RES INST OF TRADITIONAL CHINESE MEDICINE)

Patent Information

Application Number
CN202411927201.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-22
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

The prior art has problems with accuracy and consistency in the identification of psoriasis characteristics, and lacks standardized data and quantitative analysis capabilities, resulting in diagnosis difficulties and inconvenient condition tracking.

Method used

Using a machine vision-based method, the skin surface image and the preset psoriatic skin section image are used to perform three-dimensional fusion analysis of the surface and section images of the preset psoriatic skin section images to achieve accurate recognition of the psoriasis level.

Benefits of technology

It improves the accuracy and consistency of psoriasis condition identification, provides quantitative analysis results, and enhances the ability of disease tracking and data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119863439A_ABST
    Figure CN119863439A_ABST
Patent Text Reader

Abstract

The invention provides a psoriasis example feature recognition method and device based on machine vision, belongs to the technical field of artificial intelligence, and aims to realize accurate psoriasis condition recognition. The method comprises the following steps: acquiring a skin surface image of an object by the electronic equipment, wherein the skin surface image comprises a patient area of psoriasis of the object; the electronic device performs surface and section three-dimensional fusion analysis on the skin surface image and a preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, and the analysis result of the object indicates the psoriasis level of the object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for identifying psoriasis case features based on machine vision. Background Art

[0002] At present, the diagnosis of psoriasis is still mainly based on clinical observation, relying on the doctor's experience and naked eye judgment. However, the symptoms of psoriasis are diverse, and different patients show different symptoms in terms of lesion area, lesion morphology, and degree of coverage of scales, making accurate diagnosis difficult. In addition, there is no unified standard for assessing the severity of psoriasis. Traditional scoring methods such as the Psoriasis Area and Severity Index (PASI) usually rely on manual measurement, which is time-consuming and labor-intensive, and is highly subjective, which is not conducive to long-term tracking and data analysis of the disease.

[0003] With the development of machine vision and deep learning technology, automated analysis of medical images has gradually become possible. Image recognition and machine learning technologies have shown significant advantages in the auxiliary diagnosis of various diseases. For example, high accuracy and efficiency have been achieved in the early screening of diseases such as cancer and diabetic retinopathy. The future trend is to introduce these advanced image processing and analysis methods into the diagnosis of skin diseases, especially feature recognition and disease tracking for psoriasis, to improve the objectivity and standardization of diagnosis.

[0004] Although machine vision and deep learning technologies are widely used in other medical imaging fields, there are still many difficulties in the feature recognition of psoriasis: Accuracy and consistency: The morphology of psoriasis lesions is complex and changeable, and is greatly affected by skin type, lighting conditions, and lesion location. Traditional image processing methods have difficulty dealing with these interferences, often resulting in insufficient recognition accuracy. Lack of standardized data: The training of deep learning models relies on a large amount of labeled data, but in the field of psoriasis, due to limited labeled data resources and the complexity of psoriasis lesion types, the generalization ability of the model is not high, and the stability is poor in practical applications. Difficulty of quantitative analysis: Traditional diagnostic methods are mostly qualitative descriptions and lack quantitative indicators. It is difficult for doctors to comprehensively evaluate characteristics such as lesion area and lesion thickness, which hinders the objective tracking of psoriasis disease progression and efficacy.

[0005] Therefore, the current research question is how to achieve accurate psoriasis condition identification through machine vision. Summary of the invention

[0006] The embodiment of the present invention provides a method and device for identifying psoriasis case features based on machine vision, so as to achieve accurate identification of psoriasis condition.

[0007] In order to achieve the above object, the present invention adopts the following technical scheme:

[0008] In a first aspect, a method for identifying psoriasis case features based on machine vision is provided, which is applied to an electronic device, the method comprising: the electronic device acquires a skin surface image of an object, the skin surface image includes a psoriasis-affected area of ​​the object; the electronic device performs a three-dimensional fusion analysis of the surface and the section of the skin surface image and a preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, the analysis result of the object indicating the psoriasis level of the object.

[0009] Optionally, the electronic device performs a three-dimensional fusion analysis of the surface and the cross-section of the skin surface image and the preset psoriasis skin cross-section image through a deep neural network model to obtain an analysis result of the object, including: the electronic device convolves the skin surface image through a first convolution layer of the deep neural network model to obtain a first feature vector set; the electronic device convolves the psoriasis skin cross-section image through a second convolution layer of the deep neural network model to obtain a second feature vector set; the electronic device fuses the first feature vector set and the second feature vector set through a feature fusion layer of the deep neural network model to obtain a fused feature vector set; the electronic device processes the fused feature vector set through a feature processing layer of the deep neural network model to obtain an analysis result of the object.

[0010] Optionally, the skin surface image includes a first end and a second end of a corresponding pair, and a third end and a fourth end of a corresponding pair, and the electronic device convolves the skin surface image through a first convolution layer of a deep neural network model to obtain a first feature vector set, including: a convolution kernel of the first convolution layer is initially located at the first end of the skin surface image, and the electronic device uses the convolution kernel of the first convolution layer to convolve the skin surface image once along a first direction and from the third end to the fourth end of the skin surface image to obtain a feature vector sequence; thereafter, the electronic device steps the convolution kernel along a second direction by a preset step size, and uses the convolution kernel to continue to convolve along the first direction and from the skin surface image The skin surface image is convolved again from the first end to the second end of the image to obtain a feature vector sequence; and so on, until the electronic device steps the convolution kernel along the second direction to the second end, and then uses the convolution kernel to continue to convolve the skin surface image along the first direction and from the first end to the second end of the skin surface image to obtain a feature vector sequence, until the first convolution layer obtains a total of multiple feature vector sequences through convolution, the first feature vector set includes multiple feature vector sequences, and the number of the multiple feature vector sequences is the number of times the convolution kernel steps plus one; wherein the first direction is the direction of the psoriasis skin section, and the second direction is perpendicular to the first direction.

[0011] Optionally, the electronic device fuses the first feature vector set and the second feature vector set through a feature fusion layer of a deep neural network model to obtain a fused feature vector set, including: the electronic device determines, through the feature fusion layer, a partial feature vector sequence in the first feature vector set that can be used for fusion; the electronic device fuses the partial feature vector sequence with the second feature vector set through the feature fusion layer to obtain a fused feature vector set.

[0012] Optionally, the electronic device determines, through the feature fusion layer, a partial feature vector sequence in the first feature vector set that can be used for fusion, including: the second feature vector set includes a continuous feature vector sequence, and the electronic device determines, through the feature fusion layer, a degree of correlation between each of the multiple feature vector sequences and the continuous feature vector sequence; the electronic device determines, through the feature fusion layer, K feature vector sequences with the largest K degrees of correlation from the multiple feature vector sequences, the K feature vector sequences are partial feature vector sequences that can be used for fusion, and K is an integer greater than 1; or; the electronic device selects, through the feature fusion layer, a feature vector sequence as a partial feature vector sequence that can be used for fusion at intervals of a preset number of feature vector sequences, and sequentially selects K feature vector sequences that can be used for fusion from the multiple feature vector sequences.

[0013] Optionally, the degree of correlation between any one of the multiple feature vector sequences and the continuous feature vector sequence satisfies the following relationship:

[0014]

[0015] Among them, μ represents the degree of correlation, l represents any feature vector sequence among multiple feature vector sequences, L represents a continuous feature vector sequence, and α is a preset parameter.

[0016] Optionally, the electronic device fuses part of the feature vector sequence with the second feature vector set through a feature fusion layer to obtain a fused feature vector set, including: for the i-th feature vector sequence in the K feature vector sequences, i is any integer from 1 to K; the electronic device divides the continuous feature vector sequence into M feature vector sequences through the feature fusion layer, M is an integer greater than 1; the electronic device embeds the i-th feature vector sequence between every two adjacent feature vector sequences in the M feature vector sequences through the feature fusion layer to obtain a fused feature vector sequence, and when i traverses from 1 to K, K fused feature vector sequences are obtained, and the fused feature vector set includes the K fused feature vector sequences;

[0017] Optionally, the electronic device embeds the ith feature vector sequence between every two adjacent feature vector sequences in M ​​feature vector sequences through a feature fusion layer to obtain a fused feature vector sequence, including: the electronic device embeds the ith feature vector sequence between every two adjacent feature vector sequences in M ​​feature vector sequences through a feature fusion layer to obtain an initial feature vector sequence; the electronic device adds a connection parameter between the ith feature vector sequence and each feature vector sequence in the M feature vectors in the initial feature vector sequence through the feature fusion layer to obtain a fused feature vector sequence, and the vector value of the connection parameter is between the ith feature vector sequence and each feature vector sequence in the M feature vectors.

[0018] Optionally, the method also includes: the electronic device pads the length of each feature vector sequence not used for fusion in the first feature vector set to the same as the fused feature vector sequence through a feature fusion layer, thereby obtaining a padded feature vector sequence, and the fused feature vector set also includes the padded feature vector sequence.

[0019] In a second aspect, a device for identifying psoriasis case features based on machine vision is provided, and the device is configured as follows: the device obtains a skin surface image of an object, and the skin surface image includes a psoriasis-affected area of ​​the object; the device performs a three-dimensional fusion analysis of the surface and the section of the skin surface image and a preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, and the analysis result of the object indicates the psoriasis level of the object.

[0020] The device is specifically configured to execute the functions of the method described in the first aspect above. Please refer to the method described in the first aspect above for understanding, and will not be repeated here.

[0021] In a third aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer is caused to execute the method described in the first aspect.

[0022] According to a fourth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, causes the computer to execute the method described in the first aspect.

[0023] In summary, the above method and system have the following technical effects:

[0024] When the electronic device obtains a skin surface image of a psoriasis-affected area of ​​a subject, the electronic device performs a three-dimensional surface and section fusion analysis on the skin surface image and a preset psoriasis skin section image through a deep neural network model, i.e., spatially integrates the surface and depth for analysis, which has better robustness and can obtain an analysis object result that accurately indicates the psoriasis level of the subject, i.e., achieves accurate psoriasis condition identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic diagram of a process for identifying psoriasis case features based on machine vision provided in an embodiment of the present application;

[0026] Figure 2A , Figure 2B , Figure 2C and Figure 2D A schematic diagram of a skin surface image in a psoriasis case feature recognition method based on machine vision provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of a deep neural network model in a method for identifying psoriasis case features based on machine vision provided in an embodiment of the present application;

[0028] Figure 4A and Figure 4B A schematic diagram of a psoriasis skin section image in a psoriasis case feature recognition method based on machine vision provided in an embodiment of the present application;

[0029] Figure 5A and Figure 5B A schematic diagram of convolution in a method for identifying psoriasis case features based on machine vision provided in an embodiment of the present application;

[0030] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The present invention will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the drawings. In addition, combinations of these schemes may also be used.

[0032] In the embodiment of the present invention, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the first indication information, the second indication information, or the third indication information, etc. below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be realized by means of the arrangement order of each information agreed in advance (such as specified by the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each information can also be identified and uniformly indicated to reduce the indication overhead caused by indicating the same information separately.

[0033] In addition, the specific indication method may also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can refer to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, different indication methods may be used for different information. In the specific implementation process, the desired indication method can be selected according to specific needs. The embodiment of the present invention does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present invention should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.

[0034] It should be understood that the information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiment of the present invention. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.

[0035] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present invention do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or a communication device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or a communication device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present invention.

[0036] The "protocol" involved in the embodiments of the present invention may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol applied in future communication systems, and the embodiments of the present invention do not specifically limit this.

[0037] In the embodiments of the present invention, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, but do not limit the time, nor do they require the device to perform judgment actions when implementing, nor do they mean the existence of other limitations.

[0038] In the description of the embodiments of the present invention, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the embodiments of the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c, or at least one of a, b or c, can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the differences. At the same time, in the embodiments of the present invention, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for easy understanding.

[0039] For example, Figure 1 The present invention provides a schematic flow chart of a method for identifying psoriasis case features based on machine vision. The method can be applied to electronic devices.

[0040] like Figure 1 As shown, the process of the psoriasis case feature recognition method based on machine vision is as follows:

[0041] S101, an electronic device obtains a skin surface image of a subject.

[0042] The skin surface image includes a psoriasis affected area of ​​the subject. The subject may be a psoriasis patient. The skin surface image may be obtained by photographing the affected area on the skin of the psoriasis patient using a photographing device (such as a camera). For example, an example of a skin surface image may be as follows: Figure 2A , Figure 2B , Figure 2C and Figure 2DAs shown, the affected area of ​​psoriasis is usually in the form of blocks or spots. The photographing device can send the photographed skin surface image to the electronic device.

[0043] S102, the electronic device performs a three-dimensional fusion analysis of the surface and the cross-section of the skin surface image and the preset psoriasis skin cross-section image through a deep neural network model to obtain an analysis result of the object.

[0044] like Figure 3 As shown, the deep neural network model may include a first convolutional layer, a second convolutional layer, a feature fusion layer and a feature processing layer. The first convolutional layer and the second convolutional layer are connected to the feature fusion layer, and the feature fusion layer is connected to the feature processing layer. The first convolutional layer and the second convolutional layer may be existing convolutional layer structures. The embodiment of the present application does not improve the structure. The difference is that the deep neural network model is dual-channel, that is, the skin surface image and the psoriasis skin section image are input simultaneously. The input skin surface image is input to the first convolutional layer for processing, and the psoriasis skin section image is input to the second convolutional layer for processing. The feature fusion layer is used to fuse the features output by the first convolutional layer with the features output by the second convolutional layer. For specific implementation, refer to the relevant introduction below. The feature processing layer may include a pooling layer, a fully connected layer and an output layer, which may be implemented using existing technologies.

[0045] The psoriasis skin section image may be a preset image, that is, an image preset in the electronic device. The psoriasis skin section image is obtained by photographing a psoriasis skin section through a microscope. The psoriasis skin section may be a sample section, not from the above patient. An example of a psoriasis skin section image may be as follows: Figure 4A and Figure 4B shown.

[0046] On this basis, S102 includes the following steps:

[0047] S1: The electronic device may convolve the skin surface image through the first convolution layer of the deep neural network model to obtain a first feature vector set.

[0048] like Figure 5A As shown, Figure 2AFor example, the skin surface image includes the first end and the second end of the corresponding pair, and the third end and the fourth end of the corresponding pair. The convolution kernel of the first convolution layer is initially located at the first end of the skin surface image. The electronic device uses the convolution kernel of the first convolution layer to convolve the skin surface image once along the first direction and from the third end to the fourth end of the skin surface image to obtain a feature vector sequence. Afterwards, the electronic device steps the convolution kernel along the second direction with a preset step length, and uses the convolution kernel to continue to convolve the skin surface image along the first direction from the first end to the second end of the skin surface image to obtain a feature vector sequence; and so on, until the electronic device steps the convolution kernel along the second direction to the second end, and then uses the convolution kernel to continue to convolve the skin surface image along the first direction from the first end to the second end of the skin surface image to obtain a feature vector sequence, until the first convolution layer obtains a total of multiple feature vector sequences through convolution, and the first feature vector set includes multiple feature vector sequences, and the number of multiple feature vector sequences is the number of times the convolution kernel steps plus one. Among them, the first direction is the direction of the psoriasis skin section, and the second direction is perpendicular to the first direction. That is to say, Figure 5B As shown, the convolution kernel can first move from top to bottom for convolution, then step to the left by a preset step size, and then move from top to bottom for convolution until the convolution is completed, that is, it moves to the lower right corner of the image, that is, Figure 5A The position of the convolution kernel when the convolution is completed.

[0049] The above convolution method is to ensure that each feature vector sequence can be convolved with the psoriasis skin section image to obtain a feature vector sequence that is consistent in spatial dimension, that is, the direction of the psoriasis skin section, so that subsequent feature fusion analysis can be performed.

[0050] S2: The electronic device convolves the psoriasis skin section image through the second convolutional layer of the deep neural network model to obtain a second feature vector set.

[0051] The above S2 can be implemented using existing technologies without limitation.

[0052] S3: The electronic device fuses the first feature vector set and the second feature vector set through a feature fusion layer of the deep neural network model to obtain a fused feature vector set.

[0053] The electronic device can determine the partial feature vector sequences that can be used for fusion in the first feature vector set through the feature fusion layer. For example, the second feature vector set includes a continuous feature vector sequence, and the electronic device determines the degree of correlation between each of the multiple feature vector sequences and the continuous feature vector sequence through the feature fusion layer. The electronic device determines the K feature vector sequences with the largest correlation from the multiple feature vector sequences through the feature fusion layer, and the K feature vector sequences are partial feature vector sequences that can be used for fusion, and K is an integer greater than 1. Alternatively, the electronic device selects a feature vector sequence as a partial feature vector sequence that can be used for fusion every preset number (such as 1 or 2) of feature vector sequences through the feature fusion layer, and sequentially selects K feature vector sequences that can be used for fusion from the multiple feature vector sequences. In this way, it can be ensured that the K feature vector sequences selected for fusion also contain sequences with a high degree of correlation with the continuous feature vector sequence.

[0054] The correlation degree between any one of the multiple feature vector sequences and the continuous feature vector sequence satisfies the following equation (1):

[0055]

[0056] Among them, μ represents the degree of correlation, L represents any feature vector sequence in multiple feature vector sequences, L represents a continuous feature vector sequence, and α is a preset parameter. The specific value can be set according to the actual situation. The setting of α is to avoid distortion of the calculation results.

[0057] The electronic device can fuse part of the feature vector sequence with the second feature vector set through the feature fusion layer to obtain a fused feature vector set. For example, for the i-th feature vector sequence in the K feature vector sequences, i is any integer from 1 to K. The electronic device can divide the continuous feature vector sequence into M feature vector sequences through the feature fusion layer, where M is an integer greater than 1, and the value of M can be preset. The larger the value of M is, the higher the coupling degree of the fused features is, the greater the calculation overhead is, but the robustness of the result is also higher. Conversely, the smaller the value of M is, the lower the coupling degree of the fused features is, the smaller the calculation overhead is, but the robustness of the result is correspondingly lower. Reasonably, M can be set to 4 or 6 to take into account both overhead and robustness. The electronic device can embed the i-th feature vector sequence between every two adjacent feature vector sequences in the M feature vector sequences through the feature fusion layer to obtain a fused feature vector sequence. When i traverses from 1 to K, K fused feature vector sequences are obtained, and the fused feature vector set includes K fused feature vector sequences.

[0058] Specifically, the electronic device embeds the ith feature vector sequence between every two adjacent feature vector sequences in M ​​feature vector sequences through the feature fusion layer to obtain an initial feature vector sequence; the electronic device adds a connection parameter between the ith feature vector sequence and each feature vector sequence in the M feature vectors in the initial feature vector sequence through the feature fusion layer to obtain a fused feature vector sequence, and the vector value of the connection parameter (such as including multiple vectors, the values ​​of these multiple vectors) is between the ith feature vector sequence and each feature vector sequence in the M feature vectors, that is, the value of an endpoint vector of the ith feature vector sequence gradually approaches the value of an endpoint vector of an adjacent feature vector sequence, which can increase the smoothness of the sequence and thus improve the robustness of processing.

[0059] The M feature vector sequences include sequence #1 (L1, L2, L3, L4), sequence #2 (L5, L6, L7, L8), and sequence #3 (L9, L10, L11, L12). The i-th feature vector sequence is x1, x2, x3, x4...xN, where N is an integer greater than 4. A fused feature vector sequence is as follows:

[0060] L1,L2,L3,L4,y1,y2,y3,x1,x2,x3,x4...xN,y4,y5,L5,L6,L7,L8,y6,y7,y8,x1,x2,x3,x4...xN,y9,y10,L9,L10,L11,L12.

[0061] Among them, L, y, and x all represent vectors, y1 to y10 are connection parameters, the vector values ​​of y1, y2, and y3 gradually approach the vector value of y1 from the vector value of L4, and the vector values ​​of y4 and y5 gradually approach the vector value of L5 from the vector value of xN. The same applies to others, which will not be repeated here.

[0062] The method further includes:

[0063] The electronic device uses the feature fusion layer to pad the length of each feature vector sequence not used for fusion in the first feature vector set to the same as the fused feature vector sequence, to obtain the padded feature vector sequence, such as adding a 0 vector at the end of each feature vector sequence not used for fusion. The fused feature vector set also includes the padded feature vector sequence to ensure format consistency and facilitate subsequent processing.

[0064] S4: The electronic device processes the fused feature vector set through the feature processing layer of the deep neural network model to obtain the analysis result of the object.

[0065] The analysis result of the subject indicates the psoriasis level of the subject, such as 10 levels from mild to severe, and the analysis result may indicate any one of the 10 levels.

[0066] It can be understood that the above is the application process of the model. For the training process, the difference between the analysis result of the object and the actual level of the object can be used to regress the feature processing layer until the model converges.

[0067] In summary, when the electronic device obtains a skin surface image of the psoriasis-affected area of ​​the object, the electronic device performs a three-dimensional fusion analysis of the skin surface image and a preset psoriasis skin section image through a deep neural network model, i.e., spatially integrates the surface and depth for analysis, which has better robustness and can obtain analysis object results that accurately indicate the psoriasis level of the object, i.e., achieve accurate psoriasis condition identification.

[0068] The above is a detailed description of a psoriasis case feature recognition method based on machine vision provided by an embodiment of the present invention in combination with Figure 2. The following is a detailed description of a psoriasis case feature recognition device based on machine vision provided by an embodiment of the present invention, which is configured as follows: the device acquires a skin surface image of an object, the skin surface image includes the psoriasis affected area of ​​the object; the device performs a three-dimensional fusion analysis of the surface and the section of the skin surface image and a preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, and the analysis result of the object indicates the psoriasis level of the object.

[0069] The device is specifically configured to perform the above Figure 1 The functions of the method shown are specifically referred to above Figure 1 The method shown can be understood and will not be repeated here.

[0070] Figure 6 The electronic device provided in the embodiment of the present invention is a schematic diagram of the structure of the electronic device. For example, the electronic device may be a terminal device, or a chip (system) or other components or assemblies that can be set in the terminal device. Figure 6 As shown, the electronic device 400 may include a processor 401. Optionally, the electronic device 400 may also include a memory 402 and / or a transceiver 403. The processor 401 is coupled to the memory 402 and the transceiver 403, such as being connected via a communication bus. In addition, the electronic device 400 may also be a chip, such as including the processor 401, in which case the transceiver may be an output and input interface of the chip.

[0071] Combine the following Figure 6 The components of the electronic device 400 are specifically introduced as follows:

[0072] The processor 401 is the control center of the electronic device 400, and may be a processor or a general term for multiple processing elements. For example, the processor 401 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0073] Optionally, the processor 401 can execute various functions of the electronic device 400 by running or executing a software program stored in the memory 402 and calling data stored in the memory 402, such as executing the dynamic update method of the radar control software shown in Figure 2 above.

[0074] In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as Figure 6 CPU0 and CPU1 are shown in FIG.

[0075] In a specific implementation, as an embodiment, the electronic device 400 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer programs or instructions).

[0076] The memory 402 is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor 401. The specific implementation method can refer to the above method embodiment, which will not be repeated here.

[0077] Optionally, the memory 402 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 402 may be integrated with the processor 401, or may exist independently and access the computer through the interface circuit ( Figure 6 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present invention.

[0078] The transceiver 403 is used for communication with other electronic devices. For example, if the electronic device 400 is a terminal device, the transceiver 403 can be used to communicate with a network device, or with another terminal device. For another example, if the electronic device 400 is a network device, the transceiver 403 can be used to communicate with a terminal device, or with another network device.

[0079] Optionally, the transceiver 403 may include a receiver and a transmitter ( Figure 6 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0080] Optionally, the transceiver 403 may be integrated with the processor 401, or may exist independently and communicate with the electronic device 400 through an interface circuit ( Figure 6 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present invention.

[0081] Understandably, Figure 6 The structure of the electronic device 400 shown in the figure does not constitute a limitation on the electronic device, and the actual electronic device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.

[0082] In addition, the technical effects of the electronic device 400 can refer to the technical effects of the methods described in the above method embodiments, which will not be repeated here.

[0083] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0084] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0085] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0086] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0087] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0088] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0089] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0090] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0091] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0093] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0094] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0095] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for identifying psoriasis case features based on machine vision, characterized in that: Applied to electronic equipment, the method comprises: The electronic device acquires a skin surface image of the subject, wherein the skin surface image includes a psoriasis affected area of ​​the subject; The electronic device performs a three-dimensional fusion analysis of the surface and the cross-section of the skin surface image and the preset psoriasis skin cross-section image through a deep neural network model to obtain an analysis result of the object, and the analysis result of the object indicates the psoriasis level of the object.

2. The method according to claim 1, characterized in that The electronic device performs a three-dimensional fusion analysis of the surface and the section of the skin and the preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, including: The electronic device convolves the skin surface image through the first convolution layer of the deep neural network model to obtain a first feature vector set; The electronic device convolves the psoriasis skin section image through the second convolution layer of the deep neural network model to obtain a second feature vector set; The electronic device fuses the first feature vector set and the second feature vector set through a feature fusion layer of the deep neural network model to obtain a fused feature vector set; The electronic device processes the fused feature vector set through the feature processing layer of the deep neural network model to obtain an analysis result of the object.

3. The method according to claim 2, characterized in that The skin surface image includes a first end and a second end of a corresponding pair, and a third end and a fourth end of a corresponding pair, and the electronic device convolves the skin surface image through a first convolution layer of the deep neural network model to obtain a first feature vector set, including: The convolution kernel of the first convolution layer is initially located at the first end of the skin surface image, and the electronic device uses the convolution kernel of the first convolution layer to convolve the skin surface image once along the first direction and from the third end to the fourth end of the skin surface image to obtain a feature vector sequence; Afterwards, the electronic device steps the convolution kernel along the second direction by a preset step length, and uses the convolution kernel to continue to convolve the skin surface image again along the first direction and from the first end to the second end of the skin surface image, to obtain a feature vector sequence; And so on, until the electronic device steps the convolution kernel along the second direction to the second end, and then uses the convolution kernel to continue to convolve the skin surface image along the first direction from the first end to the second end of the skin surface image, to obtain a feature vector sequence, until the first convolution layer obtains a total of multiple feature vector sequences through convolution, the first feature vector set includes the multiple feature vector sequences, and the number of the multiple feature vector sequences is the number of times the convolution kernel steps plus one; Wherein, the first direction is the direction of the psoriasis skin section, and the second direction is perpendicular to the first direction.

4. The method according to claim 3, characterized in that: The electronic device fuses the first feature vector set and the second feature vector set through the feature fusion layer of the deep neural network model to obtain a fused feature vector set, including: The electronic device determines, through the feature fusion layer, a partial feature vector sequence in the first feature vector set that can be used for fusion; The electronic device fuses the partial feature vector sequence with the second feature vector set through the feature fusion layer to obtain the fused feature vector set.

5. The method according to claim 4, characterized in that The electronic device determines, through the feature fusion layer, a partial feature vector sequence in the first feature vector set that can be used for fusion, including: The second feature vector set includes a continuous feature vector sequence, and the electronic device determines the degree of correlation between each of the multiple feature vector sequences and the continuous feature vector sequence through the feature fusion layer; The electronic device determines, through the feature fusion layer, K feature vector sequences with the largest correlation degree from the multiple feature vector sequences, the K feature vector sequences are the partial feature vector sequences that can be used for fusion, and K is an integer greater than 1; or; The electronic device selects K feature vector sequences that can be used for fusion from the multiple feature vector sequences in sequence by using the feature fusion layer, in a manner that one feature vector sequence is selected as a partial feature vector sequence that can be used for fusion at every interval of a preset number of feature vector sequences.

6. The method according to claim 5, characterized in that The degree of correlation between any one of the plurality of feature vector sequences and the continuous feature vector sequence satisfies the following relationship: Among them, μ represents the correlation degree, l represents any feature vector sequence among the multiple feature vector sequences, L represents the continuous feature vector sequence, and α is a preset parameter.

7. The method according to claim 5, characterized in that The electronic device fuses the partial feature vector sequence with the second feature vector set through the feature fusion layer to obtain the fused feature vector set, including: For the i-th feature vector sequence among the K feature vector sequences, i is any integer from 1 to K; The electronic device divides the continuous feature vector sequence into M feature vector sequences through the feature fusion layer, where M is an integer greater than 1; The electronic device embeds the i-th feature vector sequence between every two adjacent feature vector sequences in the M feature vector sequences through the feature fusion layer to obtain a fused feature vector sequence, and when i is traversed from 1 to K, K fused feature vector sequences are obtained, and the fused feature vector set includes the K fused feature vector sequences.

8. The method according to claim 7, characterized in that The electronic device embeds the i-th feature vector sequence between every two adjacent feature vector sequences in the M feature vector sequences through the feature fusion layer to obtain a fused feature vector sequence, including: The electronic device embeds the i-th feature vector sequence between every two adjacent feature vector sequences in the M feature vector sequences through the feature fusion layer to obtain an initial feature vector sequence; The electronic device adds a connection parameter between the i-th feature vector sequence and each feature vector sequence in the M feature vectors in the initial feature vector sequence through the feature fusion layer to obtain a fused feature vector sequence, and the vector value of the connection parameter is between the i-th feature vector sequence and each feature vector sequence in the M feature vectors.

9. The method according to claim 7 or 8, characterized in that: The method further comprises: The electronic device uses the feature fusion layer to pad the length of each feature vector sequence in the first feature vector set that is not used for fusion to the same length as the fused feature vector sequence, thereby obtaining a padded feature vector sequence. The fused feature vector set also includes the padded feature vector sequence.

10. A device for identifying psoriasis case features based on machine vision, characterized in that: The device is configured to: The device acquires a skin surface image of a subject, wherein the skin surface image includes a psoriasis affected area of ​​the subject; The device performs a three-dimensional fusion analysis of the surface and the section of the skin and a preset psoriasis skin section image through a deep neural network model to obtain an analysis result of the object, and the analysis result of the object indicates the psoriasis level of the object.

Citation Information

Patent Citations

  • Image recognition method and related product

    CN109447981A

  • Multi-modal medical data fusion evaluation method and device, equipment and storage medium

    CN113870259A

  • Ship management method based on neural network

    CN118736489A

  • Convolutional neural network-based coal rock structure damage classification method and device

    CN119006878A

  • System and method for evaluating severity of psoriasis

    CN119069087A

Cited By

  • Mobile phone screen backlight foreign matter defect diagnosis method and system

    CN120525829A

  • A mobile phone screen backlight foreign matter defect diagnosis method and system

    CN120525829B