Scanner Interface
(a)For binary data 1 pixel: 1 bit
8 pixels: 1 byte
Raster line 1 | Raster line 2 |
| Raster line j | ||
|
|
|
|
|
|
Byte 0 |
|
|
| Byte n |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Byte 0 | Pixel 1 | Pixel 2 | Pixel 3 | Pixel 4 | Pixel 5 | Pixel 6 | Pixel 7 | Pixel 8 | |
| |||||||||
Byte n |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| ||
Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | ||
| |||||||||
| ij | ||||||||
|
|
|
|
|
|
|
|
|
For mirror image
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Byte 0 | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | |
| |||||||||
| i | ||||||||
Byte n |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| ||
Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | Pixel | ||
| |||||||||
| m+8 | m+7 | m+6 | m+5 | m+4 | m+3 | m+2 | m+1 | |
|
|
|
|
|
|
|
|
|
m = i (j - 1)
If the data amount per raster line is not a multiple of 8 bits, the window is rounded up to a multiple of 8 bits.
b.Pixel size data: (DATA TYPE CODE = X’80’)
The transfer format for this data is shown in the following illustration.
Appendix