Skip to main content
Log in

An Efficient Curve-Scanline Intersection Locator Design for 2D Graphics Rendering

  • Published:
Journal of Signal Processing Systems Aims and scope Submit manuscript

Abstract

This paper presents an efficient intersection locator design used to generate the intersection information of curves and scan-lines required for the two-dimensional (2D) graphics rasterization process. The conventional method of calculating the intersection point first approximates the curve with enough number of line segments and then solves the two simultaneous equations of each line segment and scan-line. By extending the adaptive-forward-difference (AFD) algorithm to choose the proper successive sampling point of the curve, the proposed design can not only locate the intersection points precisely, but more importantly, it can avoid the use of complex functional units like multipliers and dividers which are typically used in solving simultaneous equations. In addition, our design also reuses the functional units of the locator for the computation of the initial coefficients of AFD algorithm.The intersection information generated by our locator can lead to over 99.6 % accuracy. Our experimental results show that the proposed design requires about 18.1 k gates, and can run at 150 MHz with 90 nm technology. The proposed locator is suitable for embedded dedicated 2D graphics systems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Figure 1
Figure 2
Figure 3
Figure 4
Figure  5
Figure 6
Figure 7
Figure 8
Figure 9
Figure  10
Figure 11
Figure 12
Figure 13

Similar content being viewed by others

References

  1. He, G., Bai, B., Pan, Z., Cheng, X. (2007). Accelerated rendering of vector graphics on mobile devices. In Proceedings of the 12th international conference on HCI: interaction platforms and techniques (pp. 298–305). Beijing.

  2. Lee, S.Y., & Choi, B.U. (2007). Vector graphic reference implementation for embedded system. In International conference on software technologies for embedded and ubiquitous systems (pp. 243–252). Santorini Island.

  3. He, B.S., Xu, X.L., Zheng, T. (2009). Vector graphics rendering on mobile device. International Conference on Communications and Mobile Computing, 3, 8–11.

    Google Scholar 

  4. Tong, T.C., & Chang, Y.N. (2010). A low cost 2D graphics anti-aliasing rendering scheme. In 2010 international symposium on next-generation electronics (pp. 207–210). Kaohsiung.

  5. Kim, Y.O., Woo, H.J., Kim, C.H. (2010). Hardware type vector graphics accelerator. U.S. Patent, 2010/0045683 A1.

  6. Tuomi, M. (2007). Buffer management in vector graphics hardware. U.S. Patent, 2007/0132775 A1.

  7. Huang, R., & Chae, S.I. (2006). Implementation of an OpenVG rasterizer with configurable anti-aliasing and multi-window scissoring. In ICCIT’06 (pp. 179–184). Seoul.

  8. Kim, S.H., Oh, Y., Park, K., Ro, W.W. (2010). Hardware implementation of a tessellation accelerator for the OpenVG standard. IEICE Electronic Express, 7(6), 440–446.

    Article  Google Scholar 

  9. Kim, D., Cha, K., Chae, S.I. (2008). A high-performance OpenVG accelerator with dual-scanline filling rendering. IEEE Transactions on Consumer Electronics, 54(3), 1303–1311.

    Article  Google Scholar 

  10. Kallio, K. (2007). Scanline edge-flag algorithm for antialiasing. In Theory and practice of computer graphics conference (pp. 81–88). Bangor.

  11. Shen, Y.L., Seo, S.W., Zhang, Y., Oh, H.C. (2010). A low hardware cost 2D vector graphic rendering algorithm for supersampling antialiasing. International Workshop on Education Technology and Computer Science, 1, 141–144.

    Google Scholar 

  12. Khronos Group Inc. (2005). OpenVG specification, version 1.0. Khronos Group Inc.

  13. W3C SVG Working Group (2003). Scalable vector graphics (SVG) 1.1 specification. W3C SVG Working Group.

  14. Habib, Z., & Sakai, M. (2009). Smoothing arc splines by cubic curves. In Proceedings of the 2009 sixth international conference on computer graphics, imaging and visualization (pp. 199–204). Tianjin.

  15. Zeng, Z., & Chen, L. (2009). On the best bézier approximation of ellipses. In Proceedings of the 2009 international joint conference on computational sciences and optimization (pp. 1021–1026). Hainan Island.

  16. Zhang, X., Liu, S., Yin, B. (2008). An improved computing method for distance between cubic bezier curve and corresponding chord. In International conference on computer-aided industrial design and conceptual design (pp. 562–564). Kunming.

  17. Catmull, E.E. (1974). A subdivision algorithm for computer display of curved surfaces. Ph.D. dissertation, The University of Utah.

  18. Pandunata, P., & Shamsuddin, S.M.H. (2010). Differential evolution optimization for bezier curve fitting. In International conference on computer graphics, imaging and visualization (pp. 68–72).

  19. Hybrid Graphics Forum (2007). OpenVG reference implementation. [Online]. Available: http://www.khronos.org/registry/vg/ri/openvg-1_0_1-ri.zip. Accessed July 2012.

  20. Coons, S.A. (1967). Surfaces for computer-aided design of space forms. M.I.T., Cambridge, Tech. Rep.

  21. Leben, I. (2007). ShivaVG OpenVG implementation. [Online]. Available: http://sourceforge.net/projects/shivavg/. Accessed July 2012.

  22. Lien, S.L., Shantz, M., Pratt, V. (1987). Adaptive forward differencing for rendering curves and surfaces. SIGGRAPH Computers and Graphics, 21, 111–118.

    Article  Google Scholar 

  23. Shantz, M., & Chang, S.L. (1988). Rendering trimmed NURBS with adaptive forward differencing. SIGGRAPH Computers and Graphics, 22, 189–198.

    Article  Google Scholar 

  24. Chang, S.L.L., & Sunnyvale, C. (1993). Method and apparatus for implementing adaptive forward differencing using integer arithmetic. U.S. Patent 5,179,647.

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yun-Nan Chang or Ting-Chi Tong.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chang, YN., Tong, TC. An Efficient Curve-Scanline Intersection Locator Design for 2D Graphics Rendering. J Sign Process Syst 79, 63–74 (2015). https://doi.org/10.1007/s11265-013-0827-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11265-013-0827-2

Keywords

Navigation