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

[PDF]

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
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Nov 18, 2019 News!

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

  • Jun 25, 2019 News!

    Vol.13, No.9 has been indexed by EI (Inspec).   [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]

  • Jul 10, 2019 News!

    Vol 14, No.8 has been published with online version 4 original aritcles from 2 countries are published in this issue.    [Click]

  • Nov 18, 2019 News!

    Vol 14, No 11 has been published with online version 4 original aritcles from 4 countries are published in this issue     [Click]