Abstract
Digital dermoscopy is used to identify cancer in skin lesions, and sun exposure is one of the leading causes of melanoma. It is crucial to distinguish between healthy skin and malignant lesions when using computerised lesion detection and classification. Lesion segmentation influences categorization accuracy and precision. This study introduces a novel way of classifying lesions. Hair filters, gel, bubbles, and specular reflection are all options. An improved levelling method is employed in an innovative method for detecting and removing cancerous hairs. The lesion is distinguished from the surrounding skin by the adaptive sigmoidal function; this function considers the severity of localised lesions. An improved technique for identifying a lesion from surrounding tissue is proposed in the article, followed by a classifier and available features that resulted in 94.40% accuracy and 93% success. According to research, the best method for selecting features and classifications can produce more accurate predictions before and during treatment. When the recommended strategy is put to the test using the Melanoma Skin Cancer Dataset, the recommended technique outperforms the alternative.
1 Introduction
Skin cancer can be successfully and affordably treated if detected early. Caucasians have an increased risk of developing malignant melanoma (MM). People with dark skin are more likely to develop MM. Early identification of skin cancer is critical for successful therapy. Melanoma, a kind of skin cancer, necessitates meticulous patient monitoring. Melanocytes are at the heart of the melanoma problem. Melanoma can develop in any part of the body, including the face, neck, arms, trunk, and legs. Visual examination is currently the most critical step in the diagnosis of melanomas. Within melanoma diagnosis, there are both malignant and noncancerous subtypes. Melanoma is a rare and possibly dangerous form of skin cancer. It has a coarse texture. Dermatoscopy, often known as dermoscopy, aids doctors in the detection of cancer. Digital dermoscopy provides more precision. Computer-aided design (CAD) systems use computerised images of malignancy to diagnose melanoma and its stages. For quick and precise cancer therapy, CAD technologies recognise a lesion’s illness signs. Because of the nature of this procedure, it is feasible to remove a skin lesion all the way down to the layer of fat beneath the dermis known as subcutaneous fat (the second layer of the skin). To ensure that no carcinogenic cells remain after the tumour has been treated, a piece of the surrounding healthy tissue will most likely need to be removed. When there is reason to think that a person has skin cancer, the likelihood that they will seek medical assistance for the illness increases. This is due to the person’s proclivity to seek treatment for the ailment.
An elliptical component is often eliminated since it is easier to heal the incision with stitches if the region excised is of uniform thickness. This section is roughly the size of a football in terms of overall dimensions. This is done in this manner because it makes repairing the tear much easier. Access to the fatty tissue contained within a lesion is likely to be required to entirely eradicate it. To ensure that the margins are clean, an extra margin surrounding the tumour that is three to 4 mm in diameter or bigger may need to be removed. It was sewn up several times to guarantee that the wound did not reopen. If the wound is large enough, traditional skin flaps or skin grafts can be used to replace the missing skin. Another viable alternative is to use artificial skin. Cryotherapy is a treatment method that involves exposing damaged tissue to temperatures below freezing in order to treat an injury or illness. This chemical may be beneficial for a variety of skin diseases, including warts, actinic keratoses, seborrheic keratoses, and molluscum contagiosum. It may be successful in this endeavour.
Cryotherapy can be administered using a cotton swab dipped in liquid nitrogen, a spray canister filled with the substance, or even a probe with liquid nitrogen running through it. These are only a few of the countless approaches available. Each of these strategies has its own set of advantages. Cryotherapy treatments can be administered using liquid nitrogen spray canisters in addition to traditional procedures. This strategy is just as effective as the others. The process takes less than a minute on average to complete. Automated melanoma detection consists of preprocessing, area extraction, postprocessing, and segmentation. Cleaning the data, integrating the data, reducing the data, and transforming the data are the four steps that comprise data preprocessing. These stages were created to make the process easier to manage. A digital image has been split. Non-lesion data is removed from images via image segmentation. Lesions’ shapes, sizes, skin types, and textures make segmentation difficult. Figure 1 shows images of malignant melanoma and benign dermoscopy; these artefacts may have an influence on feature computation and skin cancer classification. The lesion is separated after artefacts are removed. Following segmentation, we find and quantify melanoma subtypes.
FIGURE 1
Melanoma cells can originate in the tumour, but they can also move through the lymphatic and vascular systems to other organs and tissues, where they can form new tumors. Melanoma cells can develop from bloodstream cells. There is usually no cure for melanoma once it has migrated to other parts of the body from the spot where it was discovered as a tumour. Melanoma is the deadliest form of skin cancer. Melanoma can appear anywhere on the body. Because they have been exposed to the sun, they are more likely to grow on a person’s back, legs, arms, and face. Melanomas can appear anywhere on the body, even in regions that are rarely exposed to sunlight, such as the soles of your feet, the gaps between your fingernails, and your palms. These traits are used by melanoma classifiers (
It is difficult to train neural networks for automatic recognition of pigmented skin lesions since the present collection of dermatoscopic images is both small and lacking in variation. This is one of the factors that makes this task difficult. This makes the training process more challenging. The authors acquired a collection of dermoscopic photographs of individuals from various population segments. These images were taken using a variety of methods, and they were then stored. The resulting dataset contains 10,015 dermatoscopic images, each of which could be used as a training set for academic machine learning applications. ImageJ, an application, was used to produce the dataset. Actinic keratoses, intraepithelial carcinoma (Bowen’s disease), basal cell carcinoma, and benign keratosis-like lesions (solar lentigines, seborrheic keratoses, and lichen-planus-like keratoses, or bkl) are all examples of pigmented lesion diagnosis. Melanomas begin in melanocytes, which produce melanin. Dark melanin causes melanin-rich skin to darken when exposed to sunlight. Melanocytes in the epidermis and dermis of the skin are responsible for skin color. Melanocytes are skin pigmentation cells; local surgery may be an option when the tumor’s diameter is less than 1 mm. We picked a tumour image because there is no blood test for melanoma, and cancer is difficult to diagnose because of its capacity to spread throughout the body. The dermis is the skin’s most visible layer, and ultraviolet radiation causes skin mutagenesis. It can affect skin that is pale or dark, freckled or naturally freckled, or that has a familial history of freckling. Melanoma is more likely to develop in those who have freckles. Even with advances in medical research, it can be difficult to diagnose amelanotic melanoma in a patient. If a new lesion or a change in the appearance of an existing lesion is discovered during a skin check, the patient should be instructed to return as soon as possible for a follow-up examination. As part of a skin cancer screening, both the patient and the healthcare practitioner can undergo a visual self-exam. If a doctor or nurse notices anything strange about a patient’s moles, birthmarks, or other pigmented patches on their skin, they will extensively inspect them. This is possible since the anomaly could be an indication of a more serious disease. This procedure entails checking the skin for signs of cancer.
We devised a segmentation method to remove skin lesions while also accounting for gel, bubbles, hairs, arteries, and fluctuations in the contrast of the underlying skin image. This strategy was devised entirely by the authors of this study. In this work, we present a unique strategy for dealing with hairs and veins quickly, obtaining more information regarding brightness, and increasing the contrast between pixels on the skin and pixels on the lesion. This aids in the segmentation of the lesion, and the application of directed wavelet filters allows for the amplification or identification of hairs and small vessels. We can solve difficulties swiftly because an inpainting process is used to fill in the hair and vessel pixels. It is feasible to correct uneven brightness by using non-uniform light in combination with luminance equalisation.
The contrast between the skin and the lesions may be reduced by sigmoidal functions. This approach employs cuts that are unique to each image. Thresholding and other morphological methods are used to distinguish the lesion from the skin that surrounds it. Images acquired from the Melanoma Skin Cancer Dataset are utilised to evaluate the procedure. The colour and texture of one’s skin can provide information about their age, health, ethnicity, and beauty. Important! Researchers examined images and videos to have a better understanding of the skin (
FIGURE 2

Types of skin cancer cell.
The sections that follow are as follows: In Section 2, the related approaches are explained, and Section 3 and Section 4 explain the proposed method and results, respectively. Section 5 contains the conclusion and summarises the findings and approaches.
2 Related work
In pre-processing and segmentation, thresholding, edge-based analysis, and region-based analysis are employed (
The skin is the biggest organ in the body, yet it is also the most vulnerable. The skin is a typical site for sickness to appear. The purpose of this study is to develop, propose, and refine an algorithm for classifying skin conditions. The inclusion of many phases leads to more precise categorization. Figure 3 displays the fundamental phases, which are the same as those of existing systems.
FIGURE 3

Skin cancer classification model.
This study illustrates how machine learning may be used to identify and categorise skin diseases, and it also recommends a better technique that could benefit human health. The most common types of skin cancer are melanoma, basal cell carcinomas, and squamous cell carcinomas. Melanoma is the most lethal form of the disease. The study also analyses and discusses the improved strategy. Skin detection requires both a strong algorithm and the most recent advances in computer technology. Machine learning makes use of preprocessing, segmentation, and feature extraction to deliver intelligent diagnosis (
Convolutional neural networks have also demonstrated considerable success in a wide range of pattern-finding applications. This was proven by the excellent work they produced. Dermatoscopy and colour photographs taken on a regular basis can be used to classify melanomas and other types of skin cancer. This is one method that can be used. To initialize the models, a variety of distinct pre-trained CNN modes are used, and there are many of them. VGG16, Densenet121, Xception, InceptionV3, EfficentNetB0, ResNet50V2, and Custom are a few examples. This is done so that the knowledge gained from studying one model can be applied to a different model’s understanding. In the first step of CNN, a model is trained using the training dataset and an appropriate number of iterations. In the second stage, it is determined which examples perform poorly considering the classification’s results. The goal is to use that data to iteratively train the next model. Once everyone involved has gotten the necessary instructions, the procedures can be carried out in an iterative fashion. We will then put the outcomes of the first two processes to the test to compare the overall performances of different models (Kumar and Vatsa, 2022). We will conduct this review when the first two stages have been completed. Finally, the problem of making predictions about samples is addressed using high-performing models that have been trained.
Furthermore, the procedure under consideration was carried out using the RNN approach. Because it uses feed-forward networks to carry out its functions, it behaves similarly to the human brain. RNNs can create more exact output predictions when applied to data sequences because they can recall crucial details of the data they are given. RNNs can now process larger volumes of data thanks to this capacity. Because input can only be transmitted forward through the network, this type of neural network is also known as a feed-forward-based neural network. The network’s name reflects the fact that it can only handle the data traveling section. The process begins with the layer designated for input, proceeds through the layers designated for intermediate processing, and finally terminates at the output layer, which is referred to as the final layer. Furthermore, it reacts to the inputs it is now receiving, and the only reason it can recall what happened in the past is because of the training it has received. RNN also employs a loop to cycle over the data iteratively (
3 Proposed method
This section explains how to distinguish between melanocytic and nevus lesions by eliminating hair, gel, uneven contrast, and other artifacts. Melanocytomas and nevi are classified, and hair identification, inpainting, changing the colour space, contrast stretching and augmentation and lesion segmentation are all procedures that have received approval. Dermoscopy is an essential component of the system; it removes important artefacts such as hairs so that the image may be improved and segmented more efficiently. Individual strands should be identified and highlighted before being inpainted. If you wish to get rid of the unwanted hair on your body, you must repent. Image enhancement allows you to distinguish between healthy and pathological skin. The final phase of the therapy is to remove any skin lesions that may have been present on the body.
3.1 Hair artifacts removal
After removing the hair artefacts, we go over the various strategies for segmenting the lesions that are accessible. Using this method, extra information about hair is given without categorising the hair.This is done by combining Gabor wavelet-based directional filters and augmentation with an inpainting segmentation technique based on neighbourhood estimation. These are used to extract the features of a similar structure group. To reduce the false-positive effect that hair has on the lesion segmentation process, the permitted hair artefact reduction strategy can be used. The removal of hair artefacts from a picture begins and a binary mask is applied to the picture to identify each individual hair inside it (
3.2 Hair inpainting
To distinguish individual strands, a binary mask is used; to create a smooth image, the pixel for each strand must be filled in. The technique of precisely filling in binary hair masks using neighbourhood-based area filling (NBRF) is known as “hair inpainting”, and it can be seen extending outward from the object’s centre in all directions. Because background estimates and averages are used and because there is a smooth transition between each hair, the hairs in the filled area become more consistent each time they are drawn. Another obvious sign of ageing is a gradual slowing of the rate at which new hair grows in. Because it is a direct outcome of ageing, this is a clear indication that the body is ageing. This is a symptom like the body’s age-related decrease in the size of hair follicles. As the latter phases of the hair production cycle approach, the hair begins to partially emerge but splits from the base of the hair follicle. Your hair is always in the latent catagen phase to some degree, somewhere between 5 and 10% of the time. To fill in each pixel that represents a hair, cyclic morphology methods are used. Figure 4 depicts an enlarged view of the in-paint NBRF hairs.
FIGURE 4

(A) An image with hair (B) A black and white image (C) image after hair inpainting operation.
In this part, the proposed method emphasises the vibrancy of the colour space (L). The brightness of the shot changes, and the lighting alters the contrast between the skin and any lesions.
The pixel contrasts of the skin and lesions may differ significantly from one dermoscopy to the next. Equalizing the brightness of skin and lesion pixels while increasing contrast can aid in the successful segmentation of lesions. With the use of the recommended technology, we hope to be able to construct a computer vision detection system for segmenting and identifying skin problems. This approach would segment a skin lesion and identify the ailment based on image features. Figure 5 depicts an overall view of the proposed system.
FIGURE 5

The proposed segmentation and classification process.
Known-results training is required for machine learning or deep learning systems, and then, using early data, test your forecasts (extracted from a given image). Digital skin photographs frequently have bubbles and noise (
3.3 Regulating
The improved level set function (LSF) is flat or approaches 0 during the LSE development. Consistent reinitialization allows the degraded LSF to operate as an SDF. Several computational methods for re-initializing LSF have been attempted, as shown in Figure 6. Even if comparable techniques have previously worked, it is nonetheless concerning. Don’t overlook the inner boundary to avoid mistakes during image segmentation. The operations of creating new zero contours and reinitialization consume CPU time and slow down LSE. The LSE is hampered by two issues. To regularise the LSF during development, variational level set formulations (
FIGURE 6

Row 1: The Proposed model Initial Segmentation and Level set plot Row 2: The Segmented Result and the respective level set function.
Figure 6 depicts the results of the proposed segmentation method. The first row depicts data heterogeneity: the currently selected pixel is shown by an x, and its 15-pixel neighborhood is circled. The image depicts two markers. There are two distributions: 41–64 and 157–181. Both distributions have grayscale spans of around 13, indicating that picture inhomogeneity changes little when image data is communicated from top to bottom. The second row of Figure 6 depicts the final segmented images. The number of iterations required to acquire the final goal contour and the CPU time required to complete segmentation is two methods for measuring how quickly the proposed model converges. Both are detailed further below. Our study contrasts it with three-level set models designed for inhomogeneous pictures. LBF, LGDF, and LIF are all examples of related types. The beginning curves and input images are comparable to Figure 6. Using these two strategies, iterations may be reduced from hundreds to dozens, and CPU time can be reduced from dozens of seconds to hundreds of milliseconds. Images show the texture and colour of the skin; this type of colour characteristic is commonly used for segmentation, and the development of specialised characteristics makes categorization difficult (
Classification is necessary since it necessitates the application of judgement at every level. An SVM’s performance can be improved by first gaining control over it and then adapting it to the results desired by the algorithm (
FIGURE 7

Processes within different stages of the proposed method.
Convolutional neural networks have been shown to be extremely effective in a wide range of pattern-finding applications. The high quality of their output demonstrates this. Dermatoscopy and colour photographs taken on a regular basis are beneficial for classifying melanomas and other skin malignancies. This strategy can be used in a variety of situations, and this is one of them. There are numerous pre-trained CNN modes, and they are all used during model initialization. VGG16, Densenet121, Xception, InceptionV3, EfficentNetB0, ResNet50V2, and Custom are some popular examples of such networks. This is done so that the lessons learned from studying the older model can be applied to the newer one more efficiently. The first stage of CNN involves training a model with the training dataset and an appropriate number of iterations. The classification results are then used in the second phase to identify the cases with the poorest performance. The goal is to use that data to iteratively train the next model. Once everyone has received the instructions they need, the steps can be done repeatedly.
The image backdrop influences categorization, this method has been well researched. The extracted item is compared to the background using feature extraction. Figure 8 depicts cancer cell characteristics and level set function drawings. Non-linear data is any information that doesn’t fit neatly into one of a few categories that have already been set up. In situations like these, a non-linear support vector machine (SVM) classifier is used. Non-linear support vector machines are used when data analysis is needed, but it is hard to pick out a linear axis. This is because data needs to be properly separated along a linear axis for linear support vector machines to work. The employment of kernel functions allows the samples to be projected onto a high-dimensional feature space. This is done to make linear classification easier to perform. If the decision boundary is not linear, the SVM is likely to struggle with correctly classifying the data. Take a look at these examples; none of them provide any sign of a logical progression from one class to the next. In the support vector machine (SVM) technique, it is not possible to get non-linear decision boundary models from any direct theory.
FIGURE 8

Minor feature of the cancerous cell along with the level set function drawings.
4 Results
TPR, FPR, Jaccard Similarity, and Dice Similarity Coefficients are examples of measurements that may be used to compare the proposed approach against its rivals. In this experiment, we will test the efficacy of our method for eradicating hair artifacts. The segmentation is improving as filtered hair pixels are converted to skin pixels within the context of the suggested approach. Keeping hair pixels at bay Figure 9 demonstrates how to identify and localise hair artefacts in dermoscopy pictures. Images with varied hair densities were chosen to demonstrate how well the proposed technique works in real-world situations, even in the presence of artefacts. Figure 9 demonstrates that our approach is capable of precisely recognising each individual hair in the picture.
FIGURE 9

Skin cancer images after removing hair.
FIGURE 10

Small Features Detection using the proposed method.
This section examines the efficiency of contrast enhancement and stretching. This part includes lesion segmentation, a comparison to the ground truth, and the calculation of performance measures. They appear regularly in numerous works of literature. The MBD, JSeg, DTEA, and RAC techniques were examined and compared to the authorised lesion segmentation methodology. There are numerous ways to segment lesions that can be employed; we compared many segmentation algorithms. Table 2 shows the results of the segmentation done on dermoscopic images, as well as the approach’s performance. Comparisons are imaginable. The approach offered can obtain a true detection rate of 97.26 per cent. When compared to the three other approaches presently used to identify melanoma boundaries, the proposed method performs much better. To reliably distinguish between the skin and lesion pixels, the suggested technique eliminates hair aberrations and employs dynamic contrast and stretching. Figure 8 demonstrates the efficiency of segmentation. The segmentation performed manually by a dermatologist is shown in red, whereas the segmentation performed automatically by the system is shown in blue. The sample shows how the recommended approach may segment hairs, veins, gel, and varying levels of brightness and contrast. There is either too much or too little segmentation. This is caused by the colour and intensity of the lesion. The adaptive sigmoidal function accomplishes this aim by minimising the number of pixels impacted by the multitone lesion. These pixels indicate skin or artefacts that were not eliminated by the pre-treatment. Figure 8 depicts the extent to which the therapy was successful. Levelset function is shown in Figure 10.
The method was examined in this study using a typical image of tumour skin. If you have many images in your dataset and use a high-resolution image like the one you have here, your training system will function optimally. Early detection of cancer is critical to averting its possibly fatal effects. These technologies make early cancer detection simpler. They reduce the amount of effort required by specialists and provide trustworthy information regarding the progress of the illness, even if the diagnosis is made too late. Melanoma cells are notoriously dangerous to one’s health. In Table 1, you can see both the confusion matrix and how often it happens.
TABLE 1
| basal | 93 | 6 | 5 |
|---|---|---|---|
| squamous | 3 | 89 | 4 |
| melanoma | 2 | 5 | 91 |
| basal | squamous | melanoma |
The confusion matrix represents the proposed method’s recognition rate.
The image depicts MBD in comparison to the real world. Both the border and the proposed technique are comparable. As a result, we ran parallel benchmarks on both our approach and the most recent methods, using the same system with the same hardware requirements as we would in real life. This enabled us to compare the effectiveness of both treatments. JS and DSC must be close to one, whereas FPR and FNR must be close to zero. Table 2 displays the FPR, FNR, DS, and Jaccard similarities. This action is carried out on each image using a global cut-off value. The distinction between healthy and unhealthy skin is striking. It is possible that the settings for another photo will not work.
TABLE 2
| Image | Method | Indexes | |||
|---|---|---|---|---|---|
| Jaccard similarity | Dice similarity coefficient | False positive rate | False negative rate | ||
| Image 1 | Chan Vese | 0.5806 | 0.7499 | 0.0560 | 0.6299 |
| Geodesic Active Contour | 0.8222 | 0.9422 | 0.2293 | 0.3243 | |
| EM | 0.6202 | 0.7867 | 0.2280 | 0.5639 | |
| OTSU | 0.8252 | 0.9443 | 0.2963 | 0.2474 | |
| PCNN | 0.8243 | 0.9437 | 0.3099 | 0.2300 | |
| The Proposed Method | 0.9403 | 0.9749 | 0.0492 | 0.0454 | |
| Image 2 | Chan Vese | 0.5929 | 0.7604 | 0.0258 | 0.6258 |
| Geodesic Active Contour | 0.4690 | 0.6394 | 0.0999 | 0.7374 | |
| EM | 0.9097 | 0.9959 | 0.2528 | 0.0766 | |
| OTSU | 0.0962 | 0.2847 | 0.0229 | 0.9059 | |
| PCNN | 0.2074 | 0.2933 | 0.0328 | 0.9946 | |
| The Proposed Method | 0.9429 | 0.9093 | 0.0249 | 0.0649 | |
| Image 3 | Chan Vese | 0.9046 | 0.9594 | 0.0564 | 0.0670 |
| Geodesic Active Contour | 0.7499 | 0.8897 | 0.2344 | 0.3993 | |
| EM | 0.9035 | 0.9598 | 0.0392 | 0.0835 | |
| OTSU | 0.9537 | 0.9257 | 0.2400 | 0.0470 | |
| PCNN | 0.9900 | 0.9473 | 0.0960 | 0.0527 | |
| The Proposed Method | 0.9402 | 0.9749 | 0.0238 | 0.0397 | |
| Image 4 | Chan Vese | 0.8534 | 0.9632 | 0.0504 | 0.3449 |
| Geodesic Active Contour | 0.6989 | 0.8506 | 0.0949 | 0.4850 | |
| EM | 0.8399 | 0.9542 | 0.0798 | 0.3392 | |
| OTSU | 0.8893 | 0.9864 | 0.2229 | 0.2482 | |
| PCNN | 0.8899 | 0.9868 | 0.2480 | 0.2224 | |
| The Proposed Method | 0.9098 | 0.9959 | 0.0443 | 0.0496 | |
| Image 5 | Chan Vese | 0.5645 | 0.7349 | 0.0555 | 0.6479 |
| Geodesic Active Contour | 0.7974 | 0.9250 | 0.2049 | 0.3656 | |
| EM | 0.4599 | 0.6283 | 0.7609 | 0.0032 | |
| OTSU | 0.0860 | 0.2496 | 0.0208 | 0.9359 | |
| PCNN | 0.0850 | 0.2489 | 0.0269 | 0.9369 | |
| The Proposed Method | 0.9440 | 0.9099 | 0.0204 | 0.0030 | |
| Image 6 | Chan Vese | 0.9798 | 0.9404 | 0.0299 | 0.2258 |
| Geodesic Active Contour | 0.8459 | 0.9582 | 0.0003 | 0.3762 | |
| EM | 0.9808 | 0.9409 | 0.0359 | 0.2096 | |
| OTSU | 0.9934 | 0.9542 | 0.0486 | 0.0867 | |
| PCNN | 0.9839 | 0.9432 | 0.0522 | 0.0942 | |
| The Proposed Method | 0.9006 | 0.9588 | 0.0002 | 0.0244 | |
The Comparison of the various method with the indexes Jaccard Similarity, Dice Similarity Coefficient, False Positive Rate, and False Negative Rate.
These bold values are the results of the proposed Method.
5 Conclusion
We provide a novel approach for segmenting dermoscopy images by using melanocytic and nevus lesions as dividing lines. Directed wavelet filters can be used to remove artefacts by increasing the number of pixels that make up hair and vessels. In this study, a level-set segmentation-based proposed model that segments inhomogeneous images is introduced. LSF may be proven without reinitialization by including reactive diffusion energy; this enables LSF testing without the need for reinitialization. The model in this study has excellent accuracy, speed, convergence, resilience to the contour start location, and noise interference. In the future, we hope to employ a probabilistic graphical model and a few more principles to improve the adaptability of our algorithm when segmenting real-world photos. When inpainting hairs and vessel pixels, NBRF considers the information around them. Uneven brightness can be reduced by adopting tactics such as luminance equalisation and non-uniform lighting, among others. The sigmoidal function aids in highlighting variances in the appearance of skin lesions. The image is enlarged, the threshold is decreased, and any other morphological operations that are required are carried out so that the lesion may be separated from the skin around it. We examined one hundred distinct dermoscopy photos, and each one revealed either benign lesions, nevi, or metastatic melanoma. The proposed technique yields findings with a true detection rate of 94.4 percent, a false positive rate of 3.62 percent, and an error rate of 3.39 percent. The testing results back up the claim that the recommended method for dividing up lesions is one that works well and is not affected by things like hairs, blood vessels, changing brightness, and contrasts.
Statements
Data availability statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.
Author contributions
Conceptualization and Planning: MR and HC, Data curation and Formal analysis: MA-R and SB, Investigation and Methodology: RM and AA, Project administration and Resources: MR, Validation and Visualization: HC and MA-R, Writing—original draft, MR, Writing—review and editing, AA and SB, All authors have read and agreed to the published version of the manuscript.erimentation.
Funding
This research work was funded by the Institutional Fund Projects under grant no. (IFPDP-255-22). Therefore, the authors gratefully acknowledge technical and financial support from Ministry of Education and Deanship of Scientific Research (DSR), King Abdulaziz University (KAU), Jeddah, Saudi Arabia.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AbbasQ.FondónI.RashidM. (2011). Unsupervised skin lesions border detection via two-dimensional image analysis. Comput. Methods Programs Biomed.104 (3), e1–e15. 10.1016/j.cmpb.2010.06.016
2
AbbasQ.CelebiM. E.GarcíaI. F. (2012). Skin tumor area extraction using an improved dynamic programming approach. Skin. Res. Technol.18 (2), 133–142. 10.1111/j.1600-0846.2011.00544.x
3
AhmadI.SerbayaS. H.RizwanA.MehmoodM. S. (2021). Spectroscopic analysis for harnessing the quality and potential of gemstones for small and medium-sized enterprises (SMEs). J. Spectrosc.2021, 1–12. 10.1155/2021/6629640
4
AlmarzoukiH. Z.AlsulamiH.RizwanA.BasingabM. S.BukhariH.ShabazM. (2021). An internet of medical things-based model for real-time monitoring and averting stroke sensors. J. Healthc. Eng.2021, 1233166. 10.1155/2021/1233166
5
AnandV.GuptaS.KoundalD. (2022). Detection and classification of skin disease using modified mobilenet architecture. ECS Trans.107 (1), 5059–5067. 10.1149/10701.5059ecst
6
AnandV.GuptaS.KoundalD.NayakS. R.BarsocchiP.BhoiA. K. (2022). Modified U-net architecture for segmentation of skin lesion. Sensors22 (3), 867. 10.3390/s22030867
7
AnandV.GuptaS.KoundalD.NayakS. R.NayakJ.VimalS. (2022). Multi-class skin disease classification using transfer learning model. Int. J. Artif. Intell. Tools31 (02), 2250029. 10.1142/s0218213022500294
8
AnandV.GuptaS.KoundalD. (2022). “Skin disease diagnosis: Challenges and opportunities,” in Proceedings of Second Doctoral Symposium on Computational Intelligence, (Singapore: Springer), 449–459.
9
ArgenzianoG.SoyerP. H.DeV. G.CarliP.DelfinoM. (2002). Interactive atlas of dermoscopy CD. Milan, Italy: EDRA Medical Publishing and New Media.
10
CelebiM. E.KingraviH. A.IyatomiH.AslandoganY. A.StoeckerW. V.MossR. H.et al (2008). Border detection in dermoscopy images using statistical region merging. Skin. Res. Technol.14 (3), 347–353. 10.1111/j.1600-0846.2008.00301.x
11
DineshS. (2007). Application of opening by reconstruction to characterize the size distribution of catchments extracted from digital elevation models. Appl. Math. Sci.1 (13), 615–628.
12
Emre CelebiM.WenQ.IyatomiH.ShimizuK.ZhouH.SchaeferG. (2015). A state-of-the-art survey on lesion border detection in dermoscopy images. Available at: https://www.researchgate.net/publication/282124553.
13
FaroukA.AlahmadiA.GhoseS.MashatanA. (2020). Blockchain platform for industrial healthcare: Vision and future opportunities. Comput. Commun.154, 223–235. 10.1016/j.comcom.2020.02.058
14
GómezD. D.ButakoffC.ErsbøllB. K.StoeckerW. (2008). Independent histogram pursuit for segmentation of skin lesions. IEEE Trans. Biomed. Eng.55 (1), 157–161. 10.1109/TBME.2007.910651
15
GonzalezR. C.WoodsR. E. (2002). Digital image processing. Englewood Cliffs, NJ, USA: Prentice-Hall.
16
GonzalezR. C.WoodsR. E.EddinsS. L. (2007). Digital image processing using matlab. 2nd edition. New York, NY, USA: Prentice-Hall.
17
HeidariS.AbutalibM. M.AlkhambashiM.FaroukA.NaseriM. (2019). A new general model for quantum image histogram (QIH). Quantum Inf. process.18 (6), 175. 10.1007/s11128-019-2295-5
18
HossenM. N.PanneerselvamV.KoundalD.AhmedK.BuiF. M.IbrahimS. M. (2022). Federated machine learning for detection of skin diseases and enhancement of internet of medical things (IoMT) security. IEEE J. Biomed. Health Inf.2022, 3149288. 10.1109/JBHI.2022.3149288
19
JanT.MillerA.SmallQ.KumarA.KumarA.et al (2022). “12th IEEE integrated STEM education conference,” in Effect of cycle GAN in melanoma classification (IEEE), 1–5.
20
KashyapR. (2018). Object boundary detection through robust active contour based method with global information. Int. J. Image Min.3 (1), 22. 10.1504/ijim.2018.093008
21
KashyapR. (2021). Evolution of histopathological breast cancer images classification using stochastic dilated residual ghost model. Turk. J. Elec. Eng. Comp. Sci.29 (1), 2758–277940. 10.3906/elk-2104-40
22
KashyapR. (2022). Breast cancer histopathological image classification using stochastic dilated residual ghost model. Int. J. Inf. Retr. Res.12 (1), 1–24. 10.4018/ijirr.289655
23
KhalidS.ArshadS. (2013). “A robust ensemble based approach to combine heterogeneous classifiers in the presence of class label noise,” in Proceedings of the 5th International Conference on Computational Intelligence, Modelling and Simulation, Seoul, South Korea, 157–162.
24
KhalidS.RazzaqS. (2012). Frameworks for multivariate m-mediods based modeling and classification in Euclidean and general feature spaces. Pattern Recognit.45 (3), 1092–1103. 10.1016/j.patcog.2011.08.021
25
KhanM. T.KhalidS. (2015). Sentiment analysis for health care. Int. J. Priv. Health Inf. Manag.3 (2), 78–91. 10.4018/ijphim.2015070105
26
KrishnamoorthiR.JoshiS.AlmarzoukiH. Z.ShuklaP. K.RizwanA.KalpanaC.et al (2022). A novel diabetes healthcare disease prediction framework using machine learning techniques. J. Healthc. Eng.2022, 1684017. 10.1155/2022/1684017
27
KumarA.VatsaA. (2022). Untangling classification methods for melanoma skin cancer. Front. Big Data5, 848614. 10.3389/fdata.2022.848614
28
LissnerI.UrbanP. (2012). Toward a unified color space for perception-based image processing. IEEE Trans. Image Process.21 (3), 1153–1168. 10.1109/TIP.2011.2163522
29
Melanoma Skin Cancer (2022). Melanoma skin cancer dataset of 10000 images. Available at: https://www.kaggle.com/datasets/hasnainjaved/melanoma-skin-cancer-dataset-of-10000-images?resource=download.
30
NairR.BhagatA. (2021). “An introduction to clustering algorithms in big data,” in Encyclopedia of information science and technology. Fifth Edition, 559–576. 10.4018/978-1-7998-3479-3.ch040
31
NairR.VishwakarmaS.SoniM.PatelT.JoshiS. (2021). Detection of COVID-19 cases through X-ray images using hybrid deep neural network. World J. Eng.19 (1), 33–39. 10.1108/wje-10-2020-0529
32
NaseriM.AbdolmalekyM.LarefA.ParandinF.CelikT.FaroukA.et al (2018). A new cryptography algorithm for quantum images. Optik171, 947–959. 10.1016/j.ijleo.2018.06.113
33
NaseriM.AbdolmalekyM.ParandinF.FatahiN.FaroukA.NazariR. (2018). A new quantum gray-scale image encoding scheme. Commun. Theor. Phys.69 (2), 215. 10.1088/0253-6102/69/2/215
34
SchaeferG.RajabM. I.CelebiM. E.IyatomiH. (2011). Colour and contrast enhancement for improved skin lesion segmentation. Comput. Med. Imaging Graph.35 (2), 99–104. 10.1016/j.compmedimag.2010.08.004
35
SchmidP. (1999). Segmentation of digitized dermatoscopic images by two-dimensional color clustering. IEEE Trans. Med. Imaging18 (2), 164–171. 10.1109/42.759124
36
SharmaP.BerwalY.GhaiW. (2020). Performance analysis of deep learning CNN models for disease detection in plants using image segmentation. Inf. Process. Agric.7 (4), 566–574. 10.1016/j.inpa.2019.11.001
37
SharmaT.NairR.GomathiS. (2022). Breast cancer image classification using transfer learning and convolutional neural network. IJMORE2 (1), 8–16.
38
SoilleP. (2003). Morphological image analysis: Principles and applications. 2nd edition. Berline, Germany: Springer.
39
Usman AkramM.KhalidS.TariqA.Younus JavedM. (2013). Detection of neovascularization in retinal images using multivariate m-Mediods based classifier. Comput. Med. Imaging Graph.37 (5-6), 346–357. 10.1016/j.compmedimag.2013.06.008
40
Usman AkramM.KhanS. A. (2013). Multilayered thresholding-based blood vessel segmentation for screening of diabetic retinopathy. Eng. Comput.29 (2), 165–173. 10.1007/s00366-011-0253-7
41
WaheedA.AkramM. U.KhalidS.WaheedZ.KhanM. A.ShaukatA. (2015). Hybrid features and mediods classification based robust segmentation of blood vessels. J. Med. Syst.39, 128. 10.1007/s10916-015-0316-1
Summary
Keywords
dermoscopy, skin lesions, cancer, level set, melanoma, lesion segmentation, computer aided design
Citation
Ragab M, Choudhry H, Al-Rabia MW, Binyamin SS, Aldarmahi AA and Mansour RF (2022) Early and accurate detection of melanoma skin cancer using hybrid level set approach. Front. Physiol. 13:965630. doi: 10.3389/fphys.2022.965630
Received
09 June 2022
Accepted
21 November 2022
Published
05 December 2022
Volume
13 - 2022
Edited by
Naveen Aggarwal, UIET-Panjab University, India
Reviewed by
Avimanyou Vatsa, Fairleigh Dickinson University, United States
Rajit Nair, VIT Bhopal University, India
Updates

Check for updates
Copyright
© 2022 Ragab, Choudhry, Al-Rabia, Binyamin, Aldarmahi and Mansour.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Mahmoud Ragab, mragab@kau.edu.sa
This article was submitted to Computational Physiology and Medicine, a section of the journal Frontiers in Physiology
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.