Accelerating Euclidean Distance Transforms: A Fast and Flexible Approach With Multi-Vendor GPU, Multi-Threading, and Multi-Language Support

IF 3.6 3区 计算机科学 Q2 COMPUTER SCIENCE, INFORMATION SYSTEMS IEEE Access Pub Date : 2025-03-05 DOI:10.1109/ACCESS.2025.3548563
Dale Black;Wenbo Li;Qiyu Zhang;Sabee Molloi
{"title":"Accelerating Euclidean Distance Transforms: A Fast and Flexible Approach With Multi-Vendor GPU, Multi-Threading, and Multi-Language Support","authors":"Dale Black;Wenbo Li;Qiyu Zhang;Sabee Molloi","doi":"10.1109/ACCESS.2025.3548563","DOIUrl":null,"url":null,"abstract":"Euclidean distance transforms are fundamental in image processing and computer vision, with critical applications in medical image analysis and computer graphics. However, existing implementations often lack performance, flexibility, or cross-platform compatibility. This paper introduces a novel approach to accelerating Euclidean distance transforms using hardware-agnostic GPU acceleration, multi-threading, and cross-language support. Our method, implemented in Julia with Python bindings, supports multiple GPU platforms including NVIDIA CUDA, AMD ROCm, Apple Metal, and Intel oneAPI. Benchmarks demonstrate substantial performance improvements, achieving speedups by a factor of 250 for 2D and a factor of 400 for 3D transforms compared to optimized CPU implementations. We showcase the impact of our approach through two real-world applications: accelerating the Hausdorff distance loss function for medical image segmentation, achieving a 7.4-fold improvement in processing speed with enhanced accuracy, and enhancing a GPU-optimized distance transform-based skeletonization algorithm with performance gains up to a factor of 88. Our open-source implementation provides a flexible, high-performance solution for exact Euclidean distance transforms, advancing the state-of-the-art in medical image analysis and computer vision.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"13 ","pages":"44636-44649"},"PeriodicalIF":3.6000,"publicationDate":"2025-03-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10912438","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10912438/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Euclidean distance transforms are fundamental in image processing and computer vision, with critical applications in medical image analysis and computer graphics. However, existing implementations often lack performance, flexibility, or cross-platform compatibility. This paper introduces a novel approach to accelerating Euclidean distance transforms using hardware-agnostic GPU acceleration, multi-threading, and cross-language support. Our method, implemented in Julia with Python bindings, supports multiple GPU platforms including NVIDIA CUDA, AMD ROCm, Apple Metal, and Intel oneAPI. Benchmarks demonstrate substantial performance improvements, achieving speedups by a factor of 250 for 2D and a factor of 400 for 3D transforms compared to optimized CPU implementations. We showcase the impact of our approach through two real-world applications: accelerating the Hausdorff distance loss function for medical image segmentation, achieving a 7.4-fold improvement in processing speed with enhanced accuracy, and enhancing a GPU-optimized distance transform-based skeletonization algorithm with performance gains up to a factor of 88. Our open-source implementation provides a flexible, high-performance solution for exact Euclidean distance transforms, advancing the state-of-the-art in medical image analysis and computer vision.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
加速欧几里得距离变换:一个快速和灵活的方法与多厂商GPU,多线程和多语言支持
欧几里得距离变换是图像处理和计算机视觉的基础,在医学图像分析和计算机图形学中有着重要的应用。然而,现有的实现通常缺乏性能、灵活性或跨平台兼容性。本文介绍了一种利用硬件无关的GPU加速、多线程和跨语言支持来加速欧几里得距离变换的新方法。我们的方法通过Python绑定在Julia中实现,支持多种GPU平台,包括NVIDIA CUDA, AMD ROCm, Apple Metal和Intel oneAPI。基准测试显示了显著的性能改进,与优化的CPU实现相比,2D的速度提高了250倍,3D转换的速度提高了400倍。我们通过两个实际应用展示了我们的方法的影响:加速用于医学图像分割的Hausdorff距离损失函数,在提高精度的同时实现7.4倍的处理速度改进,以及增强gpu优化的基于距离变换的骨架化算法,其性能提升高达88倍。我们的开源实现为精确的欧几里得距离变换提供了灵活、高性能的解决方案,推动了医学图像分析和计算机视觉领域的发展。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
IEEE Access
IEEE Access COMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍: IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest. IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on: Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals. Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering. Development of new or improved fabrication or manufacturing techniques. Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.
期刊最新文献
Channeling Fairness: Class Imbalance-Aware Skin Disease Recognition via Fair Channel Enhancement Module A Computationally Efficient Multi-Objective Design Optimization of SRM Using K-Means Clustering and Artificial Neural Networks Satellite-Based Rainfall Datasets: A Global Systematic Review of Applications, Accuracy, and Research Gaps Policy-Bound, Verifier-Pluggable Smart Contract Framework for Auditable Healthcare Analytics Novelty Detection in Event Surveillance Documents
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1