(Release 2.10)
1. About this program.
This program, getlseg, is the sample implementation of the
algorithm which I have proposed in the paper below.
Hideaki Goto and Hirotomo Aso, "An algorithm for extraction of
rules and field-separators in document image", Trans. IEICE
(D-II), Vol.J78-D-II, No.12, pp.1935-1939, Dec. 1995.
(Sorry. This paper is written in Japanese.)
getlseg finds linear objects such as field-separators in a
document image, and produces the data of line segment candidates.
getlseg can find various field-separators; not only solid lines,
but also dotted lines, broken ones, or those with periodic texture.
getlseg detects the line whose length is more than 1cm and whose
skew is from -45 to 45degs to the horizontal axis of image.
This program is originally one of my private tools for Document
Analysis and Recognition. Some redundant and experimental codes
may be included.
There is a copyright notice in every file of the source code. I
have granted that you have the right to use and distribute the code
in this package without paying me, as long as you do it on a non-
commercial act. Please remember to check the copyright notes.
2. New features
1) gettime.c has been fixed.
3. Requirements
Under every Operating System:
1) Following packages provided with this package are required.
O2-tools-1.xx.tar.gz (Release 1.06 or later)
O2-dlibsrc-1.xx.tar.gz (Release 1.00 or later)
Under UNIX or UNIX-like Operating System:
1) ANSI C and C++ compilers. GNU's gcc and g++ are desirable.
2) "make" command.
3) "xmkmf", "imake" and "makedepend" commands in X Window System
Version 11 Release 5 or later.
Under Windows NT Operating System:
1) ANSI C and C++ compilers. (Never use 16bit-compilers!)
Microsoft Visual C++ 2.0 or later is desirable.
4. Testing Environments
The former version (2.0) was tested in the following environments.
Machine: Sun SPARCstation 20 Model51
OS: Solaris2.5.1 (JP)
X Window System: X11R6.1 PL-1
Compilers: gcc,g++-2.7.2.2 with libg++-2.7.2
Machine: Sun SPARCstation 10 Model50 (compatible)
OS: SunOS4.1.3-JLE1.1.3_U1 (Solaris1.1.1)
X Window System: X11R6 PL-26
Compilers: gcc,g++-2.6.3
Machine: IBM RS/6000SP
OS: AIX4.1.4
X Window System: X11R5 (IBM)
Compilers: gcc, g++-2.6.3
Machine: Fujitsu FMV-SII20
(PC/AT compatible with MMX Pentium/200MHz)
OS: Windows NT 4.0 (Japanese Edition)
Compilers: Visual C++ 2.0 for Windows NT
The current version (2.1) has been tested only in the following
environments.
Machine: Sun Ultra1 Creator Model 170E
OS: Solaris2.6 HW3/98 (Japanese Edition)
X Window System: X11R6.1 PL-1
Compilers: gcc,g++-2.8.1 with libstdc++-2.8.1.1
with libg++-2.8.1.1a addon