纸质出版:2025
移动端阅览
时桐, 许晨晨, 汤其妹, 等. 基于Wasm的空间对比敏感度测量研究[J]. 北京生物医学工程, 2025,44(6).
时桐, 许晨晨, 汤其妹, et al. Study on spatial contrast sensitivity measurement based on Wasm[J]. 2025, 44(6).
目的 测量空间对比敏感度(spatial contrast sensitivity
SCS)对眼科疾病筛查和研究至关重要。 移动设备的普及让收集更广泛人群的空间对比敏感度成为可能
但基于浏览器的空间对比敏感度测量因JavaScript(JS)性能限制仍具挑战。 因此
本研究通过使用 WebAssembly(Wasm)技术提高浏览器渲染性能以实现移动端测量空间对比敏感度的可行性。 方法 在常用移动操作系统(iOS、安卓、鸿蒙)和浏览器(Chrome、Edge、Firefox、Safari)中
比较 Wasm 和 JS 渲染光栅的性能;然后招募 10 名被试验证基于 Wasm 的空间对比敏感度测量方法的可行性。 结果 在 iOS 设备上
Wasm 渲染光栅的渲染耗时相比于 JS 降低了 66.67% ~ 81.25%;在鸿蒙设备上
Wasm 渲染光栅的渲染耗时相比于 JS 降低了 56.76% ~83.86%;在安卓设备上
Wasm 渲染光栅的渲染耗时相比于 JS 降低了 63.16% ~ 74.29%。 在基于 B/ S 架构的空间对比敏感度测量试验中
使用 Wasm 渲染正弦光栅的空间对比敏感度测量试验结果呈现预期的“⌒”形状
与现有研究结果一致。 结论 引入 Wasm 技术显著提升了移动浏览器渲染正弦光栅的性能
使得在移动端测量空间对比敏感度成为可能
为眼科疾病的大规模筛查提供了技术支持。
Objective Measurement of spatial contrast sensitivity ( SCS) is critical for ophthalmic disease screening and research. The widespread adoption of mobile devices enables the collection of SCS data from broader populations. However
browser?based SCS measurement remains challenging due to JavaScript (JS) performance limitations. Therefore
this research aims to demonstrate how WebAssembly ( Wasm) can enhance browser rendering performance
enabling accurate SCS measurement on mobile devices. Methods The rendering performance of Wasm and JS for generating sinusoidal gratings was compared across mainstream mobile operating systems ( iOS
Android
HarmonyOS ) and browsers ( Chrome
Edge
Firefox
Safari ). Subsequently
ten participants were recruited to validate the feasibility of a Wasm?based SCS measurement method. Results On iOS devices
the rendering time of raster rendering with Wasm was reduced by 66.67% to 81.25% compared to JS;on HarmonyOS devices
the rendering time of raster rendering with Wasm was reduced by 56.76% to 83.86% compared to JS;on Android devices
the rendering time of raster rendering with Wasm was reduced by 63.16% to 74.29% compared to JS. In the SCS measurement experiment conducted within a browser?server ( B/ S ) architecture
the results obtained using Wasm to render sinusoidal gratings exhibited the expected " ⌒" shape
aligning with findings from existing research. Conclusions The integration of Wasm technology significantly enhances the rendering efficiency of sinusoidal gratings in mobile browsers
demonstrating the feasibility of SCS measurement on mobile devices. This advancement provides technical support for large?scale screening of ophthalmic diseases.
0
浏览量
0
下载量
0
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621