基于CNN模型的犬脑MRI异常图像分类 机翻

CNN model-based image classification for canine brain MRI abnormalities

中文关键词(术语机标,非人工翻译):癫痫 · 肥胖/营养代谢 · 影像诊断

期刊Scientific Reports
发表日期2026-10-23
物种犬
DOIhttps://doi.org/10.1038/s41598-026-71470-w
PMIDOA:W7223276752

摘要

Abstract Diagnostic imaging represents one of the most promising clinical applications of artificial intelligence (AI) algorithms. The purpose of this study was to evaluate the customised convolutional neural network (CNN) SepNetDense for distinguishing between normal and abnormal canine brain magnetic resonance images (MRIs), with the aim of enhancing diagnostic efficiency and assisting radiologists in identifying abnormal images. The dataset comprised T1-weighted (T1w) pre- and post-contrast sequences in transverse, sagittal, and dorsal planes from 550 dogs, collected from four universities. Dogs were included if they had a complete clinical diagnosis confirmed either through histopathology or in accordance with current clinical consensus. Patients were randomly divided into a training set (n = 444), a validation set (n = 53), and a test set (n = 53). Each MRI was labelled on a slice-by-slice basis as normal or abnormal. The model was trained on 205 normal imaging datasets (e.g., extracranial aetiologies, idiopathic epilepsy, paroxysmal dyskinesia) and 239 abnormal ones (e.g., neoplasms, inflammatory lesions, other pathologies). The model correctly predicted 74% of the true normal slices in the test set as normal and 73% of the true abnormal as abnormal. A ROC analysis of the model’s prediction at the patient level revealed that, at a threshold of 51% abnormal slices per patient, the model reached an optimal balance of 83% sensitivity (95% CI 67–91%) and 78% (95% CI 54–91%) specificity, with a balanced accuracy of 80% (95% CI 69–92%). ANCOVA revealed that the CNN’s classification performance was influenced by multiple biological, technical, and institutional factors. Lesion diagnosis, institutional setting, and breed size had significant large effects, whereas body weight showed a significant medium effect. Significant interactions with large effect sizes were also observed between diagnosis and institute, as well as between breed size and weight. Additionally, a distinct pattern was observed in the distribution of prediction categories along the anatomical axes, with a trend towards better CNN performance in the central quartiles across all MRI sequences. Overall, the results demonstrate the feasibility of CNN-assisted triage of canine brain MRI studies and highlight diagnosis, institutional setting, breed size, and body weight as key determinants of model performance, emphasising the importance of heterogeneous datasets for the development of robust veterinary AI applications.

站内已收录开放获取全文,见下方。

全文 开放获取 · Open Access 中文机翻

Scientific Reports | (2026) 16:33913 1 www.nature.com/scientificreports | https://doi.org/10.1038/s41598-026-71470-w OPEN 1 德国汉诺威兽医大学小动物内科与外科系,汉诺威,德国。 2 德国汉诺威兽医大学系统神经科学中心,汉诺威,德国。 3 DOS Software-Systems,沃尔夫斯堡,德国。 4 美国加州大学戴维斯分校兽医学院外科与放射学系,戴维斯,加利福尼亚州,美国。 5 英国伦敦皇家兽医学院临床科学与服务系,伦敦,英国。 6 英国格拉斯哥大学生物多样性、同一健康与兽医医学院小动物医院,格拉斯哥,英国。 7 德国德累斯顿/莱比锡可扩展数据分析与人工智能中心(ScaDS.AI),德累斯顿,德国。 8 TIB,莱布尼茨科学与技术信息中心,汉诺威,德国。 9 德国莱比锡大学兽医学院兽医病理学研究所,莱比锡,德国。电子邮件: samira.abani@icloud.com 基于CNN模型的犬脑MRI异常图像分类 Samira Abani 1,2 , Merlin Laue 3 , Peter J. Dickinson 4 , Steven De Decker 5 , Rodrigo Gutierrez-Quintana 6 , Siavash Ghiasvand 7 , Sahar Tahmasebi 8 , Franziska Spohn 1 , Alexander Sabbotin 1,2 , Alexej Hänsch 3 , Jörg Janisch 3 , Reiner Ulrich 9 , Ehren McLarty 4 , Jasmin Nessler 1 & Holger Volk 1,2 诊断影像学是人工智能(AI)算法最具前景的临床应用之一。本研究旨在评估定制卷积神经网络(CNN)SepNetDense在区分正常与异常犬脑磁共振图像(MRI)方面的表现,以提高诊断效率并协助放射科医师识别异常图像。数据集包含来自550只犬的T1加权(T1w)平扫与增强后序列的横断面、矢状面和背侧面图像,采集自四所大学。纳入标准为犬只具有完整的临床诊断,且该诊断经组织病理学确认或符合当前临床共识。患犬被随机分为训练集(n = 444)、验证集(n = 53)和测试集(n = 53)。每幅MRI均按切片逐一标记为正常或异常。模型在205个正常影像数据集(如颅外病因、特发性癫痫、阵发性运动障碍)和239个异常影像数据集(如肿瘤、炎性病变、其他病理)上进行训练。模型在测试集中正确预测了74%的真实正常切片为正常,73%的真实异常切片为异常。对模型在患犬层面预测的ROC分析显示,当每只患犬异常切片阈值设为51%时,模型达到最佳平衡,敏感度为83%(95% CI 67–91%),特异度为78%(95% CI 54–91%),平衡准确度为80%(95% CI 69–92%)。协方差分析(ANCOVA)显示,CNN的分类性能受多种生物学、技术和机构因素影响。病变诊断、机构设置和品种体型具有显著的大效应,而体重显示出显著的中等效应。诊断与机构之间以及品种体型与体重之间也观察到具有大效应量的显著交互作用。此外,预测类别沿解剖轴的分布呈现出明显模式,趋势显示CNN在所有MRI序列的中央四分位数区域表现更好。总体而言,结果证明了CNN辅助犬脑MRI研究分诊的可行性,并强调诊断、机构设置、品种体型和体重是模型性能的关键决定因素,凸显了异质性数据集对开发稳健兽医AI应用的重要性。关键词 人工智能(AI),深度学习,磁共振成像(MRI),脑MRI,异常检测,诊断影像学 近几十年来,兽医诊断影像学的技术创新,尤其是磁共振成像(MRI),深刻推动了兽医神经病学和神经外科的临床实践 1 。MRI

Scientific Reports | (2026) 16:33913 2 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 作为一种无创、高灵敏度的工具,可用于检测异常、追踪疾病进展以及评估治疗和术后转归2,3。系列MRI研究进一步实现了对病灶进展的实时在体监测,使MRI成为犬脑病理生前评估中不可或缺且用途广泛的工具3。不仅在人医学领域,在兽医领域,影像服务需求也已超过受过培训的诊断影像专科医师数量,造成影像技术可及性与诊断专业技能之间的差距不断扩大1,4。尽管大学和私人诊所的MRI设备数量持续增加,但兽医放射科医师和神经科医师的队伍并未以同等速度增长,这给维持高质量图像判读带来了挑战1,5。近年来,卷积神经网络(CNN)已成为医学影像中用于分类、检测、定位、分割、增强和自动诊断等任务的强大工具6–9。CNN尤为有效,因为它能够通过优化调整数百万个参数,从图像数据中自动学习复杂模式和多层级特征10,11。CNN的架构通常由三个主要部分组成:输入层、隐藏层和输出层。隐藏层包括卷积层(使用滤波器从图像中提取关键特征)、池化层(降低维度)和全连接层(作出最终预测)。这种处理和学习视觉数据的能力使CNN对医学影像应用尤为有价值11。大量研究表明,CNN可协助临床医师在不同解剖区域的多种图像分析应用中达到与人类专家相当的性能水平12–19。尽管CNN在人医学领域不断进步,在准确性、稳健性和泛化性方面持续提升,但其在兽医诊断实践中的应用仍处于早期阶段20,21。2018年,多项研究开始探索CNN用于分析兽医影像诊断的潜力22–28。在兽医诊断影像模态中,X线摄影因在常规兽医实践中使用广泛而研究最多20,29。MRI,尤其是在神经系统疾病背景下,是一个研究兴趣日益增长的新兴领域,但相对于X线摄影而言仍探索不足20,29。Niemeyer等对一款深度学习工具(VGG-16网络)进行了微调,该工具最初基于Pfirrmann分级方案开发用于人类腰椎椎间盘(IVD)退变的自动分级,并将其用于犬腰椎T2加权(T2w)正中矢状面图像以应用相同的分级系统。该模型对1至5级达到平均准确率94.1%、灵敏度85.2%、特异度96.3%,展示了推动兽医诊疗和人类生物医学研究发展的潜力30。在另一项研究中,Biercher等展示了CNN在鉴别犬胸腰段脊髓疾病方面的潜力。该CNN模型使用T2w矢状面图像对椎间盘突出(IVDE)达到灵敏度90.80%、特异度98.98%;使用矢状面T1加权(T1w)图像对椎间盘脱出(IVDP)达到灵敏度100%、特异度95.10%;使用T2w横断面图像对纤维软骨栓塞/急性非压迫性髓核突出(FCE/ANNPE)达到灵敏度90.98%、特异度90.12%。该研究强调了CNN在MRI脊髓病变评估中提供第二意见的潜力,同时也指出了某些诊断因训练数据有限而带来的挑战31。自2018年以来,使用CNN分析犬脑肿瘤MRI在兽医神经影像学中日益受到关注25。Banzato等利用两种神经网络(NN),一种基于AlexNet,另一种为定制模型,来预测犬脑膜瘤的组织病理学分级。其初步研究在十张随机选择的图像上测试了模型,在十例中有八例正确分类了脑膜瘤分级。这一结果凸显了基于MRI的肿瘤分级在指导治疗决策方面的潜力25。同年晚些时候,Banzato等训练了一个基于GoogLeNet的CNN,用于在犬MRI图像上区分脑膜瘤和胶质瘤23。该模型在增强后T1w图像上表现最佳,准确率达94%。在增强前T1w和T2w图像上表现略低,准确率分别为91%和90%。这些发现进一步证明了深度学习模型在协助各类肿瘤诊断和分类方面的潜力23。尽管近期研究凸显了CNN在兽医影像诊断中日益广泛的应用,但其在复杂影像模态(如脑MRI)的分诊或优化诊断工作流程中的应用仍然有限。部分原因在于缺乏能够充分反映真实世界变异性的异质性大型数据集。本研究的假设是,在异质性脑MRI数据集上训练的CNN模型能够准确预测犬脑是否正常。为验证这一假设,我们:(1) 标注了来自四家机构550只犬的79,310张MRI切片,既包括未见异常脑,也包括患多种疾病的脑;(2) 使用训练集和验证集训练了定制CNN模型SepNetDense;(3) 在独立测试集上评估了模型性能。材料与方法 数据集与特征 数据集包括在横断面、矢状面和背侧面上采集的增强前和增强后T1w序列。包括241例脑影像学表现未见异常的患者(例如颅外病因、特发性癫痫和阵发性运动障碍)和309例影像学表现异常的患者(例如肿瘤、炎性病变和其他病理异常)。纳入标准为犬具有完整的临床诊断,经组织病理学确认或符合当前临床科学共识,并以此作为金标准。从每位患者的电子病历中提取品种、年龄、体重、性别、主诉、影像学表现和最终诊断。所有MRI检查均由至少一名兽医神经放射学专家审阅。本研究未直接涉及动物,因为所有数据均回顾性收集自既往为诊断目的接受过脑MRI的临床病例。

Scientific Reports | (2026) 16:33913 3 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 病例选择 检索了两所大学转诊中心的电子数据库,即德国汉诺威兽医大学小动物医学与外科学系(TiHo)和加利福尼亚大学戴维斯分校William R. Pritchard兽医教学医院(UC Davis),以查找2003年4月至2022年6月期间出现脑病临床症状的犬。共纳入178例MRI检查显示明显脑部病变的患者,前提是其具有完整的临床病史,并由委员会认证的病理学家基于尸检或立体定向脑活检作出组织病理学诊断。此外,还纳入了来自伦敦皇家兽医学院小动物转诊医院(RVC)既往研究数据集中85例经组织病理学确诊的原发性或继发性颅内肿瘤病例32。此外,还纳入了格拉斯哥大学小动物医院既往研究报告的46例最终或推定诊断为不明原因脑膜脑炎的病例33。 MRI检查在四个大学转诊中心使用Philips、GE Medical Systems和Siemens的临床MRI扫描仪采集。在TiHo,影像检查使用3.0 T扫描仪,包括Philips Achieva和Achieva dStream型号。UC Davis使用GE Medical Systems的1.5 T扫描仪,包括Genesis Signa和Signa HDxt。Glasgow使用1.5 T系统采集扫描图像,包括Philips NT Intera和Siemens Magnetom Essenza。在RVC,检查使用多种1.5 T扫描仪获得,包括Philips Achieva、Gyroscan、Intera、NT Intera和GE Genesis Signa。各机构采用了不同的成像方案。扫描仪型号、磁场强度和采集方案的机构间差异被视为数据集异质性的一部分。 对照组 对照组由来自四个大学转诊中心的241只脑部表现无异常的犬的MR图像组成。该组包括患有颅外病因等疾病的犬;根据欧洲兽医神经病学学院(ECVN)共识声明诊断的阵发性运动障碍34;以及根据国际兽医癫痫工作组共识声明分类为II级的特发性癫痫35。 由于个别犬可能在不同日期在转诊中心接受过多次MRI检查,数据集中每个病例仅纳入一次MRI检查。术后或治疗后进行的随访MRI检查被排除。医学数据的使用批准在入院前通过所有者知情同意获得,符合各大学的机构指南。MRI图像的采集由转诊中心诊断影像部门的兽医技术人员监督,遵循各自的动物福利政策。所有患者均在全身麻醉下进行成像。受严重运动伪影或序列不完整影响而无法进行诊断解读的MRI检查被排除在研究数据集之外。 数据集准备 所有MR图像均使用Python™(Python™,版本3.11。Python Software Foundation,DE,USA)通过移除包含个人信息的元数据标签进行匿名化处理36。 标注 所有图像均为医学数字成像和通信(DICOM)格式,并使用可用的DICOM查看器进行分析:RadiAnt™(RadiAnt™ DICOM Viewer for Windows,版本4.0.1。Poznań,Poland)或OsiriX MD(OsiriX MD,DICOM viewer for macOS,Pixmeo SARL,Geneva,Switzerland)37,38。提取DICOM文件并随后转换为PNG格式。MRI切片使用在线标注平台V7 Darwin(V7 Labs. V7 Darwin,London,UK)逐层标注39。脑MR图像使用以下标签进行标注,这些标签作为真实标准:(a)正常,表示无可检测异常,并作为比较基线;(b)病理性结构改变,包括病变、脑水肿、占位效应、脑室异常、中线移位、实质丢失、病理性对比增强和脑疝。随后,对于最终的二分类任务,标注为正常的切片归类为正常,而包含任何病理发现的切片(例如病变、脑水肿、占位效应、脑室异常、中线移位、实质丢失、病理性对比增强或脑疝)归入单一“异常”类别。 实验设计与数据划分 为了训练、验证和测试所提出的CNN的性能,将包含550只犬的数据集随机分为训练集、验证集和测试集。随机化使用MATLAB®(MATLAB® software,MathWorks Inc. 版本R2022b。Natick,MA,USA)进行,未考虑年龄、体重、性别、品种类型、机构、序列数量或疾病类别等协变量40。对于数据划分,每位患者的所有切片和序列被视为一个单一单元,数据集在患者层面进行划分。模型在切片层面进行训练,其中正常脑MRI图像仅由正常切片组成,而明显病例包含异常和正常切片,因为病变并非存在于每个切片中。 训练集:该集由444只犬组成,包括39,208张正常图像和11,960张异常图像,使模型能够基于这些数据学习和调整其参数。验证集:验证集包括53只犬,含5491张正常切片和1860张异常切片。它用于微调模型的超参数并在训练过程中监测性能。测试集:测试集同样由53只犬组成,包括4612张正常和1989张异常成像切片。该集保留用于最终模型评估,提供模型性能的无偏估计,并确保其泛化到未见数据的能力。

Scientific Reports | (2026) 16:33913 4 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 预处理 初始T1w图像文件大小范围为179字节至399.91 KB,矩阵尺寸在144 × 144至1024 × 1024像素之间变化。像素尺寸取决于采集时扫描仪的分辨率和视野。所有T1w图像(灰度)均调整为128 × 128像素,并在预处理期间进行归一化。为增加数据变异性,应用了数据增强技术,包括随机90°旋转以及水平或垂直翻转。CNN模型 尽管ResNets和DenseNets等成熟网络在一系列视觉任务中表现出强大性能,但它们在本应用中表现欠佳41,42。由于其参数数量庞大,这些模型倾向于对数据过拟合或欠拟合,未能捕捉到稳健分类所必需的领域特异性特征41,42。为解决这一局限,本研究开发了一种定制优化的架构SepNetDense,用于二分类脑部分类。SepNetDense具有较小的参数占用,总共包含76,626个参数,其中65,746个为可训练参数43–45。SepNetDense的架构如图1所示。计算了以下分类指标:

퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶 ( 푇푇푇푇푇푇푇푇푇 ) / ( 푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇 ) (1)

푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃 ( 푃푃푃푃푇푇푇 푃푃 ) (2)

푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅 ( 푅푅푅푅푇푇푇푇푇 ) (3) 图1. SepNetDense模型架构示意图。输入为灰度图像(128 × 128 × 1),经过一个3 × 3卷积层(32个滤波器)。所提出架构的主要构建模块是权重块(WB),由一系列深度可分离卷积(DSC)层组成,中间包含批归一化(BN)层和残差连接。WB的架构如图右侧所示。每三个WB之后接一个最大池化层。最后,Dropout层防止过拟合,随后是全局平均池化(GAP)和一个具有两个输出单元的全连接(FC)层,以提供最终的二分类结果。需要注意的是,第一个DSC块中的中间BN层和最后一个WB中的最大池化层被移除。

Scientific Reports | (2026) 16:33913 5 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports

퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹 ( 퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹푃퐹퐹퐹퐹퐹퐹퐹퐹퐹�F퐹퐹 ) (4) TP = 真阳性,TN = 真阴性,FP = 假阳性,FN = 假阴性。预测值的频率分布采用卡方检验或Fisher精确检验进行比较,并使用GraphPad Prism(Prism 8 for Windows,版本8.4.3,GraphPad Software,美国加利福尼亚州圣迭戈)可视化为热图46。在患者水平上,将预测为正常或异常的切片占所有切片的比例通过Q-Q图和Shapiro-Wilk检验评估正态性,并使用Mann-Whitney U检验分析组间差异。受试者工作特征(ROC)分析用于评估分类性能并确定最佳阈值,同样使用GraphPad Prism(Prism 8 for Windows,版本8.4.3,GraphPad Software,美国加利福尼亚州圣迭戈)。平衡准确率计算为敏感性和特异性的算术平均值,置信区间基于敏感性和特异性的二项方差使用标准误传播法估计。在SPSS(IBM SPSS Statistics for Windows,版本29.0.1.1,IBM Corp.,美国纽约州阿蒙克)中进行协方差分析(ANCOVA),以检查和比较材料和方法相关因素、协变量及所选交互作用对分类准确率的影响47。采用Levene检验评估方差齐性假设。效应量使用偏eta平方(ηₚ²)报告,按照Gravetter等人48的描述,解释为小(0.01–0.059)、中(0.06–0.13)和大(≥ 0.14)。采用双因素方差分析(ANOVA)及事后单因素ANOVA和随后的Bonferroni校正成对事后检验,使用SPSS(IBM SPSS Statistics for Windows,版本29.0.1.1,IBM Corp.,美国纽约州阿蒙克)评估分类因素诊断和机构对CNN模型准确率的影响。采用Levene检验评估方差齐性假设,正态性使用标准化残差的Q-Q图评估49。分别分析分类因素机构、制造商、扫描仪型号、场强、诊断、品种体型、颅骨形态和性别对准确率的影响。首先使用Levene检验评估分布,然后使用单因素ANOVA或Kruskal-Wallis检验及Bonferroni事后校正比较组间差异,或在适用时使用非配对t检验或Mann-Whitney U检验。使用GraphPad Prism(Prism 8 for Windows,版本8.4.3,GraphPad Software,美国加利福尼亚州圣迭戈)进行线性回归分析,以评估连续因素与分类准确率之间的关联。为评估线性回归模型的充分性,检查了残差图。一般而言,统计学显著性定义为p ≤ 0.05。结果 数据集 本研究纳入了550只犬脑的MRI序列,包括增强前和增强后T1w图像,收集自四个转诊中心。从这些患者中,共79,310张MRI切片由一位具有MRI判读经验的兽医手动标注为正常或异常作为参考标准,该兽医可获取原始患者水平报告以及(如有)尸检报告。受伪影影响或被认为质量不足的切片被排除,最终数据集包含65,120张切片。训练集由444名患者组成,其中205名脑部表现正常,239名表现异常。验证集和测试集各包含53名患者,其中18名正常,35名异常。在研究数据集中(表1),最具代表性的诊断是MRI正常组(n = 241),包括脑部MRI表现无异常的患者。其次为肿瘤组(n = 186)和炎症组(n = 113)。代表性最低的是其他原因组(n = 10),包括血管性、遗传性和退行性脑部异常。研究数据集代表了品种的异质性混合(补充表1)。最具代表性的品种为杂交品种(16%),其次是拉布拉多寻回犬(11%)和拳师犬(5%)。研究组的平均年龄为5.81 ± 3.60岁,平均体重为22.55 ± 14.06 kg。数据集纳入的MRI研究使用1.5 T(n = 309)和3.0 T(n = 241)扫描仪采集。最常用的制造商为Philips(n = 363)、GE Medical Systems(n = 123)和Siemens(n = 64)。性能 使用所述测试集(n = 53;表1),评估CNN在将单个MRI切片分类为正常或异常方面的性能。分析共纳入6661张MRI切片。基于作为参考标准的手动标注,73%(1452/1989)的异常切片和74%(3430/4612)的正常切片被正确分类,而27%(537/1989)的异常切片和26%(1182/4612)的正常切片被错误分类(图2)。诊断类别 训练集 验证集 测试集 MRI正常 205 (46.17%) 18 (33.96%) 18 (33.96%) 肿瘤 143 (32.21%) 21 (39.62%) 22 (41.51%) 炎症 89 (20.05%) 12 (22.64%) 12 (22.64%) 其他原因 7 (1.58%) 2 (3.77%) 1 (1.89%) 总计 444 53 53 表1. 诊断类别在训练集、验证集和测试集中的分布(n = 550名患者)。

Scientific Reports | (2026) 16:33913 6 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 基于单层MRI切片分类,模型对正常切片的精确率为0.86、召回率为0.74、F1分数为0.80,对异常切片的精确率为0.55、召回率为0.73、F1分数为0.63,总体准确率为0.74(表2)。结果 采用热图逐层分析分类错误(假阳性和假阴性)的空间分布,以可视化归一化后平扫与增强T1w序列在所有方位上的预测模式(图3)。在所有三个方位——横断面(图3a、b)、矢状面(图3c、d)和背侧(图3e、f)——正常患者子集的T1w图像在各切片上均以大量真阴性为特征。假阳性表现为沿切片轴的散在斑块,主要位于中央部分,且在不同个体患者之间存在差异。在异常子集中,真阳性在所有方位的切片轴中央部分占主导,形成密集的水平带,而假阴性则在同一区域更零散地出现。相比之下,假阳性和真阴性倾向于聚集在解剖轴边缘附近,尤其是序列两端。在背侧平扫与增强T1w图像(图3e、f)中,异常患者的真阳性簇通常较其他方位更短且连续性更差。该视图中的错误模式显得更为碎片化,这可能提示背侧平面存在局部偏差和更大的不确定性。为探究预测结果(真阳性、真阴性、假阳性、假阴性)是否沿解剖轴呈系统性变化,将每个MRI序列逐层归一化并等分为四个四分位数(Q1–Q4)。结果显示,所有序列中各四分位数间预测类别的分布均存在显著差异(补充表2)。T1w序列的逐层准确率 研究了CNN逐层准确率与MRI序列类型之间的关系。如图4所示,不同序列所达到的准确率存在显著差异(卡方检验,p ≤ 0.001)。平扫T1w矢状面图像表现出最高的逐层准确率(81.8%),显著优于其他序列,包括平扫T1w横断面(71.2%)、增强T1w横断面 类别 精确率 召回率 F1分数 正常 0.86 0.74 0.80 异常 0.55 0.73 0.63 总体准确率 0.74 表2. 性能指标。

图2. 混淆矩阵,展示CNN模型的分类性能。矩阵显示真实标签(y轴)中标记为异常或正常的切片绝对数量与模型预测(x轴)的对应关系。正确预测出现在主对角线上(异常/异常和正常/正常),而非对角线条目表示误分类。

Scientific Reports | (2026) 16:33913 7 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports(73.3%)、增强后T1w矢状面序列(75.1%)、增强后T1w背侧面序列(76.1%)以及平扫T1w背侧面序列(69.7%)。利用受试者工作特征分析(ROC)在患者层面评估CNN模型的敏感性和特异性 由于CNN的预测基于单个MRI层面,因此采用ROC曲线在患者层面评估模型性能,根据所有层面中被预测为异常层面的比例,确定将患者分类为异常或正常的最佳阈值。使用Q-Q图(补充图1)和Shapiro–Wilk检验评估测试集中正常组(n = 18)和异常组(n = 35)患者被预测为异常层面的比例,结果显示两组均显著偏离正态分布(正常组p = 0.027;异常组p = 0.003)。图5a显示,各组内每位患者被预测为异常层面的比例存在差异。异常组被预测为异常层面比例的中位数为0.70,显著高于正常组的0.26(Mann–Whitney U检验p < 0.0001)。ROC曲线见图5b。曲线下面积(AUC)为0.85(95% CI 0.74–0.96;p < 0.0001),表明该模型能够可靠地区分正常与异常患者。当以所有层面中51%被预测为异常层面作为将患者分类为异常的阈值时,敏感性与特异性达到最佳平衡。该阈值对应的敏感性为83%(95% CI 67–91%),特异性为78%(95% CI 54–91%),阳性似然比为3.7,对应的最高平衡准确率为80%(95% CI 69–92%)。更保守的64%阈值将特异性最大化至94%(95% CI 74–99%),同时维持了合理的敏感性66%(95% CI 49–79%)。该阈值对应的最高阳性似然比为11.8,模型在该阈值下的平衡准确率为80%(95% CI 71–90%)。各阈值的详细性能指标见补充表3。使用ANCOVA识别影响CNN模型性能的参数 下一步,进行单变量ANCOVA以评估材料和方法相关参数对CNN模型准确性的影响。纳入的分类因素包括机构(TiHo、UC Davis、RVC、Glasgow)、品种体型(小型、中型、大型)、颅型(短头型与非短头型)、性别(雄性、雌性)、诊断(MRI正常、肿瘤性、炎症性、其他原因),定量协变量为测试集中每例的年龄、体重、层面数量以及可用MRI序列数量(补充表4)。此外,还检查了诊断与机构、品种体型与体重、以及性别与体重之间的交互作用。由于研究人群包含大量仅由一只或少数几只个体代表的犬品种,统计分析中将变量“品种”替换为更宽泛的类别“品种体型”和“颅型”。由于每所大学转诊中心采用不同的成像方案,其MRI设置、设备和采集技术各不相同,因此将因素“机构”视为代表这些成像相关变异对模型准确性综合影响的复合因素。扫描仪型号和磁场强度未纳入ANCOVA,因为其与变量“机构”存在多重共线性,我们数据集中每个机构均使用独特的扫描仪。尝试用“扫描仪型号”替代“制造商”未能解决该问题,因为每种型号仍仅专属于一个机构。因此,模型中保留“机构”以解释所有扫描仪和站点特异性因素,从而在不冗余的情况下获得可解释的结果。校正模型具有统计学显著性(p < 0.001,ηₚ² = 0.80)。Levene检验拒绝了方差齐性假设(p = 0.021),可能是由于相对于总样本量(n = 53)而言因素水平数量较多。由于Q–Q图仅显示轻微偏离正态分布,故保留该模型,并谨慎解读其结果(补充图2)。效应量使用偏eta平方(ηₚ²)计算,并按材料与方法部分所述解释为小、中或大效应(图6)。如图6a所示,ANCOVA表明若干参数显著影响CNN模型的准确性。观察到品种体型(p < 0.001,ηₚ² = 0.44)、机构(p = 0.001,ηₚ² = 0.39)和诊断类型(p = 0.003,ηₚ² = 0.35)具有大效应量的主效应。体重(p = 0.050,ηₚ² = 0.12)为中效应量。诊断与机构之间(p < 0.001,ηₚ² = 0.45)以及品种体型与体重之间(p < 0.001,ηₚ² = 0.43)发现具有大效应量的显著交互作用。相比之下,性别、性别与体重交互作用、颅型、年龄、每例序列数量和每例层面数量对CNN模型准确性无显著影响(p > 0.05,ηₚ²范围为0.065至0.004)。在通过ANCOVA确定影响模型性能的主要因素后,进行双因素ANOVA以进一步研究机构和诊断对模型准确性的影响(图6b)。分析显示机构(p < 0.001)和诊断(p = 0.007)具有显著主效应,以及显著交互作用(p < 0.001),表明诊断对模型性能的影响取决于机构。各机构的两两事后比较显示,TiHo数据的准确性高于RVC和Glasgow(p < 0.001和p = 0.001),UC Davis数据的准确性高于Glasgow(p = 0.029)。双因素ANOVA需谨慎解读,因为Levene检验拒绝了方差齐性假设(p = 0.014)。然而,标准化残差Q-Q图的目视检查显示近似正态分布(补充图3),且所有事后单因素ANOVA的Levene检验均未拒绝方差齐性假设(TiHo p = 0.199;UC Davis p = 0.148;RVC p = 0.813;Glasgow p = 0.075)。因此,单因素ANOVA显示TiHo亚组中诊断具有显著效应(ANOVA,p = 0.028),MRI正常病例的准确性显著高于炎症性病例(Bonferroni校正,p = 0.031)。此外,RVC队列中发现诊断具有显著效应(ANOVA,p = 0.040);然而,由于数量较少,无法计算两两事后检验

Scientific Reports | (2026) 16:33913 8 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports “其他病因”组中的病例。相比之下,在UC Davis(方差分析,p = 0.055)和Glasgow亚组(方差分析,p = 0.143)中未检测到诊断对准确性的显著影响。由于在协方差分析中发现了品种体型(p < 0.001,ηₚ² = 0.44)和体重(p = 0.050,ηₚ² = 0.12)的显著主效应,以及体重与品种体型之间的显著交互作用(p < 0.001,ηₚ² = 0.43),因此使用线性回归在每个品种体型类别(小型、中型、大型)内分别检验了体重对CNN分类准确性的影响(图6c;残差图见补充图4)。在小型品种中,未发现体重与准确性之间存在显著关联(p = 0.6006,R² = 0.0165)。同样,中型品种中的关联也不显著(p = 0.3390,R² = 0.0916)。然而,在大型品种中,观察到显著的

Scientific Reports | (2026) 16:33913 9 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 负相关(p = 0.0186,R² = 0.2471),表明大型品种中较高的体重与CNN准确性降低相关。除协方差分析外,还使用单因素检验检查了分类因素对CNN准确性的单独影响(补充图5)。机构显著影响准确性,TiHo病例的准确性高于RVC和Glasgow(Levene检验,p = 0.016;Kruskal–Wallis检验,p ≤ 0.001;补充图5a)。准确性未受制造商显著影响(Levene检验,p = 0.022;Kruskal–Wallis检验,p = 0.119;补充图5c)。扫描仪型号有显著影响,Achieva的准确性高于Intera和Magnetom Essenza(Levene检验,p = 0.050;Kruskal–Wallis检验,p = 0.003;补充图5e)。扫描仪场强显著影响准确性,3 T数据集的准确性高于1.5 T数据集(Levene检验,p = 0.052;独立t检验,p < 0.001;补充图5g)。准确性未受品种体型(Levene检验,p = 0.131;方差分析,p = 0.400;补充图5i)、颅骨形态(Levene检验,p = 0.288;独立t检验,p = 0.374;补充图5k)、性别(Levene检验,p = 0.877;独立t检验,p = 0.815;补充图5m)或诊断(Levene检验,p = 0.001;Kruskal–Wallis检验,p = 0.848;补充图5o)的显著影响。进行简单线性回归分析以评估CNN分类准确性是否分别受MRI时年龄、MRI时体重、可用序列数量和每例切片数量的影响(补充图6)。序列数量与准确性呈正线性关系(p = 0.003,R² = 0.162;补充图6a)。同样,切片数量与准确性呈正线性相关(p < 0.001,R² = 0.222;补充图6b)。相比之下,MRI时体重(p = 0.839,R² = 0.001;补充图6e)和MRI时年龄(p = 0.853,R² = 0.001;补充图6g)未发现显著线性相关。讨论 CNN模型正成为医学影像中有前景的诊断工具,尽管其在兽医医学中的应用仍处于早期阶段。在本研究中,我们评估了一个CNN模型对犬脑 图3. 测试集中所有六个T1w MRI序列与真实标签比较后逐切片预测结果的空间分布,按患者状态(正常、异常)分组。每个热图显示沿标准化解剖轴(x轴)各个切片的分类结果(真阳性,紫色;真阴性,浅蓝色;假阳性,黄色;假阴性,红色)。各面板分别代表:(a) 横断面平扫,(b) 横断面增强,(c) 矢状面平扫,(d) 矢状面增强,(e) 背侧平扫,和 (f) 背侧增强序列。正常患者主要以真阴性为特征,而异常患者则显示密集的真阳性簇,尤其是在大脑中央部分。由于图像采集的差异,患者数量(y轴)在各序列间有所不同。◂ 图4. T1加权MRI序列间逐切片准确性的比较。六个序列之间的总体准确性差异显著(卡方检验,p < 0.001),矢状面平扫图像表现最高。星号表示基于Fisher精确检验并经Bonferroni校正的统计学显著两两差异(p ≤ 0.05)。

