{Reference Type}: Journal Article {Title}: Hyperspectral imaging with machine learning for in vivo skin carcinoma margin assessment: a preliminary study. {Author}: Parasca SV;Calin MA;Manea D;Radvan R; {Journal}: Phys Eng Sci Med {Volume}: 0 {Issue}: 0 {Year}: 2024 May 21 {Factor}: 7.099 {DOI}: 10.1007/s13246-024-01435-8 {Abstract}: Surgical excision is the most effective treatment of skin carcinomas (basal cell carcinoma or squamous cell carcinoma). Preoperative assessment of tumoral margins plays a decisive role for a successful result. The aim of this work was to evaluate the possibility that hyperspectral imaging could become a valuable tool in solving this problem. Hyperspectral images of 11 histologically diagnosed carcinomas (six basal cell carcinomas and five squamous cell carcinomas) were acquired prior clinical evaluation and surgical excision. The hyperspectral data were then analyzed using a newly developed method for delineating skin cancer tumor margins. This proposed method is based on a segmentation process of the hyperspectral images into regions with similar spectral and spatial features, followed by a machine learning-based data classification process resulting in the generation of classification maps illustrating tumor margins. The Spectral Angle Mapper classifier was used in the data classification process using approximately 37% of the segments as the training sample, the rest being used for testing. The receiver operating characteristic was used as the method for evaluating the performance of the proposed method and the area under the curve as a metric. The results revealed that the performance of the method was very good, with median AUC values of 0.8014 for SCCs, 0.8924 for BCCs, and 0.8930 for normal skin. With AUC values above 0.89 for all types of tissue, the method was considered to have performed very well. In conclusion, hyperspectral imaging can become an objective aid in the preoperative evaluation of carcinoma margins.