Volume 7 Number 9 (Sep. 2012)
Home > Archive > 2012 > Volume 7 Number 9 (Sep. 2012) >
JSW 2012 Vol.7(9): 2053-2060
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 , Ling Zhong

  • Shenyang University of Technology/School of Software, Shenyang, China

Abstract

A hybrid algorithm which combines multi-pointmovement, pixel movement and run-length technique isproposed in order to improve the speed of raster converionfor circle arc. In the algorithm, the 1/8 circle arc is dividedinto 4 adjacent regions according to different raster circlepattern, and the method of 4-point movement and runlengthI/O, double-point movement and run-length I/O,mixed 2-point and 3-point movement, 2-point movementalong diagonal direction are adopted corresponding todifferent regions respectively. Different strategy is suitablefor the feature of pixel pattern in every region. So thecalculation numbers of each step is greatly reduced, and I/Ooperation numbers is decreased also by the use of runlengthoutput. The experiment result shows that theefficiencies are increased 80% and 62% respectivelycomparing with the classic single-point algorithm andtypical double-point algorithm. Compared with the existingrun-length algorithm, the derivation of our algorithm issimple, and is made up of basic operations, so it is apt to beimplemented by use of hardware.

Keywords

  • Circle Drawing
  • Pattern Analysis
  • Hybrid
jsw0709-17

How to Cite

Copied

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. 2053-2060, 2012. https://doi.org/ 10.4304/jsw.7.9.2053-2060

Copyright & License

Copyright © 2012 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version   [Click]

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

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

  • Apr 01, 2024 News!

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

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]