Scientific Reports | (2026) 16:33913 10 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 将增强前和增强后T1w MRI检查判定为正常或异常,旨在实现计算机辅助检测脑部病变并提高临床实践中的报告效率。除评估整体性能外,我们还考察了生物学、技术和机构因素对模型准确性的影响。我们的ANCOVA分析显示,病变诊断、机构设置和品种体型各自具有显著影响,且均为大效应量,而体重显示中等效应。诊断与机构之间以及品种体型与体重之间也观察到具有大效应量的显著交互作用。模型在T1w增强前矢状面序列上达到最高准确率。此外,沿三个解剖轴观察到空间模式,中央脑区性能较高,而外周层面分类错误较多。这些发现强调了CNN性能的多因素性质,并突出了数据集多样性、解剖背景和序列选择在开发稳健且具有泛化能力的兽医神经病学AI模型中的重要性。该模型在来自四家兽医转诊中心收集的444个MRI数据集上训练,涵盖多种品种、年龄、体重、诊断和MRI扫描仪类型。这一多机构数据集旨在反映真实世界的变异性,并支持开发能够在多样临床环境中泛化的模型。以往探索CNN在兽医影像学中应用的研究提供了有价值的见解;然而,它们受限于小队列或单中心数据集22–28。相比之下,我们的研究利用了更广泛、更异质的数据集,可能更好地反映临床实践中遇到的变异性。本研究提出的定制CNN模型证明了将犬脑MRI层面自动分类为正常或异常的可行性。在单个MRI层面水平,其总体准确率为74%,正常(74%)和异常(73%)层面的分类率相当(图2)。如表2所示,模型对正常层面的精确度为0.86,表明正常性预测通常可靠。相比之下,异常层面的精确度相对较低,为0.55,反映该类别假阳性率较高。各类别之间的召回率相当(正常为0.74 图5. CNN模型基于预测为异常的层面比例将患者分类为正常或异常的性能。(a) 箱线图显示,临床异常患者中预测为异常的层面比例显著高于正常患者(Mann–Whitney U检验,p < 0.0001)。(b) 受试者工作特征(ROC)曲线,说明预测为异常的层面阈值变化如何影响患者水平的敏感性和特异性。曲线下面积(AUC)为0.8508(95% CI 0.74–0.96;p < 0.0001),表明模型性能稳健。

Scientific Reports | (2026) 16:33913 11 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 图6. CNN模型分类准确性影响因素分析。(a) ANCOVA的效应量揭示品种体型、机构设置、诊断和体重是CNN模型性能的主要预测因素。(b) 按诊断和机构分层的准确率值点图,采用双因素方差分析评估。各机构内诊断的事后比较采用单因素方差分析及Bonferroni校正的成对事后检验。星号表示统计学显著差异(p < 0.05)。(c) 按体重和品种体型分层的准确率值散点图。由于ANCOVA中存在显著交互作用,回归分析按小型(黄色)、中型(红色)和大型(绿色)犬品种分开进行。仅在大型犬中观察到体重对CNN模型准确率的显著负效应。

Scientific Reports | (2026) 16:33913 12 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 异常切片为0.73),表明每个类别中约四分之三的真实实例被正确识别。正常切片的相应F1分数为0.80,异常切片为0.63。总体而言,这些发现表明切片水平的分类性能为中等。这可能归因于数据集规模相对有限而分类任务较为复杂,可能限制了模型对全部异常表现类型的接触50。此外,异常表现的异质性及常呈细微性的特点可能导致了假阳性率升高6,50。通过为单个MRI切片选择不同的求和参数,我们CNN模型在患者水平的敏感性和特异性可根据临床医生或研究者的具体需求进行调整,如ROC曲线所示(图5C)。根据所选设置,SeptNetDense CNN模型达到了约80%的平衡准确率(补充表S3)。迄今为止,很少有研究使用CNN模型评估犬脑MRI。Banzato等人在基于CNN的犬脑MRI研究中报告了较高的分类准确率,在区分脑膜瘤与胶质瘤时高达94%23,并在80%的病例中正确预测了脑膜瘤分级25。本研究与既往CNN在兽医神经病学中应用之间的性能差异,可能归因于样本量和方法学设计的不同。重要的是,已有研究表明,采用机器学习的神经影像学研究中的小样本量会引入性能估计的显著变异,从而限制结论的可靠性和研究结果的普适性51。因此,基于ANCOVA结果,诊断类别、机构设置、品种体型和体重是影响CNN分类性能的主要因素。尽管这种异质性可能导致性能数值上低于既往研究,但纳入真实世界的变异性对于开发临床适用的模型很重要,因为它更贴近反映常规实践中遇到的多样性。使用来自单一机构的低变异性数据进行训练存在可重复性差的风险,因为模型可能捕捉到数据集特有的伪影而非学习可泛化的特征52。Zhang等人表明,深度神经网络能够拟合随机标签或噪声,突显了其记忆训练数据而不一定学习具有临床意义模式的潜力52。因此,在严格受控的研究条件下表现出色的模型,并不总能可靠地泛化到独立的临床数据集。ANCOVA进一步提示,CNN分类性能受多种生物学、技术和机构因素的影响,未来研究可能需要将这些因素作为混杂因素加以考虑(图6)。由于ANCOVA纳入的预测变量和交互项相对于可用样本量而言相当多,这些发现应被视为探索性和产生假设性的,而非验证性的。影像相关差异,包括MRI方案、制造商、扫描仪型号、磁场强度和采集技术(统称为“机构”),以及由“诊断”所代表的形态学变化范围,在我们的结果中显示为可能影响CNN模型性能的主要因素。CNN模型在来自TiHo的病例上表现最佳,在来自Glasgow的病例上表现最差,反映了训练数据集中各机构病例数量的不同。某一特定机构或诊断类别的准确率较低表明模型在该子集上表现欠佳,但并不意味着这些病例对CNN模型而言本质上更具挑战性。这一发现与既往研究一致,这些研究强调了基于CNN的模型对医学影像中域偏移的易感性53,54。患者人口统计学特征、成像方案和机构实践的差异对跨中心泛化构成了重大挑战,最终影响模型在不同临床环境中保持一致表现的能力53,54。将ANCOVA结果与单因素分析进行关键比较表明,尽管多个因素单独影响准确率,但当考虑完整实验设计时,与主要因素(机构设置、诊断类别、品种体型和体重)相比,它们的影响可忽略不计。由于基于CNN的模型从其所接触的数据中学习模式,因此在来自多个机构和多种疾病的数据集上进行训练至关重要,以确保模型能够在测试集中区分不同类别55,56。近期研究表明,患者群体、成像方法和机构方案的差异可导致显著的域偏移,从而阻碍基于CNN的模型在不同临床环境中的泛化能力53,54。为解决这一问题,在纳入广泛病理类型的多样化多中心数据集上进行训练,对于在独立的真实世界环境中实现可靠的模型性能至关重要52,55。本研究采用逐切片方法进行CNN训练,从而对单个MRI切片做出预测。为在患者水平解读这些预测,我们探索了根据患者内预测为异常的切片占所有切片比例来将患者分类为异常或正常的最佳阈值。结果表明不存在单一最佳阈值;相反,根据临床背景,两个阈值(51%的平衡阈值和更保守的64%阈值)可能均适用。对于分诊应用,即模型作为二次判读者或“第二双眼睛”时,更敏感的51%阈值可能更可取,以尽量减少遗漏潜在异常的风险。相反,对于高特异性至关重要的情况,例如避免不必要的转诊或随访,64%阈值可能更合适。因此,分类阈值应根据具体临床目标进行调整。如图3所示,在所有序列中切片沿解剖轴的预测类别分布(真阳性、真阴性、假阳性、假阴性)呈现出一种模式。真阳性类别在异常患者的切片轴中央区域最为突出,提示中段切片区域的预测结果具有更高的一致性。一种可能的解释是,中央脑结构在不同患者间具有更高的解剖同质性,使模型能够学习到更具泛化性和判别性的特征。此外,中央切片包含更大体积的脑组织,提供更丰富的空间背景,这可能增强模型的置信度和预测准确性。

Scientific Reports | (2026) 16:33913 13 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 相比之下,在切片轴的两端附近观察到更高密度的分类错误。这一模式可能反映了外周切片中结构信息减少和异质性增加,尽管几何因素和切片组成效应不能排除。外周切片包含较少的脑组织和较大比例的非神经结构,如骨骼、脑脊液或含气腔隙。这些区域更容易受到部分容积效应和成像伪影的影响,两者均可降低特征质量并降低模型的预测可靠性。这些发现表明,切片沿解剖轴的相对位置与预测一致性差异相关,且这种效应因序列和方向而异。为解决这些局限性,Kamnitsas等人建议从训练中排除外周切片,因为其诊断价值有限。在他们用于脑病变分割的多尺度3D CNN中,他们排除了外层切片,理由是体积边界处的信息质量较差57。此外,如Nour Eddin等人所述,在训练前实施稳健的颅骨剥离步骤可减少非脑结构的影响58。然而,排除外周切片应谨慎对待,因为这些切片在临床实践中 routinely 被审查。将外周切片纳入模型训练可能增强稳健性并更好地反映诊断过程。值得注意的是,在我们的研究中,体重在大体型犬中与分类准确性呈负相关,这一模式在小型或中型犬中未观察到。这与人类新生儿MRI研究中的发现相反,其中婴儿较小的脑体积与图像质量和诊断性能降低相关,主要由于组织对比度较低、部分容积效应增加和技术限制59。虽然CNN不像人类专家那样解释图像,但它们识别并加权输入数据中与特定输出(例如,正常 vs 异常)相关的统计模式,而不具备对解剖结构(如“病变”或“脑”)的任何语义理解60。因此,外周切片或大体型犬中的误分类可能源于非神经结构、信号伪影或解剖变异性,这些特征类似于模型已学会与异常病例关联的特征。类似发现已在人类成像研究中报道,其中CNN被证明依赖于虚假相关性而非病理特异性特征61。可解释性工具如梯度加权类激活映射(Grad-CAM),通过使用目标类别的梯度流入最终卷积层生成粗略定位图来提供视觉解释,可能有助于确定CNN是否关注生物学相关的脑区域,还是被外周切片中的非神经特征(如骨骼、脑脊液或成像伪影)误导62。简单回归分析显示,每例的切片数量和可用序列均对准确性产生积极影响,表明更多成像数据导致更好的分类性能。模型受益于每个患者访问更多数据,捕获额外的空间背景和细微异常63。本研究的另一个发现是T1w平扫矢状位序列显示出显著高于其他T1w序列的分类准确性(81.8%)。一种可能的解释是矢状面可能提供中线结构(特别是脑室系统)的更好可视化,其可能表现出与潜在病理相关的细微形态变化。类似观察已在人类神经成像研究中报道。Grigas等人发现,在区分轻度认知障碍个体与认知正常对照时,矢状位T1w切片比轴位和冠状面获得更高的诊断性能64。在人类研究中,这归因于中线结构(如胼胝体、丘脑和侧脑室)内的信息特征;然而,类似机制是否适用于犬脑MRI仍有待确定64。综合考虑所有方面,上述因素可被视为潜在混杂因素,在设计、解释或应用CNN模型于临床背景时重要认识。局限性 本研究有几个局限性,未来工作仍需解决关键挑战。一个主要局限性是纳入的病例数量相对较少。原因是我们旨在仅纳入具有非常高诊断准确性的病例,例如所有纳入的脑肿瘤均经组织病理学确认。这显著限制了数据集,尽管使用了来自大型学术机构的数据集。虽然训练集异质且来源于多个机构,但总共444例可能不足以训练复杂的深度学习模型,可能限制模型在临床实践中观察到的全谱病理表现中泛化的能力50。此外,切片级性能指标应谨慎解释,因为来自同一患者的多个切片不能被视为独立观察。因此,在ANCOVA中使用患者级汇总测量来评估影响模型性能的潜在混杂因素。尽管如此,鉴于数据集的规模和多样性,所达到的性能可被认为可接受,为未来研究提供了有价值的原理验证。在兽医临床实践中,完全健康无临床症状的犬进行脑MRI不常见,使得获取真正正常对照具有挑战性。因此,本研究的对照组包括II级特发性癫痫、阵发性运动障碍和颅外原因的患者,而非神经状态完全正常的犬。尽管这些犬在MRI上未显示结构性脑异常,但潜在神经疾病的存在可能引入专家视觉评估无法检测的细微变化,可能影响模型训练和性能。未来研究将受益于更广泛和更具代表性的对照群体,以进一步增强模型的可靠性和泛化性。本研究的另一个关键局限性是仅使用T1w平扫和增强图像进行模型开发。选择T1w平扫和增强序列是由于其在参与机构中的一致可用性,尽管MRI协议和序列可用性存在机构间差异。虽然T1w平扫和增强成像对于检测占位性病变和异常有效

Scientific Reports | (2026) 16:33913 14 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 伴随血脑屏障破坏时,它对其他重要病理变化的敏感性较低65,66。水肿、脱髓鞘、轻度炎症过程、早期缺血性改变及细微结构异常等病变,通常在T2w、FLAIR或弥散加权序列上显示更佳65–67。因此,某些异常,尤其是那些无明显对比增强的异常,在模型训练中可能被低估或遗漏。本研究的目的并非全面的病变特征描述,而是评估基于CNN的方法能否在标准化的概念验证分诊框架内将大致正常的MRI检查与异常检查区分开来。未来的工作将侧重于纳入更多MRI序列,以提高对更广泛颅内病变谱系的检测能力。虽然与兽医放射科医师的直接比较超出了本研究的范围,但这对于此类模型在真实场景中的未来验证和临床整合至关重要。评估模型相对于专家临床医师的表现是关键的下一步,以确定其能否达到或补充人类专业知识。这些比较对于界定模型在临床实践中的潜在作用至关重要,无论是作为决策支持工具、分诊系统,还是作为经验较少临床医师的辅助手段。在本研究中,数据集准备阶段剔除了含噪声、运动伪影和成像不完整的层面,以确保模型训练输入干净。然而,在临床实践中,提交用于自动化分析的MRI研究常含有运动伪影、图像质量欠佳或序列缺失。因此,在受控研究条件下开发的模型应用于真实世界临床数据时,其表现可能不够可靠。未来的工作应侧重于通过纳入伪影检测模块、实施质量控制程序,以及在更能反映临床条件的更异质、不完美的数据集上进行训练,来增强模型对此类变异性的稳健性。本研究的另一局限是未系统评估替代性CNN架构。因此,该任务的最佳架构仍未知。未来研究应使用更大数据集对多种架构进行正式基准测试。结论 尽管存在上述局限,本CNN模型为犬脑MRI分类中基于CNN方法的进一步探索提供了基础。本研究还凸显了使用具有广泛诊断范围的真实世界多机构数据来训练面向临床环境的CNN模型的价值。此外,分类性能沿解剖轴的明显模式差异凸显了需要使用可解释性工具来验证CNN是否聚焦于生物学相关的脑区。在医学领域,此类工具对于建立信任、确保临床相关性以及识别模型预测中的潜在偏倚至关重要。这些发现强调了深度学习在支持兽医神经影像诊断工作流程方面的潜力。未来的工作应优先考虑协作数据共享、使用更大且更平衡的数据集,以及严格的外部验证,以增强模型的泛化能力并促进临床整合。数据可用性 本研究期间生成的数据集可向通讯作者提出合理请求后获取。收稿日期:2025年9月4日;接受日期:2026年9月9日 参考文献 1. Gavin, P. R. Growth of clinical veterinary magnetic resonance imaging. Vet. Radiol. Ultrasound 52, S2–S4. h t t p s : / / d o i . o r g / 1 0 . 1 1 1 1 / j . 1 7 4 0 - 8 2 6 1 . 2 0 1 0 . 0 1 7 7 9 . x (2011). 2. Vickram, A. S., Infant, S. S., Priyanka, & Chopra, H. AI-powered techniques in anatomical imaging: Impacts on veterinary diagnostics and surgery. Ann. Anat. 258, 152355. https://doi.org/10.1016/j.aanat.2024.152355 (2025). 3. Werring, D. J. et al. The pathogenesis of lesions and normal-appearing white matter changes in multiple sclerosis: A serial diffusion MRI study. Brain 123, 1667–1676. https://doi.org/10.1093/brain/123.8.1667 (2000). 4. The Royal College of Radiologists. Clinical radiology workforce census report 2023. Available at h t t p s : / / w w w . r c r . a c . u k / m e d i a / 4 i m b 5 j g e / _ r c r - 2 0 2 4 - c l i n i c a l - r a d i o l o g y - w o r k f o r c e - c e n s u s - r e p o r t . p d f (2024). 5. Dick White Referrals. Addressing the shortage of veterinary imaging specialists. Available at h t t p s : / / w w w . d i c k w h i t e r e f e r r a l s . c o m / n e w s / a d d r e s s i n g - t h e - s h o r t a g e - o f - v e t e r i n a r y - i m a g i n g - s p e c i a l i s t s / (2020). 6. Esteva, A. et al. Dermatologist-level classification of skin cancer with deep neural networks. Nature 542, 115–118. h t t p s : / / d o i . o r g / 1 0 . 1 0 3 8 / n a t u r e 2 1 0 5 6 (2017). 7. Avendi, M., Kheradvar, A. & Jafarkhani, H. A combined deep-learning and deformable-model approach to fully automatic segmentation of the left ventricle in cardiac MRI. Med. Image Anal. 30, 108–119. https://doi.org/10.1016/j.media.2016.01.005 (2016). 8. Garcea, F., Serra, A., Lamberti, F. & Morra, L. Data augmentation for medical imaging: A systematic literature review. Comput. Biol. Med. 152, 106391. https://doi.org/10.1016/j.compbiomed.2022.106391 (2023). 9. Bohmrah, M. K. & Kaur, H. Advanced hybridization and optimization of DNNs for medical imaging: A survey on disease detection techniques. Artif. Intell. Rev. 58, 122. https://doi.org/10.1007/s10462-024-11049-x (2025). 10. Mienye, I. D., Swart, T. G., Obaido, G., Jordan, M. & Ilono, P. Deep convolutional neural networks in medical image analysis: A review. Information 16, 195. https://doi.org/10.3390/info16030195 (2025). 11. Yu, H., Yang, L. T., Zhang, Q., Armstrong, D. & Deen, M. J. Convolutional neural networks for medical image analysis: State-ofthe-art, comparisons, improvement and perspectives. Neurocomputing 444, 92–110. https://doi.org/10.1016/j.neucom.2020.04.157 (2021). 12. Liang, G. & Zheng, L. A transfer learning method with deep residual network for pediatric pneumonia diagnosis. Comput. Methods Progr. Biomed. 187, 104964. https://doi.org/10.1016/j.cmpb.2019.06.023 (2020). 13. Nahiduzzaman, M., Islam, M. R. & Hassan, R. ChestX-ray6: Prediction of multiple diseases including COVID-19 from chest X-ray images using convolutional neural network. Expert Syst. Appl. 211, 118576. https://doi.org/10.1016/j.eswa.2022.118576 (2023). 14. Li, L., Xu, M., Wang, X., Jiang, L. & Liu, H. Attention based glaucoma detection: A large-scale database and CNN model. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR) 10563–10572 (2019). https://doi.org/10.1109/CVPR.2019.01082

