Skin Diseases Diagnosic System

The integrated system with AI and deep learning analyzes skin lesions using an endoscope and mobile phone, addressing diagnostic inefficiencies by providing rapid, accurate results and alerts, thus improving treatment efficiency.

SA1020254761A1Pending Publication Date: 2026-09-24ALHARBI ZAID ALI H +5
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA1020254761
Authority / Receiving Office
SA · SA
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-01
Publication Date
2026-09-24
Estimated Expiration
2045-07-01

AI Technical Summary

Technical Problem

Existing diagnostic methods for skin lesions lack accuracy and efficiency, particularly in distinguishing between benign and malignant conditions, and often require multiple tests and equipment, leading to delays in treatment.

Method used

An integrated system utilizing an endoscope with advanced sensors and a control unit employing AI and deep learning to analyze high-resolution images, incorporating color, shape, texture, and acoustic data for precise lesion characterization, and generating rapid diagnostic results, with mobile phone integration for remote applications.

Benefits of technology

Enhances diagnostic accuracy and speed, reducing the need for additional tests and enabling timely intervention by providing immediate, comprehensive diagnostic outputs and alerts, facilitating efficient patient care and follow-up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 043E6CA5-0657-417C-8854-5D7C50672BB5
    Figure 043E6CA5-0657-417C-8854-5D7C50672BB5
  • Figure CAB9E8E7-998F-4EC2-853F-DE63EBAF218F
    Figure CAB9E8E7-998F-4EC2-853F-DE63EBAF218F
  • Figure D0B57421-29E9-4C11-AFCA-73ED441A5355
    Figure D0B57421-29E9-4C11-AFCA-73ED441A5355
Patent Text Reader

Abstract

The present invention relates to surgical instruments, devices, or techniques, and in particular, skin disease diagnostic systems. It includes: the control unit (2), which acts as the analytical brain of the system. It receives high-resolution medical images captured by the endoscope (3) from the patient's skin (5), then processes, analyzes, and produces the initial diagnostic results (6) on the screen (4). The control unit (2) relies on artificial intelligence, most notably computer vision technology for image processing and detecting subtle patterns such as edges, colors, and texture using convolutional neural networks, in addition to deep learning techniques that rely on advanced neural networks trained on thousands of medical images in order to increase the level of accuracy as more data becomes available.The control unit also includes an expert-supported system based on diagnostic rules derived from clear medical protocols for interpreting diagnostic results (6). This process includes several key elements, the most important of which is color, which is used to identify the dominant colors within the skin lesion. The second characteristic is the degree and / or size of the depth and / or protrusion of the lesion. The invention aims to improve the accuracy of early diagnosis of skin diseases by processing images and analyzing patterns accurately using artificial intelligence, thus significantly reducing the burden on the health system, as shown in Figure (1).
Need to check novelty before this filing date? Find Prior Art

Description

