Article | Open

Universal in vivo Textural Model for Human Skin based on Optical Coherence Tomograms

  • Scientific Reports 7, Article number: 17912 (2017)
  • doi:10.1038/s41598-017-17398-8
  • Download Citation
Published online:


Currently, diagnosis of skin diseases is based primarily on the visual pattern recognition skills and expertise of the physician observing the lesion. Even though dermatologists are trained to recognize patterns of morphology, it is still a subjective visual assessment. Tools for automated pattern recognition can provide objective information to support clinical decision-making. Noninvasive skin imaging techniques provide complementary information to the clinician. In recent years, optical coherence tomography (OCT) has become a powerful skin imaging technique. According to specific functional needs, skin architecture varies across different parts of the body, as do the textural characteristics in OCT images. There is, therefore, a critical need to systematically analyze OCT images from different body sites, to identify their significant qualitative and quantitative differences. Sixty-three optical and textural features extracted from OCT images of healthy and diseased skin are analyzed and, in conjunction with decision-theoretic approaches, used to create computational models of the diseases. We demonstrate that these models provide objective information to the clinician to assist in the diagnosis of abnormalities of cutaneous microstructure, and hence, aid in the determination of treatment. Specifically, we demonstrate the performance of this methodology on differentiating basal cell carcinoma (BCC) and squamous cell carcinoma (SCC) from healthy tissue.


Visual inspection of skin abnormalities is the first step in diagnosis; however, it has limitations. Experienced dermatologists and surgeons are able to reach a diagnostic accuracy of about 75% with visual inspection only1,2. In order to confirm diagnosis, a biopsy may be performed. While biopsy is currently the gold standard diagnostic method for suspicious skin lesions, it may be inconvenient for the patient and create scarring. In addition, there are costs to the healthcare system and, potentially, increased morbidity related to the procedure. To assist dermatologists and improve diagnostic accuracy, ancillary methods of diagnosis have been sought including dermoscopy3, reflectance confocal microscopy (RCM)4, high frequency ultrasound (HFUS)5, Magnetic Resonance Imaging (MRI)6, diffuse multispectral imaging (MS)7, and Raman spectroscopy8. More recently optical coherence tomography (OCT) has been introduced as an effective high-resolution cutaneous imaging technique with a moderate penetration depth for non-invasive inspection of the skin9. OCT allows in situ, safe, real-time investigation of micromorphology and pathology without tissue removal. To form an OCT image, the magnitude and time delay of backscattered light returned from a biological sample is measured transversally10. The resolution, ranging from about 1 μm in ultra-high-resolution systems to around 20 μm, is superior to that achieved by other tomographic methods such as conventional ultrasound, enabling cell-level detail to be observed11. OCT is therefore of interest for both in vitro and in vivo investigations of epithelial tissues. Its ability to perform ‘optical biopsy’ gives it the potential to replace, or at least to reduce the necessity for invasive tissue sampling via biopsy12. OCT has been studied to evaluate a variety of skin disorders including tumors, various inflammatory and blistering conditions, physical and chemical skin damage, as well as surgical interventions13,14,15,16,17,18.

OCT images visualize the morphological details of tissue microstructures, i.e., stratum corneum, epidermis, dermis, hair follicles, eccrine sweat ducts, and sebaceous glands11,19. Figure 1 illustrates some of the structures in healthy skin visible in OCT images. The basic structure of a healthy skin includes the epidermis, dermis, and subcutaneous fat20. The epidermis is four to five layers of stratified epithelia with no blood vessels, the most superficial being the stratum corneum21. The epidermis connects to the dermis by a layer known as the dermal-epidermal junction (DEJ). Cutaneous appendages, including sensory receptors, nerves, glands, blood vessels and hair follicles, reside in the dermis. Skin varies in color, thickness, and texture in different parts of the body according to specific functional needs. Regional variations include thickness of the stratum corneum, the presence of a stratum lucidum on palms and soles, epidermal thickness and variable numbers of sebaceous glands, eccrine glands and hair follicles21. In this study, we have looked at nose, preauricular, neck, volar forearm, palm, back, thumb, dorsal forearm, sole, and calf as representative of the variety of skin architectures and epidermal thicknesses across the body. The most notable features of thick skin (palm, thumb and sole) are the thick stratum corneum, presence of a stratum lucidum, an abundance of eccrine sweat glands and, a lack of hair follicles, sebaceous glands and apocrine glands. In OCT images of skin from the palm and sole, the stratum corneum is the first visualized layer of the epidermis, appearing as a homogenous layer of cells with scattered eccrine sweat ducts. The eccrine sweat ducts of thick skin have a recognizable spiral lumen when observed with high intensity reflected light, a result of the large refractive index mismatch between sweat duct and the keratinocytes of the epidermis22. The stratum lucidum, a clear thin layer of dead cells found only on the thickened epidermis of palms and soles, is just beneath the stratum corneum20. The prominent morphological features of the skin of the nose, preauricular, volar forearm, neck, back, dorsal forearm and calf are: thinner epidermis, no stratum lucidium and presence of hair and sebaceous glands. The stratum corneum of thick skin is about 300 µm, in contrast to an average of 14 µm in thin skin, where it is too thin to be visualized in detail by OCT. In thin skin, epidermal thickness fluctuates between 70 µm to 120 µm, with the full thickness of the epidermis plus the dermis varying between 1000 µm to 2000 µm23.

Figure 1
Figure 1