Scientific Reports | (2026) 16:33913 15 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 15. Eltoukhy, M. M., Hosny, K. M. & Kassem, M. A. 使用残差深度学习对多类组织病理学乳腺图像进行分类。Comput. Intell. Neurosci. 2022, 9086060. https://doi.org/10.1155/2022/9086060 (2022)。16. Khened, M., Kollerathu, V. A. & Krishnamurthi, G. 用于心脏分割的全卷积多尺度残差DenseNet及基于分类器集成的心脏自动诊断。Med. Image Anal. 51, 21–45. https://doi.org/10.1016/j.media.2018.10.004 (2019)。17. Al-masni, M. A., Kim, D.-H. & Kim, T.-S. 通过集成深度卷积网络进行分割与分类的多发性皮肤病变诊断。Comput. Methods Progr. Biomed. 190, 105351. https://doi.org/10.1016/j.cmpb.2020.105351 (2020)。18. Lee, S.-M. & Kim, N. 用于提高退行性关节炎分类准确性的深度学习模型集成。Comput. Mater. Contin. 75, 1981–1994. https://doi.org/10.32604/cmc.2023.035245 (2023)。19. Sarwinda, D., Paradisa, R. H., Bustamam, A. & Anggia, P. 使用残差网络(ResNet)变体进行图像分类的深度学习用于结直肠癌检测。Procedia Comput. Sci. 179, 423–431. https://doi.org/10.1016/j.procs.2021.01.025 (2021)。20. Xiao, S. 等。深度学习在兽医诊断与动物健康中应用综述。Front. Vet. Sci. 12, 1511522. https://doi.org/10.3389/fvets.2025.1511522 (2025)。21. Ezanno, P. 等。人工智能时代动物健康的研究展望。Vet. Res. 52, 40. https://doi.org/10.1186/s13567-021-00902-4 (2021)。22. Banzato, T. 等。使用迁移学习从犬超声图像中检测弥漫性退行性肝病:一项方法学研究。Vet. J. 233, 35–40. https://doi.org/10.1016/j.tvjl.2017.12.026 (2018)。23. Banzato, T., Bernardini, M., Cherubini, G. & Zotti, A. 一种基于深度学习在犬MR图像上区分脑膜瘤与胶质瘤的方法学方法。BMC Vet. Res. 14, 317. https://doi.org/10.1186/s12917-018-1638-2 (2018)。24. Yoon, Y., Hwang, T. & Lee, H. 利用特征袋和卷积神经网络预测放射学异常。Vet. J. 237, 43–48. https://doi.org/10.1016/j.tvjl.2018.05.009 (2018)。25. Banzato, T., Cherubini, G. B., Atzori, M. & Zotti, A. 开发深度卷积神经网络以从磁共振图像预测犬脑膜瘤的分级。Vet. J. 235, 90–92. https://doi.org/10.1016/j.tvjl.2018.04.001 (2018)。26. Dumortier, L., Guépin, F., Delignette-Muller, M.-L., Boulocher, C. & Grenier, T. 兽医学中的深度学习:一种基于CNN从猫侧位胸片检测肺部异常的方法。Sci. Rep. 12, 11418. https://doi.org/10.1038/s41598-022-14993-2 (2022)。27. Vinicki, K., Ferrari, P., Belic, M. & Turk, R. 使用卷积神经网络测定猫网织红细胞百分比。arXiv预印本 arXiv:1803.04873;https://doi.org/10.48550/arXiv.1803.04873 (2018)。28. Kim, H.-J., Lee, S.-H., Kim, H.-J. & Lee, S.-H. 基于CNN的犬溃疡性角膜炎诊断模型。Sci. Rep. 9, 1–10. https://doi.org/10.1038/s41598-019-50437-0 (2019)。29. Pereira, A. 等。兽医影像中的人工智能:概述。Vet. Sci. 10, 320. https://doi.org/10.3390/vetsci10050320 (2023)。30. Niemeyer, F. 等。犬腰椎椎间盘退变的自动分级。JOR Spine 7, e1326. https://doi.org/10.1002/jsp2.1326 (2024)。31. Biercher, A. 等。使用深度学习在犬胸腰段磁共振图像上检测脊髓疾病。Front. Vet. Sci. 8, 8. https://doi.org/10.3389/fvets.2021.721167 (2021)。32. Kaczmarska, A. 等。未知原因脑膜脑炎犬的脑炎后癫痫:临床特征、危险因素及长期结局。J. Vet. Intern. Med. 34, 808–820. https://doi.org/10.1111/jvim.15687 (2020)。33. Schwartz, M., Lamb, C. R., Brodbelt, D. C. & Volk, H. A. 犬颅内肿瘤:发生癫痫发作的临床危险因素。J. Small Anim. Pract. 52, 632–637. https://doi.org/10.1111/j.1748-5827.2011.01131.x (2011)。34. Cerda-Gonzalez, S. 等。国际兽医犬运动障碍工作组ECVN共识声明:术语与分类。J. Vet. Intern. Med. 35, 1218–1230. https://doi.org/10.1111/jvim.16108 (2021)。35. De Risio, L. 等。国际兽医癫痫工作组共识提案:犬癫痫的诊断方法。BMC Vet. Res. 11, 148. https://doi.org/10.1186/s12917-015-0462-1 (2015)。36. Python软件基金会。Python,版本3.11。美国特拉华州威尔明顿;可访问 https://www.python.org/downloads/release/python-3110/。37. Medixant。RadiAnt DICOM Viewer,版本4.0.1。波兰波兹南;可访问 https://www.radiantviewer.com。38. Pixmeo SARL。OsiriX MD。经FDA认证和CE标记的macOS DICOM查看器。瑞士日内瓦;可访问 https://www.osirix-viewer.com/osirix/osirix-md/。39. V7 Labs。V7 Darwin:AI数据标注平台。英国伦敦;可访问 https://www.v7labs.com (2025)。40. The MathWorks Inc.。统计与机器学习工具箱,版本R2022b。美国马萨诸塞州纳蒂克;可访问 https://www.mathworks.com/products/statistics.html。41. He, K., Zhang, X., Ren, S. & Sun, J. 用于图像识别的深度残差学习。Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR) 770–778 (2016)。https://doi.org/10.1109/CVPR.2016.90 42. Iandola, F.N. 等。Densenet:实现高效ConvNet描述符金字塔。arXiv预印本 arXiv:1404.1869;https://arxiv.org/abs/1404.1869 (2014)。43. Chollet F. Xception:使用深度可分离卷积的深度学习。In Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA 1800–1807 (IEEE Computer Society, 2017)。https://doi.org/10.1109/CVPR.2017.195。44. Howard, A.G. 等。Mobilenets:用于移动视觉应用的高效卷积神经网络。arXiv预印本 arXiv:1704.04861 (2017)。45. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J. & Wojna, Z. 重新思考用于计算机视觉的Inception架构。In Proc. IEEE Conf. Comput. Vis. Pattern Recognit. 2016, 2818–2826 (Las Vegas, NV, USA, 2016)。https://doi.org/10.1109/CVPR.2016.308。46. GraphPad Software。GraphPad Prism,Prism 8 for Windows,版本8.4.3。美国加利福尼亚州圣迭戈;可访问 https://www.graphpad.com。47. IBM Corp.。IBM SPSS Statistics for Windows,版本29.0.1.1。美国纽约州阿蒙克;可访问 https://www.ibm.com/products/spss-statistics。48. Gravetter, F. J. & Wallnau, L. B. 行为科学统计学 第10版。(Cengage Learning, 2016)。49. Hoffmann, G., Lichtinghagen, R. & Wosniok, W. 一种从常规实验室数据估计参考区间的简单方法。Lab. Med. https://doi.org/10.1515/labmed-2015-0082 (2015)。50. Buda, M., Maki, A. & Mazurowski, M. A. 卷积神经网络中类别不平衡问题的系统研究。Neural Netw. 106, 249–259. https://doi.org/10.1016/j.neunet.2018.07.011 (2018)。51. Varoquaux, G. 交叉验证失败:小样本量导致大误差棒。Neuroimage 180, 68–77. https://doi.org/10.1016/j.neuroimage.2017.06.061 (2018)。52. Zhang, C., Bengio, S., Hardt, M., Recht, B. & Vinyals, O. 理解深度学习需要重新思考泛化。arXiv预印本 arXiv:1611.03530 (2017)。53. Zech, J. R. 等。深度学习模型检测胸片肺炎的可变泛化性能:一项横断面研究。PLoS Med. 15, e1002683. https://doi.org/10.1371/journal.pmed.1002683 (2018)。54. Mahmutoglu, M. 等。优化MRI序列分类性能:来自域偏移分析的见解。Eur. Radiol. https://doi.org/10.1007/s00330-025-11671-5 (2025)。55. Garrucho, L. 等。乳腺摄影中基于深度学习的肿块检测的域泛化:一项大规模多中心研究。Artif. Intell. Med. 132, 102386. https://doi.org/10.1016/j.artmed.2022.102386 (2022)。

Scientific Reports | (2026) 16:33913 16 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 56. Holzschuh, J. 等。多中心数据集对基于卷积神经网络在18F-PSMA-1007 PET上对原发性前列腺癌进行自动肿瘤勾画的影响。Radiat. Oncol. 19, 106. https://doi.org/10.1186/s13014-024-02491-w (2024)。57. Kamnitsas, K. 等。用于脑肿瘤分割的DeepMedic。载于《脑病变:胶质瘤、多发性硬化、卒中和创伤性脑损伤》,138–149(Springer International Publishing,2016)。https://doi.org/10.1007/978-3-319-55524-9_14。58. Nour Eddin, J., Dorez, H. & Curcio, V. 多对比度动物MRI上的自动脑提取和脑组织分割。Sci. Rep. 13, 6416. https://doi.org/10.1038/s41598-023-33289-7 (2023)。59. Dubois, J. 等。新生儿脑部MRI:方法学挑战与神经科学进展综述。J. Magn. Reson. Imaging 53, 1318–1343. https://doi.org/10.1002/jmri.27192 (2021)。60. Huff, D., Weisman, A. & Jeraj, R. 医学影像中深度学习模型的解释与可视化技术。Phys. Med. Biol. 66, 04TR01. https://doi.org/10.1088/1361-6560/abcd17 (2021)。61. DeGrave, A.J., Janizek, J.D. & Lee, S.-I. 用于放射学COVID-19检测的AI选择捷径而非信号。medRxiv https://doi.org/10.1101/2020.09.13.20193565 (2020)。62. Selvaraju, R. R. 等。Grad-CAM:通过基于梯度的定位从深度网络生成视觉解释。Int. J. Comput. Vis. 128, 336–359. https://doi.org/10.1007/s11263-019-01228-7 (2019)。63. Coupet, M. 等。应用于胶质瘤分类的多序列MRI深度框架研究。Multimed. Tools Appl. 81, 13563–13591. https://doi.org/10.1007/s11042-022-12316-1 (2022)。64. Grigas, O., Damaševičius, R. & Maskeliūnas, R. 用于轻度认知障碍检测的多模态卷积混合器。Comput. Mater. Contin. 84, 1805–1838. https://doi.org/10.32604/cmc.2025.064354 (2025)。65. Mai, W. 《犬猫诊断性MRI》第1版。(CRC Press,2018)。66. Hecht, S. 脑与脊柱磁共振成像更新。Adv. Small Anim. Care 3, 73–94. https://doi.org/10.1016/j.yasa.2022.05.009 (2023)。67. Packer, R. A. 等。多中心犬脑肿瘤临床试验标准化磁共振成像方案的共识建议。Vet. Radiol. Ultrasound 59, 261–271. https://doi.org/10.1111/vru.12608 (2018)。致谢 作者感谢德国汉诺威汉诺威兽医大学、英国伦敦皇家兽医学院、美国加利福尼亚州加利福尼亚大学戴维斯分校兽医学院以及英国格拉斯哥格拉斯哥大学生物多样性、同一健康与兽医学院小动物医院的放射科医师和病理学家提供本研究放射学与尸检报告的访问权限及使用许可。我们亦衷心感谢L. Böhringer和L. Lemke协助患者筛选,G. Lester、P. Hallur、D. Sanchez-Masian和A. Wang Leonardo在本研究过程中提供宝贵咨询。作者贡献 H.V.监督本研究。H.V.、S.A.和J.N.设计实验。P.J.D.、S.D.、R.G.Q.和E.M.通过提供原始MRI数据和患者信息参与数据管理。S.A.和A.S.对病例进行标注。S.A.和F.S.提取患者数据。S.A.、S.T.、S.GH.和R.U.分析数据。S.A.撰写手稿初稿。M.L.、A.H.和J.J.开发CNN模型。所有作者审阅手稿并批准最终版本。资助 开放获取资助由Projekt DEAL启用并组织。本研究由德国联邦经济事务和气候行动部中小企业中央创新计划资助——资助编号KK5066602LB。开放获取出版由汉诺威兽医大学基金会开放获取出版基金支持。声明 利益冲突 作者J. Janisch、A. Hansch和M. Laue受雇于DOS Software-Systeme GmbH,一家AI解决方案商业开发商。雇主DOS Software-Systeme GmbH未参与数据解释或本研究得出的结论。S. Abani、J. Nessler、A. Hansch和M. Laue获德国联邦经济事务和气候行动部“中小企业中央创新计划”资助(资助编号KK5066602LB)。此外,我们感谢汉诺威兽医大学基金会开放获取出版基金的财务支持。两资助方均未对研究设计、数据收集与分析或本文得出的结论产生影响。其余作者声明无利益冲突。附加信息 补充信息 在线版本包含补充材料,可在https://doi.org/10.1038/s41598-026-71470-w获取。通讯和材料索取请联系S.A.。转载与许可信息可在www.nature.com/reprints获取。出版商注 Springer Nature对出版地图中的管辖权主张和机构隶属关系保持中立。

Scientific Reports | (2026) 16:33913 17 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 开放获取 本文依据知识共享署名4.0国际许可协议授权,该协议允许以任何媒介或格式使用、共享、改编、分发和复制本文,前提是您须给予原作者及来源适当的署名、提供知识共享许可协议的链接,并说明是否进行了修改。本文中的图片或其他第三方材料均包含在本文的知识共享许可协议中,除非在材料的署名说明中另有注明。如果材料未包含在本文的知识共享许可协议中,且您的预期用途不在法定许可范围内或超出许可范围,您需要直接向版权持有人获取许可。如需查看该许可协议的副本,请访问 http://creativecommons.org/licenses/by/4.0/。© 作者 2026

查看英文原文▾