Figure (1) shows a preferred representation of the general components of the system (1). The control unit (2) acts as the analytical brain of the system, receiving high-resolution medical images captured by the endoscope (3) from the patient's skin (5), then processing and analyzing them and producing the initial diagnostic results (6) on the screen (4). The control unit (2) relies on artificial intelligence, most notably computer vision technology for image processing and detecting subtle patterns such as edges, colors, and textures using convolutional neural networks. It also employs deep learning techniques based on advanced neural networks trained on thousands of medical images to increase accuracy as more data becomes available. Furthermore, the control unit incorporates an expert-supported system based on diagnostic rules derived from clear medical protocols for interpreting the diagnostic results (6).The key characteristics of image analysis are essential for understanding the details of the skin lesion and accurately diagnosing it using the control unit (2). This unit receives images captured by the endoscope (3), which is used to examine the patient's skin (5). It then analyzes these images and extracts the diagnostic results (6), which are clearly displayed on the screen (4) for the physician to review immediately. This process includes several essential elements, the most important of which is color. Color is used to identify the dominant colors within the skin lesion because some diseases have distinctive color patterns, such as vitiligo, which appears as light patches, moles, which are usually brown or black, or some skin tumors, which are characterized by multiple colors within a single spot. This is achieved by converting the image into a color model that matches how the human eye perceives color, then calculating the average color, color distribution, and areas of contrast. The second characteristic is the degree and / or depth and / or prominence of the lesion. The precise area of ​​the lesion is measured after its boundaries are defined using the control unit (2). The area is then converted from image units to a real-world measurement, such as millimeters, to determine the progression of the disease in terms of expansion or contraction. This is crucial in cases of skin tumors.The characteristic of shape or irregularity is used to analyze the lesion's external borders by drawing a clear outline and extracting shape features such as symmetry, border regularity, and perimeter-to-area ratio. This is because cancerous tumors often have irregular borders, while benign moles are characterized by smooth, rounded edges. Surface texture is also an important characteristic. Control Unit (2) reveals details of the skin surface within the lesion to determine its smoothness or roughness and the pattern of spots and lines. Some diseases, such as psoriasis, have distinct rough scales, while eczema has a cracked or dry texture, and some tumors have a heterogeneous texture. Finally, all these values ​​and characteristics are linked within the control unit (2) within an intelligent analytical model to compare the patterns with each other and generate diagnostic results (6) that appear on the screen (4). For example, if the lesion is small, uniformly brown in color, and has smooth borders, it is most likely a benign mole. However, if the lesion is medium-sized, has a gradient color, rough borders, and a rough texture, it may be an indication of a serious skin disease and requires urgent referral, which helps the doctor to provide a more accurate diagnosis and follow up on the case efficiently.After the control unit (2) analyzes the images captured via the endoscope (3) of the patient's skin (5), it generates diagnostic results (6) that are clearly displayed on the screen (4). These outputs include detailed medical reports specifying the type and severity of the skin lesion, with the option to print a hard copy containing an illustrative image and basic information about the case. The control unit (2) also enables the issuance of a preliminary printed prescription containing a QR code for the medication, allowing the patient to scan the code and submit it electronically or send it directly to an authorized pharmacy for dispensing the medication without delay or error. The report includes another code for documenting and later tracking the patient's data within the system (1). Furthermore, the screen (4) can generate visual or audible alerts to notify the physician if a critical condition requiring urgent referral to a specialist is detected, thus enhancing the speed of intervention and improving the efficiency of patient care (5). Figure (2) shows a preferred embodiment of the improved endoscope (3) for accurately identifying the skin lesion, as it has been equipped with a set of advanced sensors that are directly connected to the endoscope (3), to work in an integrated manner to collect accurate information about the condition of the skin.This includes a contact thermometer and temperature sensor (7), which measures skin surface temperature and texture to detect any changes indicative of inflammation or abnormal growths; a moisture sensor (8), which monitors skin moisture levels and helps differentiate between various skin conditions such as dryness or infection; and an ultrasound sensor (9), which generates an internal image of the lesion by emitting low-frequency sound waves and analyzing their reflections to determine depth and internal structure. This data is transmitted directly to the control unit (2), which processes and analyzes it. The diagnostic results (6) are then displayed on the screen (4) in real time, allowing the physician to clearly and accurately follow all details during the examination. This integrated system provides an efficient and rapid diagnostic tool, reducing the need for additional tests and contributing to faster treatment decision-making.Figure (3) illustrates a preferred example of remote initial diagnosis, where a mobile phone (10) is used as an alternative to an endoscope (3) in situations requiring more flexible solutions or field application. The phone is equipped with a special application that allows high-resolution images of the skin lesion to be captured using its built-in camera. These images are then transmitted via communication signals (11) to the control unit (2) for analysis. The application provides automatic guidance for the user to adjust the shooting angle, lighting quality, and optimal distance from the skin to ensure the accuracy of the transmitted image. After receiving the images via communication signals (11), the control unit (2) processes the data, diagnoses the skin condition, and generates diagnostic results (6) that are displayed on the screen (4) and shared with the phone (10). This method is useful for home applications or in remote areas where access to advanced medical equipment is limited, enabling patients to receive an accurate remote initial assessment and facilitating follow-up and intervention by physicians when necessary, without delay.If the control unit (2) cannot reach a clear diagnosis based on the images captured by the mobile phone (10), due to poor image quality or the absence of sufficient diagnostic features, the system (1) automatically suggests booking an appointment through the application interface. An alert is displayed on the screen (4) indicating the need for a more detailed examination using an endoscope (3), with the option to select the nearest available appointment at the clinic or send a notification to the specialist. This case is recorded in the system (1) and linked to the patient's data (5) to ensure the completion of the diagnosis and follow-up, thus enhancing the efficiency of medical procedures and reducing the likelihood of overlooking cases requiring accurate evaluation.In one implementation example, the control unit (2) performs a multi-stage processing sequence to transform the data captured by the endoscope (3) into diagnostic results (6). The sequence begins by receiving the digital image of the skin lesion and performing preprocessing that includes correcting uneven illumination, reducing noise, and standardizing illumination intensity and color values. Next, the lesion area is defined using an image segmentation algorithm, such as adaptive thresholding and / or border and edge detection. This is followed by the extraction of a set of visual features. The visual features include vectors representing color distribution, average color, and color contrast; the lesion area and perimeter; the perimeter-to-area ratio; symmetry and border regularity indices; and texture indices extracted using the co-occurrence matrix of gray levels and / or texture analysis filters. This results in a visual feature vector, denoted as the vector.In a deep learning-based implementation example, the processed image is fed into a convolutional neural network consisting of a series of convolutional layers to extract spatial features, followed by clustering layers to reduce dimensions, and then fully connected layers for classification. An output layer uses a multi-class probability function to generate probabilities for diagnostic categories. The network can employ nonlinear activation units between layers, enabling it to automatically learn patterns associated with color, shape, and texture. In another example, the convolutional neural network automatically extracts visual features and then integrates these with numerical features extracted from lesion measurements and sensors using fully connected layers. This allows the model to simultaneously receive visual and physical information. The model is trained using medical images and associated data labeled with available diagnostic categories. A cross-entropy loss function is used to adjust the network weights using a backpropagation algorithm and an Adam optimization algorithm. This allows the model weights to learn the relationship between the extracted features and the diagnostic outcome.After training is complete, the model weights are stored in the control unit (2) and are used when a new image is input to calculate the probabilities of the diagnostic classes and their associated confidence levels. For the acoustic wave sensor (9), in the implementation example, the control unit (2) is configured to control the transmission of a low-frequency acoustic pulse or a series of pulses to the lesion area and receive the reflected signals from the interfaces and structures beneath the skin surface. After converting the received analog signal to digital data using an analog-to-digital converter, a band filtering process is performed to remove unwanted components and reduce noise outside the sensor's operating range. A shell extraction process, using the Hilbert transform for example, can then be applied to extract the intensity of the reflections, followed by peak detection in the resulting signal to pinpoint the locations of reflections associated with the interfaces and internal structures.Control Unit (2) calculates the arrival time of each reflection relative to the pulse transmission moment. It then converts this transit time into an approximate depth using the relationship: where represents the approximate depth of the reflecting surface, represents the speed of the sound wave in the medium, represents the measured transit time, and the factor 2 is due to the wave's propagation from the sensor to the structure and back again. When scanning a series of adjacent locations above the lesion, Control Unit (2) combines the depth and reflection intensity measurements associated with each location into a spatial matrix. Each value in the matrix represents a spatial location and its corresponding reflection intensity or depth, thus generating a two-dimensional cross-sectional representation of the lesion's internal structure. This representation can then be further processed, including noise removal, smoothing, boundary detection, and identification of areas with varying reflections. Properties such as maximum depth, average depth, depth variation, and the area of ​​heterogeneous internal regions can then be extracted to form an acoustical characteristic vector, denoted by the vector.Regarding the temperature and / or contact sensor (7) and the humidity sensor (8), the control unit (2) receives the sensor readings digitally and links each reading to the test location and the corresponding image captured during the test session. The temperature reading is converted to a numerical value, as is the humidity reading, while the acoustic sensor (9) data yields a set of features related to depth and internal structure in a vector. Before integration, the numerical values ​​can be normalized so that the different readings fall within comparable ranges, and then a unified feature vector is generated according to the relationship: This vector contains the features extracted from the image, as well as the temperature and humidity readings and the features extracted from the acoustic signals. These features are fed into an integration layer in the control unit (2), which can be a fully connected layer that learns the relative weights of the different features during training. Therefore, the contribution of each feature is not necessarily fixed but is determined by the weights of the learned model.In a multi-path implementation example, the image is processed in the first path by a convolutional neural network to produce a depth representation of the visual characteristics. In the second path, temperature and humidity readings are processed by fully connected layers to produce a numerical representation of the sensors. Finally, the characteristics extracted from the acoustic signal are processed in a third path to produce a representation of the depth and internal structure. The resulting representations are then combined into a single merge layer using vector joining, and subsequently passed to shared fully connected layers, and finally to the output layer to generate diagnostic category probabilities and severity scores. An attention weighting mechanism can also be used to determine the importance of each set of characteristics during score generation. This allows the system to compare the surface appearance of the lesion, including color, shape, and texture, with physical properties such as temperature and humidity, and structural information related to depth. Before the diagnostic score is generated, the control unit (2) includes a data quality verification stage, which checks the image clarity, the completeness of the lesion area, the accuracy of the sensor reading range, and the presence of a processable acoustic signal.If a dataset is unavailable or invalid, the unavailable feature can be identified and excluded from the integration process, or a mechanism can be used to hide the unavailable feature, taking into account the impact on the confidence level of the result. The confidence level generated by the model can also be compared to a predefined threshold. If the confidence level exceeds the required threshold, the diagnostic result (6) and the risk level are displayed on the screen (4). If the data does not reach the level necessary to produce a reliable result, the controller (2) generates a data inadequacy condition, issues the appropriate alert, and requests remeasurement or a more detailed examination using the endoscope (3). When using a mobile phone (10) instead of the endoscope (3), the controller (2) applies the same image processing and feature extraction stages to the images received via communication signals (11), to the extent that the image quality allows, while the application guides the user in adjusting the distance, angle, and lighting.If the image does not meet quality requirements or the confidence level generated by the model falls below the required threshold, the system does not adopt the unreliable result as a final diagnosis. Instead, it generates an alert indicating the need for further examination using an endoscope (3). This alert is then linked to the patient's data (5) within the system (1). This process achieves a comprehensive operational framework, beginning with data acquisition, preprocessing, visual characterization, acoustic signal processing to extract depth and internal structure, processing temperature and humidity readings, integrating all characteristics into a multi-input machine learning model, and finally generating diagnostic results (6), alerts, and recommendations, which are then displayed on the screen (4). Indeed, if the intention is to add hypothetical numerical values ​​and the characteristics upon which the system relies to distinguish the eczema pattern, it is best to explicitly state that the following numbers are implementation examples and not fixed clinical boundaries. Furthermore, some measurements, particularly temperature, humidity, and ultrasound, do not have a single value that can be considered a "difference for eczema"; what matters most is the difference from healthy, reference skin and how the features are integrated.In one implementation example, a 51-year-old man undergoes a dermatological examination due to a red, dry, and itchy area on the inner surface of his forearm. The endoscope (3) captures a high-resolution image of the area, and the control unit (2) uses a region of healthy skin surrounding the lesion as a reference area for comparison. The following numerical values ​​are, for the purposes of this example, illustrative default values ​​to explain how the system operates and are not fixed clinical diagnostic boundaries. After image preprocessing, noise removal, and illumination correction, the control unit (2) defines the lesion area using a segmentation and boundary detection algorithm. In this example, the imaging area measures 20 x 20 mm, the segmented area of ​​the lesion is approximately 180 mm², and its perimeter is approximately 68 mm.