The illustration demonstrates the sequential images obtained by OCT (top left), and the 3D OCT representation of the skin (top right). The center illustration demonstrates several skin structures and their corresponding appearance on OCT. The bottom images demonstrate thick skin and thin skin, and annotated structures, their corresponding equivalent histology, and OCT images. The scale bar in OCT images is 400 µm.

Quantification of tissue cellular and architectural characteristics through extraction of optical and textural features of skin tissue can be utilized in the analysis of OCT images22,23,24,25. Optical properties describe cellular characteristics of skin tissue that can be extracted by solving the light-matter equation, using single or multiple scattering models26, conjugated with some OCT image analysis algorithms. The single scattering model assumes that only the light undergoing single scattering (ballistic photons) preserves the coherence properties and contributes to the OCT signal. The multiple scattering model however, is based on the extended Huygens–Fresnel (EHF) principle where the shower curtain effect is taken into account24,27. Both models have been used for investigating optical properties of tissue9,26. Among optical properties derived from OCT images, attenuation coefficient, defined as light intensity decay due to absorption and scattering, has been successfully used for clinical diagnosis and characterization of skin abnormalities and diagnosis28,29. Textural features are formed from the variation in back-scattered light returned from micro-compartments with different sizes and densities30,31. Such variations are generated when a tissue, with structures of the same scale or smaller than the wavelength of the light source, is illuminated by a spatially coherent light32. First-order texture features are statistics calculated from the image histogram that measures the probability of a certain pixel occurring in the image, and do not consider pixel neighborhood relationships. To derive second-order statistics, the statistical texture features from the gray level co-occurrence matrix (GLCM)33, the spatial relationship between two pixels, are considered. The GLCM tabulates the number of times different combinations of pixel pairs, of a specific gray level, occur in an image, in four different directions (0°, 45°, 90° and 135°). To derive higher order statistics, the statistical texture features from the gray level run length (GLRLM) matrix34, the spatial relationship between more than two pixels, are considered. In a given direction, GLRLM measures the number of times there are runs of consecutive pixels with the same value.

Diagnosis of skin disease currently relies on the training, experience, visual perception and judgment of the clinician. Further diagnostic information is obtained from histologic interpretation of biopsies of tissue samples. Both visual and microscopic inspection of tissue rely on physicians analyzing visible patterns to guide the diagnosis. Issues arise when, for the same patient, dermatopathologists disagree on the clinical and histological diagnosis, due to variability in visual perception. Tools for automated pattern recognition and image analysis provide objective information to support clinical decision-making and may serve to reduce this variability. Previous studies have demonstrated utilizing OCT techniques such as polarization-sensitive OCT in conjunction with advanced image analysis methods, healthy and neoplastic tissues, particularly basal cell carcinoma, can be differentiated15,35,36. However, in some of those studies typically qualitative and visual features37 are used for structure identification. Other limitations of those studies include the use of in vitro data and use of complex, expensive imaging techniques such as polarization-sensitive OCT38, using less efficient features, and/or using inefficient analysis methods15,35,36. Other studies did not fully incorporate all available data acquisition and analysis techniques. This study attempts to address some of those limitations by using a clinical OCT machine, in vivo human samples, and extensive analysis techniques to accurately identify features of healthy tissue as well as BCC and SCC and classify them. We propose a model based on analysis of optical and texture features to describe the gray-level patterns, pixel interrelationships, and the spectral properties of an image, in order to provide the objective analysis of tissue samples in a noninvasive manner. The aim of this study is to create comprehensive in vivo models of human skin diseases using numerical features extracted from OCT images and to use such models to assist in the diagnosis of common skin disorders. Our study is designed to be completed in two phases. In the first phase, optical and textural features extracted from OCT images of healthy skin at different body sites in vivo are analyzed and compared. In the second phase, the same features are extracted from OCT images of diseased skin and surrounding healthy tissue, these are used for computational modeling. The models will then be tested on diseased images to identify possible dermatological conditions.

Dataset Construction

All imaging procedures and experimental protocols were approved and carried out according to the guidelines of the US National Institutes of Health, and Institutional Review Board (IRB) approval board of the Wayne State University and informed consent was obtained from all subjects before enrollment in the study. Images for the skin conditions were collected in the Wayne State University Physician Group Dermatology Clinic, Dearborn, MI.

Healthy skin in OCT images

A stack of 170 images were taken from different transversal crossections for each of 10 body sites for each of the 10 healthy subjects, providing 17,000 images to develop a comprehensive analytical model of healthy tissue. A specialized holder is used for the OCT probe to make sure that we consistently imaged the same area of skin on each subject. The OCT B-scan images of nose, preauricular, volar forearm, neck, palm, back, thumb, dorsal forearm, sole, and calf were taken from male subjects aged between 25 and 52 years old, none of whom had any skin conditions. Among numerous images, collectively, the resulting 1000 images represented the data set for the first part of study. See Fig. 2 for image examples. The images were despeckled and then were segmented into two distinct layers using our semi-automatic DEJ detection algorithm that is based on graph theory. The algorithm was performed in an interactive framework by graphical representation of the attenuation coefficient map through a uniform-cost search method39 (see Figure Supplementary S3). The segmentation results were also verified by manual segmentation performed by two dermatologists.

Figure 2
Figure 2

OCT images and structure annotation of different sites of body including, (a) nose, (b) preauricular, (c) volar forearm, (d) neck, (e) palm, (f) back, (g) thumb, (h) dorsal forearm, (i) sole and (j) calf. SC: stratum corneum, SL: stratum lucidum, ESD: eccrine sweat ducts, RE: remainder of epidermis (stratum granulosum, stratum spinosum, stratum basale), RD: reticular dermis, DEJ: dermal-epidermal junction showing pronounced dermal papillae, PD: papillary dermis, D: dermis, EP: epidermis, BV: blood vessels, TK: thick skin, and TN: thin skin.