Scientific Reports | (2026) 16:33913 1 www.nature.com/scientificreports | https://doi.org/10.1038/s41598-026-71470-w OPEN 1 Department of Small Animal Medicine and Surgery, University of Veterinary Medicine Hannover, Hannover, Germany. 2 Centre for Systems Neuroscience, University of Veterinary Medicine Hannover, Hannover, Germany. 3 DOS Software-Systems, Wolfsburg, Germany. 4 Department of Surgical and Radiological Sciences, School of Veterinary Medicine, Davis, CA, USA. 5 Department of Clinical Science and Services, Royal Veterinary College, London, UK. 6 Small Animal Hospital, School of Biodiversity, One Health and Veterinary Medicine, University of Glasgow, Glasgow, UK. 7 Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI) Dresden/ Leipzig, Dresden, Germany. 8 TIB, Leibniz Information Centre for Science and Technology, Hannover, Germany. 9 Faculty of Veterinary Medicine, Institute of Veterinary Pathology, Leipzig University, Leipzig, Germany. email: samira.abani@icloud.com CNN model-based image classification for canine brain MRI abnormalities Samira Abani 1,2 , Merlin Laue 3 , Peter J. Dickinson 4 , Steven De Decker 5 , Rodrigo Gutierrez-Quintana 6 , Siavash Ghiasvand 7 , Sahar Tahmasebi 8 , Franziska Spohn 1 , Alexander Sabbotin 1,2 , Alexej Hänsch 3 , Jörg Janisch 3 , Reiner Ulrich 9 , Ehren McLarty 4 , Jasmin Nessler 1 & Holger Volk 1,2 Diagnostic imaging represents one of the most promising clinical applications of artificial intelligence (AI) algorithms. The purpose of this study was to evaluate the customised convolutional neural network (CNN) SepNetDense for distinguishing between normal and abnormal canine brain magnetic resonance images (MRIs), with the aim of enhancing diagnostic efficiency and assisting radiologists in identifying abnormal images. The dataset comprised T1-weighted (T1w) pre- and post-contrast sequences in transverse, sagittal, and dorsal planes from 550 dogs, collected from four universities. Dogs were included if they had a complete clinical diagnosis confirmed either through histopathology or in accordance with current clinical consensus. Patients were randomly divided into a training set (n = 444), a validation set (n = 53), and a test set (n = 53). Each MRI was labelled on a slice-by-slice basis as normal or abnormal. The model was trained on 205 normal imaging datasets (e.g., extracranial aetiologies, idiopathic epilepsy, paroxysmal dyskinesia) and 239 abnormal ones (e.g., neoplasms, inflammatory lesions, other pathologies). The model correctly predicted 74% of the true normal slices in the test set as normal and 73% of the true abnormal as abnormal. A ROC analysis of the model’s prediction at the patient level revealed that, at a threshold of 51% abnormal slices per patient, the model reached an optimal balance of 83% sensitivity (95% CI 67–91%) and 78% (95% CI 54–91%) specificity, with a balanced accuracy of 80% (95% CI 69–92%). ANCOVA revealed that the CNN’s classification performance was influenced by multiple biological, technical, and institutional factors. Lesion diagnosis, institutional setting, and breed size had significant large effects, whereas body weight showed a significant medium effect. Significant interactions with large effect sizes were also observed between diagnosis and institute, as well as between breed size and weight. Additionally, a distinct pattern was observed in the distribution of prediction categories along the anatomical axes, with a trend towards better CNN performance in the central quartiles across all MRI sequences. Overall, the results demonstrate the feasibility of CNN-assisted triage of canine brain MRI studies and highlight diagnosis, institutional setting, breed size, and body weight as key determinants of model performance, emphasising the importance of heterogeneous datasets for the development of robust veterinary AI applications. Keywords Artificial intelligence (AI), Deep learning, Magnetic resonance imaging (MRI), Brain MRI, Abnormality detection, Diagnostic imaging In recent decades, technical innovations in veterinary diagnostic imaging, especially magnetic resonance imaging (MRI), have profoundly advanced clinical practice in veterinary neurology and neurosurgery 1 . MRI

Scientific Reports | (2026) 16:33913 2 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports serves as a non-invasive, highly sensitive tool for detecting abnormalities, tracking disease progression, and evaluating treatment and post-surgical outcomes 2,3 . Serial MRI studies further enable in vivo monitoring of lesion progression in real time, making MRI an essential and versatile tool for the antemortem assessment of canine brain pathologies 3 . The demand for imaging services, not only in human but also in veterinary medicine, has outpaced the number of trained diagnostic imaging specialists, creating a widening gap between the availability of imaging technology and diagnostic expertise 1,4 . While the number of MRI units in universities and private practices continues to rise, the workforce of veterinary radiologists and neurologists has not increased at the same rate, posing challenges for maintaining high-quality image interpretation 1,5 . In recent years, convolutional neural networks (CNNs) have become a powerful tool in medical imaging for tasks such as classification, detection, localisation, segmentation, augmentation, and automated diagnosis 6–9 . CNNs are particularly effective, as they can automatically learn complex patterns and hierarchical features from image data by adjusting millions of parameters through optimisation 10,11 . The architecture of a CNN typically comprises three main components: the input layer, the hidden layers, and the output layer. The hidden layers include convolutional layers, which use filters to extract key features from images; pooling layers, which reduce dimensionality; and fully connected layers, which make final predictions. This ability to process and learn from visual data makes CNNs particularly valuable for medical imaging applications 11 . Numerous studies have demonstrated that CNNs can assist clinicians in a range of image analysis applications across different anatomical regions, achieving performance levels comparable to those of human experts 12–19 . While CNNs continue to advance in human medicine, improving accuracy, robustness, and generalisability, their adoption in veterinary diagnostic practice remains at an early stage 20,21 . In 2018, several studies began to explore the potential of CNNs for analysing veterinary image diagnostic 22–28 . Among veterinary diagnostic imaging modalities, radiography is the most widely studied due to its common use in routine veterinary practice 20,29 . MRI, particularly in the context of neurological conditions, is an emerging area of increasing research interest but remains comparatively underexplored relative to radiography 20,29 . Niemeyer et al. fine-tuned a deep learning tool (VGG-16 network), originally developed for the automatic grading of human lumbar intervertebral disc (IVD) degeneration using the Pfirrmann scheme, to apply the same grading system to T2-weighted (T2w) midsagittal images of lumbar canine spines. The model achieved an average accuracy of 94.1%, a sensitivity of 85.2%, and a specificity of 96.3% for grades 1 to 5, demonstrating the potential to advance both veterinary care and human biomedical research 30 . In another study, Biercher et al. demonstrated the potential of CNNs in differentiating thoracolumbar spinal cord diseases in dogs. The CNN model achieved a sensitivity of 90.80% and a specificity of 98.98% for intervertebral disc extrusion (IVDE) using T2w sagittal images; a sensitivity of 100% and a specificity of 95.10% for intervertebral disc prolapse (IVDP) using sagittal T1-weighted (T1w) images; and a sensitivity of 90.98% and a specificity of 90.12% for fibrocartilaginous embolism/acute non-compressive nucleus pulposus extrusion (FCE/ANNPE) using T2w transverse images. This study emphasises the potential of CNNs to provide second opinions in the assessment of spinal cord lesions on MRI, while also highlighting the challenges posed by limited training data for certain diagnoses 31 . Since 2018, the use of CNNs for analysing canine brain tumours using MRI has gained increasing attention in veterinary neuroimaging 25 . Banzato et al. utilised two neural networks (NNs), one based on AlexNet and the other a customised model, to predict the histopathological grading of canine meningiomas. Their preliminary study tested the models on ten randomly selected images, correctly classifying the meningioma grade in eight out of ten cases. This result underscores the potential of MRI-based tumour grading in guiding treatment decisions 25 . Later that year, Banzato et al. trained a CNN based on GoogLeNet to distinguish between meningiomas and gliomas on canine MRI images 23 . The model performed best on post-contrast T1w images, achieving an accuracy of 94%. Performance was slightly lower on pre-contrast T1w and T2w images, with respective accuracies of 91% and 90%. These findings further demonstrate the potential of deep learning models to assist in the diagnosis and classification of various tumour types 23 . While recent studies have highlighted the growing use of CNNs in veterinary imaging diagnostics, their application in triaging or enhancing diagnostic workflows for complex imaging modalities, such as brain MRI, remains limited. This is partly due to the lack of heterogeneous large datasets that adequately reflect real-world variability. The hypothesis of this study is that a CNN model trained on a heterogeneous brain MRI dataset can accurately predict whether a dog’s brain is normal or abnormal. To test this hypothesis, we: (1) annotated 79,310 MRI slices from 550 dogs across four institutions, comprising both unremarkable brains as well as brains with multiple diseases; (2) trained the customised CNN model, SepNetDense, using the training and validation sets; and (3) evaluated the model’s performance on an independent test set. Material and methods Dataset and features The dataset comprised T1w sequences acquired pre- and post-contrast in the transverse, sagittal, and dorsal planes. It included 241 patients with unremarkable brain imaging findings (e.g., extracranial aetiologies, idiopathic epilepsy, and paroxysmal dyskinesia), and 309 patients with remarkable imaging findings (e.g., neoplasms, inflammatory lesions, and other pathological abnormalities). Dogs were included if they had a complete clinical diagnosis, confirmed either by histopathology or in accordance with current clinical scientific consensus, which served as the ground truth. Breed, age, weight, sex, presenting complaint, imaging findings, and final diagnoses were extracted from the electronic medical records of each patient. All MRI studies were reviewed by at least one veterinary neuroradiology expert. No animals were directly involved in this study, as all data were retrospectively collected from clinical cases that had previously undergone brain MRI for diagnostic purposes.

Scientific Reports | (2026) 16:33913 3 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports Patient selection Electronic databases from two university referral centres, the Department of Small Animal Medicine and Surgery at the University of Veterinary Medicine Hannover, Germany (TiHo), and the William R. Pritchard Veterinary Medical Teaching Hospital at the University of California, Davis (UC Davis), were searched for dogs presenting with clinical signs of encephalopathy between April 2003 and June 2022. A total of 178 patients with MRI studies showing remarkable brain findings were included if they had a comprehensive clinical history and received a histopathological diagnosis from a board-certified pathologist, based on either post-mortem examination or stereotactic brain biopsy. In addition, 85 cases with histopathologically confirmed primary or secondary intracranial neoplasia, from the dataset of a previous study conducted at the Royal Veterinary College, Small Animal Referral Hospital, London (RVC), were included 32 . Furthermore, 46 cases of meningoencephalitis of unknown origin, with a final or presumptive diagnosis as reported in a previous study conducted at the Small Animal Hospital of the University of Glasgow (Glasgow), were incorporated 33 . MRI studies were acquired at four university referral centres using clinical MRI scanners from Philips, GE Medical Systems, and Siemens. At TiHo, imaging was performed using 3.0  T scanners, including the Philips Achieva and Achieva dStream models. UC Davis used 1.5 T scanners from GE Medical Systems, including the Genesis Signa and Signa HDxt. Glasgow acquired scans using 1.5 T systems, including the Philips NT Intera and Siemens Magnetom Essenza. At RVC, studies were obtained using various 1.5 T scanners, including the Philips Achieva, Gyroscan, Intera, NT Intera, and the GE Genesis Signa. Different imaging protocols were applied at each institution. Differences in scanner models, magnet strength, and acquisition protocols across institutions were considered as part of the dataset’s heterogeneity. Control group The control group consisted of MR images from 241 dogs with unremarkable brain findings, obtained from four university referral centres. This group included dogs with conditions such as extracranial aetiologies; paroxysmal dyskinesia, diagnosed in accordance with the consensus statement of the European College of Veterinary Neurology (ECVN) 34 ; and idiopathic epilepsy, classified as tier II according to the International Veterinary Epilepsy Task Force consensus statement 35 . As individual dogs may have undergone multiple MRI examinations on different dates at the referral centres, only one MRI study per case was included in the dataset. Follow-up MRI studies performed post-surgery or post-treatment were excluded. Approval for the use of medical data was obtained through the owner’s informed consent prior to hospital admission, in accordance with each university’s institutional guidelines. The acquisition of MRI images was supervised by veterinary technicians from the diagnostic imaging units of the referral centres, in compliance with their respective animal welfare policies. All patients were imaged under general anaesthesia. MRI studies affected by severe motion artefacts or incomplete sequences that prevented diagnostic interpretation were excluded from the study dataset. Dataset preparation All MR images were anonymised using Python™ (Python™, version 3.11. Python Software Foundation, DE, USA) by removing metadata tags containing personal information 36 . Labelling All images were in Digital Imaging and Communications in Medicine (DICOM) format and analysed using available DICOM viewers: RadiAnt™ (RadiAnt™ DICOM Viewer for Windows, version 4.0.1. Poznań, Poland) or OsiriX MD (OsiriX MD, DICOM viewer for macOS, Pixmeo SARL, Geneva, Switzerland) 37,38 . The DICOM files were extracted and subsequently converted into PNG format. MRI slices were labelled slice by slice using the online annotation platform V7 Darwin (V7 Labs. V7 Darwin, London, UK) 39 . Brain MR images were annotated using the following tags, which served as the ground truth: (a) normal, indicating the absence of detectable abnormalities and serving as a baseline for comparison; and (b) pathological structural changes, including lesions, brain oedema, mass effect, ventricular abnormalities, midline shift, parenchymal loss, pathological contrast enhancement, and herniation. Subsequently, for the final binary classification task, slices labelled as normal were categorised as normal, whereas slices containing any pathological finding (e.g., lesions, brain oedema, mass effect, ventricular abnormalities, midline shift, parenchymal loss, pathological contrast enhancement, or herniation) were grouped into a single ‘abnormal’ category. Experimental design and data split To train, validate, and test the performance of the presented CNN, the dataset comprising 550 dogs was randomly divided into a training set, a validation set, and a test set. Randomisation was performed using MATLAB® (MATLAB® software, MathWorks Inc. version R2022b. Natick, MA, USA), without accounting for covariates such as age, weight, sex, breed type, institution, number of sequences, or disease category 40 . For data splitting, all slices and sequences from each patient were treated as a single unit, and the dataset was split at the patient level. The model was trained at the slice level, where normal brain MRI images consisted exclusively of normal slices, while remarkable cases contained both abnormal and normal slices, as the lesion was not present in every slice. Training set: This set consisted of 444 dogs and included 39,208 normal and 11,960 abnormal images, enabling the model to learn and adjust its parameters based on these data. Validation set: The validation set comprised 53 dogs, with 5491 normal and 1860 abnormal slices. It was used to fine-tune the model’s hyperparameters and to monitor performance during the training process. Te s t s e t: The test set also consisted of 53 dogs and included 4612 normal and 1989 abnormal imaging slices. This set was reserved for final model evaluation, providing an unbiased estimate of the model’s performance and ensuring its ability to generalise to unseen data.

Scientific Reports | (2026) 16:33913 4 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports Pre-processing The initial T1w image file sizes ranged from 179 bytes to 399.91 KB, with matrix dimensions varying between 144 × 144 and 1024 × 1024 pixels. Pixel dimensions were dependent on the scanner’s resolution and field of view at the time of acquisition. All T1w images (greyscale) were resized to 128 × 128 pixels, and normalised during pre-processing. To increase data variability, augmentation techniques were applied, including random 90° rotations and horizontal or vertical flips. CNN model Although well-established networks such as ResNets and DenseNets have demonstrated strong performance across a range of vision tasks, they performed suboptimal for the present application 41,42 . Due to their high parameter count, these models tended to either overfit or underfit the data, failing to capture domain-specific features essential for robust classification 41,42 . To address this limitation, a customised, optimised architecture, SepNetDense, was developed for binary brain classification in the present study. SepNetDense features a small parameter footprint, comprising a total of 76,626 parameters, of which 65,746 are trainable 43–45 . The architecture of SepNetDense is illustrated in Fig. 1. The following classification metrics were calculated:

퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶퐶 ( 푇푇푇푇푇푇푇푇푇 ) / ( 푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇푇 ) (1)

푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃푃 ( 푃푃푃푃푇푇푇 푃푃 ) (2)

푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅푅 ( 푅푅푅푅푇푇푇푇푇 ) (3) Fig. 1. Schematic illustration of the SepNetDense model architecture. The input is a grayscale image (128 × 128 × 1) passed through a 3 × 3 convolutional layer (32 filters). The main building blocks of the proposed architecture are the Weight Blocks (WB), consisting of a series of depthwise separable convolution (DSC) layers, with intermediate batch normalization (BN) layers and a residual connection. The architecture of the WBs is shown on the right side of the image. Every three WBs are followed by a MaxPooling layer. At the end, a Dropout layer prevents overfitting, followed by Global Average Pooling (GAP) and a Fully Connected (FC) layer with two output units to provide the final binary classification results. It is important to note that the intermediate BN layer from the first DSC block and the MaxPooling layer from the last WB are removed.

Scientific Reports | (2026) 16:33913 5 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports

퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹 ( 퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹푃퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹퐹 ) (4) TP = true positives, TN = true negatives, FP = false positives, and FN = false negatives. Frequency distributions of the predictions were compared using chi-square tests or Fisher’s exact tests and visualized as heatmaps using GraphPad Prism (Prism 8 for Windows, version 8.4.3, GraphPad Software, San Diego, CA, USA) 46 . The proportion of slices predicted to be normal or abnormal as compared to all slices at the patient level was assessed for normality using a Q-Q plot and Shapiro–Wilk tests, and analysed for differences between the groups using the Mann–Whitney U test. Receiver Operating Characteristic (ROC) analysis was performed to assess classification performance and determine optimal thresholds, also using GraphPad Prism (Prism 8 for Windows, version 8.4.3, GraphPad Software, San Diego, CA, USA). Balanced accuracy was calculated as the arithmetic mean of sensitivity and specificity with confidence intervals estimated using standard error propagation based on the binomial variances of sensitivity and specificity. An analysis of covariance (ANCOVA) was performed in SPSS (IBM SPSS Statistics for Windows, version 29.0.1.1, IBM Corp., Armonk, NY, USA) to examine and compare the effects of materials- and methods-related factors, covariates, and selected interactions on classification accuracy 47 . Levene’s test was applied to assess the assumption of homogeneity of variances. Effect sizes were reported using partial eta squared (ηₚ 2 ), interpreted as small (0.01–0.059), medium (0.06–0.13), and large (≥ 0.14), as described by Gravetter et al. 48 . A two-way analysis of variance (ANOVA) with post hoc one-way ANOVAs and subsequent pair-wise post hoc tests with Bonferroni corrections was applied to assess the effects of the categorical factors diagnosis and institute on the CNN model’s accuracy using SPSS (IBM SPSS Statistics for Windows, version 29.0.1.1, IBM Corp., Armonk, NY, USA). Levene’s test was applied to assess the assumption of homogeneity of variances and normality was assessed using a Q-Q plot of standardized residues 49 . The influence of the categorical factors institute, manufacturer, scanner model, field strength, diagnosis, breed size, skull conformation and gender on accuracy was analysed individually. Distributions were first assessed with Levene’s test, then groups were compared using one-way ANOVA or Kruskal–Wallis tests with Bonferroni post hoc corrections, or unpaired t-tests or Mann–Whitney U tests where applicable. Linear regression analyses were used to assess associations between the continuous factors and classification accuracy using GraphPad Prism (Prism 8 for Windows, version 8.4.3, GraphPad Software, San Diego, CA, USA). To evaluate the adequacy of the linear regression models, residual plots were examined. In general, statistical significance was defined as a p ≤ 0.05. Results Dataset The study included the MRI sequences of 550 canine brains with pre- and post-contrast T1w images, collected across four referral centres. From these patients, a total of 79,310 MRI slices were manually annotated as either normal or abnormal as ground truth by a veterinarian experienced in MRI interpretation, with access to the original patient-level reports and, where available, necropsy reports. Slices affected by artefacts or considered to be of insufficient quality were excluded, resulting in a final dataset comprising 65,120 slices. The training set consisted of 444 patients, of which 205 had normal and 239 had abnormal brain findings. The validation and test sets each comprised 53 patients, with 18 normal and 35 abnormal patients. In the study dataset (Table 1), the most represented diagnosis was the MRI-normal group (n = 241), comprising patients with unremarkable brain MRI findings. This was followed by the neoplastic group (n = 186) and the inflammatory group (n = 113). The least represented was the other causes group (n = 10), which included vascular, hereditary, and degenerative brain abnormalities. The study dataset represented a heterogeneous mix of breeds (Suppl. Table 1). The most represented breeds were crossbreeds (16%), followed by Labrador Retrievers (11%) and Boxers (5%). The mean age of the study group was 5.81 ± 3.60 years, and the mean body weight was 22.55 ± 14.06 kg. MRI studies included in the dataset were acquired using 1.5 T (n = 309) and 3.0 T (n = 241) scanners. The most commonly used manufacturers were Philips (n = 363), GE Medical Systems (n = 123), and Siemens (n = 64). Performance Using the described test set (n = 53; Table 1), the performance of the CNN was evaluated in classifying individual MRI slices as either normal or abnormal. A total of 6661 MRI slices were included in the analysis. Based on manual annotations serving as the reference standard, 73% (1452/1989) of abnormal slices and 74% (3430/4612) of normal slices were correctly classified, whereas 27% (537/1989) of abnormal slices and 26% (1182/4612) of normal slices were incorrectly classified (Fig. 2). Diagnostic CategoryTraining setValidation setTest set MRI-Normal205 (46.17%)18 (33.96%)18 (33.96%) Neoplastic143 (32.21%)21 (39.62%)22 (41.51%) Inflammatory89 (20.05%)12 (22.64%)12 (22.64%) Other causes7 (1.58%)2 (3.77%)1 (1.89%) To t a l4445353 Ta b l e 1. Distribution of diagnostic categories across the training, validation, and test sets (n = 550 patients).

Scientific Reports | (2026) 16:33913 6 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports Based on individual MRI slice classification, the model achieved a precision of 0.86, recall of 0.74, and F1- score of 0.80 for normal slices, and a precision of 0.55, recall of 0.73, and F1-score of 0.63 for abnormal slices, with an overall accuracy of 0.74 (Table 2). Findings The spatial distribution of classification errors (false positives and false negatives) was analysed slice-wise using heatmaps to visualize prediction patterns across all orientations in pre- and post-contrast T1w sequences after normalisation (Fig. 3). Across all three orientations; transverse (Fig. 3a, b), sagittal (Fig. 3c, d), and dorsal (Fig. 3e, f ) T1w images of the normal patient subset are characterized by a high number of true negatives across slices. False positives appear as scattered patches along the slice axes, predominantly in the central portions, and vary between individual patients. In the abnormal subset, true positives dominate the central portions of the slice axes across all orientations, forming dense horizontal bands, while false negatives occur more sporadically in the same regions. By contrast, false positives and true negatives tend to cluster near the periphery of the anatomical axes, particularly at the sequence extremes. In dorsal pre- and post-contrast T1w images (Fig. 3e, f ), true positive clusters in abnormal patients are generally shorter and less continuous than in other orientations. Error patterns in this view appear more fragmented, which might suggest localized deviations and greater uncertainty in the dorsal plane. To investigate whether the prediction outcomes (true positive, true negative, false positive, false negative) varied systematically along the anatomical axes, each MRI sequence was normalised slice-wise and divided into four equal quartiles (Q1–Q4). Results showed that the distribution of the prediction categories differed significantly across the quartiles in all sequences (Suppl. Table 2). Slice-wise accuracy across T1w sequences The relationship between CNN slice-wise accuracy and MRI sequence type was examined. As illustrated in Fig. 4, a significant difference was observed in the accuracy achieved with the different sequences (Chi-square test, p ≤ 0.001). Pre-contrast T1w sagittal images demonstrated the highest slice-wise accuracy (81.8%), significantly outperforming other sequences, including pre-contrast T1w transverse (71.2%), post-contrast T1w transverse ClassPrecisionRecallF1-score Normal0.860.740.80 Abnormal0.550.730.63 Overall accuracy0.74 Ta b l e 2. Performance metrics.

Fig. 2. Confusion matrix illustrating the classification performance of the CNN model. The matrix shows the absolute number of slices labelled as abnormal or normal in the ground truth (y-axis) and predicted by the model (x-axis). Correct predictions appear along the main diagonal (abnormal/abnormal and normal/normal), while off-diagonal entries indicate misclassifications.

Scientific Reports | (2026) 16:33913 7 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports (73.3%), post-contrast T1w sagittal (75.1%), post-contrast T1w dorsal (76.1%), and pre-contrast T1w dorsal sequence (69.7%). Assessment of the sensitivity and specificity of the CNN model at the patient level using receiver operating characteristic analysis (ROC) Since the CNN’s predictions were based on individual MRI slices, the ROC curve was used to evaluate the model’s performance at the patient level, determining the optimal threshold for classifying patients as abnormal or normal, based on the proportion of slices predicted to be abnormal slices among all slices. The proportion of slices predicted to be abnormal in the normal (n = 18) and abnormal (n = 35) patient groups in the test set was assessed using a Q-Q plot (Suppl. Fig. 1), and Shapiro–Wilk tests, which indicated significant deviations from normality in both groups (normal p = 0.027; abnormal p = 0.003). Figure 5a shows that the proportion of slices predicted to be abnormal within each patient differs between the groups. The median of the proportion of slices predicted to be abnormal was significantly higher in the abnormal group at 0.70, compared to 0.26 in the normal group (Mann–Whitney U test p < 0.0001). The ROC curve is presented in Fig. 5b. The area under the curve (AUC) was 0.85 (95% CI 0.74–0.96; p < 0.0001), indicating that the model reliably distinguishes between normal and abnormal patients. An optimal balance between sensitivity and specificity was achieved when a threshold of 51% predicted abnormal slices out of all slices was used to classify a patient as abnormal. This threshold resulted in a sensitivity of 83% (95% CI 67–91%), specificity of 78% (95% CI 54–91%), and a positive likelihood ratio of 3.7, corresponding to the highest balanced accuracy of 80% (95% CI 69–92%). A more conservative threshold of 64% maximised specificity to 94% (95% CI 74–99%), while maintaining a reasonable sensitivity of 66% (95% CI 49–79%). This resulted in the highest positive likelihood ratio of 11.8, with the model’s balanced accuracy at this threshold being 80% (95% CI 71–90%). Detailed performance metrics at each threshold are presented in Suppl. Table 3. Identification of parameters influencing CNN model performance using ANCOVA In the next step, a univariate ANCOVA was conducted to evaluate the influence of materials- and methodsrelated parameters on the accuracy of the CNN model. The included categorical factors were institute (TiHo, UC Davis, RVC, Glasgow), breed size (small, medium, large), skull conformation (brachycephalic vs nonbrachycephalic), sex (male, female), diagnosis (MRI-normal, neoplastic, inflammatory, other causes), and the quantitative covariates were age, weight, number of slices, and the number of available MRI sequences per case in the test set (Suppl. Table 4). In addition, interactions between diagnosis and institute, breed size and weight, as well as sex and weight were examined. As the study population included a large number of dog breeds represented by only one or a few individuals, the variable “breed” was replaced by the broader categories “breed size” and “skull conformation” for the statistical analysis. Since each university referral centre employed distinct imaging protocols, which differed in MRI settings, equipment, and acquisition techniques, the factor ‘institute’ was treated as a composite factor representing the combined influence of these imaging-related variations on model accuracy. Scanner model and magnetic field strength were not included in the ANCOVA due to multicollinearity with the variable “institute,” as each institute in our dataset used a unique scanner. Attempts to substitute “manufacturer” with “scanner model” did not resolve this issue, since each model was still exclusive to one institute. Therefore, “institute” was retained in the model to account for all scanner- and site-specific factors, allowing for interpretable results without redundancy. The corrected model was statistically significant (p < 0.001, ηₚ 2 = 0.80). Levene’s test rejected the assumption of variance homogeneity (p = 0.021), likely due to the large number of factor levels relative to the total sample size (n = 53). Since the Q–Q plot showed only minor deviations from normality, the model was retained, and its results were interpreted with caution (Suppl. Fig. 2). Effect sizes were calculated using partial eta squared (ηₚ 2 ) and interpreted as small, medium, or large, as mentioned in the Materials and Methods section (Fig. 6). As shown in Fig. 6a, the ANCOVA indicated that several parameters significantly influenced the accuracy of the CNN model. Main effects with large effect sizes were observed for breed size (p < 0.001, ηₚ 2 = 0.44), institute (p = 0.001, ηₚ 2 = 0.39), and diagnosis type (p = 0.003, ηₚ 2 = 0.35). A medium effect size was identified for body weight (p = 0.050, ηₚ 2 = 0.12). Significant interaction effects with large effect sizes were found between diagnosis and institute (p < 0.001, ηₚ 2 = 0.45), as well as between breed size and weight (p < 0.001, ηₚ 2 = 0.43). In contrast, sex, sex and weight interaction, skull conformation, age, number of sequences per case, and number of slices per case exhibited no significant effect on the CNN-models accuracy (p > 0.05, ηₚ 2 ranging from 0.065 to 0.004). Following the identification of the main factors influencing model performance through ANCOVA, a twoway ANOVA was conducted to further investigate the effects of institute and diagnosis on model accuracy (Fig. 6b). The analysis revealed significant main effects of institute (p < 0.001) and diagnosis (p = 0.007), as well as a significant interaction (p < 0.001), indicating that the effect of diagnosis on model performance was dependent on the institute. A pair wise post hoc comparison of the institutes reveals higher accuracy with TiHo data as compared to RVC and Glasgow (p < 0.001 and p = 0.001), as well as higher accuracy with UC Davis data as compared to Glasgow (p = 0.029). The two-way ANOVA has to be interpreted carefully, since Levene’s test rejected the assumption of variance homogeneity (p = 0.014). However, visual inspection of the Q-Q plot of the standardized residuals shows approximate normality (Suppl. Fig. 3), and Levene’s test for all post hoc one-way ANOVAs did not reject the assumption of variance homogeneity (TiHo p = 0.199; UC Davis p = 0.148; RVC p = 0.813; Glasgow p = 0.075). Accordingly, one-way ANOVA revealed a significant effect of diagnosis in the TiHo subset (ANOVA, p = 0.028), with MRI-normal cases achieving significantly higher accuracy than inflammatory cases (Bonferroni correction, p = 0.031). Furthermore, a significant effect of diagnosis was found in the RVC cohort (ANOVA, p = 0.040); however, pairwise post hoc tests could not be calculated due to the small number of

Scientific Reports | (2026) 16:33913 8 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports cases in the ‘other causes’ group. In contrast, no significant effects of diagnosis on accuracy were detected in the UC Davis (ANOVA, p = 0.055) and Glasgow subsets (ANOVA, p = 0.143). Due to the significant main effects of breed size (p < 0.001, ηₚ 2 = 0.44) and body weight (p = 0.050, ηₚ 2 = 0.12), as well as the significant interaction between weight and breed size (p < 0.001, ηₚ 2 = 0.43) identified in the ANCOVA, the effect of body weight on CNN classification accuracy was examined separately within each breed size category (small, medium, large) using linear regressions (Fig. 6c; residual plot in Suppl Fig. 4). In small breeds, no significant association was found between weight and accuracy (p = 0.6006, R 2 = 0.0165). Similarly, the association was not significant in medium breeds (p = 0.3390, R 2 = 0.0916). However, in large breeds, a significant

Scientific Reports | (2026) 16:33913 9 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports negative association was observed (p = 0.0186, R 2 = 0.2471), indicating that higher body weight within the large breeds was associated with reduced CNN accuracy. In addition to the ANCOVA, the individual effects of categorical factors on CNN accuracy were examined using one-factor tests (Suppl. Fig. 5). Institution significantly affected accuracy, with TiHo cases showing higher accuracy than RVC and Glasgow (Levene’s test, p = 0.016; Kruskal–Wallis test, p ≤ 0.001; Suppl. Fig. 5a). Accuracy was not significantly affected by manufacturer (Levene’s test, p = 0.022; Kruskal–Wallis test, p = 0.119; Suppl. Fig. 5c). Scanner model had a significant effect, with Achieva showing higher accuracy than Intera and Magnetom Essenza (Levene’s test, p = 0.050; Kruskal–Wallis test, p = 0.003; Suppl. Fig. 5e). Scanner field strength significantly influenced accuracy, with 3  T datasets showing higher accuracy than 1.5  T datasets (Levene’s test, p = 0.052; independent t-test, p < 0.001; Suppl. Fig. 5g). Accuracy was not significantly affected by breed size (Levene’s test, p = 0.131; ANOVA, p = 0.400; Suppl. Fig. 5i), skull conformation (Levene’s test, p = 0.288; independent t-test, p = 0.374; Suppl. Fig. 5k), sex (Levene’s test, p = 0.877; independent t-test, p = 0.815; Suppl. Fig. 5m), or diagnosis (Levene’s test, p = 0.001; Kruskal–Wallis test, p = 0.848; Suppl. Fig. 5o). Simple linear regression analyses were performed to assess whether CNN classification accuracy was individually influenced by age at MRI, weight at MRI, number of available sequences, and number of slices per case (Suppl. Fig. 6). The number of sequences demonstrated a positive linear relationship with accuracy (p = 0.003, R 2 = 0.162; Suppl. Fig. 6a). Similarly, the number of slices was positively linearly correlated with accuracy (p < 0.001, R 2 = 0.222; Suppl. Fig. 6b). In contrast, no significant linear correlation was found for weight at MRI (p = 0.839, R 2 = 0.001; Suppl. Fig. 6e) and age at MRI (p = 0.853, R 2 = 0.001; Suppl. Fig. 6g). Discussion CNN models are emerging as promising diagnostic tools in medical imaging, though their application in veterinary medicine remains in its early stages. In this study, we evaluated a CNN model to classify canine brain Fig. 3. Spatial distribution of the slice-wise prediction outcomes after comparison with the ground truth across all six T1w MRI sequences in the test set, grouped by patient status (normal, abnormal). Each heatmap displays the classification outcome (true positive, violet; true negative, light blue; false positive, yellow; false negative, red) for individual slices along the normalized anatomical axis (x-axis). Panels represent: (a) transverse pre-contrast, (b) transverse post-contrast, (c) sagittal pre-contrast, (d) sagittal post-contrast, (e) dorsal pre-contrast, and (f) dorsal post-contrast sequences. Normal patients are predominantly characterized by true negatives, whereas abnormal patients show dense clusters of true positives, especially in the central portion of the brain. The number of patients (y-axis) varies across the sequences due to differences in image acquisition. ◂ Fig. 4. Comparison of slice-wise accuracy across T1-weighed MRI sequences. Overall accuracy differed significantly between the six sequences (Chi-square test, p < 0.001), with highest performance observed for sagittal pre-contrast images. Asterisks indicate statistically significant pairwise differences based on Fisher’s exact tests with Bonferroni correction (p ≤ 0.05).

