Share Email Print

Proceedings Paper

Using Gnu C to develop PC-based vision systems
Author(s): John W. V. Miller; Malayappan Shridhar; Behrouz N. Shabestari
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper Abstract

The Gnu project has provided a substantial quantity of free high-quality software tools for UNIX-based machines including the Gnu C compiler which is used on a wide variety of hardware systems including IBM PC-compatible machines using 80386 or newer (32-bit) processors. While this compiler was developed for UNIX applications, it has been successfully ported to DOS and offers substantial benefits over traditional DOS-based 16-bit compilers for machine vision applications. One of the most significant advantages with Gnu C is the removal of the 640 K limit since addressing is performed with 32-bit pointers. Hence, all physical memory can be used directly to store and retrieve images, lookup tables, databases, etc. Execution speed is generally faster also since 32-bit code usually executes faster and there are no far pointers. Protected-mode operation provides other benefits since errant pointers often cause segmentation errors and the source of such errors can be readily identified using special tools provided with the compiler. Examples of vision applications using Gnu C include automatic hand-written address block recognition, counting of shattered-glass particles, and dimensional analysis.

Paper Details

Date Published: 3 October 1995
PDF: 6 pages
Proc. SPIE 2597, Machine Vision Applications, Architectures, and Systems Integration IV, (3 October 1995); doi: 10.1117/12.223986
Show Author Affiliations
John W. V. Miller, Univ. of Michigan/Dearborn (United States)
Malayappan Shridhar, Univ. of Michigan/Dearborn (United States)
Behrouz N. Shabestari, Edison Industrial Systems Ctr. (United States)

Published in SPIE Proceedings Vol. 2597:
Machine Vision Applications, Architectures, and Systems Integration IV
Bruce G. Batchelor; Susan Snell Solomon; Frederick M. Waltz, Editor(s)

© SPIE. Terms of Use
Back to Top
Sign in to read the full article
Create a free SPIE account to get access to
premium articles and original research
Forgot your username?