RulerNet:学习视角不变的标尺表示以实现鲁棒的图像尺度估计
RulerNet: Learning Perspective-Invariant Ruler Representations for Robust Image Scale Estimation
AI总结:
RulerNet是一种深度学习框架,将标尺读数转化为关键点检测问题,结合合成数据生成流程,实现了鲁棒的图像尺度估计,可集成至多领域自动化分析流程。
摘要:
将像素测量值准确转换为绝对现实世界尺寸,仍是计算机视觉领域的一项基础挑战,限制了其在生物医学、取证、营养分析和电子商务等应用中的进展。我们提出了RulerNet,这一深度学习框架通过将标尺读数重新表述为统一的关键点检测问题,并使用几何级数参数表示标尺,该参数可紧凑近似由透视变换导致的非均匀间距,从而在野外环境中鲁棒地推断尺度。与依赖手工阈值或刚性、特定标尺流程的传统方法不同,RulerNet采用基于标记可见性的标注和训练策略来直接定位厘米标记,该策略在标记保留变换下仍有效,能在多样的标尺类型和成像条件下实现强泛化,同时缓解数据稀缺问题。此外,我们引入了可扩展的合成数据生成流程,该流程结合了基于图形的标尺创建与ControlNet增强的真实感,显著扩展了训练多样性并提升了模型性能。在我们的数据集和公共基准上进行的大量实验表明,RulerNet在具有挑战性的现实世界条件下实现了准确、一致且高效的尺度估计。将其集成到医学分析流程中进一步证明了其在感知尺度测量方面的实用性。这些结果表明,RulerNet可作为通用的测量组件,且可轻松与其他视觉模块(如分割、单目深度估计和诊断工作流)集成,用于医学及其他领域的自动化分析。还提供了在线演示,项目页面位于此https URL。
英文摘要:
Accurately converting pixel measurements into absolute real-world dimensions remains a fundamental challenge in computer vision, limiting progress in applications such as biomedicine, forensics, nutritional analysis, and e-commerce. We introduce RulerNet, a deep learning framework that robustly infers scale in the wild by reformulating ruler reading as a unified keypoint detection problem and representing rulers with geometric progression parameters that compactly approximate the non-uniform spacing induced by perspective transformations. Unlike traditional methods that rely on handcrafted thresholds or rigid, ruler-specific pipelines, RulerNet directly localizes centimeter markings using a mark-visibility-based annotation and training strategy that remains valid under mark-preserving transformations, enabling strong generalization across diverse ruler types and imaging conditions while mitigating data scarcity. Additionally, we introduce a scalable synthetic data generation pipeline that combines graphics-based ruler creation with ControlNet-enhanced realism, significantly expanding training diversity and improving model performance. Extensive experiments on both our datasets and public benchmarks demonstrate that RulerNet achieves accurate, consistent, and efficient scale estimation under challenging real-world conditions. Integration into a medical analysis pipeline further demonstrates its practical utility for scale-aware measurement. These results suggest that RulerNet can serve as a generalizable measurement component and be readily integrated with other vision modules, such as segmentation, monocular depth estimation, and diagnostic workflows, for automated analysis in medical and other domains. An online demo is provided. The project page is at https://github.com/ymp5078/RulerNet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。