GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
makepr(1) FreeBSD General Commands Manual makepr(1)

makepr - create Primitive Rectangles in an image

makepr [-options] in_file out_file [ out_file2 ]

makepr reads a binary image and creates Primitive Rectangles. The Primitive Rectangle is the rectangle whose width is a constant (column width). See references for the detail of Primitive Rectangles.

The file format of in_file is binary pbm(5). The primitive rectangles are written on out_file and out_file2, whose file format are d4file(4) ordinally. Each rectangle is denoted by a 4-tuple, the position of the left-top corner, the width, and the height of the rectangle.

If the option -image is specified, the rectangle image is written on out_file. The file format of out_file is binary pbm(5) in this case.

-or
Logical "OR" of black pixels is used at the creation of rectangles. (This is default.)
-and
Logical "AND" of black pixels is used at the creation of rectangles.
-reverse
Reverse black and white of the input image.
-cwid N
Set the width of Primitive Rectangles to N. The default value is N=16.
-image
Create image file instead of rectangle file.
-box
Fill the inside of rectangle by black. Use this option with -image.
-vert
Create the vertical Primitive Rectangles instead of normal horizontal ones.
-mvec
Create both horizontal and vertical Primitive Rectangles concurrently. Horizontal and vertical rectangles are written on out_file and out_file2 respectively.
-d8
Create 8-dimensional (8-tuple) file. (This is experimental.)
-llim N
Suppress writing Primitive Rectangles each of whose height is less than N. The default is N=1.
-ulim N
Suppress writing Primitive Rectangles each of whose height is more than N. The default is N=32767.

pbm(5), d4file(4)

"Robust and Fast Text-line Extraction Using Local Linearity of the Text-line" by Hideaki Goto and Hirotomo Aso, Trans. IEICE (D-II), Vol.J78-D-II, No.3, pp.465-473, March 1995. (In Japanese)

Or its translated version,

"Robust and Fast Text-line Extraction Using Local Linearity of the Text-line" by Hideaki Goto and Hirotomo Aso, Systems and Computers in Japan, Vol.26, No.13, pp.21-31, 1995, Scripta Technica, Inc.

Copyright (C) 1995-2009 Hideaki Goto

http://www.imglab.org/

June 2009

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.