7_3_01.TXT
资源名称:all_fax.zip [点击查看]
上传用户:joeylth
上传日期:2007-01-07
资源大小:88k
文件大小:165k
源码类别:
传真(Fax)编程
开发平台:
TEXT
- ______________________________________________________________________
- White run lengths Code word Black run lengths Code word
- ______________________________________________________________________
- 64 11011 64 0000001111
- 128 10010 128 000011001000
- 192 010111 192 000011001001
- 256 0110111 256 000001011011
- 320 00110110 320 000000110011
- 384 00110111 384 000000110100
- 448 01100100 448 000000110101
- 512 01100101 512 0000001101100
- 576 01101000 576 0000001101101
- 640 01100111 640 0000001001010
- 704 011001100 704 0000001001011
- 768 011001101 768 0000001001100
- 832 011010010 832 0000001001101
- 896 011010011 896 0000001110010
- 960 011010100 960 0000001110011
- 1024 011010101 1024 0000001110100
- 1088 011010110 1088 0000001110101
- 1152 011010111 1152 0000001110110
- 1216 011011000 1216 0000001110111
- 1280 011011001 1280 0000001010010
- 1344 011011010 1344 0000001010011
- 1408 011011011 1408 0000001010100
- 1472 010011000 1472 0000001010101
- 1536 010011001 1536 0000001011010
- 1600 010011010 1600 0000001011011
- 1664 011000 1664 0000001100100
- 1728 010011011 1728 0000001100101
- EOL 000000000001 EOL 000000000001
- ______________________________________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Note - It is recognized that machines exist which accommodate
- larger paper widths maintaining the standard horizontal resolution.
- This option has been provided for by the addition of the Make-up
- code set defined as follows:
- Tableau 2/T.4 [T2.4], p.12
- 4.1.4 Return to control (RTC)
- The end of a document transmission is indicated by sending six
- consecutive EOLs. Following the RTC signal, the transmitter will
- send the post message commands in the framed format and the data
- signalling rate of the control signals defined in
- Recommendation T.30.
- Format: 000000000001 . | | | | | | | | | 000000000001
- (total of 6 times)
- Figures 1/T.4 and 2/T.4 clarify the relationship of the sig-
- nals defined herein. Figure 1/T.4 shows several scan lines of data
- starting at the beginning of a transmitted page. Figure 2/T.4 shows
- the last coded scan line of a page.
- The identification and choice of either the standard code
- table or the extended code table is to be made in the pre-message
- (phase B) portion of Recommendation T.30 control procedures.
- Figure 1/T.4, (M), p.
- Figure 2/T.4, (M), p.
- 4.2 Two-dimensional coding scheme
- The two-dimensional coding scheme is an optional extension of
- the one-dimensional coding scheme specified in S 4.1 and is as fol-
- lows:
- 4.2.1 Data
- 4.2.1.1 Parameter K
- In order to limit the disturbed area in the event of transmis-
- sion errors, after each line coded one-dimensionally, at most K -1
- successive lines shall be coded two-dimensionally. A
- one-dimensionally coded line may be transmitted more frequently
- than every K lines. After a one-dimensional line is transmitted,
- the next series of K -1 two-dimensional lines is initiated. The
- maximum value of K shall be set as follows:
- Standard vertical resolution: K = 2
- Optional higher vertical resolution: K = 4.
- Note 1 - Some Administrations pointed out that for the
- optional higher vertical resolution K may optionally be set to a
- lower value.
- Note 2 - Some Administrations reserve the right to approve
- only such apparatus for use in the facsimile service in their
- respective countries which will be able to produce a visible sign
- on its received facsimile message indicating that two-dimensional
- coding has been used in the transmission process.
- 4.2.1.2 One-dimensional coding
- This conforms with the description of Data in S 4.1.1.
- 4.2.1.3 Two-dimensional coding
- This is a line-by-line coding method in which the position of
- each changing picture element on the current or coding line is
- coded with respect to the position of a corresponding reference
- element situated on either the coding line or the reference line
- which lies immediately above the coding line. After the coding line
- has been coded it becomes the reference line for the next coding
- line
- 4.2.1.3.1 Definition of changing picture elements | (see
- Figure 3/T.4)
- A changing element is defined as an element whose "colour"
- (i.e. black or white) is different from that of the previous ele-
- ment along the same scan line
- a0 The reference or starting changing element on the cod-
- ing line. At the start of the coding line a0is set on an imaginary
- white changing element situated just before the first element on
- the line. During the coding of the coding line, the position of
- a0is defined by the previous coding mode. (See S 4.2.1.3.2.)
- a1 The next changing element to the right of a0on the
- coding line.
- a2 The next changing element to the right of a1on the
- coding line.
- b1 The first changing element on the reference line to the
- right of a0and of opposite colour to a0.
- b2 The next changing element to the right of b1on the
- reference line.
- Figure 3/T.4, (M) p.
- 4.2.1.3.2 Coding modes
- One of the three coding modes are chosen according to the cod-
- ing procedure described in S 4.2.1.3.3 to code the position of each
- changing element along the coding line. Examples of the three cod-
- ing modes are given in Figures 4/T.4, 5/T.4 and 6/T.4.
- a) Pass mode
- This mode is identified when the position of b2lies to the
- left of a1. When this mode has been coded, a0is set on the element
- of the coding line below b2in preparation for the next coding
- (i.e. on a`0).
- Figure 4/T.4, (M) p.
- However, the state where b2occurs just above a1, as shown
- in Figure 5/T.4 is not considered as a pass mode.
- Figure 5/T.4, (M) p.
- b) Vertical mode
- When this mode is identified, the position of a1is coded
- relative to the position of b1. The relative distance a1b1can take
- on one of seven values V(0), VR(1), VR(2), VR(3), VL(1), VL(2) and
- VL(3), each of which is represented by a separate code word. The
- subscripts R and L indicate that a1is to the right or left respec-
- tively of b1, and the number in brackets indicates the value of the
- distance a1b1. After vertical mode coding has occurred, the posi-
- tion of a0is set on a1, (see Figure 6/T.4).
- c) Horizontal mode
- When this mode is identified, both the run-lengths a0a1and
- a1a2are coded using the code words H + M(a0a1) + M(a1a2). H is the
- flag code word 001 taken from the two-dimensional code table
- (Table 3/T.4). M(a0a1) and M(a1a2) are code words which represent
- the length and "colour" of the runs a0a1and a1a2respectively and
- are taken from the appropriate white or black one-dimensional code
- tables (Tables 1/T.4 and 2/T.4). After a horizontal mode coding,
- the position of a0is set on a2(see Figure 6/T.4).
- 4.2.1.3.3 Coding procedure
- The coding procedure identifies the coding mode that is to be
- used to code each changing element along the coding line. When one
- of the three coding modes has been identified according to Step 1
- or Step 2 mentioned below, an appropriate code word is selected
- from the code table given in Table 3/T.4. The coding procedure is
- as shown in the flow diagram of Figure 7/T.4.
- Figure 6/T.4, (M) p.
- Note - It does not affect compatibility to restrict the use
- of pass mode in the encoder to a single pass mode. Variations of
- the algorithm which do not affect compatibility should be the sub-
- ject of further study.
- Step 1
- i) If a pass mode is identified, this is coded
- using the word 0001 (Table 3/T.4). After this processing, picture
- element a`0just under b2is regarded as the new starting picture
- element a0for the next coding. (See Figure 4/T.4.)
- ii) If a pass mode is not detected then proceed to
- Step 2.
- Step 2
- i) Determine the absolute value of the relative
- distance a1b1.
- ii) If | d1b1 | 3, as shown in Table 3/T.4,
- a1b1is coded by the vertical mode, after which position a1is
- regarded as the new starting picture element a0for the next coding.
- iii) If | d1b1 | > 3, as shown in Table 3/T.4,
- following horizontal mode code 001, a0a1and a1a2are respectively
- coded by one-dimensional coding. After this processing
- position a2is regarded as the new starting picture element a0for
- the next coding.
- H.T. [T3.4]
- TABLE 3/T.4
- Two-dimensional code table
- _________________________________________________________________________________
- Mode Elements to be coded Notation Code word
- _________________________________________________________________________________
- Pass b 1, b 2 P 0001
- _________________________________________________________________________________
- Horizontal a 0a 1, a 1a 2 H {
- 001 + M(a
- 0a
- 1) + M(a
- 1a
- 2)
- (see Note 1)
- }
- _________________________________________________________________________________
- a 1 just under b 1 a 1b 1 = 0 V(0) 1
- a 1b 1 = 1 V R(1) 011
- a 1 to the right of b 1
- Vertical
- V L(1) |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- 010 |
- |
- |
- |
- |
- |
- |
- |
- a 1b 1 = 2
- _________________________________________________________________________________
- Extension {
- 2-D (extensions)
- 1-D (extensions)
- } {
- 0000001xxx
- 000000001xxx
- (see Note 2)
- }
- _________________________________________________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Note 1 - Code M( | of the horizontal mode represents the code
- words in Tables 1/T.4 and 2/T.4.
- Note 2 - It is suggested the uncompressed mode is recognized as
- an optional extension of two-dimensional coding scheme for Group 3
- apparatus. The bit assignment for the xxx bits is 111 for the
- uncompressed mode of operation whose code table is given in
- Table 4/T.4.
- Note 3 - Further study is needed to define other unspecified xxx
- bit assignments and their use for any further extensions.
- Note 4 - If the suggested uncompressed mode is used on a line
- designated to be one-dimensinally coded, the coder must not switch
- into uncompressed mode following any code word ending in the
- sequence 000. This is because any code word ending in 000 followed
- by a switching code 000000001 will be mistaken for an end-of-line
- code.
- Tableau 3/T.4 [T3.4], p.19
- H.T. [T4.4]
- TABLE 4/T.4
- Uncompressed mode code words
- _________________________________________________________________________________
- {
- Entrance code to
- uncompressed mode
- } {
- On one-dimensionally coded line: 000000001111
- On two-dimensionally coded line: 0000001111
- }
- _________________________________________________________________________________
- Uncompressed mode code {
- Image pattern
- 1
- 01
- 001
- 0001
- 00001
- 00000
- } {
- Code word
- 1
- 01
- 001
- 0001
- 00001
- 000001
- }
- _________________________________________________________________________________
- {
- Exit from uncompressed
- mode code
- } {
- 0
- 00
- 000
- 0000
- } {
- 0000001T
- 00000001T
- 000000001T
- 0000000001T
- 00000000001T
- T denotes a tag bit which tells the colour of the next run
- (black = 1, white = 0).
- }
- _________________________________________________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Tableau 4/T.4 [T4.4], p.20
- 4.2.1.3.4 Processing the first and last picture elements in
- a line
- a) Processing the first picture element
- The first starting picture element a0on each coding line
- is imaginarily set at a position just before the first picture ele-
- ment, and is regarded as a white picture element (see S 4.2.1.3.1).
- The first run length on a line a0a1is replaced by a0a1-1.
- Therefore, if the first run is black and is deemed to be coded by
- horizontal mode coding, then the first code word M(a0a1)
- corresponds to a white run of zero length (see Figure 10/T.4, Exam-
- ple 5).
- b) Processing the last picture element
- The coding of the coding line continues until the position
- of the imaginary changing element situated just after the last
- actual element has been coded. This may be coded as a1or 2. Also,
- if b1and/or b2are not detected at any time during the coding of the
- line, they are positioned on the imaginary changing element
- situated just after the last actual picture element on the refer-
- ence line.
- 4.2.2 Line synchronization code word
- To the end of every coded line is added the end-of-line (EOL)
- code word 000000000001. The EOL code word is followed by a single
- tag bit which indicates whether one- or two-dimensional coding is
- used for the next line.
- In addition, EOL plus the tag bit 1 signal will occur prior to
- the first Data line of a page.
- Format:
- EOL + 1: one-dimensional coding of next line
- EOL + 0: two-dimensional coding of next line
- Figure 7/T.4, (MC), p.21
- 4.2.3 Fill
- Fill is inserted between a line of Data and the line synchron-
- ization signal, EOL + tag bit, but is not inserted in Data. Fill
- must be added to ensure that the transmission time of Data, Fill
- and EOL plus tag bit is not less than the minimum transmission time
- of the total coded scan line.
- Format: variable length string of 0 s.
- 4.2.4 Return to control (RTC)
- The format used is six consecutive line synchronization code
- words, i.e., 6 x (EOL + 1).
- To further clarify the relationship of the signals defined
- herein, Figures 8/T.4 and 9/T.4 are offered in the case of K = 2.
- Figure 8/T.4 shows several scan lines of data starting at the
- beginning of a transmitted page. Figure 9/T.4 shows the last
- several lines of a page.
- Figure 8/T.4, (M) p.
- Figure 9/T.4, (M) p.
- 4.2.5 Coding examples
- Figure 10/T.4 shows coding examples of the first part of scan
- lines and Figure 11/T.4 coding examples of the last part, while
- Figure 12/T.4 shows other coding examples. The notations P, H and V
- in the figures are, as shown in Table 3/T.4, the symbols for pass
- mode, horizontal mode and vertical mode respectively. The picture
- elements marked with black spots indicate the changing picture ele-
- ments to be coded.
- Figure 10/T.4, (M) p.
- Figure 11/T.4, (M) p.
- Figure 12/T.4, (M) p.
- 4.3 Error limiting mode
- One-dimensional coding scheme with the division of scan line
- into parts.
- The one-dimensional coding scheme with the division of scan
- line into parts is an optional extension of the one-dimensional
- coding scheme specified in Annex B.
- 5 Modulation and demodulation
- Group 3 apparatus operating on the general switched telephone
- network shall utilize the modulation, scrambler, equalization and
- timing signals defined in Recommendation V.27 | fIter , specifi-
- cally SS 2, 3, 7, 8, 9, 11 and the Appendix.
- 5.1 The training signal to be used shall be the long training
- sequence with protection against talker echo. (See
- Recommendation V.27 ter , S 2.5.1, Table 3/V.27 ter ).
- 5.2 The data signalling rates to be used are 4800 bit/s and
- 2400 bit/s as defined in Recommendation V.27 | fIter .
- Note 1 - Some Administrations pointed out that it would not
- be possible to guarantee the service at a data signalling rate
- higher than 2400 bit/s.
- Note 2 - It should be noted that there are equipments in ser-
- vice using, inter alia, other modulation methods.
- Note 3 - Where quality of communication service can success-
- fully support higher speed operation, such as may be possible on
- leased circuits or high-quality switched circuits, Group 3
- apparatus may optionally utilize the modulation, scrambler, equali-
- zation and timing signals defined in Recommendation V.29, specifi-
- cally SS 1, 2, 3, 4, 7, 8, 9, 10 and 11. Under this option the
- data should be non-multiplexed and limited to the data signalling
- rates of 9600 bit/s and 7200 bit/s.
- 6 Power at the transmitter output
- The average power should be adjustable from -15 dBm to 0 dBm
- but the equipment should be so designed that there is no possibil-
- ity of this adjustment being tampered with by an operator.
- Note - The power levels over the international circuits will
- conform to Recommendation V.2.
- 7 Power at the receiver input
- The receiving apparatus should be capable of functioning
- correctly when the received signal level is within the range of
- 0 dBm to -43 dBm. No control of receiver sensitivity should be
- provided for operator use.
- 8 Implementation of apparatus
- Although paper sizes are referred to, this does not always
- require a physical paper scanner and/or printer to be implemented.
- Details may be defined by Administrations.
- If the message is not generated from a physical scanner or
- displayed on paper, then the signals appearing across the network
- interface shall be identical to those which would be generated if
- paper input and/or output had been implemented.
- ANNEX A
- (to Recommendation T.4)
- Optional error correction mode
- A.1 Introduction
- This annex specifies the message format required for document
- transmission incorporating the optional error correction capabil-
- ity.
- A.2 Definitions
- The definitions contained in Recommendations T.4 and T.30
- shall be applied unless explicitly amended.
- A.3 Message format
- An HDLC frame structure is utilized for all binary coded fac-
- simile message procedures. The basic HDLC structure consists of a
- number of frames each of which is subdivided into a number of
- fields. It provides for frame labelling and error checking.
- Specific examples are given in Figures A-1/T.4 and A-2/T.4 of
- formats used for binary coded signalling. These examples show an
- initial partial page (PP) frame structure and a last PP frame
- structure.
- In the following descriptions of the fields, the order in
- which the bits are transmitted is from the most to the least signi-
- ficant bit, i.e., from left to right as printed. The exception to
- this is the frame number (see S A.3.6.1).
- The equivalent between binary notation symbols and the signi-
- ficant condition of the signalling code should be in accordance
- with Recommendation V.1.
- A.3.1 Synchronization
- A synchronization sequence shall precede all binary coded
- information whenever a new transmission begins. The synchronization
- shall be a training sequence and a series of flag sequences for
- nominal 200 ms, tolerance +100 ms.
- Note - Continuous flags have two zeros as shown in the fol-
- lowing diagram:
- 0111 1110 0111 1110 0111 1110
- A.3.2 Flag sequence (F)
- The eight bit HDLC flag sequence is used to denote the begin-
- ning and end of the frame for the facsimile message procedure. The
- flag sequence is also used to establish bit and frame synchroniza-
- tion. To facilitate this the synchronization defined in A.3.1
- should be used prior to the first frame. Subsequent frames and end
- of the last frame need one or more than one flag sequence.
- Format: 0111 1110
- Note - The leading flag of a frame may be the trailing flag
- of the previous frame.
- Figure A-1/T.4, (N), p.
- Figure A-2/T.4, (N), p.
- A.3.3 Address field (A)
- The eight bit HDLC address field is intended to provide iden-
- tification of specific station(s) in a multi-point arrangement. In
- the case of transmission on the general switched telephone network,
- this field is limited to a single format.
- Format: 1111 1111
- A.3.4 Control field (C)
- The eight bit HDLC control field provides the capability of
- encoding the command unique to the facsimile message procedure.
- Format: 1100 X000
- The X bit is set to 0 for the FCD frame (facsimile coded data
- frame) and the RCP frame (return to control for partial page
- frame).
- A.3.5 Facsimile control field (FCF)
- In order to distinguish between the FCD frame (facsimile coded
- data frame) and the RCP frame (return to control for partial page
- frame), the FCF for the in-message procedure is defined as follows:
- 1) FCF for the FCD frame
- Format: 0110 0000
- 2) FCF for the RCP frame
- Format: 0110 0001
- A.3.6 Facsimile information field (FIF)
- The facsimile information field is a length of 257 or 65
- octets (see Note 1) and is divided into two parts, the frame number
- and the facsimile data field (see Note 2).
- Note 1 - This does not include bit stuffing to preclude
- non-valid flag sequences.
- Note 2 - There is no information field in the RCP frame.
- A.3.6.1 Frame number
- This is an eight bit binary number. The frame number is
- defined to be the first eight bits of the facsimile information
- field. The least significant bit is transmitted first.
- The frame number 0-255 (maximum number is 255) is used to
- identify the facsimile data field (see Recommendation T.30,
- Annex A).
- The frame 0 is transmitted first in each block.
- A.3.6.2 Facsimile data field
- The coding schemes specified in S 4 are valid with the follow-
- ing notes.
- 1) The facsimile data field is a length of 256 or
- 64 octets.
- 2) The total coded scan line is defined as the sum
- of DATA bits plus the EOL bits. For the optional two-dimensional
- coding scheme as described in S 4.2, the total coded scan line is
- defined as the sum of DATA bits plus the EOL bits plus a tag bit
- 3) At the end of facsimile data field, if neces-
- sary, Pad bits may be used to align on octet boundaries and frame
- boundaries (see Notes 1 and 2). The format is a variable length
- string of zeros.
- Note 1 - The receiver is able to receive both Pad bits and
- Fill bits.
- Note 2 - The facsimile data field length of the final frame
- including RTC signal may be less than 256 or 64 octets.
- A.3.7 Frame checking sequence (FCS)
- The FCS shall be a 16 bit sequence (see Recommendation T.30,
- S 5.3.7).
- A.3.8 Return to control for partial page (RCP)
- The end of a partial page transmission is indicated by sending
- three consecutive RCP frames (see Note).
- Following these RCP frames, the transmitter will send the post
- message commands in the framed format and the data signalling rate
- of the control signals defined in Recommendation T.30, Annex A.
- Note - The flag sequence following the last RCP frame shall
- be less than 50 ms.
- ANNEX B
- (to Recommendation T.4)
- Optional
- error limiting mode
- Note - The text of Annex B shall be refined and studied dur-
- ing the next study period.
- B.1 Data
- B.1.1 The division of a scan line into parts
- In order to limit the disturbed area in the event of transmis-
- sion error, the scan lines are divided into parts before coding.
- The number of parts shall be used as follows:
- a) standard, 12 parts in a line composed of 1728
- black and white picture elements,
- b) optionally, 15 parts in a line composed of 2048
- black and white picture elements,
- c) optionally, 17 parts in a line composed of 2432
- black and white picture elements.
- Note - For alternatives b) and c), the last part of a scan
- line can be shortened and then will contain 32 and 128 pels respec-
- tively.
- B.1.2 Scan line coding
- All parts of a scan line are divided into whites (W) if they
- are composed of all white picture elements and not-white (NW) if
- they contain at least one black element.
- The coding procedure is as shown in the flow diagram of
- Figure B-1/T.4.
- B.1.2.1 Shaping the extended description of a scan line
- For each coded scan line the extended scan line description
- (ELD) is shaped. ELD represents a sequence, where the bit number is
- equal to the part number in a scan line, i.e., each part has
- corresponding bit in the sequence. This bit is equal to "1", if the
- part is "NW" and it is equal to "0" if the part is "W".
- B.1.2.2 Scan line part coding
- W-parts are not encoded. The coding of each NW-part is
- independent of the coding of other parts in the given scan line. In
- the NW-part the white and black runs alternate. The coding always
- begins with a white run. If the actual scan line begins with a
- black run then a white run length of zero will be sent. Run lengths
- are encoded using Tables 1/T.4 and 2/T.4 as described in S 4.1.1.
- The last run of each NW-part is not encoded. Resulted coded run
- lengths (CRL) are sent directly one after another.
- B.1.2.3 Code bit number variation (CBNV)
- It is necessary to code and send the number of coded bits for
- each NW-part. For this purpose the code bit number of the previous
- NW-part qidu(em1is subtracted from the code bit number of the
- given NW-part qi. The resulting difference qi - qidu(em1is coded
- by using code words listed in Table B-1/T.4. For the first NW-part
- in a scan line q0is taken to be 40. In the code words given in
- Table B-1/T.4 the bit X corresponds to the sign of the
- difference qi - qidu(em1. When the difference is positive, bit X
- equals "0", but when the difference is negative bit X equals "1".
- Figure B-1/T.4, (N), p.29
- H.T. [1T5.4]
- TABLE B-1/T.4
- Code table for the code bit number variation
- _____________________________________________________________________________________________________
- Absolute value of variation Code Absolute value of variation Code
- _____________________________________________________________________________________________________
- 0 100000 51 X11111 010101
- 1 X00001 52 X11111 010110
- 2 X00010 53 X11111 010111
- 3 X00011 54 X11111 011000
- 4 X00100 55 X11111 011001
- 5 X00101 56 X11111 011010
- 6 X00110 57 X11111 011011
- 7 X00111 58 X11111 011100
- 8 X01000 59 X11111 011101
- 9 X01001 60 X11111 011110
- 10 X01010 61 X11111 100000
- 11 X01011 62 X11111 100001
- 12 X01100 63 X11111 100010
- 13 X01101 64 X11111 100011
- 14 X01110 65 X11111 100100
- 15 X01111 66 X11111 100101
- 16 X10000 67 X11111 100110
- 17 X10001 68 X11111 100111
- 18 X10010 69 X11111 101000
- 19 X10011 70 X11111 101001
- 20 X10100 71 X11111 101010
- 21 X10101 72 X11111 101011
- 22 X10110 73 X11111 101100
- 23 X10111 74 X11111 101101
- 24 X11000 75 X11111 101110
- 25 X11001 76 X11111 101111
- 26 X11010 77 X11111 110000
- 27 X11011 78 X11111 110001
- 28 X11100 79 X11111 110010
- 29 X11101 80 X11111 110011
- 30 X11110 81 82 {
- X11111 110100
- X11111 110101
- }
- 31 X11111 000001 83 X11111 110110
- 32 X11111 000010 84 X11111 110111
- 33 X11111 000011 85 X11111 111000
- 34 X11111 000100 86 X11111 111001
- 35 X11111 000101 87 X11111 111010
- 36 X11111 000110 88 X11111 111011
- 37 X11111 000111 89 X11111 111100
- 38 X11111 001000 90 X11111 111101
- 39 X11111 001001 91 X11111 X11110 010000
- 40 X11111 001010 92 X11111 X11111 000001
- 41 X11111 001011 93 X11111 X11111 000010
- 42 X11111 001100 94 X11111 X11111 000011
- 43 X11111 001101 95 X11111 X11111 000100
- 44 X11111 001110 96 X11111 X11111 000101
- 45 X11111 001111 97 X11111 X11111 000110
- 46 X11111 010000 98 X11111 X11111 000111
- 47 X11111 010001 99 X11111 X11111 001000
- 48 X11111 010010 100 X11111 X11111 001001
- 49 X11111 010011 101 X11111 X11111 001010
- 50 X11111 010100 102 X11111 X11111 001011
- _____________________________________________________________________________________________________
- |
- |
- |
- |
- |
- Tableau B-1/T.4 [1T5.4], p.
- H.T. [2T5.4]
- TABLE B-1/T.4 (cont.)
- ___________________________________________________________________________________________________________
- Absolute value of variation Code Absolute value of variation Code
- ___________________________________________________________________________________________________________
- 103 X11111 X11111 001100 119 X11111 X11111 011100
- 104 X11111 X11111 001101 120 X11111 X11111 011101
- 105 X11111 X11111 001110 121 X11111 X11111 011110
- 106 X11111 X11111 001111 122 X11111 X11111 100000
- 107 X11111 X11111 010000 123 X11111 X11111 100001
- 108 X11111 X11111 010001 124 X11111 X11111 100010
- 109 X11111 X11111 010010 125 X11111 X11111 100011
- 110 X11111 X11111 010011 126 X11111 X11111 100100
- 111 X11111 X11111 010100 127 X11111 X11111 100101
- 112 X11111 X11111 010101 128 X11111 X11111 100110
- 113 X11111 X11111 010111 129 X11111 X11111 100111
- 114 X11111 X11111 010111 130 X11111 X11111 101000
- 115 X11111 X11111 011000 131 X11111 X11111 101001
- 116 X11111 X11111 011001 132 X11111 X11111 101010
- 117 X11111 X11111 011010 133 X11111 X11111 101011
- 118 X11111 X11111 011011 134 X11111 X11111 101100
- ___________________________________________________________________________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Note - Bit X corresponds to the sign of the variation.
- Tableau B-1/T.4 [2T5.4], p.
- B.1.3 Data format
- The data format for the scan line containing several NW-parts
- is shown in Figure B-2/T.4 and containing only one NW-part is shown
- in Figure B-3/T.4. The data format for the scan line containing all
- whites is shown in Figure B-4/T.4.
- Figure B-2/T.4, (N), p.32
- Figure B-3/T.4, (N), p.33
- Figure B-4/T.4, (N), p.34
- B.2 End of line (EOL)
- This code word follows each line of data. There is a slight
- probability of occurrence of the same bit combination for ELD and
- the code word EOL. This should be taken account in the decoding
- algorithm. In addition, EOL is sent prior to the format data line
- of the page.
- Format: 000000000001
- B.3 Fill
- A pause in the message may be filled as described in S 4.1.3.
- B.4 Return to control (RTC)
- The return to control should comply with S 4.1.4.
- Note - When decoding, the correction of the corrupted parts
- can be performed by replacing the corrupted part with the
- corresponding uncorrupted part from the previous line. The exceed-
- ing of the value 144 by the decoded part length or the absence of
- code word of the given part in the code table vocabulary can be
- shown as a sign for replacement.
- ANNEX C
- (to Recommendation T.4)
- Interworking between equipments with A5/A6 and A4 facilities
- and between equipments with combinations of these facilities
- Tableau C-1/T.4 [T6.4] A L'ITALIENNE MONTAGE: A COLLER LE TITRE ,
- p.35
- APPENDIX I
- (to Recommendation T.4)
- Guaranteed reproducible area for Group 3 apparatus
- conforming to Recommendation T.4
- FIGURE I-1/T.4, p. + Remarques
- Figure I-2/T.4, (M), p.37
- H.T. [T7.4]
- TABLE I-1/T.4
- Horizontal losses
- _________________________________________
- Printer/scanner a _ | .5 mm
- _________________________________________
- Enlarging b _ | .1 mm
- _________________________________________
- Skew c _ | .6 mm
- _________________________________________
- Positioning errors d _ | .5 mm
- _________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Tableau I-1/T.4 [T7.4], p.38
- Figure I-3/T.4, (M), p.39
- H.T. [T8.4]
- TABLE I-2/T.4
- Vertical losses
- ____________________________________________________
- Paper insertion f {
- _
- | .07
- mm
- }
- ____________________________________________________
- Skew g _ | .87 mm
- ____________________________________________________
- Scanning density tolerance h _ | .97 mm
- ____________________________________________________
- Gripping loss i {
- _
- | .07
- mm
- }
- ____________________________________________________
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- Note - Scanning density tolerance will reduce to 0 mm on roll-fed
- machines.
- Tableau I-2/T.4 [T8.4], p.40