MLDT: an open-source multilayer diffusion theory Python implementation.

IF 3.3 3区 医学 Q2 BIOCHEMICAL RESEARCH METHODS
Journal of Biomedical Optics Pub Date : 2026-09-01 Epub Date: 2026-09-29 DOI:10.1117/1.JBO.31.9.095006
Thomas T Livecchi, Mark C Pierce, Steven L Jacques
{"title":"MLDT: an open-source multilayer diffusion theory Python implementation.","authors":"Thomas T Livecchi, Mark C Pierce, Steven L Jacques","doi":"10.1117/1.JBO.31.9.095006","DOIUrl":null,"url":null,"abstract":"<p><strong>Significance: </strong>Diffuse reflectance spectroscopy and imaging are powerful noninvasive tools for quantifying tissue biomarkers such as hemoglobin, melanin, and water. A theoretical model of light propagation is required to interpret these reflectance measurements and translate them into quantitative biomarker concentrations. Although Monte Carlo (MC) simulations offer the gold-standard in accuracy, their high computational burden renders them impractical for real-time iterative inverse solving. Conversely, standard analytical approximations can be efficient but often oversimplify tissue as a semi-infinite homogeneous medium, leading to significant errors when analyzing layered structures.</p><p><strong>Aim: </strong>We aim to develop a generalized, computationally efficient forward model capable of rapidly predicting light transport in complex, multilayered tissue structures.</p><p><strong>Approach: </strong>We present a generalized derivation and open-source Python implementation of the P1 diffusion approximation for predicting diffuse reflectance from tissue with an arbitrary number of layers. This framework utilizes a vectorized banded matrix approach to solve the fluence rate equations efficiently. The model was validated against 400 randomized MC simulations encompassing architectures ranging from one to eight layers.</p><p><strong>Results: </strong>Diffuse reflectance spectra predicted by the generalized multilayer diffusion theory model show strong agreement with MC simulations in the diffusion regime ( <math> <mrow> <msub><mrow><mi>μ</mi></mrow> <mrow><mi>a</mi></mrow> </msub> <mo>≪</mo> <msubsup><mrow><mi>μ</mi></mrow> <mrow><mi>s</mi></mrow> <mrow><mo>'</mo></mrow> </msubsup> </mrow> </math> ), achieving a median spectral root mean square error of 0.0145 across the validation set. Computation times were over 5 orders of magnitude faster than GPU-accelerated MC, yielding a mean calculation time of 0.0087 s to generate a single predicted diffuse reflectance spectrum given a set of input optical properties and a speedup of <math><mrow><mo>∼</mo> <mn>277</mn> <mo>,</mo> <mn>607</mn> <mo>×</mo></mrow> </math> . Notably, validation results demonstrated that numerical error does not scale with structural complexity, indicating that multilayer architectures maintained high stability.</p><p><strong>Conclusions: </strong>We provide an accurate, computationally efficient, and generalized tool for modeling light transport in stratified media. By combining the ability of MC modeling to simulate complex tissue structures, with the speed of analytical diffusion methods, this tool facilitates real-time, depth-resolved quantitative tissue profiling. The full source code is made freely available to the community.</p>","PeriodicalId":15264,"journal":{"name":"Journal of Biomedical Optics","volume":"31 9","pages":"095006"},"PeriodicalIF":3.3000,"publicationDate":"2026-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13621390/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Biomedical Optics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1117/1.JBO.31.9.095006","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/9/29 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Significance: Diffuse reflectance spectroscopy and imaging are powerful noninvasive tools for quantifying tissue biomarkers such as hemoglobin, melanin, and water. A theoretical model of light propagation is required to interpret these reflectance measurements and translate them into quantitative biomarker concentrations. Although Monte Carlo (MC) simulations offer the gold-standard in accuracy, their high computational burden renders them impractical for real-time iterative inverse solving. Conversely, standard analytical approximations can be efficient but often oversimplify tissue as a semi-infinite homogeneous medium, leading to significant errors when analyzing layered structures.

Aim: We aim to develop a generalized, computationally efficient forward model capable of rapidly predicting light transport in complex, multilayered tissue structures.

Approach: We present a generalized derivation and open-source Python implementation of the P1 diffusion approximation for predicting diffuse reflectance from tissue with an arbitrary number of layers. This framework utilizes a vectorized banded matrix approach to solve the fluence rate equations efficiently. The model was validated against 400 randomized MC simulations encompassing architectures ranging from one to eight layers.

Results: Diffuse reflectance spectra predicted by the generalized multilayer diffusion theory model show strong agreement with MC simulations in the diffusion regime ( μ a ≪ μ s ' ), achieving a median spectral root mean square error of 0.0145 across the validation set. Computation times were over 5 orders of magnitude faster than GPU-accelerated MC, yielding a mean calculation time of 0.0087 s to generate a single predicted diffuse reflectance spectrum given a set of input optical properties and a speedup of ∼ 277 , 607 × . Notably, validation results demonstrated that numerical error does not scale with structural complexity, indicating that multilayer architectures maintained high stability.

Conclusions: We provide an accurate, computationally efficient, and generalized tool for modeling light transport in stratified media. By combining the ability of MC modeling to simulate complex tissue structures, with the speed of analytical diffusion methods, this tool facilitates real-time, depth-resolved quantitative tissue profiling. The full source code is made freely available to the community.

MLDT:一个开源的多层扩散理论Python实现。
意义:漫反射光谱和成像是一种强大的无创工具,用于定量组织生物标志物,如血红蛋白、黑色素和水。需要光传播的理论模型来解释这些反射率测量并将其转化为定量的生物标志物浓度。尽管蒙特卡罗(MC)模拟在精度上提供了黄金标准,但其高计算负担使其无法实现实时迭代反求解。相反,标准的解析近似可能是有效的,但往往将组织过度简化为半无限均匀介质,导致在分析层状结构时产生重大误差。目的:我们的目标是开发一个广义的,计算效率高的正演模型,能够快速预测复杂,多层组织结构中的光输运。方法:我们提出了P1扩散近似的广义推导和开源Python实现,用于预测具有任意层数的组织的漫反射。该框架利用向量化带状矩阵方法有效地求解通量方程。该模型在400个随机MC模拟中进行了验证,这些模拟包含从一层到八层的架构。结果:由广义多层扩散理论模型预测的漫反射光谱与MC模拟在扩散区(μ a≪μ s ')中表现出很强的一致性,整个验证集的光谱均方根误差中值为0.0145。计算时间比gpu加速的MC快5个数量级以上,在给定一组输入光学特性的情况下,生成单个预测漫反射光谱的平均计算时间为0.0087 s,加速速度为~ 277,607倍。值得注意的是,验证结果表明,数值误差不随结构复杂性的增加而增加,表明多层结构保持了很高的稳定性。结论:我们提供了一个精确的、计算效率高的、通用的工具来模拟光在分层介质中的传输。通过结合MC建模模拟复杂组织结构的能力,以及分析扩散方法的速度,该工具可以实现实时、深度分辨的定量组织分析。完整的源代码免费提供给社区。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.40
自引率
5.70%
发文量
263
审稿时长
2 months
期刊介绍: The Journal of Biomedical Optics publishes peer-reviewed papers on the use of modern optical technology for improved health care and biomedical research.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书