Scientific Reports | (2026) 16:33913 10 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports pre- and post-contrast T1w MRI studies as normal or abnormal, aiming to enable computer-assisted detection of brain lesions and improve reporting efficiency in clinical practice. Beyond evaluating overall performance, we examined the influence of biological, technical, and institutional factors on model accuracy. Our ANCOVA analysis revealed that lesion diagnosis, institutional setting, and breed size each had significant effects, all with large effect sizes, while body weight showed a medium effect. Significant interactions with large effect sizes were also observed between diagnosis and institute, as well as between breed size and weight. The model achieved its highest accuracy on the T1w pre-contrast sagittal sequence. Moreover, a spatial pattern was observed along the three anatomical axes, with higher performance in central brain regions and more classification errors in peripheral slices. These findings underscore the multifactorial nature of CNN performance and highlight the importance of dataset diversity, anatomical context, and sequence selection in developing robust and generalisable AI models for veterinary neurology. The model was trained on 444 MRI data sets collected from four veterinary referral centres, including a variety of breeds, ages, body weights, diagnoses, and MRI scanner types. This multi-institutional dataset was designed to reflect real-world variability and to support the development of a model capable of generalising across diverse clinical settings. Previous studies exploring CNNs in veterinary imaging have provided valuable insights; however, they were limited by small cohorts or single-centre dataset 22–28 . In contrast, our study utilises a broader and more heterogeneous dataset, which may better reflect the variability encountered in clinical practice. The customised CNN model presented in this study demonstrated the feasibility of automated classification of canine brain MRI slices as normal or abnormal. At the level of individual MRI slices, it achieved an overall accuracy of 74%, with comparable classification rates for normal (74%) and abnormal (73%) slices (Fig. 2). As shown in Table 2, the model achieved a precision of 0.86 for normal slices, indicating that predictions of normality were generally reliable. In contrast, the relatively low precision for abnormal slices of 0.55 reflects a higher rate of false positives in this class. Recall values were comparable between classes (0.74 for normal Fig. 5. Performance of the CNN model for classifying patients as normal or abnormal based on the proportion of slices predicted as abnormal. (a) Box-and-whisker plot showing that the proportion of slices predicted as abnormal is significantly higher in clinically abnormal patients than in normal patients (Mann–Whitney U test, p < 0.0001). (b) Receiver operating characteristic (ROC) curve illustrating how a varying threshold of slices predicted as abnormal affects the sensitivity and specificity at the patient level. The area under the curve (AUC) is 0.8508 (95% CI 0.74–0.96; p < 0.0001), indicating robust model performance.

Scientific Reports | (2026) 16:33913 11 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports Fig. 6. Analysis of factors influencing the classification accuracy of the CNN model. (a) The effect sizes from ANCOVA reveal that breed size, institutional setting, diagnosis, and body weight are the main predictors of CNN model performance. (b) Dot plot of the accuracy values stratified by diagnosis and institute, assessed by two-way ANOVA. Post hoc comparisons of diagnoses within each institute were performed using oneway ANOVA with pairwise post hoc tests with Bonferroni correction. The asterisk indicates a statistically significant difference (p < 0.05). (c) Scatter plot of the accuracy values stratified by weight and breed size. Due to the significant interaction in the ANCOVA, the regression analysis was split for small (yellow), medium (red), and large (green) dog breeds. A significant negative effect of weight on the accuracy of the CNN model was observed only in large breed dogs.

Scientific Reports | (2026) 16:33913 12 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports and 0.73 for abnormal slices), indicating that approximately three-quarters of true instances in each category were correctly identified. The corresponding F1-scores were 0.80 for normal and 0.63 for abnormal slices. Overall, these findings indicate moderate classification performance at the slice level. This may be attributed to the relatively limited dataset size compared with the complexity of the classification task, which may have constrained the model’s exposure to the full range of abnormal presentations 50 . Furthermore, the heterogeneous and often subtle nature of abnormalities likely contributed to the increased false positive rate 6,50 . The sensitivity and specificity of our CNN model at the patient level can be adjusted according to the specific requirements of the clinician or researcher by selecting different summation parameters for individual MRI slices, as illustrated in the ROC curve (Fig. 5C). Depending on the selected settings, the SeptNetDense CNN model achieved a balanced accuracy of approximately 80% (Suppl. Table S3). To date, few studies have used CNN models to evaluate canine brain MRI. Banzato et al. reported high classification accuracies in CNN-based canine brain MRI studies, achieving up to 94% when distinguishing between meningiomas and gliomas 23 , and correctly predicting meningioma grade in 80% of cases 25 . Differences in performance between the present study and previous CNN applications in veterinary neurology is likely attributable to differences in sample size and methodological design. Importantly, small sample sizes in neuroimaging studies employing machine learning have been shown to introduce substantial variability in performance estimates, thereby limiting the reliability of conclusions and the generalisability of findings 51 . Hence, based on the ANCOVA results, diagnostic category, institutional setting, breed size, and body weight are the main factors influencing CNN classification performance. Although this heterogeneity may result in a numerically lower performance as compared to the previous studies, the inclusion of real-world variability is important for the development of clinically applicable models, as it more closely reflects the diversity encountered in routine practice. Training on low-variability data sourced from a single institution carries the risk of poor reproducibility, as models may capture dataset-specific artefacts rather than learn generalisable features 52 . Zhang et al. showed that deep neural networks are capable of fitting random labels or noise, highlighting their potential to memorise training data without necessarily learning clinically meaningful patterns 52 . Consequently, models that demonstrate strong performance under narrowly controlled research conditions may not always generalise reliably to independent clinical datasets. The ANCOVA further suggested that CNN classification performance was influenced by several biological, technical, and institutional factors, which may need to be considered as confounding factors in future studies (Fig. 6). As the ANCOVA included a rather large number of predictors and interaction terms relative to the available sample size, these findings should be considered exploratory and hypothesis-generating rather than confirmatory. Imaging-related differences, including MRI protocols, manufacturer, scanner model, magnetic field strength, and acquisition techniques, summarised as ‘institute,’ along with the range of morphological changes represented by ‘diagnosis’, are shown in our results to be the major factors suggested to influence CNN model performance. The CNN model performed best on cases from TiHo, and poorest on cases from Glasgow, reflecting the different number of cases from the institutes in the training dataset. Lower accuracy for a particular institute or diagnostic category indicates suboptimal performance on that subset, but does not imply that these cases are inherently more challenging for the CNN model. This finding aligns with previous studies that underscore the susceptibility of CNN-based models to domain shifts in medical imaging 53,54 . Variations in patient demographics, imaging protocols, and institutional practices present significant challenges for crosssite generalisation, ultimately affecting the model’s ability to perform consistently across different clinical environments 53,54 . A critical comparison of the ANCOVA results with the one-factor analyses shows that, although multiple factors individually influence accuracy, their effects are negligible compared to the main factors, which are institutional setting, diagnostic category, breed size, and weight, when the full experimental design is considered. Since CNN-based models learn patterns from the data they are exposed to, it is crucial to train them on diverse datasets from multiple institutes and a variety of diseases, ensuring the model can distinguish between different classes in the test set 55,56 . Recent research has shown that differences in patient populations, imaging methods, and institutional protocols can lead to substantial domain shifts, which consequently hinder the generalisability of CNN-based models across diverse clinical settings 53,54 . To address this, training on diverse, multi-centre datasets that incorporate a wide range of pathologies is essential to achieve reliable model performance in independent, real-world environments 52,55 . In this study, a slice-by-slice approach was employed for CNN training, resulting in predictions made on individual MRI slices. To interpret these predictions at the patient level, we explored the optimal threshold for classifying a patient as abnormal or normal based on the proportion of slices predicted to be abnormal versus all slices within the respective patient. The results indicated that there is no single optimal threshold; rather, two thresholds (a balanced threshold of 51% and a more conservative 64%) may be applicable depending on the clinical context. For triage applications, where the model serves as a secondary reader or “second pair of eyes,” a more sensitive threshold of 51% may be preferable to minimise the risk of missing potential abnormalities. In contrast, for situations where high specificity is critical, such as to avoid unnecessary referrals or follow-ups, the 64% threshold may be more appropriate. Thus, the classification threshold should be adjusted according to the specific clinical objective. As shown in Fig. 3, a pattern is observed in the distribution of prediction categories (true positive, true negative, false positive, false negative) along the anatomical axes of the slices within all sequences. The true positive category was most prominent in the central region of the slice axes for abnormal patients, suggesting greater consistency in prediction outcomes in mid-slice regions. One possible explanation is the greater anatomical homogeneity of central brain structures across patients, allowing the model to learn more generalisable and discriminative features. Furthermore, central slices contain a larger volume of brain tissue, providing richer spatial context, which may enhance model confidence and prediction accuracy.

Scientific Reports | (2026) 16:33913 13 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports In contrast, a higher density of classification errors is observed near the extremes of the slice axes. This pattern may reflect reduced structural information and increased heterogeneity in peripheral slices, although geometric factors and slice composition effects cannot be excluded. Peripheral slices contain less brain tissue and a greater proportion of non-neural structures, such as bone, cerebrospinal fluid, or air-filled spaces. These regions are more prone to partial volume effects and imaging artefacts, both of which can degrade feature quality and reduce the model’s predictive reliability. These findings suggest that the relative position of a slice along the anatomical axes is associated with differences in prediction consistency, with this effect varying by sequence and orientation. To address these limitations, Kamnitsas et al. suggested excluding peripheral slices from training due to their limited diagnostic value. In their multi-scale 3D CNN for brain lesion segmentation, they excluded outer slices, citing poor information quality at the volume boundaries 57 . Furthermore, the implementation of a robust skull-stripping step, as described by Nour Eddin et al., prior to training could reduce the influence of non-brain structures 58 . However, excluding peripheral slices should be approached with caution, as these slices are routinely reviewed in clinical practice. Incorporating peripheral slices into model training might enhance robustness and better reflect the diagnostic process. It is worth noting that in our study, body weight was negatively associated with classification accuracy in large breeds, a pattern not observed in small or medium breeds. This is in contrast to findings in human neonatal MRI studies, where smaller brain volume in infants have been associated with reduced image quality and diagnostic performance, largely due to lower tissue contrast, increased partial volume effects, and technical limitations 59 . While CNNs do not interpret images in the same way as human experts, they identify and weight statistical patterns in the input data that are associated with specific outputs (e.g., normal vs abnormal), without possessing any semantic understanding of anatomical structures such as a “lesion” or “brain” 60 . As a result, misclassifications in peripheral slices or in large-breed dogs may arise from non-neural structures, signal artefacts, or anatomical variability that resemble features the model has learned to associate with abnormal cases. Similar findings have been reported in human imaging studies, where CNNs were shown to rely on spurious correlations rather than pathology-specific features 61 . Explainability tools such as Gradient-weighted Class Activation Mapping (Grad-CAM), which provide visual explanations by using the gradient of a target class flowing into the final convolutional layer to generate a coarse localisation map, may help determine whether the CNN is attending to biologically relevant brain regions or being misled by non-neural features such as bone, cerebrospinal fluid, or imaging artefacts in peripheral slices 62 . Simple regression analyses showed that both the number of slices and available sequences per case positively affected accuracy, indicating that more imaging data leads to better classification performance. The model benefits from access to more data per patient, capturing additional spatial context and subtle abnormalities 63 . Another finding of this study was that the T1w pre-contrast sagittal sequence demonstrated significantly higher classification accuracy (81.8%) than other T1w sequences. One possible explanation is that the sagittal plane may provide improved visualisation of midline structures, particularly the ventricular system, which may exhibit subtle morphological changes associated with underlying pathology. Similar observations have been reported in human neuroimaging studies. Grigas et al. found that sagittal T1w slices achieved higher diagnostic performance than axial and coronal planes when distinguishing individuals with mild cognitive impairment from cognitively normal controls 64 . In human studies, this has been attributed to informative features within midline structures such as the corpus callosum, thalamus, and lateral ventricles; however, whether similar mechanisms apply in canine brain MRI remains to be determined 64 . Considering all aspects, the mentioned factors can be considered potential confounders and are important to acknowledge when designing, interpreting, or applying CNN models in a clinical context. Limitations This study has several limitations, and key challenges remain to be addressed in future work. A primary limitation is the relatively small number of cases included. The reason for this was that we aimed to include only cases which had a very high diagnostic accuracy, e.g. all brain neoplasms included were histopathologically confirmed. This limited the dataset significantly, albeit using the dataset from large academic institutions. Although the training set was heterogeneous and sourced from multiple institutions, the total of 444 cases may be insufficient for training a complex deep learning model, potentially limiting the model’s ability to generalise across the full spectrum of pathological presentations observed in clinical practice 50 . Furthermore, slice-level performance metrics should be interpreted with caution because multiple slices from the same patient cannot be considered independent observations. Consequently, patient-level summary measures were used in the ANCOVA to assess potential confounding factors influencing model performance. Nonetheless, the performance achieved can be considered acceptable given the size and diversity of the dataset, providing a valuable proof of concept for future research. In veterinary clinical practice, it is uncommon for completely healthy dogs without clinical signs to undergo brain MRI, making the acquisition of true normal controls challenging. As a result, the control group in this study included patients with Tier II idiopathic epilepsy, paroxysmal dyskinesia, and extracranial causes, rather than dogs with entirely normal neurological status. Although these dogs showed no structural brain abnormalities on MRI, the presence of underlying neurological disease could introduce subtle changes not detectable by expert visual assessment, potentially influencing model training and performance. Future studies would benefit from a broader and more representative control population to further enhance model reliability and generalisability. Another key limitation of this study is the exclusive use of T1w pre- and post-contrast images for model development. T1w pre- and post-contrast sequences were selected due to their consistent availability across the participating institutions, despite inter-institutional variation in MRI protocols and sequence availability. Although T1w pre- and post-contrast imaging is effective for detecting mass lesions and abnormalities associated

Scientific Reports | (2026) 16:33913 14 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports with blood–brain barrier disruption, it is less sensitive to other important pathological changes 65,66 . Conditions such as oedema, demyelination, mild inflammatory processes, early ischaemic changes, and subtle structural abnormalities are often better visualised on T2w, FLAIR, or diffusion-weighted sequences 65–67 . Consequently, some abnormalities, particularly those without marked contrast enhancement, may have been underrepresented or missed during model training. The aim of the present study was not comprehensive lesion characterisation, but rather to evaluate whether a CNN-based approach could distinguish broadly normal from abnormal MRI examinations within a standardised proof-of-concept triage framework. Future work will focus on incorporating additional MRI sequences to improve detection across a broader spectrum of intracranial pathologies. While a direct comparison with veterinary radiologists was beyond the scope of this study, it will be essential for future validation and clinical integration of such models in real-world scenarios. Evaluating the model’s performance relative to expert clinicians is a critical next step to determine whether it can match or complement human expertise. These comparisons are vital for defining the model’s potential role in clinical practice, whether as a decision support tool, a triage system, or an aid for less experienced clinicians. In this study, slices with noise, motion artefacts, and incomplete imaging were removed during dataset preparation to ensure clean inputs for model training. However, in clinical practice, MRI studies submitted for automated analysis often contain motion artefacts, suboptimal image quality, or missing sequences. As a result, models developed under controlled research conditions may perform less reliably when applied to real-world clinical data. Future work should focus on enhancing model robustness to such variability by incorporating artefact detection modules, implementing quality control procedures, and training on more heterogeneous, imperfect datasets that better reflect clinical conditions. A further limitation of the present study is that alternative CNN architectures were not systematically evaluated. Consequently, the optimal architecture for this task remains unknown. Future studies should perform formal benchmarking of multiple architectures using larger datasets. Conclusion Despite the limitations mentioned, the present CNN model provides a foundation for further exploration of CNN-based methods in canine brain MRI classification. This study also highlights the value of using realworld, multi-institutional data with a broad range of diagnoses to train CNN-based models for clinical settings. Moreover, distinct patterns in classification performance along the anatomical axes highlight the need to use explainability tools to verify whether the CNN is focusing on biologically relevant brain regions. In the medical domain, such tools are essential to build trust, ensure clinical relevance, and identify potential biases in model predictions. The findings underscore the potential of deep learning to support diagnostic workflows in veterinary neuroimaging. Future work should prioritise collaborative data sharing, the use of larger and more balanced datasets, and rigorous external validation to enhance model generalisability and facilitate clinical integration. Data availability The datasets generated during the current study is available from the corresponding author upon reasonable request. Received: 4 September 2025; Accepted: 9 September 2026 References 1. Gavin, P. R. Growth of clinical veterinary magnetic resonance imaging. Vet. Radiol. Ultrasound 52, S2–S4. h t t p s : / / d o i . o r g / 1 0 . 1 1 1 1 / j . 1 7 4 0 - 8 2 6 1 . 2 0 1 0 . 0 1 7 7 9 . x (2011). 2. Vickram, A. S., Infant, S. S., Priyanka, & Chopra, H. AI-powered techniques in anatomical imaging: Impacts on veterinary diagnostics and surgery. Ann. Anat. 258, 152355. https://doi.org/10.1016/j.aanat.2024.152355 (2025). 3. Werring, D. J. et al. The pathogenesis of lesions and normal-appearing white matter changes in multiple sclerosis: A serial diffusion MRI study. Brain 123, 1667–1676. https://doi.org/10.1093/brain/123.8.1667 (2000). 4. The Royal College of Radiologists. Clinical radiology workforce census report 2023. Available at h t t p s : / / w w w . r c r . a c . u k / m e d i a / 4 i m b 5 j g e / _ r c r - 2 0 2 4 - c l i n i c a l - r a d i o l o g y - w o r k f o r c e - c e n s u s - r e p o r t . p d f (2024). 5. Dick White Referrals. Addressing the shortage of veterinary imaging specialists. Available at h t t p s : / / w w w . d i c k w h i t e r e f e r r a l s . c o m / n e w s / a d d r e s s i n g - t h e - s h o r t a g e - o f - v e t e r i n a r y - i m a g i n g - s p e c i a l i s t s / (2020). 6. Esteva, A. et al. Dermatologist-level classification of skin cancer with deep neural networks. Nature 542, 115–118. h t t p s : / / d o i . o r g / 1 0 . 1 0 3 8 / n a t u r e 2 1 0 5 6 (2017). 7. Avendi, M., Kheradvar, A. & Jafarkhani, H. A combined deep-learning and deformable-model approach to fully automatic segmentation of the left ventricle in cardiac MRI. Med. Image Anal. 30, 108–119. https://doi.org/10.1016/j.media.2016.01.005 (2016). 8. Garcea, F., Serra, A., Lamberti, F. & Morra, L. Data augmentation for medical imaging: A systematic literature review. Comput. Biol. Med. 152, 106391. https://doi.org/10.1016/j.compbiomed.2022.106391 (2023). 9. Bohmrah, M. K. & Kaur, H. Advanced hybridization and optimization of DNNs for medical imaging: A survey on disease detection techniques. Artif. Intell. Rev. 58, 122. https://doi.org/10.1007/s10462-024-11049-x (2025). 10. Mienye, I. D., Swart, T. G., Obaido, G., Jordan, M. & Ilono, P. Deep convolutional neural networks in medical image analysis: A review. Information 16, 195. https://doi.org/10.3390/info16030195 (2025). 11. Yu, H., Yang, L. T., Zhang, Q., Armstrong, D. & Deen, M. J. Convolutional neural networks for medical image analysis: State-ofthe-art, comparisons, improvement and perspectives. Neurocomputing 444, 92–110. https://doi.org/10.1016/j.neucom.2020.04.157 (2021). 12. Liang, G. & Zheng, L. A transfer learning method with deep residual network for pediatric pneumonia diagnosis. Comput. Methods Progr. Biomed. 187, 104964. https://doi.org/10.1016/j.cmpb.2019.06.023 (2020). 13. Nahiduzzaman, M., Islam, M. R. & Hassan, R. ChestX-ray6: Prediction of multiple diseases including COVID-19 from chest X-ray images using convolutional neural network. Expert Syst. Appl. 211, 118576. https://doi.org/10.1016/j.eswa.2022.118576 (2023). 14. Li, L., Xu, M., Wang, X., Jiang, L. & Liu, H. Attention based glaucoma detection: A large-scale database and CNN model. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR) 10563–10572 (2019). https://doi.org/10.1109/CVPR.2019.01082