The main reason for studying healthy skin were; we wanted to study different regions of healthy skin to generate a small-scale atlas of OCT images. This allows us to have insight into textural and statistical features, to study feature variation prior to classification, and to better understand details of specific sites where we performed feature extraction for classification. This information is then used to compare features extracted from healthy and cancerous tissues in the classification workflow.

Diseased skin in OCT images

The characteristics of diseased skin, hence the corresponding features in the OCT image, are altered compared to those of healthy skin. We studied epithelial skin tumors, i.e., basal cell carcinoma (BCC) and squamous cell carcinoma (SCC) for this study. The diseased images in this study were taken from 11 subjects, aged between 25 to 52 years old, with histopathologically confirmed diagnosis of BCC or SCC. Each patient had one tumor; 5 with BCC and 6 with SCC. We collected 170, 2D images from each tumor at different transversal crossections. We selected our sample images among those images. Although, we collected many images, some of them were excluded. One reason for exclusion was the inability to confirm with their histopathology match. Another reason was to have distinct SCC and BCC samples, in some cases SCC and BCC were very similar and cannot easily be distinguished. Our dermatologists with histopathology expertise evaluated the OCT images and compared the results with biopsied tissue samples from that site, to identify the presence of BCC or SCC. For healthy images histology was not acquired. The images were manually (with the confirmation of histology images) annotated, generating 242 diseased skin images comprised of 119 BCC and 123 SCC images as our dataset. An additional 240 images were collected from locations at a minimum distance from the tumor that they could dermatologically be confirmed tumor-free. Based on histology results, our dataset comprised nodular, superficial, and infiltrative subtypes of BCC and invasive SCC.

In Figure Supplementary S1, the OCT images and corresponding histology images for BCC are shown. In both the OCT and histology images of BCC, the central portion of the epidermis is ulcerated and covered with a crust (green arrow). SCC lesions develop from atypical cells with squamous cell characteristics proliferating in the dermis and underlying tissue. On the skin surface this appears as destruction of the epidermis, and local thickening of the tissue due to hyperkeratosis and disordered epidermal layering. Criteria used to determine SCC in OCT images were changes to tissue layer architecture and disruption of the basement membrane15,40. In Figure Supplementary S2, the OCT image and its corresponding histology image for an SCC sample are shown.


Optical, first order statistical, and textural features, including sixty-three features, were extracted for both healthy and diseased image datasets.

OCT Healthy skin

These features are investigated and compared for both epidermis and dermis layers of healthy skin of patient’s ten body sites. We observed that the value of these features varies between skin of different sites due to the composition and arrangement of cells and organelles. We used ANOVA analysis (interval plots) to analyze the variation of the features for different sites of body and t-test to measure the inter-correlation between the features of the layers in both dermis and epidermis. Optical features, attenuation coefficient, is determined based on light intensity decay. Attenuation coefficient has been computed for different skin sites based on the single scattering calculation algorithm. A simple block diagram of the computational algorithm as well as the attenuation coefficient calculation algorithm are explained in Materials and Methods Section. In Figure Supplementary S4, attenuation coefficients of dermis and epidermis are shown for (a) nose, (b) preauricular, (c) volar forearm, (d) neck, (e) palm, (f) back, (g) thumb, (h) dorsal forearm, (i) sole and (j) calf of ten healthy individuals. We observed that the palm and thumb are closely correlated in terms of attenuation coefficient. The attenuation coefficient is significantly different between the group of sole, palm and thumb compared to the other sites of body (p < 0.05) in both dermis and epidermis. Variation is also observed between preauricular and other sites for both dermis and epidermis. For the dermal layer, differences were detected between the sole and nose as well as between the sole and volar forearm. Figure Supplementary S4 also shows the map of p-values for epidermis and dermis of different body sites. First-order statistical features (FOS) extracted from the OCT images, were mean, standard deviation, variance, skewness, kurtosis, median and entropy. We observed slight differences for all FOS features extracted from epidermis and dermis layers in all skin sites. Figure Supplementary S5 and S6 show standard deviation and entropy as well as maps of their difference between each pair of skin sites. It was noted that the epidermal layer of nose and preauricular skins have similar texture. The results show that FOS features have the same trend as the optical property for both epidermis and dermis. Textural features, GLCM textures including contrast, energy, correlation, homogeneity and entropy in four directions (0°, 45°, 90° and 135°) were computed for all skin sites. The GLCM values of contrast and entropy at 45 degrees for epidermis and dermis as well as their maps of p-value are illustrated in Figure Supplementary S7 and S8. Our findings show that there is a significant difference, p < 0.05, between the textural features of different body sites with different epidermal thickness. Although not shown, all optical, statistical, textural features, were computed for epidermis and dermis. We also observed a neligible difference between the GLRLM textural features including short run emphasis (SRE), long run emphasis (LRE), gray-level nonuniformity (GLN), run percentage (RP), run length nonuniformity (RLN), low gray-level run emphasis (LGRE), high gray-level run emphasis (HGRE) that are also computed for all skin sites of different body sites.


