DESCRIPTION
cqtest
is a program for testing the copy quality checking support in
the
HylaFAX software (specifically, in the
faxgetty(8)
program).
cqtest
takes a
TIFF/F
(
TIFF
Class F) file and
generates a new
TIFF/F
file that is a copy of the input file, but with any erroneous scanlines
replaced/regenerated.
In addition,
cqtest
prints diagnostic messages describing its actions and indicates whether
the input data has acceptable copy quality according to the copy
quality checking threshold parameters.
Options are provided for specifying
copy quality checking threshold parameters
EXAMPLES
The following shows a multi-page, high-resolution document with a
single error on each page. Each page has acceptable
copy quality using the default threshold parameters.
hyla% /usr/sbin/cqtest ~/tiff/pics/faxix.tif
1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 245, got 1616, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 148, got 3023, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 151, got 1722, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 148, got 1776, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines