Digital removal of dermal denticle layer using geometric AI from 3D CT scans of shark craniofacial structures enhances anatomical precision
Digitalno uklanjanje sloja dermalnih denticula primenom geometrijske veštačke inteligencije na 3D CT snimcima kraniofacijalnih struktura ajkula poboljšava anatomsku preciznost
Kim SW, Yuen AHL, Kim HW, Lee S, Lee SB, Lee YM, Jung WJ, Poon CTC, Park D, Kim S, Kim SG, Kang JW, Kwon J, Jo SJ, Giri SS, Park H, Seo JP, Kim DS, Kim BY, Park SC.
2025 · Scientific reports · CC BY-NC-ND
Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.
Craniofacial morphometrics in sharks provide crucial insights into evolutionary history, geographical variation, sexual dimorphism, and developmental patterns. However, the fragile cartilaginous nature of shark craniofacial skeleton poses significant challenges for traditional specimen preparation, often resulting in damaged cranial landmarks and compromised measurement accuracy. While computed tomography (CT) offers a non-invasive alternative for anatomical observation, the high electron density of dermal denticles in sharks creates a unique challenge, obstructing clear visualization of internal structures in three-dimensional volume-rendered images (3DVRI). This study presents an artificial intelligence (AI)-based solution using machine-learning algorithms for digitally removing dermal denticle layer from CT scans of shark craniofacial skeleton. We developed a geometric AI-driven software (SKINPEELER) that selectively removes high-intensity voxels corresponding to dermal denticle layer while preserving underlying anatomical structures. We evaluated this approach using CT scans from 20 sharks (16 Carcharhinus brachyurus , 2 Alopias vulpinus , 1 Sphyrna lewini , and 1 Prionace glauca ), applying our AI-driven software to process the Digital Imaging and Communications in Medicine (DICOM) images. The processed scans were reconstructed using bone reconstruction algorithms to enable precise craniofacial measurements. We assessed the accuracy of our method by comparing measurements from the processed 3DVRIs with traditional manual measurements. The AI-assisted approach demonstrated high accuracy (86.16–98.52%) relative to manual measurements. Additionally, we evaluated reproducibility and repeatability using intraclass correlation coefficients (ICC), finding high reproducibility (ICC: 0.456–0.998) and repeatability (ICC: 0.985–1.000 for operator 1 and 0.882–0.999 for operator 2). Our results indicate that this AI-enhanced digital denticle removal technique, combined with 3D CT reconstruction, provides a reliable and non-destructive alternative to traditional specimen preparation methods for investigating shark craniofacial morphology. This novel approach enhances measurement precision while preserving specimen integrity, potentially advancing various aspects of shark research including evolutionary studies, conservation efforts, and anatomical investigations.
Introduction Sharks serve as excellent subjects for biological research because they lie at the base of the jawed vertebrate branching point in the phylogenetic tree of extant animals. Their unique evolutionary status has made them crucial subjects across multiple disciplines, including immunology, reproductive biology, and evolutionary genetics, providing essential insights into vertebrate evolution 1 – 5 . Additionally, their conservation status demands urgent attention, as sharks play vital roles as apex predators while facing severe extinction threats 6 . Currently, approximately 37% of Chondrichthyes (a class including sharks, skates, rays, and chimeras that have cartilaginous skeletons) are endangered—they are listed as “vulnerable,” “endangered,” or “critically endangered” on the IUCN Red List 7 . The endangered status of sharks within Chondrichthyes is critical 8 , and this situation, primarily driven by anthropogenic factors, is exacerbated by sharks’ exceptionally slow reproduction rates (characterized by low growth rates, late sexual maturity, and low fecundity) compared to teleosts 6 . As in the case of all critically endangered animals, research on their ecological status and basic biological features is crucial for a better understanding of the animals for conservation purposes 9 . Among the diverse anatomical features of animals, the cranium represents an ideal structure for the study of biology in vertebrates. Ever since encephalization started during the evolutionary history, cranium has been accumulated diverse biological information. In Selachimorpha, a superorder of cartilaginous fish that includes all sharks, morphometrics of craniofacial skeleton including chondrocranium (the cartilaginous braincase that forms the skull base in chondrichthyan fishes including sharks) can provide information on the evolutionary history 10 , 11 , geographical variation 12 , sexual dimorphism 13 and structural and functional development 14 . However, the cartilaginous nature of the Selachimorpha craniofacial skeleton presents significant challenges for research, as its delicate structure makes separation and preservation technically demanding. The improper preparation of craniofacial specimens may damage cranial landmarks, subsequently degrading the accuracy and reliability of craniofacial measurements 15 . Recent advances in research technologies, particularly computed tomography (CT), have revolutionized animal research including sharks by enabling detailed anatomical observation and data preservation 16 . Three-dimensional volume-rendered images (3DVRI) derived from CT data have been used in various studies, including anatomical research, virtual endoscopy, and virtual autopsy. This technology also revolutionized the post-mortem investigation of aquatic animals, starting up by Yuen, Kim and associates in cetaceans 17 , followed by further studies on other aquatic species 18 , 19 . The technique’s ability to differentiate high-density skeletal structures from adjacent soft tissues ensures measurement accuracy and reliability, making it an accessible alternative to manual measurement methods 20 – 22 . However, in the case of sharks, the removal of dermal denticles by adjusting the density threshold (i.e., the level and width of window) in CT 3DVRI is challenging, as they have dermal denticles (i.e., placoid scales) on the body surface with high electron density. Dermal denticles of sharks show tooth-like structures including enameloid, dentine, and a central pulp cavity 23 . The enameloid and the dentine of the dermal denticles are both mineralized matrices, secreted by ameloblasts and odontoblasts in chondrichthyans, which results in high electron densities during imaging 24 , 25 . As sharks have a cartilaginous skeletal system, most of their cartilage structures exhibit lower electron densities than their dermal denticles. A low contrast resolution between the craniofacial skeleton and adjacent soft tissues degrade the accuracy and reliability of craniofacial measurements. As adjusting the density threshold causes the distal cartilaginous skeletal system with lower density to disappear prior to dermal denticles, the precise observation of the craniofacial skeleton solely via this method is impossible. In fact, such phenomenon can be seen when scanning not only with organisms covered in high-density structures but also with any objects with high density surface. To resolve this challenge, the high-density dermal denticle layer must be removed from the object’s body surface. Traditional solutions—physical removal of the dermal denticles before scanning or manual erasure of surface data—are analogous to peeling an apple: they risk compromising the integrity of underlying structures while attempting to remove the high-density outer layer. To address these limitations, we have developed an artificial intelligence (AI)-driven software program (SKINPEELER) capable of selectively removing image voxels corresponding to dermal denticle layer from CT scan data. By applying the developed software to the craniofacial CT data of sharks in Korean water, the present study aimed to evaluate the accuracy of Selachimorpha craniofacial measurements obtained by CT 3DVRI, using conventional manual measurement methods as a reference standard. The present study also examines the inter- and intra-operator variability of craniofacial measurements obtained using the post-processed CT 3DVRI to validate the potential research and clinical applications of our CT scanning and AI-driven software approach. Results Development of the Geometric AI-driven software (SKINPEELER) for dermal denticle layer data removal A geometric AI-based software (SKINPEELER) using machine-learning algorithms was successfully developed for precise and efficient removal of the dermal denticle layer on CT data (Fig. 1 ). While implementing two main machine learning algorithms, (1) Voronoi diagrams 26 – 28 for powerful spatial reasoning for an initial estimation of the voxels forming dermal denticle layer, (2) and a clustering algorithm to refine the initial voxels after fitting the statistical distribution of voxels properties, the software was well-designed to post-process CT scan data to computationally remove voxels corresponding to dermal denticle layer (Fig. 2 ). During the development, 2456 CT images (DICOM files) of shark heads and bodies were used to optimize the software performance, enabling it to best identify and segment the dermal denticle layer region in shark CT datasets. The software analyzed the pixel intensity patterns across sequential layers, using statistical distribution analysis of intensity means and variations to distinguish dermal denticles from underlying anatomical structures. Through this process, the software learned the common statistical features associated with dermal denticle-related pixels in the images by analyzing their statistical characteristics. Thus, this software effectively and efficiently removes the voxels corresponding to shark’s dermal denticle layer (i.e. peeling) and produces the Surface-voxel-removed DICOM (SVR-DICOM) files for the applications in subsequent image processing tasks. For the validation, we tested the software using the DICOM files produced by the whole-body scanning of the 20 sharks. The voxels identified as sharks’ dermal surface were replaced by the Hounsfield unit (HU) values of the values of air. This process produced SVR-DICOM data ready for 3D reconstruction and visualization in conventional picture archiving and communication system (PACS). No manual intervention or erosion of original scan data was required for data analysis. Fig. 1 The AI-driven dermal denticle layer removal software (SKINPEELER). ( A ) Graphical user interface of the SKINPEELER. Users can open original DICOM files with the ‘Open DICOM’ button. Left palette shows the section of an opened DICOM file. After opening a pack of DICOM files, checking ‘Peel Skin’ option initiates the high-density outermost layer recognition process. After the process, voxels identified as shark dermal denticle layer are highlighted by the red curve. Users can adjust the thickness of the recognized dermal denticle layer. Clicking ‘Peel Current Slice’ button peels the recognized layer and displays the peeled CT image of the current section. After peeling the first slice, pushing ‘Peel All’ button propagates the peeling operation to the neighbor slices with the dermal denticle layer thickness information determined by the first slice. ( B ) Operation flow of the software. (Top-Left) 3D VRI of the original CT scanned shark. (Bottom-Left) Original DICOM files. (Bottom-Middle) The dermal denticle layer removal software. (Bottom-Right) SVR-DICOM files. (Top-Right) 3D VRI of the SVR-CT. Fig. 2 The dermal denticle layer recognition algorithm. (See Methods) ( A ) The original DICOM file (The bottom-left in Fig. 1 ). ( B ) The enlarged image of the DICOM file of a given slice. ( C ) The transformation of pixels to circular disks. A white or black cell transforms to a disk with a radius of pixel size or null, respectively. The diameter of gray cell is determined by the linear interpolation between null and pixel size. ( D ) The Voronoi diagram of the 2D circular disks transformed from the pixels. The blue curves are the Voronoi edges that are equidistant from disk boundaries. A Voronoi edge defines a pair of closest disks. ( E ) The topological dual structure of the Voronoi diagram which is called the quasi-triangulation. ( F ) The beta-shape that is the subset of the quasi-triangulation which does not allow a circular probe, called a beta-ball, to freely slide through between two neighboring pixel disks. The size of beta-ball is the parameter to automatically recognize high-density outermost layer. In our application of shark’s dermal denticle layer removal, the radius of the beta-ball (β-value) significantly affects the skin-peeling algorithm’s performance. A β-value that is too large causes over-estimation of skin exterior and misses fine shape features, while a value that is too small leads to under-estimation and may misclassify internal structures as skin. We experimentally found the β-value of 0.6 provides optimal results. We recommend this value for current applications, though further validation across more specimens should be conducted in future studies. ( G ) The recognized layer consisting of the pixels highlighted with red boxes. This information is derived from the beta-shape. ( H ) The SVR-DICOM file. Post-processing of the CT data using the SKINPEELER Digital Imaging and Communications in Medicine (DICOM) files of the whole-body scans of 20 sharks (16 Carcharhinus brachyurus , 2 Alopias vulpinus , 1 Sphyrna lewini , and 1 Prionace glauca ) were successfully collected from the Jeju National University Equine Hospital where CT scanning was performed. The acquired shark CT datasets were post-processed using the SKINPEELER prior to three-dimensional reconstruction. We used the ‘Auto’ skin peeling mode of the software and the calculated default value of high-density outermost layer thickness was used without further adjustment. The SVR-DICOM files were used for further volume rendering and craniofacial measurements (Fig. 3 ). Fig. 3 Post-processing of the CT scan of Carcharhinus brachyurus using the AI-driven dermal denticle layer removal software (SKINPEELER). ( A ) Three-dimensional VRI based on the original DICOM files. Besides soft tissues, some parts of the skeletal system disappeared after adjusting the density threshold for dermal denticle layer removal. ( B ) Three-dimensional VRI obtained by post-processing DICOM files using the SKINPEELER. As the dermal denticle layer has been removed via the software post-processing, details of the skeletal system and surrounding soft tissue were more easily observed (highlighted by yellow arrows). Craniofacial measurements using computed tomography three-dimensional volume-rendered image (CT 3DVRI) A bone reconstruction algorithm was used to reconstruct the post-processed CT datasets into the 3DVRI using an open-source DICOM viewer software (Horos Project, version 3.3.6; www.horosproject.org ). CT 3DVRI were generated using a threshold-based automatic segmentation approach, with a threshold value set at 250 HU or higher for reconstruction. Manual adjustments to the threshold were applied after to optimize visualization for accurate measurements. Data of 20 sharks were successfully processed using the SKINPEELER without anatomical loss of their skeletal system and were determined to be suitable for the measuring stage. The reconstructed crania obtained from 3DVRI were visualized after excluding other body structures, leaving only the craniofacial skeletons from the rostrum to the occipital condyle. Thirteen craniofacial measurements were collected for each specimen (Figs. 4 , 5 , 6 , 7 , Table 1 ) with reference to chondrocranial landmarks demonstrated in Mollen and team 21 . Fig. 4 Keys to craniofacial measurements made on CT 3DVRI of Carcharhinus brachyurus after dermal denticle layer data removal using AI-driven software (SKINPEELER). ( A ) Left lateral view of chondrocranium. ( B ) Left lateral view of palatoquadrate (upper jaw) and Meckel’s cartilage (lower jaw). ( C ) Dorsal view of chondrocranium. ( D ) Ventral view of chondrocranium. For abbreviations, refer to Table 1 . Fig. 5 Keys to craniofacial measurements made on CT 3DVRI of Alopias pelagicus after dermal denticle layer data removal using AI-driven software (SKINPEELER). ( A ) Left lateral view of chondrocranium. ( B ) Left lateral view of palatoquadrate (upper jaw) and Meckel’s cartilage (lower jaw). ( C ) Dorsal view of chondrocranium. ( D ) Ventral view of chondrocranium. For abbreviations, refer to Table 1 . Fig. 6 Keys to craniofacial measurements made on CT 3DVRI of Sphyrna lewini after dermal denticle layer data removal using AI-driven software (SKINPEELER). ( A ) Left lateral view of chondrocranium. ( B ) Left lateral view of palatoquadrate (upper jaw) and Meckel’s cartilage (lower jaw). ( C ) Dorsal view of chondrocranium. ( D ) Ventral view of chondrocranium. For abbreviations, refer to Table 1 . Fig. 7 Keys to craniofacial measurements made on CT 3DVRI of Prionace glauca after dermal denticle layer data removal using AI-driven software (SKINPEELER). ( A ) Left lateral view of chondrocranium. ( B ) Left lateral view of palatoquadrate (upper jaw) and Meckel’s cartilage (lower jaw). ( C ) Dorsal view of chondrocranium. ( D ) Ventral view of chondrocranium. For abbreviations, refer to Table 1 . Table 1 Descriptions of Selachimorpha craniofacial measurements recorded in the present study. Abbreviation Description of Selachimorpha craniofacial measurements LPO Length of left orbit-from the apex of the preorbital process of frontal to the apex of the post-orbital process LUJ Length of the upper jaw LUTR Length of the upper tooth row LLTR Length of the lower tooth row LLJ Length of the lower jaw GWPF Largest width of the precerebral fontanelle GPR Largest preorbital width LSO Least supraorbital width GPS Largest postorbital width PFW Largest width of the perilymphatic fenestra GPOW Largest width of the post-otic process GBW Largest basal width GVW Largest width of the vestibular process Manual measurement of the sharks’ craniofacial skeletons The comparison of Selachimorpha craniofacial measurements obtained using post-processed CT 3DVRI and manual measurements (Table 2 ) revealed that the mean percentage errors ranged between 1.48 and 13.84%, indicating that the accuracy of measurements using post-processed CT 3DVRI craniofacial skeletons ranged between 86.16% and 98.52%. Table 2 Accuracy of Selachimorpha craniofacial measurements obtained using CT 3DVRI. Craniofacial measurements Mean measurement accuracy (%) LPO 87.55 LUJ 98.38 LUTR 97.15 LLTR 95.79 LLJ 98.52 GWPF 96.93 GPR 96.78 LSO 95.39 GPS 93.52 PFW 86.16 GPOW 96.06 GBW 96.25 GVW 97.56 Craniofacial measurements obtained using conventional manual approach are taken as a standard of reference. *For abbreviations, refer to Table 1 . The intra-operator variability of 13 Selachimorpha craniofacial measurements obtained using the post-processed CT 3DVRI is recorded in Table 3 . The intraclass correlation coefficients (ICC) values for operator 1 varied between 0.985 and 1.000, with 95% CI ranging between 0.962 and 1.000, indicating a repeatability between 98.5 and 100%. The ICC values for operator 2 varied between 0.953 and 0.999, with 95% CI ranging between 0.882 and 0.999, indicating a repeatability between 95.3 and 99.9%. Table 3 Intra-operator (repeatability) variability of Selachimorpha craniofacial measurements obtained using the post-processed CT 3DVRI. Craniofacial measurements Op1 (SWK) Op2 (AHLY) ICC (3,1) 95% CI of ICC (Lower–upper) ICC (3,1) 95% CI of ICC (Lower–upper) LPO 0.999 0.997–1.000 0.989 0.971–0.996 LUJ 1.000 0.999–1.000 0.989 0.974–0.996 LUTR 0.999 0.997–1.000 0.995 0.986–0.998 LLTR 1.000 0.999–1.000 0.996 0.990–0.998 LLJ 1.000 0.999–1.000 0.999 0.998–1.000 GWPF 0.996 0.990–0.998 0.989 0.972–0.996 GPR 1.000 0.999–1.000 0.998 0.995–0.999 LSO 0.999 0.997–1.000 0.994 0.985–0.998 GPS 0.999 0.999–1.000 0.996 0.987–0.999 PFW 0.985 0.962–0.994 0.953 0.882–0.981 GPOW 0.999 0.998–1.000 0.998 0.994–0.999 GBW 1.000 0.999–1.000 0.992 0.980–0.997 GVW 1.000 0.999–1.000 0.997 0.993–0.999 The inter-operator variability of the 13 sharks’ craniofacial measurements obtained using the post-processed CT 3DVRI is recorded in Table 4 . The ICC values ranged between 0.788 and 0.994, with 95% CI ranging between 0.456 and 0.998, indicating a reproducibility between 78.8 and 99.4%. Table 4 Inter-operator (reproducibility) variability of Selachimorpha craniofacial measurements obtained using the post-processed CT 3DVRI. Craniofacial measurements ICC (2,1) 95% CI of ICC (Lower–upper) LPO 0.979 0.948–0.992 LUJ 0.990 0.976–0.996 LUTR 0.991 0.978–0.996 LLTR 0.982 0.956–0.993 LLJ 0.987 0.967–0.995 GWPF 0.962 0.905–0.985 GPR 0.994 0.985–0.998 LSO 0.984 0.959–0.994 GPS 0.976 0.876–0.992 PFW 0.788 0.456–0.971 GPOW 0.982 0.956–0.993 GBW 0.994 0.984–0.997 GVW 0.983 0.959–0.993 Discussion The skeletal structure of sharks is composed of partially calcified cartilage, which is a shared character among Chondrichthyes. This contributes to a lighter weight and flexibility of sharks, increasing their swimming efficiency 29 . Although the Selachimorpha skeletal system is referred to as ‘cartilaginous,’ most of their skeletal elements are partially calcified, forming a calcified rind 30 . However, some parts exhibit very low intensities on imaging tools that make them difficult to distinguish from the surrounding soft tissue (e.g., optic pedicle) 30 – 32 . Such thin cartilaginous skeleton of the distal part is one of the areas where accurate measurement is difficult as its differentiation from the surrounding soft tissue is relatively difficult during excarnation. This phenomenon is exacerbated in small or young sharks. Cranial measurements of animals can be used in a variety of studies 10 – 14 , where soft tissue must be separated from the skull and certain anatomical structures should be measured precisely. The physical separation of soft tissues from the skeleton is difficult in regions where the skin and the skeleton are in direct contact with less muscular or connective tissue mediation, or in parts where the boundary of the skeletal structure is not clearly revealed because of its softness. In particular, in the case of small or young sharks, the skeleton density is often low, thereby compounding this issue. To prevent damage to craniofacial skeletons during defleshing, the CT 3DVRI can be used as a useful alternative. CT is a tool that can be used to store the morphological and biological information of the scanned subject permanently, usually in the DICOM file format. As 3D images are used, measurements of skeletal structures can be easily and precisely obtained, and remeasurement is also easy because the images can be reconstructed at any time using the stored data. The adjustment of the density threshold in CT 3DVRI removes the need of excarnation, thereby avoiding the previously mentioned issues. Nonetheless, the accuracy and reliability of the measurements must be verified before using the CT 3DVRI for measuring a particular target. The accuracy and reliability of cranial measurements using the CT 3DVRI have been proven in the cases of humans 33 . This study is the first attempt to evaluate the accuracy and reliability of using the CT 3DVRI in Selachimorpha. However, the application of the CT 3DVRI to the case of sharks is complicated by the presence of dermal denticles (i.e., placoid scale) on the skin surface, which exhibit very high hardness. Dermal denticles exhibit anatomical parts similar to those of shark teeth—consisting of enameloid and dentine outer layers and inner pulp cavities 34 , 35 . They have been evolved to protect the body from predators, ensure hydrodynamic flow alteration during movement, and perform various other roles on a shark’s body surface 34 , 36 , 37 . However, the high density of dermal denticles hinders CT 3DVRI analysis—the high hardness of dermal denticles combined with the low hardness of some portions of the craniofacial skeleton hinders most methods used to extract the skeletal structure by adjusting the density threshold. This is because when the density threshold is adjusted to the extent that the dermal denticles disappear, some of the distal parts of the craniofacial skeleton also disappear, resulting in a loss of anatomy during 3D implementation. Most of the Selachimorpha CT 3DVRI data collected in this study exhibited the same issue, which made the separation and observation of the skeletal structures difficult. To address this issue, the use of newly developed AI-driven software (SKINPEELER) using machine-learning algorithms was proposed in this study, and the 3DVRI based on SVR-DICOM files featured the intact skeleton of the shark, with only the dermal denticles layer removed. Our software successfully removed the high-density outermost layer of target subjects from their CT images by replacing the corresponding voxels’ HU values with those of air using the Geometric AI method which includes the machine learning algorithms of Voronoi diagrams 26 and clustering algorithm 38 , 39 : No anatomical or medical information pertaining to the interior of the body was lost or corrupted. During the high-density outermost layer-recognition step, the algorithm iteratively delved into the body mass in the centripetal direction until the statistical property of a newborn shell voxel is significantly different from those of previous shells that are determined to comprise the dermal denticle layer. The recognition-and-replacement process of each boundary was conducted using the Voronoi diagram 26 – 28 , that is a well-known computational geometry tools for handling spatial queries among particles 40 , 41 . As a result, dermal denticle layer, which obstruct the field of view, was successfully removed and the skeletal system was neatly extracted by adjusting the density threshold in the dermal denticle layer-peeled CT 3DVRI. In addition to the use of our software, the smallest slice thickness available in the CT scanner (0.5 mm) was used for 3DVRI to ensure the high image quality, measurement accuracy, and reliability of the post-processed 3DVRI in the present study. The scanned field of view (sFOV) was also minimized depending on the size of the shark to attain adequate CT 3DVRI resolution for accurate craniofacial measurements. While numerous software solutions with similar functionalities currently exist in the marketplace, comprehensive benchmark testing for performance evaluation conducted during our development process demonstrated that SKINPEELER exhibits superior capabilities in accurately identifying and extracting the outermost high-density layer and is specifically optimized for this critical application. We evaluated SKINPEELER through comprehensive comparisons across three distinct categories: (1) Medical image processing software, (2) edge detection algorithms, (3) thresholding algorithms. Our assessment focused on accuracy in shark dermal denticle layer extraction, process automation, and output quality. For the comparison with medical imaging processing software, we compared SKINPEELER with InVesalius 3 and 3D Slicer 42 , 43 , two popular software packages that support selective segmentation (Figs. 8 , 9 ). While these are general-purpose CT image processing tools for DICOM files, SKINPEELER is specifically designed to identify and extract high electron density structures like shark dermal denticle layer which typically obscure lower-density structures in threshold-based visualizations. InVesalius 3 misidentifies the fabric cover as outermost layer while poorly detecting the actual dermal denticle layer structure (Fig. 8 ). It incorrectly includes multiple internal substructures as part of the dermal denticle layer, likely due to limitations in its pixel intensity thresholding algorithm. InVesalius 3 produces simple region-of-interest binarization rather than preserving spatial relationships or structural information. The 3D Slicer workflow requires multiple manual steps: Thresholding, Island, and Wrap solidify. Each step demands user-configured parameters, and after extracting the surrounding shape, users must manually specify thickness and calculate the shell. Figure 9 shows 3D Slicer fails to recognize protruding anatomy features and does not accurately follow the shark body contours. It recognizes dermal denticle layer as single-pixel chains located outside the shark’s body rather than on the actual layer. Fig. 8 Comparing two software systems: InVesalius 3 and SKINPEELER. The yellow pixels denote those recognized as dermal denticle layer. ( A ) InVesalius 3. ( B ) SKINPEELER. ( A ) InVesalius 3’s feature misjudges the fabric cover of the shark as dermal denticle layer while poorly detecting the actual structure. Additionally, InVesalius 3 incorrectly recognizes multiple internal substructures as part of the dermal denticle layer, likely due to limitations in its pixel intensity thresholding algorithm. ( B ) SKINPEELER clearly recognizes the true dermal denticle layer with the fabric cover automatically removed from the output. SKINPEELER employs algorithms and statistical analysis to automate most of the segmentation process, resulting in more accurate dermal denticle layer extraction that properly follows the shark’s anatomical structure. This comparison demonstrates SKINPEELER’s superior capability in distinguishing between actual dermal denticle layer and extraneous elements, providing cleaner and more precise segmentation results. Fig. 9 Comparing two software systems: 3D Slicer and SKINPEELER. The yellow pixels denote those recognized as dermal denticle layer. ( A ) 3D Slicer. ( B ) SKINPEELER. The red boxes with magnified sections in both images highlight the differences between the two software packages. ( A ) 3D Slicer fails to recognize protruding features and does not accurately follow the white regions representing the shark body, resulting in missed pixels. The dermal denticle layer detection in 3D Slicer was conducted following the body surface extraction procedure from 3D Slicer segmentation recipes, requiring multiple manual steps (Thresholding, Island, and Wrap solidify) with user-configured parameters. ( B ) SKINPEELER correctly and precisely identifies dermal denticle layer following the contour of the shark body. Slicer3D recognizes dermal denticle layer as a chain of single pixels, while SKINPEELER produces dermal denticle layer with multi-pixel thickness that better represents the actual structure. Importantly, the chain recognized by 3D Slicer is located outside the shark’s body rather than on the actual dermal denticle layer. Furthermore, 3D Slicer frequently misses detailed geometric features that SKINPEELER consistently captures, demonstrating SKINPEELER’s superior accuracy in dermal denticle layer extraction. For the comparison with edge detection algorithms, we compared SKINPEELER with traditional edge detection operators: Canny, Sobel, and Laplacian of Gaussian (LoG) (Fig. 10 ) 44 – 46 . Edge detection algorithms identify transitions between different regions in an image by detecting changes in pixel intensity. Canny edge detection first smooths the image with a Gaussian filter, then finds intensity gradients and applies threshold detection with hysteresis. Sobel operates by computing image intensity gradients at each pixel using convolution with specific horizontal and vertical kernels. Laplacian of Gaussian combines Gaussian smoothing with the Laplacian operator to detect edges while reducing noise sensitivity. These algorithms detect boundaries based on intensity gradients between adjacent pixels, creating a fundamental limitation in specifying regions of interest. As demonstrated in Fig. 10 A–C, they indiscriminately identify shark body boundaries, internal tissue interfaces, and the CT scanner bed. Fig. 10 Comparison with edge detection operators. ( A ) Canny Operator, ( B ) Sobel Operator, ( C ) Laplacian of Gaussian (LoG) Operator, and ( D ) SKINPEELER. ( A – C ) Edge detection algorithms identify boundaries based solely on intensity gradients between neighboring pixels, resulting in detection of both shark boundaries and undesired elements such as internal tissue interfaces and the CT scanner bed. These approaches produce binary images that require significant post-processing to isolate dermal denticle layer regions. ( D ) SKINPEELER selectively identifies only the shark dermal denticle layer while ignoring internal structures and scanner apparatus, producing a structured model that maintains original DICOM data integrity and facilitates immediate analytical applications. Edge detection algorithms produce binary images marking detected boundaries, requiring significant post-processing to isolate dermal denticle layer regions. In contrast, SKINPEELER selectively detects the shark body and dermal denticle layer regions while ignoring internal structures or the scanner apparatus. Then, the recognized dermal denticle layer is stored as a geometric model which facilitates powerful postprocessing. For the comparison with thresholding algorithms, we compared SKINPEELER with three thresholding methods: Otsu, IsoData, and Kittler-Illingworth (Fig. 11 ) 47 – 49 . These techniques binarize images by classifying pixels above or below specific intensity values through different approaches: Otsu minimizes intra-class variance, IsoData iteratively computes thresholds by averaging regional intensities, and Kittler-Illingworth uses minimum error Gaussian fitting. Otsu thresholding (Fig. 11 A) identifies shark dermal denticle layer, internal skeletal structures, and the CT scanner bed while missing protruding body structures. IsoData (Fig. 11 B) produces similar results but detects more spine and internal tissues. Kittler-Illingworth (Fig. 11 C) resembles IsoData but detects fewer non-bone internal tissues. Thresholding algorithms require additional processing steps to specifically identify and remove dermal denticle layer. Users must manually eliminate internal regions, specify dermal denticle layer portions for removal, and adjust various parameters throughout this process. Fig. 11 Comparison with thresholding algorithms. ( A ) Yen, ( B ) IsoData, ( C ) Kittler-Illingworth, and ( D ) SKINPEELER. Thresholding algorithms ( A – C ) classify pixels based on intensity values, producing binary images. ( A ) Otsu detects shark dermal denticle layer along with internal bones (including spine visible as central circular structures) and the CT scanner bed, while missing protruding features at the lower left and right portions. ( B ) IsoData shows similar results but identifies more spine and internal tissues. ( C ) Kittler-Illingworth resembles IsoData but detects fewer non-bone internal tissues. In contrast, ( D ) SKINPEELER precisely identifies only the shark dermal denticle layer following body contours while completely excluding internal structures and the CT scanner bed. Unlike thresholding methods that require additional processing to isolate dermal denticle layer, SKINPEELER directly generates a structured model while preserving original DICOM data integrity. As a conclusion of our intensive comparisons, SKINPEELER demonstrates significantly superior performance through four key advantages: (i) Selective Extraction: SKINPEELER precisely identifies only shark dermal denticle layer following body contours while completely excluding internal structures and CT scanner apparatus. (ii) Automated Processing: It automates most processes through statistical analysis, requiring minimal user intervention while maintaining high accuracy. (iii) Structural Integrity: Unlike alternative methods that produce simple binary images, SKINPEELER generates a model that preserves coordinate information of dermal denticle layer pixels along with geometric and topological relationships. (iv) Data Preservation: SKINPEELER maintains original DICOM data integrity by only replacing pixel intensity values corresponding to dermal denticle layer with air-equivalent values, preserving all medical information stored in DICOM headers. These advantages make SKINPEELER particularly effective for visualizing cartilage and other structures that would otherwise be obscured in standard approaches. The streamlined workflow significantly enhances efficiency compared to the multi-step processes required when using conventional algorithms for shark dermal denticle layer extraction. The results of the present study demonstrated high accuracy (86.16–98.52%) of Selachimorpha craniofacial measurements obtained using the post-processed CT 3DVRI compared to that of the manual approach. Among the 13 craniofacial measurements selected in the present study, a relatively lower accuracy was observed for the length of the left orbit from the apex of the preorbital process of the frontal to the apex of the post-orbital process (LPO) (87.55%) and the largest width of the perilymphatic fenestra (PFW) (86.16%). The cause of the slight deviation in LPO measurement might be attributed to the soft texture of the preorbital and post-orbital processes—even a small force applied during manual measurement deforms the cartilage. Meanwhile, a vague landmark border in the chondrocranium PFW, as well as in the CT 3DVRI, is expected to have led to the slight discrepancy in measurements. The results of the present study also demonstrated high repeatability and reproducibility of the proposed method. Among the 13 craniofacial measurements, the lowest repeatability and reproducibility were observed for PFW owing to the vague boundary of the element by anatomical definition. The relatively lower reproducibility could also be the result of differences in anatomical knowledge between the operators. However, the craniofacial landmarks presented in the post-processed CT 3DVRI were generally identifiable. Therefore, measurements using the post-processed CT 3DVRI can be considered to be accurate and reliable. Conclusion In the present study, the CT 3DVRI, in conjunction with the novel software, SKINPEELER, was used for Selachimorpha craniofacial measurements. Our AI-driven software demonstrated a superior surface voxel removal of dermal denticles compared to manual alternatives, which allowed a better visualization of the internal cartilaginous structures of sharks. Even though shark skeletons are cartilaginous in nature, the post-processed CT 3DVRI can provide accurate and reliable results compared to manual craniofacial measurements. Therefore, post-processed CT 3DVRI could be considered to be a useful and promising alternative for the investigation of biological features of Selachimorpha. Methods Animals In aggregate, 20 sharks were collected in Jeju Island, Republic of Korea between 2020 and 2021 for the present study, consisting of Carcharhinus brachyurus (n = 16, total body length (TBL) = 98.8 ± 21.3 cm (average ± standard deviation)), Alopias vulpinus (n = 2, TBL = 165 ± 61.4 cm), Sphyrna lewini (n = 1, TBL = 70 cm), and Prionace glauca (n = 1, TBL = 170 cm). All the sharks were subjected to bycatch in bottom-set gillnet and longline fisheries in Moseulpo and Hallim coast. Since trawl ban has been enacted in the coastal long line and gill net fishing areas in Korea, no sample in the present study was retrieved by trawling. All bycaught sharks were dead on retrieval in the local fish markets and were either purchased by or donated to BYK and SWK for the present study. The sharks were frozen at -22 ℃ immediately after deboarding the fishing vessel and auctioned off until further examinations could be conducted. Ethical review and approval were not required, since no aspect of the animal’s life was altered for the present study. Computed tomography scanning of the sharks Carcasses of the collected sharks were shipped to the Jeju National University Equine Hospital for whole body CT scanning. Using an Aquilion Lightning 16-row, 32-slice helical CT system (Aquilion Lightning, Canon Medical Systems, Otawara, Japan), the scans were performed at 120 kVp, 200 mAs, and with a slice thickness of 0.5 mm, while the scan field of view (sFOV) was set to 320 mm. Manual measurement of the sharks’ craniofacial skeletons Soft tissue was manually removed from the craniofacial skeletons of each specimen following CT scanning. The shark carcasses were cut behind the last gill slit, leaving only head portion, and the specimens were encased in mesh netting and subjected to thermal maceration in water maintained at 60 °C for several hours. To establish optimal maceration periods for individual specimens, hourly assessments of tissue integrity were conducted, with required durations varying according to species and specimen sizes. When tissues exhibited sufficient pliability while skeletal elements maintained structural cohesion, head specimen was retrieved and excarnation was performed immediately. Craniofacial measurements were promptly recorded to minimize temporal intervals during which cartilaginous elements might undergo structural alterations due to dehydration-induced shrinkage 15 . Manual measurements were recorded using 15 cm and 30 cm digital calipers. Measurements were recorded at the nearest 0.5 mm. AI-driven software (SKINPEELER) development for dermal denticle layer data removal SKINPEELER, the software used in this study, was developed using both Python and C++ languages, based on two well-known machine learning algorithms: (i) Voronoi diagrams 26 – 28 and (ii) statistical clustering of shape features derived from the Voronoi diagrams 38 , 39 . The basic idea is to transform the high-density outermost layer recognition problem into the problem of recognizing voxels that constitute the layer through a geometrization process. As the recognition process is based on machine learning algorithms, we call the method presented here a “Geometric AI-based method.” See Fig. 2 . The software was developed to perform the following process using each slice, i.e. an image, of the DICOM file of shark (Fig. 2 A,B). First, we transform each pixel of the image into a disk whose radius is determined by a linear interpolation between zero to the pixel size according to its intensity which corresponds to Hounsfield value (Fig. 2 C). Here, we assigned 0 and 1 to black and white pixels, respectively. “1” implies the shorter dimension of pixel shape. Our DICOM files consist of square pixels. This transformation produces a set of coplanar disks with possibly different radii with potential intersection only on the boundaries of disks. Then, we construct the Voronoi diagram of the pixel disks that mathematically defines the neighborhood among the disks (Fig. 2 D) and transform it to its topological dual called the quasi-triangulation (Fig. 2 E). We note that the Voronoi diagram and quasi-triangulation are informationally equivalent for the high-density outermost layer recognition process to be followed. Then, we place a circular probe with an arbitrary radius, referred to as a \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta$$\end{document} -value, in the location outside of the shark’s body, and freely move around the entire plane. This free motion of probe is blocked if it encounters two nearby disks where the distance between their boundaries is shorter than \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta$$\end{document} (Fig. 2 F). We define an edge between the centers of each disk pair among all possible pairs. Then, connecting all such edges into a chain of edges unambiguously recognizes one layer, called shell, of the dermal denticles of shark. The software repeats this operation after removing the recognized shell to recognize an inner shell while the chain defines a closed topological ring (Fig. 2 G). Figure 2 H shows the SVR-DICOM file of the original DICOM FILE. In this study, the computation above was efficiently done using the Voronoi diagram of disks and beta-shape algorithms 38 , 39 . We experimentally found the best \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta$$\end{document} -value is 0.6. Using the pixel intensities of each shell, we estimate the best-fitting normal distribution \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$N\left(\mu ,\sigma \right)$$\end{document} of the intensity distribution. Then, we map each distribution to a point in a two-dimensional \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left(\mu ,\sigma \right)$$\end{document} -space. Thus, the entire shell set transforms to a set of points in the two-dimensional space. Then, we perform a clustering of the point set to find the cluster that contains the outmost shell to designate as the high-density outermost layer. After the clustering, the layer mostly consists of two to five shells. The clustering algorithm for dermal denticle layer recognition utilizes the statistical analysis of shell properties. Let S i be the i-th shell of the cells from outside body that are recognized using the beta-shape algorithm. We model the pixel intensity of the i-th shell to follow a Gaussian distribution with mean μ i and standard deviation σ i . Figure 12 A shows the Gaussian distributions of the pixel intensities of 98 shells recognized from the experimental CT data in Fig. 13 . Figure 12 B shows the profile of the Gaussian distributions of the recognized shells, together with the bivariate Gaussian distribution of the shells (shown by the azure ellipses). These figures reveal two distinct clusters: the first consisting of S 1 and S 2 , and the second comprising S₃ through S₉₈. The first cluster exhibits significantly different properties, while the shells in the second cluster share high homogeneity. Fig. 12 Clustering algorithm for recognizing high-density outer layer shells. ( A ) Gaussian distribution fitting of pixel intensities across the 98 shells defined in the experimental CT data. The horizontal and vertical axes represent intensity and probability density of individual shells, respectively. ( B ) Pixel intensity profile of shells, with the mean intensity of pixels (horizontal axis) and standard deviation (vertical axis) for each shell. Each point represents one shell, and the distance between consecutive shells defines the inter-shell distance d i . Shells S 1 and S 2 lie outside the 3σ ellipse of the bivariate Gaussian distribution, statistically confirming their classification as dermal denticle layer structures due to the distinct electron density of dermal denticles. Fig. 13 The CT data: Before and after dermal denticle layer removed. ( A ) The original CT section used for algorithm evaluation. ( B ) Detected high-density outer layer highlighted by SKINPEELER. ( C ) The image after dermal denticle layer removal—The pixels corresponding to dermal denticle layer are replaced by air. ( A ) This axial slice (356th of the complete dataset) was acquired from a Shortfin mako shark whole body CT scan, with pixel dimensions of 512 × 512, pixel spacing of 0.468 mm, and slice thickness of 1.0 mm. ( B ) SKINPEELER correctly and precisely identifies the high-density dermal denticle layer and ( C ) selectively removes them while preserving all internal anatomical structures. Let d i be the inter-shells distance measured by the Euclidean distance between consecutive shells in the (μ, σ)-space of Fig. 12 B. Applying the 3σ rule effectively identifies statistical outliers, as approximately 99.7% of normally distributed data falls within 3σ. We observed that the shells S 1 and S 2 lie outside this ellipse, reflecting the distinct properties of shark dermal denticle layer due to their higher electron density compared to internal tissues. This clustering algorithm clearly separates dermal denticle layer from internal tissues. Trial running of the SKINPEELER Trial running of the developed software SKINPEELER was proceeded using an experimental CT dataset. Figure 13 presents the process and results of SKINPEELER usage. This CT scan was performed on a Shortfin mako shark (Isurus oxyrinchus) with a total body length of 89.1 cm and fork length of 78.9 cm using Toshiba 16-row multislice spiral CT scanner Alexion™ (acquisition parameters of 80–100 kVp and 200 mA). The displayed section represents the 356-th slice from the complete dataset. This CT section is a 512 × 512 pixel image with a pixel spacing of 0.468 mm in both dimensions and a slice thickness of 1.0 mm. The pixel intensity range spans from -2048 to 1148 Hounsfield units (HU), with the display window set to a level of 40 HU and a width of 400 HU to optimize visualization of the relevant anatomical structures. The software is freely available from GitHub under the MIT License. The executable files of SKINPEELER, a user guide, and sample data set can be accessed at the following link: https://github.com/SKINPEELER-software/SKINPEELER . The CT data used for software development can be shared upon request to the corresponding author (SWK). Measurement of the sharks’ craniofacial skeletons using 3DVRI Two operators—SWK and AHLY—obtained craniofacial measurements based on the CT 3DVRI in different orientations using the rotation function in an open-source DICOM viewer software (Horos Project, version 3.3.6; www.horosproject.org ). Dermal denticle layers from all CT data used for these craniofacial measurements were removed using the SKINPEELER software. Craniofacial measurements obtained using CT 3DVRI were collected twice by both operators. To avoid bias, a time interval of at least 1 day was instituted between measurements of the same craniofacial skeleton. Each operator was blinded to the results of the other operator. Operator 1 (SWK) and operator 2 (AHLY) had ten years and six years of experience in CT scanning and Selachimorpha cranial morphometrics, respectively. Evaluation of accuracy, repeatability, and reproducibility The accuracy of the post-processed CT 3DVRI craniofacial measurements was acquired by comparing the measurements obtained by SWK using post-processed 3DVRI to those manual measurements. The absolute percentage error was calculated as follows: 1 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} & {\text{Absolute}}\,{\text{percentage}}\,{\text{error}}\,(\% ) \, \\ & \quad = |{\text{craniofacial}}\,{\text{measurement}}\,{\text{obtained}}\,{\text{via}}\,{\text{manual}}\,{\text{approach }} \\ & \quad \quad -{\text{craniofacial}}\,{\text{measurement}}\,{\text{obtained}}\,{\text{from}}\,{\text{post-processed}}\,3{\text{DVRI}}| \, \\ & \quad \quad \times 100\% /({\text{craniofacial}}\,{\text{measurement}}\,{\text{obtained}}\,{\text{by}}\,{\text{manual}}\,{\text{approach}}) \\ \end{aligned}$$\end{document} The accuracy of craniofacial measurements obtained from CT 3DVRI was defined as follows: 2 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\text{Accuracy}}\,(\% ) = 1 - {\text{Absolute}}\,{\text{percentage}}\,{\text{error}}$$\end{document} Intraclass correlation coefficients (ICCs) and 95% confidence intervals (CIs) were used to analyze the intra-operator (repeatability) and inter-operator (reproducibility) variability of craniofacial measurements obtained via CT 3DVRI. ICC > 0.7 was taken to be the threshold to indicate the sufficient general reliability of the measurements 50 , 51 . All statistical analyses were performed using the SPSS software version 23.0 (Statistical Package for the Social Sciences Inc., Chicago, Illinois 60606, USA).