Together, the resulting 482 images represented the training and testing set of the classification problem described in the following section. A region of interest (ROI) for a given B-scan pixels in each image was chosen such that the tumorous region is selected. In addition to the corresponding healthy skin images of identical sites collected in first phase, other ROIs were also chosen from the surrounding healthy tissue of tumor. The optical, statistical, and textural features were extracted from the images. Different combinations of features were evaluated in classification algorithms. A principle component analysis (PCA)-based feature selection method41 was used resulting in the selection of six features: one optical, three statistical and two textural features. These features are attenuation coefficient, entropy from FOS, entropy at 0 degrees, correlation at 0 degrees, correlation at 135 degrees and homogeneity at 135 degrees from GLCM. The results pertaining to differentiating BCC from healthy skin as well as SCC from healthy skin are shown in Figs 3 and 4, respectively. Figures 3(a) and 4(a) depict the correlation between each two pair of features in the 63-feature pool. Brighter colors indicate larger correlation value. A noticeable correlation is observed among the features from the same category. Figures 3(b) and 4(b) show that the remaining features (after feature selection) have less correlation with each other. Several machine learning classifiers were tested for solving the classification problem. Among all, we showed the results of SVM42 with two different kernels, i.e., linear and 2nd polynomial (quadratic), logistic regression43, K-nearest neighbor classifiers44 linear discriminant analysis (LDA)45 and artificial neural network (ANN)37 that had higher accuracy. Linear SVM (LSVM) yielded the optimum result with an accuracy rate of 80.9%, specificity of 80.5% and sensitivity of 81.9% for BCC classification. With quadratic SVM (QSVM) an accuracy rate of 87.2%, specificity of 87.3% and sensitivity of 87% were obtained for SCC classifications. QSVM also provided satisfying results, 80.5% accuracy for BCC classification. These results were obtained when the classifier was used with the six selected features.

Figure 3
Figure 3

Classification results. (a) Correlation map of 63 features used for differentiating healthy versus BCC samples, (b) correlation map of the six selected features, (c) ROC curve for different subsets of features with LSVM classifier, (d) cross-validation classification error of different classifiers when different subsets of features were used. SRE: short run emphasis, LRE: long run emphasis, GLN: gray-level nonuniformity, RP: run percentage, RLN: run length nonuniformity, LGRE: low gray-level run emphasis, HGRE: high gray-level run emphasis.

Figure 4
Figure 4

Classification results. (a) Correlation map of 63 features used for differentiating healthy versus SCC samples, (b) correlation map of the six selected features, (c) ROC curve for different subsets of features with QSVM classifier, (d) cross-validation classification error of different classifiers when different subsets of features were used. SRE: short run emphasis, LRE: long run emphasis, GLN: gray-level nonuniformity, RP: run percentage, RLN: run length nonuniformity, LGRE: low gray-level run emphasis, HGRE: high gray-level run emphasis.

The receiver operating characteristic (ROC) curve for several subsets of features with LSVM and QSVM as classifier are shown in Figs 3(c) and 4(c), respectively. Figures 3(d) and 4(d) show the cross-validation classification error percentage of the six classifiers when different subsets of features are used.

OCT versus high resolution ultrasound

High-frequency ultrasound is mainly used to estimate tumor thickness in melanoma, to plan one-step excisions with appropriate margins, and help to determine the necessity of sentinel lymph node biopsy5. Its penetration depth lies around 8 mm at 20 MHz. We imaged the skin of the same body sites with several OCT and ultrasound imaging systems in order to compare their resolutions and penetration depths. The modalities used were a swept source OCT (SS-OCT), clinical ultrasound (9 MHz), high frequency (HF) ultrasound (48 MHz), ultra-high frequency (UHF) ultrasound (70 MHz) and high definition (HD) OCT. These images are shown in Figures Supplementary S9 to S12, and their histology images given in Figure Supplementary S13. The speckle size in OCT and ultrasound images of a fabricated tissue-mimicking phantom, composed of TiO2 and polyurethane, were listed in Table 1 for comparison. Average speckle size is estimated by using the full width at half maximum (FWHM) of the auto-covariance function of the speckle pattern46. Theoretically, some of high frequency ultrasound systems have a resolution close to that of OCT or even better. We however observed more distinct structures in OCT images. In Table 1, we also compared the resolution, field of view and penetration depth of these imaging modalities. Comparing the results, OCT surpasses other modalities in terms of speckle size. SS-OCT is the most favorable one due to its moderate penetration depth, resolution, field of view, and speckle size.

Table 1: Specifications of the imaging modalities used in this paper.


OCT is an effective imaging modality capable of aiding in the diagnosis of skin conditions including inflammatory diseases and non-melanoma skin cancer. The diagnosis of skin disease is based primarily on the visual assessment of the dermatologist and recognizing patterns of morphology. Noninvasive skin imaging techniques, including OCT, can provide further information to the clinician. Currently clinicians rely on their visual pattern recognition skills and expertise as a physician viewing the images. Tools for automated pattern recognition and image analysis can provide objective information to support clinical decision-making. This study presents the incorporation of clinical and detailed quantitative textural assessment of OCT images to first generate a comprehensive morphological and computational atlas of healthy human skin in vivo. The reference system of in vivo healthy skin OCT images can then be used to assess a wide variety of skin disorders with the aim of improving diagnosis. We generated a small-scale OCT atlas of human skin from sites shown in Fig. 2 (nose, preauricular, volar forearm, neck, palm, back, thumb, dorsal forearm, sole, and calf), which covers variations of skin tissues throughout the body. We imaged healthy skin from a variety of body sites from different individuals. The images were then segmented using our dermal-epidermal junction (DEJ) detection algorithm. The algorithm is based on graph-theory representation of the attenuation coefficient map through a uniform-cost search method. Features including attenuation coefficient, statistical, and textural features were extracted from ten evenly distributed ROIs in both epidermis and dermis of different body sites. The average values and their corresponding 95% confidence interval (CI) across different skin sites were calculated. The derived features were different for the dermis and epidermis in healthy skin of different sites. These features were then extracted from OCT images of diseased and healthy skin and used for classification.

