1CQTEST(8C) CQTEST(8C)
2
3
4
6 cqtest - HylaFAX copy quality checking test program
7
9 /usr/sbin/cqtest [ options ] input.tif
10
12 cqtest is a program for testing the copy quality checking support in
13 the HylaFAX software (specifically, in the faxgetty(8C) program).
14 cqtest takes a TIFF/F (TIFF Class F) file and generates a new TIFF/F
15 file that is a copy of the input file, but with any erroneous scanlines
16 replaced/regenerated. In addition, cqtest prints diagnostic messages
17 describing its actions and indicates whether the input data has accept‐
18 able copy quality according to the copy quality checking threshold
19 parameters. Options are provided for specifying copy quality checking
20 threshold parameters
21
23 -m badlines Set the maximum consecutive bad lines of data that may
24 appear in each acceptable page of input data. This is
25 equivalent to the MaxConsecutiveBadLines configuration
26 parameter; c.f. hylafax-config(5F). By default cqtest
27 accepts no more than 5 consecutive bad lines in a page.
28
29 -o file Write output to file. By default output is written to
30 the file cq.tif.
31
32 -p %goodlines Set the minimum percentage of ``good lines'' of data that
33 may appear in acceptable page of input data. A line is
34 good if it decodes without error to a row of pixels that
35 is the expected width. This is equivalent to the Per‐
36 centGoodLines configuration parameter; c.f. hylafax-con‐
37 fig(5F). By default cqtest requires that 95% of the rows
38 of each page be good.
39
41 The following shows a multi-page, high-resolution document with a sin‐
42 gle error on each page. Each page has acceptable copy quality using
43 the default threshold parameters.
44
45 hyla% /usr/sbin/cqtest ~/tiff/pics/faxix.tif
46 1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
47 RECV/CQ: Bad 1D pixel count, row 245, got 1616, expected 1728
48 RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
49 1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
50 RECV/CQ: Bad 1D pixel count, row 148, got 3023, expected 1728
51 RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
52 1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
53 RECV/CQ: Bad 1D pixel count, row 151, got 1722, expected 1728
54 RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
55 1728 x 297, 7.7 line/mm, 1-D MH, lsb-to-msb
56 RECV/CQ: Bad 1D pixel count, row 148, got 1776, expected 1728
57 RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
58
60 faxgetty(8C), hylafax-config(5F)
61
62
63
64 October 3, 1995 CQTEST(8C)