Scientific Reports | (2026) 16:33913 15 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 15. Eltoukhy, M. M., Hosny, K. M. & Kassem, M. A. Classification of multiclass histopathological breast images using residual deep learning. Comput. Intell. Neurosci. 2022, 9086060. https://doi.org/10.1155/2022/9086060 (2022). 16. Khened, M., Kollerathu, V. A. & Krishnamurthi, G. Fully convolutional multi-scale residual DenseNets for cardiac segmentation and automated cardiac diagnosis using ensemble of classifiers. Med. Image Anal. 51, 21–45. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . m e d i a . 2 0 1 8 . 1 0 . 0 0 4 (2019). 17. Al-masni, M. A., Kim, D.-H. & Kim, T.-S. Multiple skin lesions diagnostics via integrated deep convolutional networks for segmentation and classification. Comput. Methods Progr. Biomed. 190, 105351. https://doi.org/10.1016/j.cmpb.2020.105351 (2020). 18. Lee, S.-M. & Kim, N. Deep learning model ensemble for the accuracy of classification degenerative arthritis. Comput. Mater. Contin. 75, 1981–1994. https://doi.org/10.32604/cmc.2023.035245 (2023). 19. Sarwinda, D., Paradisa, R. H., Bustamam, A. & Anggia, P. Deep learning in image classification using residual network (ResNet) variants for detection of colorectal cancer. Procedia Comput. Sci. 179, 423–431. https://doi.org/10.1016/j.procs.2021.01.025 (2021). 20. Xiao, S. et al. Review of applications of deep learning in veterinary diagnostics and animal health. Front. Vet. Sci. 12, 1511522. https://doi.org/10.3389/fvets.2025.1511522 (2025). 21. Ezanno, P. et al. Research perspectives on animal health in the era of artificial intelligence. Vet. Res. 52, 40. h t t p s : / / d o i . o r g / 1 0 . 1 1 8 6 / s 1 3 5 6 7 - 0 2 1 - 0 0 9 0 2 - 4 (2021). 22. Banzato, T. et al. Use of transfer learning to detect diffuse degenerative hepatic diseases from ultrasound images in dogs: a methodological study. Ve t . J. 233, 35–40. https://doi.org/10.1016/j.tvjl.2017.12.026 (2018). 23. Banzato, T., Bernardini, M., Cherubini, G. & Zotti, A. A methodological approach for deep learning to distinguish between meningiomas and gliomas on canine MR images. BMC Vet. Res. 14, 317. https://doi.org/10.1186/s12917-018-1638-2 (2018). 24. Yoon, Y., Hwang, T. & Lee, H. Prediction of radiographic abnormalities by the use of bag-of-features and convolutional neural networks. Ve t . J. 237, 43–48. https://doi.org/10.1016/j.tvjl.2018.05.009 (2018). 25. Banzato, T., Cherubini, G. B., Atzori, M. & Zotti, A. Development of a deep convolutional neural network to predict grading of canine meningiomas from magnetic resonance images. Ve t . J. 235, 90–92. https://doi.org/10.1016/j.tvjl.2018.04.001 (2018). 26. Dumortier, L., Guépin, F., Delignette-Muller, M.-L., Boulocher, C. & Grenier, T. Deep learning in veterinary medicine, an approach based on CNN to detect pulmonary abnormalities from lateral thoracic radiographs in cats. Sci. Rep. 12, 11418. h t t p s : / / d o i . o r g / 1 0 . 1 0 3 8 / s 4 1 5 9 8 - 0 2 2 - 1 4 9 9 3 - 2 (2022). 27. Vinicki, K., Ferrari, P., Belic, M. & Turk, R. Using convolutional neural networks for determining reticulocyte percentage in cats. arXiv preprint arXiv:1803.04873; https://doi.org/10.48550/arXiv.1803.04873 (2018). 28. Kim, H.-J., Lee, S.-H., Kim, H.-J. & Lee, S.-H. CNN-based diagnosis models for canine ulcerative keratitis. Sci. Rep. 9, 1–10. h t t p s : / / d o i . o r g / 1 0 . 1 0 3 8 / s 4 1 5 9 8 - 0 1 9 - 5 0 4 3 7 - 0 (2019). 29. Pereira, A. et al. Artificial intelligence in veterinary imaging: An overview. Vet. Sci. 10, 320. https://doi.org/10.3390/vetsci10050320 (2023). 30. Niemeyer, F. et al. Automatic grading of intervertebral disc degeneration in lumbar dog spines. JOR Spine 7, e1326. h t t p s : / / d o i . o r g / 1 0 . 1 0 0 2 / j s p 2 . 1 3 2 6 (2024). 31. Biercher, A. et al. Using deep learning to detect spinal cord diseases on thoracolumbar magnetic resonance images of dogs. Front. Vet. Sci. 8, 8. https://doi.org/10.3389/fvets.2021.721167 (2021). 32. Kaczmarska, A. et al. Postencephalitic epilepsy in dogs with meningoencephalitis of unknown origin: Clinical features, risk factors, and long-term outcome. J. Vet. Intern. Med. 34, 808–820. https://doi.org/10.1111/jvim.15687 (2020). 33. Schwartz, M., Lamb, C. R., Brodbelt, D. C. & Volk, H. A. Canine intracranial neoplasia: Clinical risk factors for development of epileptic seizures. J. Small Anim. Pract. 52, 632–637. https://doi.org/10.1111/j.1748-5827.2011.01131.x (2011). 34. Cerda-Gonzalez, S. et al. International veterinary canine dyskinesia task force ECVN consensus statement: Terminology and classification. J. Vet. Intern. Med. 35, 1218–1230. https://doi.org/10.1111/jvim.16108 (2021). 35. De Risio, L. et al. International veterinary epilepsy task force consensus proposal: Diagnostic approach to epilepsy in dogs. BMC Vet. Res. 11, 148. https://doi.org/10.1186/s12917-015-0462-1 (2015). 36. Python Software Foundation. Python, version 3.11. Wilmington, DE, USA; Available at h t t p s : / / w w w . p y t h o n . o r g / d o w n l o a d s / r e l e a s e / p y t h o n - 3 1 1 0 / . 37. Medixant. RadiAnt DICOM Viewer, version 4.0.1. Poznań, Poland; Available at https://www.radiantviewer.com. 38. Pixmeo SARL. OsiriX MD. FDA-cleared and CE-labeled DICOM viewer for macOS. Geneva, Switzerland; Available at h t t p s : / / w w w . o s i r i x - v i e w e r . c o m / o s i r i x / o s i r i x - m d / . 39. V7 Labs. V7 Darwin: AI Data Labeling Platform. London, UK; Available at https://www.v7labs.com (2025). 40. The MathWorks Inc. Statistics and Machine Learning Toolbox, version R2022b. Natick, MA, USA; Available at h t t p s : / / w w w . m a t h w o r k s . c o m / p r o d u c t s / s t a t i s t i c s . h t m l . 41. He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image recognition. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR) 770–778 (2016). https://doi.org/10.1109/CVPR.2016.90 42. Iandola, F.N. et al. Densenet: implementing efficient ConvNet descriptor pyramids. arXiv preprint arXiv:1404.1869; h t t p s : / / a r x i v . o r g / a b s / 1 4 0 4 . 1 8 6 9 (2014). 43. Chollet F. Xception: Deep learning with depthwise separable convolutions. In Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA 1800–1807 (IEEE Computer Society, 2017). https://doi.org/10.1109/CVPR.2017.195. 44. Howard, A.G. et al. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861 (2017). 45. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J. & Wojna, Z. Rethinking the inception architecture for computer vision. In Proc. IEEE Conf. Comput. Vis. Pattern Recognit. 2016, 2818–2826 (Las Vegas, NV, USA, 2016). https://doi.org/10.1109/CVPR.2016.308. 46. GraphPad Software. GraphPad Prism, Prism 8 for Windows, version 8.4.3. San Diego, CA, USA; Available at h t t p s : / / w w w . g r a p h p a d . c o m . 47. IBM Corp. IBM SPSS Statistics for Windows, version 29.0.1.1. Armonk, NY, USA; Available at h t t p s : / / w w w . i b m . c o m / p r o d u c t s / s p s s - s t a t i s t i c s . 48. Gravetter, F. J. & Wallnau, L. B. Statistics for the Behavioral Sciences 10th edn. (Cengage Learning, 2016). 49. Hoffmann, G., Lichtinghagen, R. & Wosniok, W. Ein einfaches Verfahren zur Schätzung von Referenzintervallen aus routinemäßig erhobenen Labordaten. Lab. Med. https://doi.org/10.1515/labmed-2015-0082 (2015). 50. Buda, M., Maki, A. & Mazurowski, M. A. A systematic study of the class imbalance problem in convolutional neural networks. Neural Netw. 106, 249–259. https://doi.org/10.1016/j.neunet.2018.07.011 (2018). 51. Varoquaux, G. Cross-validation failure: Small sample sizes lead to large error bars. Neuroimage 180, 68–77. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . n e u r o i m a g e . 2 0 1 7 . 0 6 . 0 6 1 (2018). 52. Zhang, C., Bengio, S., Hardt, M., Recht, B. & Vinyals, O. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530 (2017). 53. Zech, J. R. et al. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A crosssectional study. PLoS Med. 15, e1002683. https://doi.org/10.1371/journal.pmed.1002683 (2018). 54. Mahmutoglu, M. et al. Optimizing MRI sequence classification performance: Insights from domain shift analysis. Eur. Radiol. https://doi.org/10.1007/s00330-025-11671-5 (2025). 55. Garrucho, L. et al. Domain generalization in deep learning-based mass detection in mammography: A large-scale multi-center study. Artif. Intell. Med. 132, 102386. https://doi.org/10.1016/j.artmed.2022.102386 (2022).

Scientific Reports | (2026) 16:33913 16 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 56. Holzschuh, J. et al. The impact of multicentric datasets for the automated tumor delineation in primary prostate cancer using convolutional neural networks on 18F-PSMA-1007 PET. Radiat. Oncol. 19, 106. https://doi.org/10.1186/s13014-024-02491-w (2024). 57. Kamnitsas, K. et al. DeepMedic for brain tumor segmentation. In Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries, 138–149 (Springer International Publishing, 2016). https://doi.org/10.1007/978-3-319-55524-9_14. 58. Nour Eddin, J., Dorez, H. & Curcio, V. Automatic brain extraction and brain tissues segmentation on multi-contrast animal MRI. Sci. Rep. 13, 6416. https://doi.org/10.1038/s41598-023-33289-7 (2023). 59. Dubois, J. et al. MRI of the neonatal brain: A review of methodological challenges and neuroscientific advances. J. Magn. Reson. Imaging 53, 1318–1343. https://doi.org/10.1002/jmri.27192 (2021). 60. Huff, D., Weisman, A. & Jeraj, R. Interpretation and visualization techniques for deep learning models in medical imaging. Phys. Med. Biol. 66, 04TR01. https://doi.org/10.1088/1361-6560/abcd17 (2021). 61. DeGrave, A.J., Janizek, J.D. & Lee, S.-I. AI for radiographic COVID-19 detection selects shortcuts over signal. medRxiv h t t p s : / / d o i . o r g / 1 0 . 1 1 0 1 / 2 0 2 0 . 0 9 . 1 3 . 2 0 1 9 3 5 6 5 (2020). 62. Selvaraju, R. R. et al. Grad-CAM: Visual explanations from deep networks via gradient-based localization. Int. J. Comput. Vis. 128, 336–359. https://doi.org/10.1007/s11263-019-01228-7 (2019). 63. Coupet, M. et al. A multi-sequences MRI deep framework study applied to glioma classification. Multimed. Tools Appl. 81, 13563– 13591. https://doi.org/10.1007/s11042-022-12316-1 (2022). 64. Grigas, O., Damaševičius, R. & Maskeliūnas, R. Multimodal convolutional mixer for mild cognitive impairment detection. Comput. Mater. Contin. 84, 1805–1838. https://doi.org/10.32604/cmc.2025.064354 (2025). 65. Mai, W. Diagnostic MRI in Dogs and Cats 1st edn. (CRC Press, 2018). 66. Hecht, S. Update on magnetic resonance imaging of the brain and spine. Adv. Small Anim. Care 3, 73–94. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . y a s a . 2 0 2 2 . 0 5 . 0 0 9 (2023). 67. Packer, R. A. et al. Consensus recommendations on standardized magnetic resonance imaging protocols for multicenter canine brain tumor clinical trials. Vet. Radiol. Ultrasound 59, 261–271. https://doi.org/10.1111/vru.12608 (2018). Acknowledgements The authors acknowledge the radiologists and pathologists at the University of Veterinary Medicine Hannover, Hannover, Germany; the Royal Veterinary College, London, United Kingdom; the School of Veterinary Medicine, University of California, Davis, California, USA; and the Small Animal Hospital, School of Biodiversity, One Health and Veterinary Medicine, University of Glasgow, Glasgow, United Kingdom, for providing access to and permission to use the radiology and necropsy reports for this study. We also gratefully acknowledge L. Böhringer and L. Lemke for assistance with patient selection, G. Lester, P. Hallur, D. Sanchez-Masian, and A. Wang Leonardo for their valuable consultation during the course of this study. Author contributions H.V. supervised this study. H.V., S.A. and J.N. designed the experiments. P.J.D., S.D., R.G.Q., and E.M. contributed to data curation by providing raw MRI data and patient information. S.A. and A.S. annotated the cases. S.A. and F.S. extracted the patient data. S.A., S.T., S.GH., and R.U. analysed the data. S.A. wrote the first draft of the manuscript. M.L., A.H. and J.J. developed the CNN model. All authors reviewed the manuscript and approved the final version. Funding Open Access funding enabled and organized by Projekt DEAL. This work was funded by the Central Innovation Program for small- and medium-sized enterprises of the German Federal Ministry for Economic Affairs and Climate Action—grant number KK5066602LB. Open access publishing was supported by the Open Access Publication Fund of the University of Veterinary Medicine Hannover, Foundation. Declarations Competing interests Authors J. Janisch, A. Hansch, and M. Laue are employed by DOS Software-Systeme GmbH, a commercial developer of AI solutions. The employer, DOS Software-Systeme GmbH, had no role in the interpretation of the data or in the conclusions drawn from this study. S. Abani, J. Nessler, A. Hansch, and M. Laue were funded by the “Central Innovation Program for Small- and Medium-Sized Enterprises” of the German Federal Ministry for Economic Affairs and Climate Action (grant no. KK5066602LB). Additionally, we acknowledge financial support from the Open Access Publication Fund of the University of Veterinary Medicine Hannover, Foundation. Both funders had no influence on the study design, data collection and analysis, or the conclusions drawn in this paper. The remaining authors declare no competing interests. Additional information Supplementary Information The online version contains supplementary material available at h t t p s : / / d o i . o r g / 1 0 . 1 0 3 8 / s 4 1 5 9 8 - 0 2 6 - 7 1 4 7 0 - w . Correspondence and requests for materials should be addressed to S.A. Reprints and permissions information is available at www.nature.com/reprints. Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Scientific Reports | (2026) 16:33913 17 | https://doi.org/10.1038/s41598-026-71470-w www.nature.com/scientificreports 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 licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence 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 licence, visit http://creativecommons.org/licenses/by/4.0/. © The Author(s) 2026

本文为开放获取(Open Access)文章,全文转载自 Europe PMC,遵循原许可协议(Open Access); 来源:Scientific Reports · DOI: https://doi.org/10.1038/s41598-026-71470-w,版权归原作者及出版方所有;中文为机器翻译,临床术语以英文原文为准。 查看原文 ↗

跳转原文 ↗ 返回列表

快捷键 S 一键收藏本文,收藏内容在 我的收藏 查看;PubMed 位于境外,直接访问原文可能需要国际网络环境,站内摘要无需翻墙即可阅读。

采集时间:2026-10-26 12:46:24 · 中文解读将在编辑审核后另行发布,未经审核的自动标注不构成临床依据。