The epidermis and dermis vary in different anatomic areas. Optical properties and hence the corresponding numerical features in OCT images vary based on sizes, shapes, concentration and orientations of tissue microstructure; cell membranes and blood vessel walls act as scatterers/reflectors and refractors. In texture analysis, the attribute ‘contrast’ of the GLCM is a measure of texture analysis, showing the difference between the highest and lowest intensity values of a set of pixels. This parameter was significantly different between the values calculated from palm/sole and nose. The attribute ‘energy’ of the GLCM matrix is a measure of uniformity of pixel pair recurrences and identifies disorders in texture. High-energy values occur when gray level distribution has a constant or periodic form. Significant variations of energy were measured in sole samples as compared to all other sites for both the epidermis and dermis. In the case of the attribute ‘entropy’ of the GLCM, we have an identifier of disorder or complexity of an image that is large when the image is not texturally uniform. Sole, palm and thumb showed a significant difference in entropy when compared to that of other sites in both dermis and epidermis. The attribute ‘inverse difference moment’ or ‘homogeneity’ of the GLCM, in spite of having dissimilarity, did not offer a significant distinction among different sites. With the numerical features extracted from OCT images, we successfully trained a classifier to differentiate between healthy and abnormalities of dermal microstructure. Among the classifiers we examined, SVM offered the best accuracy to differentiate between normal and abnormal tissue samples. This objectively determined information could assist clinicians to diagnose, develop treatment plans, and determine individual prognoses more accurately.

In this workflow, we used an efficient, limited number of features and a modified PCA algorithm for feature selection. Thus, our algorithm might be limited as result of PCA limitations41. Although this selection of features covers an adequate variety in the projected space, their values may not linearly (or quadratically) discriminate between two classes. Therefore, future directions for research include, a larger data set, exploring other efficient features, and investigation of more efficient feature selection and classification algorithms. Based on our data analysis in terms of recall and perception, it is observed some examples where the propsed classifier has failed and BCC or SCC skin tissue were assessed as non-cancerous by proposed workflow. The reason for this classifier misinterpretation may be due to similarity of the cancerous tissue to surrounding texture.

In summary, we have extracted optical, textural, and statistical properties from OCT healthy skin images to create a computational atlas of the normal skin at different anatomic sites. We observed that skin cellular architecture varies across the body, and so do the textural and morphological characteristics in the OCT images. There is, therefore, a critical need to systematically analyze OCT images of different sites and identify their significant qualitative and quantitative differences. We demonstrated that the computational models can assist in diagnosis of abnormalities of dermal microstructure, i.e., BCC vs. healthy, or SCC vs. healthy, and hence aid in the determination of treatment. The proposed workflow can be generalized for detection of other tissue abnormalities. The result of this study can be extended as an interactive machine learning kernel interface addable to OCT devices.

Materials and Methods

OCT system

Figure Supplementary S14 shows the schematic illustration of the multi-beam, swept-source OCT (SS-OCT) system (Vivosight, Michelson DiagnosticTM Inc., Kent, United Kingdom), used in this study. The lateral and axial resolutions are 7.5 µm and 10 µm, respectively. The scan area of the OCT system is 6 mm width by 6 mm length by 2 mm depth. A tunable broadband laser source (Santec HSL-2000-11-MDL), with the central wavelength of 1305 +/− 15 nm successively sweeps through the optical spectrum and leads the light to four separate interferometers and forms four consecutive confocal gates. The 10 KHz sweep is the frequency of generating one reflectivity profile (A-Scan). A B-Scan is then generated by combining several adjacent A-Scans for different transversal positions of the incident beam. B-scan frame rate is 20 frame/s.

It is worth mentioning that we introduced dynamic focus OCT47, in which there is no need to decorrelate the effect of confocal gate and sensitivity drop-off since the peak of the confocal and coherence gates move simultaneously. Similarly, due to the multi-beam configuration, our Vivosight OCT can be considered approximately as a discrete dynamic focus OCT and, with a good approximation, these parameters can be neglected48,49. Therefore, compensation for confocal parameter of the lens and for the fall in laser coherence was not performed.

Data Analysis

Healthy OCT images of skin are first segmented into two distinct layers using our semi-automatic DEJ detection algorithm39. The algorithm works based on converting a border segmentation problem to a shortest-path problem using graph theory. It is performed in an interactive framework by graphical representation of an attenuation coefficient map through a uniform-cost search method. To smooth borders, a fuzzy algorithm is introduced enabling a closer match to manual segmentation. The details of this method have been reported previously39. The diseased parts of the OCT image are manually selected based on the histopathology images. A 200 × 200 pixel ROI was selected such that the tumorous region is within it. ROIs from the surrounding healthy skin were also chosen. The images then go through the procedure depicted in Fig. 5(a), where the optical, statistical and textural features are extracted from the images. To suppress the speckle noise, a BM3D filter50 was used. The despeckled images were used for better visualization as well as segmentation.

Figure 5
Figure 5

(a) Block diagram of the proposed computational method, (b) attenuation coefficient measurement procedure.

Optical feature

