Volume 7 Number 9 (Sep. 2012)
Home > Archive > 2012 > Volume 7 Number 9 (Sep. 2012) >
JSW 2012 Vol.7(9): 2053-2060 ISSN: 1796-217X
doi: 10.4304/jsw.7.9.2053-2060

A Hybrid Algorithm of Raster Conversion for Circle Based on Pattern Analysis

Haiwen Feng, Lianqiang Niu, Bowen Fu, and Ling Zhong
Shenyang University of Technology/School of Software, Shenyang, China

Abstract—A hybrid algorithm which combines multi-point movement, pixel movement and run-length technique is proposed in order to improve the speed of raster converion for circle arc. In the algorithm, the 1/8 circle arc is divided into 4 adjacent regions according to different raster circle pattern, and the method of 4-point movement and runlength I/O, double-point movement and run-length I/O, mixed 2-point and 3-point movement, 2-point movement along diagonal direction are adopted corresponding to different regions respectively. Different strategy is suitable for the feature of pixel pattern in every region. So the calculation numbers of each step is greatly reduced, and I/O operation numbers is decreased also by the use of runlength output. The experiment result shows that the efficiencies are increased 80% and 62% respectively comparing with the classic single-point algorithm and typical double-point algorithm. Compared with the existing run-length algorithm, the derivation of our algorithm is simple, and is made up of basic operations, so it is apt to be implemented by use of hardware.

Index Terms—Circle Drawing, Pattern Analysis, Hybrid Algorithm, Run-Length Algorithm, Raster Conversion


Cite: Haiwen Feng, Lianqiang Niu, Bowen Fu, and Ling Zhong, "A Hybrid Algorithm of Raster Conversion for Circle Based on Pattern Analysis," Journal of Software vol. 7, no. 9, pp. Haiwen Feng, Lianqiang Niu, Bowen Fu, and Ling Zhong, 2012.

General Information

ISSN: 1796-217X (Online)
Frequency: Monthly (2006-2019); Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Dec 06, 2019 News!

    Vol 14, No 1- Vol 14, No 4 has been indexed by EI (Inspec)   [Click]

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Jun 22, 2020 News!

    The papers published in Vol 15, No 5 have all received dois from Crossref    [Click]

  • Aug 01, 2018 News!

    [CFP] 2020 the annual meeting of JSW Editorial Board, ICCSM 2020, will be held in Rome, Italy, July 17-19, 2020   [Click]

  • Jun 22, 2020 News!

    Vol 15, No 5 has been published with online version     [Click]