Claims

1- A system for diagnosing skin diseases, including: a control unit (2) prepared to receive a medical image of an area of ​​the patient's skin (5) captured by an endoscope (3), and to identify the area that includes a skin lesion and part of the surrounding skin, and to determine the boundaries of the lesion; the endoscope (3) includes: a contact temperature and pH sensor (7) prepared to measure the skin surface temperature and pH in the lesion area, a moisture sensor (8) prepared to measure the level of skin moisture in the lesion area, and an acoustic wave sensor (9) prepared to send acoustic waves to the lesion area and receive the acoustic signals reflected from it to determine information related to the internal structure and depth of the lesion; The control unit (2) is configured to process the medical image using an AI-based computer vision model to extract visual features from the lesion. These visual features include color distribution and dominant colors, lesion area, perimeter, perimeter-to-area ratio, degree of symmetry, regularity or irregularity of borders, and surface texture characteristics. The extracted visual features are then converted into ordered numerical values, forming an optical feature vector for the lesion, where each element of the vector represents an extracted feature.The lesion area is defined, and the optical characteristic vector is processed by processing layers in the computer vision model to extract a numerical representation of the common characteristics of the lesion. Control unit (2) is configured to process the acoustic signals received from the acoustic wave sensor (9) to extract the reflection positions associated with changes in the internal structure of the tissues, calculate a depth value for the lesion from the reflection positions, and form an internal representation of the lesion from the acoustic measurements when scanning across more than one position. Control unit (2) is configured to form a multimodal characteristic vector for the lesion that includes the numerical representation of the optical features extracted by the computer vision model, the lesion temperature, pH, humidity level, and the depth value of the lesion extracted from the acoustic wave sensor (9), such that both the optical features and the sensor readings are related to the same lesion, and so that the values ​​received from the sensors are synchronized with the lesion area defined in the image and a unified numerical representation is created that combines the optical features, physical features, and internal structure information. Where the controller (2) is configured to input a multimodal attribute vector into an artificial intelligence modelMy classification is based on a neural network, where the model includes an input layer that receives a multimodal feature vector, neural processing layers configured to handle the relationships between values ​​of color, area, shape, border, texture, temperature, pH, humidity, and depth, and an output layer that produces a set of classification values ​​associated with skin condition categories. The neural processing layers link the different features within the feature vector and extract a common pattern from them, rather than determining the skin condition based on a single value. The classification AI model is trained using classified skin conditions, with each training case associated with known visual features, sensory measurements, and a diagnostic category. The model is configured during operation to receive a multimodal feature vector for an unclassified skin condition and process the vector through the neural network layers to produce output values ​​representing the degree to which the condition belongs to different skin categories. The diagnostic category is then determined based on the resulting output values. The controller (2) is configured to produce the initial diagnostic result (6) based on the output of the classification AI model, with the result representing the type of skin condition and / orThe system assesses the severity of the skin lesion and displays the initial diagnostic result (6) on screen (4), allowing the physician to review the result before finalizing the diagnosis. The system is characterized by: using a mobile phone (10) as an alternative to an endoscope (3). The phone captures images of the skin lesion using its built-in camera, and these images are then transmitted via communication signals (11) to the control unit (2) for analysis. After receiving the images via communication signals (11), the control unit (2) processes the data, diagnoses the skin condition, and generates the diagnostic results (6), which are displayed on screen (4) and shared with the phone (10). 2- A system based on the protection element (1) where the outputs include detailed medical reports specifying the type and severity of the skin lesion. 3- A system based on the protection element (1) where the control unit (2) can issue a preliminary printed prescription containing a QR code specific to the medication. 4- A system according to the protection element (1) where, if the control unit (2) is unable to reach a clear diagnosis based on the images taken by the mobile phone (10), the system (1) automatically suggests booking an appointment and displays an alert on the screen (4).It explains the necessity of performing an examination using an endoscope (3).