| 注册
首页|期刊导航|计算机工程与科学|基于Floyd-Steinberg误差扩散的数字半调高效计算

基于Floyd-Steinberg误差扩散的数字半调高效计算

廉凯成 杨晨 朱佳伟 柴志雷

计算机工程与科学2025,Vol.47Issue(5):875-884,10.
计算机工程与科学2025,Vol.47Issue(5):875-884,10.DOI:10.3969/j.issn.1007-130X.2025.05.011

基于Floyd-Steinberg误差扩散的数字半调高效计算

Efficient digital halftone calculation based on Floyd-Steinberg error diffusion

廉凯成 1杨晨 1朱佳伟 1柴志雷2

作者信息

  • 1. 江南大学人工智能与计算机学院,江苏无锡 214122
  • 2. 江南大学人工智能与计算机学院,江苏无锡 214122||江苏省模式识别与计算智能工程实验室,江苏无锡 214122
  • 折叠

摘要

Abstract

In response to the issues of severe data dependency,low parallelism,and poor real-time performance of the mainstream digital halftone algorithm(the Floyd-Steinberg error diffusion algo-rithm)adopted in industry when dealing with increasingly large image data,an efficient computation algorithm is proposed.Firstly,a pre-generated pixel-error diffusion value lookup table is utilized to avoid frequent calculation of error and diffusion process.Secondly,memory access optimization is achieved through an efficient data structure based on row buffering.Then,a single instruction,multiple data(SIMD)parallel method for error accumulation is proposed,which uses AVX-512 instruction set paral-lelism to accumulate errors in the same direction for multiple pixels,enhancing the role of vector regis-ters in the CPU.Finally,a multi core data parallelism method with edge error-constrained column bloc-king is implemented to eliminate errors caused by data dependency in boundary parts during data parallel processing.Experimental results demonstrate that the proposed algorithm exhibits good scalability,with computational performance linearly increasing with the optimal number of parallel cores.Compared with the traditional Floyd-Steinberg error diffusion algorithm,when processing a 5 120×5 120 grayscale image on a 16-core Intel® CoreTM i7-1 1700 CPU platform,the proposed algorithm achieves a 15-fold performance improvement,completing the task in just 23 ms.This better meets the needs of industrial high-speed printing for large-scale,super-large format,ultra-high resolution,and varied content.

关键词

数字半调/Floyd-Steinberg误差扩散/单指令多数据/并行计算

Key words

digital halftone/Floyd-Steinberg error diffusion/single instruction multiple data/parallel computing

分类

计算机与自动化

引用本文复制引用

廉凯成,杨晨,朱佳伟,柴志雷..基于Floyd-Steinberg误差扩散的数字半调高效计算[J].计算机工程与科学,2025,47(5):875-884,10.

基金项目

国家自然科学基金(61972180) (61972180)

计算机工程与科学

OA北大核心

1007-130X

访问量0
|
下载量0
段落导航相关论文