We calculated the attenuation coefficient as the optical property of the tissue. The A-scans in each ROI were averaged. The Levenberg-Marquardt algorithm was used for curve-fitting. The attenuation coefficient of the ROI in the sample was then the slope of the fitted curve on the averaged A-scan (see Fig. 5(b)). First-order statistical features: Mean, variance, standard deviation, skewness, median, entropy and kurtosis were calculated for each ROI. First-order measures are statistics calculated from the original image values, and do not consider pixel neighborhood relationships. They are computed based on the intensity value concentrations on all or part of the histogram. Second-order statistical features: We used statistical texture features from the gray level co-occurrence matrix (GLCM) to represent second-order statistics33. These features demonstrate the spatial relationship between pairs of pixels. The GLCM tabulates the number of times different combinations of pixel pairs of a specific gray level occur in an image in different directions. Homogeneity, contrast, energy, entropy and correlation in four directions, 0°, 45°, 90° and 135°, are calculated as second-order statistics. Higher order statistical features: We used statistical texture features from the gray level run length (GLRLM) matrix to represent higher order statistics. These features demonstrate spatial relationship between more than two pixels. In a given direction, GLRLM measures the number of times there are runs of consecutive pixels with the same value including short run emphasis (SRE), long run emphasis (LRE), gray-level nonuniformity (GLN), run percentage (RP), run length nonuniformity (RLN), low gray-level run emphasis (LGRE), high gray-level run emphasis (HGRE)34. We constructed a feature vector comprised of FOS textures, GLCM textures, and GLRLM features in four angular directions, 0°, 45°, 90° and 135°. The mean of the obtained features for dermis and epidermis and their corresponding 95% confidence intervals (CI) across different skin sites were estimated. ANOVA analysis (interval plots) was used to analyze the variation of these features for different sites of body in both dermis and epidermis. The differences in image features between sites were compared using t-test. We used Minitab Statistical Software (version 17.0, Minitab Inc., Pennsylvania, USA) for ANOVA analysis.


Prior to classification, features were normalized, then a feature selection algorithm was performed to obtain the most discriminative features. We used principal component analysis (PCA) as our feature selection method. PCA finds a linear map from the data in a high dimensional space to a desired low dimensional space trying to preserve the data variance39,41. To perform PCA, we obtained the principal components and then kept the features which provided the greatest contribution to the first sixth principal components. After feature selection was performed, the images we had collected to fill the learning database were classified using machine learning classifiers. We tested SVM (with two different kernels of linear, LSVM, and 2nd degree polynomial (QSVM)), logistic regression (LR), k-nearest neighbor (KNN), linear discriminant analysis (LDA) and artificial neural networks (ANN). It has been shown previously that although SVM is designed to solve linear classification tasks, by using some kernel tricks, it can be used for nonlinear classification tasks and is very well suited for binary (two class) problems42. In LR classification, the probability that a binary target is true is modeled as a logistic function of a linear combination of features43. For (KNN) the rule classifies each unlabeled sample by the majority label among its K-nearest neighbors in the training set44. LDA, searches for a linear combination of variables that best separates binary targets. An ANN classifier consists of many neurons, i.e., highly interconnected processing components, that work constructively and coherently to solve specific problems36,37. Classifiers were validated using 10 × 10-fold cross-validation method. In 10-fold cross-validation, the data is randomly split into 10 equal folds. The classification procedure is implemented in an iterative manner. For each run nine folds are used for training and one-fold is used for testing. The process is repeated ten times and the final accuracy is the average of all the fold accuracies.


The approaches described in this study have been implemented in Matlab® 2016 except the segmentation algorithm which is developed in Delphi. The experiments were carried out on a standard computer workstation (3.10 GHz Intel Core i7, 32 GB RAM). In addition to custom routines and semi- automatic ROIs selection developed by the authors using Matlab’s built-in functions, publicly available source code for BM3D has been utilized50.

Additional Information

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.


  1. 1.

    Berardesca, E., Maibach, H. & Wilhelm, K. Non invasive diagnostic techniques in clinical dermatology. (Springer Science & Business Media, 2013).

  2. 2.

    Buxton, P. K. & Morris-Jones, R. ABC of Dermatology. (John Wiley & Sons, 2013).

  3. 3.

    Kittler, H., Pehamberger, H., Wolff, K. & Binder, M. Diagnostic accuracy of dermoscopy. The Lancet. Oncology 3, 159–165 (2002).

  4. 4.

    Gonzalez, S. & Tannous, Z. Real-time, in vivo confocal reflectance microscopy of basal cell carcinoma. Journal of the American Academy of Dermatology 47, 869–874, (2002).

  5. 5.

    Desai, T. D., Desai, A. D., Horowitz, D. C., Kartono, F. & Wahl, T. The use of high-frequency ultrasound in the evaluation of superficial and nodular basal cell carcinomas. Dermatologic surgery: official publication for American Society for Dermatologic Surgery [et al.] 33, 1220–1227; discussion1226–1227, (2007).

  6. 6.

    Marckmann, P. et al. Nephrogenic systemic fibrosis: suspected causative role of gadodiamide used for contrast-enhanced magnetic resonance imaging. Journal of the American Society of Nephrology: JASN 17, 2359–2362, (2006).

  7. 7.

    Kainerstorfer, J. M. et al. Evaluation of non-invasive multispectral imaging as a tool for measuring the effect of systemic therapy in Kaposi sarcoma. PloS one 8, e83887, (2013).

  8. 8.

    Lui, H., Zhao, J., McLean, D. & Zeng, H. Real-time Raman spectroscopy for in vivo skin cancer diagnosis. Cancer research 72, 2491–2500, (2012).

  9. 9.

    Welzel, J. Optical coherence tomography in dermatology: a review. Skin research and technology official journal of International Society for Bioengineering and the Skin 7, 1–9 (2001).

  10. 10.

    Pierce, M. C., Strasswimmer, J., Park, B. H., Cense, B. & de Boer, J. F. Advances in optical coherence tomography imaging for dermatology. Journal of investigative dermatology 123, 458–463 (2004).

  11. 11.

    Drexler, W. & Fujimoto, J. G. Optical coherence tomography: technology and applications. (Springer Science & Business Media, 2008).

  12. 12.

    Fujimoto, J. G., Pitris, C., Boppart, S. A. & Brezinski, M. E. Optical coherence tomography: an emerging technology for biomedical imaging and optical biopsy. Neoplasia 2, 9–25 (2000).

  13. 13.

    Avanaki, M. R. et al. Investigation of basal cell carcinoma using dynamic focus optical coherence tomography. Applied optics 52, 2116–2124, (2013).

  14. 14.

    Pierce, M. C., Strasswimmer, J., Park, B. H., Cense, B. & de Boer, J. F. Advances in optical coherence tomography imaging for dermatology. The Journal of investigative dermatology 123, 458–463, (2004).

  15. 15.

    Boone, M. A. et al. High-definition optical coherence tomography algorithm for the discrimination of actinic keratosis from normal skin and from squamous cell carcinoma. Journal of the European Academy of Dermatology and Venereology JEADV 29, 1606–1615, (2015).

  16. 16.

    Lee, K. S. et al. Three-dimensional imaging of normal skin and nonmelanoma skin cancer with cellular resolution using Gabor domain optical coherence microscopy. Journal of biomedical optics 17, 126006, (2012).

  17. 17.

    Reggiani, C. et al. Update on non-invasive imaging techniques in early diagnosis of non-melanoma skin cancer. Giornale italiano di dermatologia e venereologia: organo ufficiale, Societa italiana di dermatologia e sifilografia 150, 393–405 (2015).

  18. 18.

    Hussain, A. A., Themstrup, L. & Jemec, G. B. Optical coherence tomography in the diagnosis of basal cell carcinoma. Archives of dermatological research 307, 1–10, (2015).

  19. 19.

    Gladkova, N. D. et al. In vivo optical coherence tomography imaging of human skin: norm and pathology. Skin Research and Technology 6, 6–16 (2000).

  20. 20.

    Montagna, W. The structure and function of skin. (Elsevier, 2012).

  21. 21.

    On the anatomy and physiology of the skin. III. The elasticity of the cutis By Professor K. Langer Presented at the meeting of 27th November 1861. British journal of plastic surgery 31, 185–199 (1978).

  22. 22.

    Ohmi, M., Tanigawa, M., Wada, Y. & Haruna, M. Dynamic analysis for mental sweating of a group of eccrine sweat glands on a human fingertip by optical coherence tomography. Skin research and technology: official journal of International Society for Bioengineering and the Skin 18, 378–383, (2012).

  23. 23.

    Tsugita, T., Nishijima, T., Kitahara, T. & Takema, Y. Positional differences and aging changes in Japanese woman epidermal thickness and corneous thickness determined by OCT (optical coherence tomography). Skin research and technology: official journal of International Society for Bioengineering and the Skin 19, 242–250, (2013).

  24. 24.

    Thrane, L., Yura, H. T. & Andersen, P. E. Analysis of optical coherence tomography systems based on the extended Huygens-Fresnel principle. Journal of the Optical Society of America. A, Optics, image science, and vision 17, 484–490 (2000).

  25. 25.

    Schmitt, J. M. Optical coherence tomography (OCT): a review. Selected Topics in Quantum Electronics, IEEE Journal of 5, 1205–1215 (1999).

  26. 26.

    Levitz, D. et al. Determination of optical scattering properties of highly-scattering media in optical coherence tomography images. Optics express 12, 249–259 (2004).

  27. 27.

    Avanaki, M. R. et al. Quantitative evaluation of scattering in optical coherence tomography skin images using the extended Huygens–Fresnel theorem. Applied optics 52, 1574–1580 (2013).

  28. 28.

    Avanaki, M. R., Hojjat, A. & Podoleanu, A. G. Investigation of computer-based skin cancer detection using optical coherence tomography. Journal of Modern Optics 56, 1536–1544 (2009).

  29. 29.

    Mostaco-Guidolin, L. B. et al. Collagen morphology and texture analysis: from statistics to classification. Scientific reports 3, 2190, (2013).

  30. 30.

    Gossage, K. W. et al. Texture analysis of speckle in optical coherence tomography images of tissue phantoms. Physics in medicine and biology 51, 1563 (2006).

  31. 31.

    Gossage, K. W., Tkaczyk, T. S., Rodriguez, J. J. & Barton, J. K. Texture analysis of optical coherence tomography images: feasibility for tissue classification. Journal of biomedical optics 8, 570–575, (2003).

  32. 32.

    Schmitt, J. M., Xiang, S. & Yung, K. M. Speckle in optical coherence tomography. Journal of biomedical optics 4, 95–105 (1999).

  33. 33.

    Haralick, R. M. Statistical and structural approaches to texture. Proceedings of the IEEE 67, 786–804, (1979).

  34. 34.

    Galloway, M. M. Texture analysis using gray level run lengths. Computer Graphics and Image Processing 4, 172–179, (1975).

  35. 35.

    Gambichler, T. et al. In vivo optical coherence tomography of basal cell carcinoma. Journal of dermatological science 45, 167–173, (2007).

  36. 36.

    Markowitz, O. et al. Evaluation of Optical Coherence Tomography as a Means of Identifying Earlier Stage Basal Cell Carcinomas while Reducing the Use of Diagnostic Biopsy. The Journal of clinical and aesthetic dermatology 8, 14–20 (2015).

  37. 37.

    Jorgensen, T. M., Tycho, A., Mogensen, M., Bjerring, P. & Jemec, G. B. Machine-learning classification of non-melanoma skin cancers from image features obtained by optical coherence tomography. Skin research and technology: official journal of International Society for Bioengineering and the Skin 14, 364–369, (2008).

  38. 38.

    Duan, L., Marvdashti, T., Lee, A., Tang, J. Y. & Ellerbee, A. K. Automated identification of basal cell carcinoma by polarization-sensitive optical coherence tomography. Biomedical optics express 5, 3717–3729, (2014).

  39. 39.

    Taghavikhalilbad, A. et al. Semi-automated localization of dermal epidermal junction in optical coherence tomography images of skin. Applied optics 56, 3116–3121, (2017).

  40. 40.

    Barton, J. K. et al. Investigating sun-damaged skin and actinic keratosis with optical coherence tomography: a pilot study. Technology in cancer research & treatment 2, 525–535 (2003).

  41. 41.

    Jolliffe, I. In Wiley StatsRef: Statistics Reference Online (John Wiley & Sons, Ltd, 2014).

  42. 42.

    Smola, A. J. & Schölkopf, B. A tutorial on support vector regression. Statistics and Computing 14, 199–222, (2004).

  43. 43.

    Dreiseitl, S. & Ohno-Machado, L. Logistic regression and artificial neural network classification models: a methodology review. Journal of biomedical informatics 35, 352–359 (2002).

  44. 44.

    Weinberger, K. Q. & Saul, L. K. Distance Metric Learning for Large Margin Nearest Neighbor Classification. J. Mach. Learn. Res. 10, 207–244 (2009).

  45. 45.

    Wang, L., Wang, X. & Feng, J. On image matrix based feature extraction algorithms. IEEE transactions on systems, man, and cybernetics. Part B, Cybernetics: a publication of the IEEE Systems, Man, and Cybernetics Society 36, 194–197 (2006).

  46. 46.

    Wagner, R. F., Insana, M. F. & Smith, S. W. Fundamental correlation lengths of coherent speckle in medical ultrasonic images. IEEE transactions on ultrasonics, ferroelectrics, and frequency control 35, 34–44, (1988).

  47. 47.

    Avanaki, M. R. N. & Podoleanu, A. En-face time-domain optical coherence tomography with dynamic focus for high-resolution imaging. Journal of biomedical optics 22, 56009, (2017).

  48. 48.

    Tomlins, P. H. et al. Scattering attenuation microscopy of oral epithelial dysplasia. Journal of biomedical optics 15, 066003, (2010).

  49. 49.

    Holmes, J. & Hattersley, S. In Proc. SPIE. 71681N.

  50. 50.

    Image and video denoising by sparse 3D transform-domain collaborative filtering|Block-matching and 3D filtering (BM3D) algorithm and its extensions, (2017).

Download references


This project has been funded by Karmanos Cancer Institute on behalf of American Cancer Society, Michelson Diagnostics and Wayne State University Startup fund. We acknowledge Dr. Gerald Hish from Wayne State University Laboratory Animal Resources for his help in using their clinical ultrasound imaging system. We also give a special thanks to VisualSonics Inc., Toronto, CA, for use of their high resolution ultrasound imaging system, Vevo MD. We also thank reviewer’s for their constructive comments. We acknowledge the fruirful discussion we had with Dr. Arezou Rajaee from University of Michigan School of Medicine.

Author information


  1. Biomedical Engineering Department, Wayne State University, Detroit, MI, USA

    • Saba Adabi
    • , Anne Clayton
    •  & Mohammadreza Nasiriavanaki
  2. Applied Electronics Department, Roma Tre University, Rome, Italy

    • Saba Adabi
    •  & Silvia Conforto
  3. Department of Electrical Engineering, Sharif University of Technology, Tehran, Iran

    • Matin Hosseinzadeh
    •  & Shahryar Noei
  4. Department of Dermatology, Wayne State University School of Medicine, Detroit, MI, USA

    • Steven Daveluy
    • , Darius Mehregan
    •  & Mohammadreza Nasiriavanaki
  5. Barbara Ann Karmanos Cancer Institute, Detroit, MI, USA

    • Steven Daveluy
    • , Darius Mehregan
    •  & Mohammadreza Nasiriavanaki


  1. Search for Saba Adabi in:

  2. Search for Matin Hosseinzadeh in:

  3. Search for Shahryar Noei in:

  4. Search for Silvia Conforto in:

  5. Search for Steven Daveluy in:

  6. Search for Anne Clayton in:

  7. Search for Darius Mehregan in:

  8. Search for Mohammadreza Nasiriavanaki in:


M.A. designed the research. S.A., S.D., D.M. and M.A. conducted the experiments. S.A., M.H., S.N., S.C., and M.A. analyzed the data. S.A., A.C., and M.A., wrote the manuscript and all authors participated in paper revisions.

Competing Interests

The authors declare that they have no competing interests.

Corresponding author

Correspondence to Mohammadreza Nasiriavanaki.

Electronic supplementary material


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.

Creative Commons BY

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit