
Configuration MC132x Users Manual Rev. 0.23
20
6.5 Image size and position
Image size and position within the sensor is defined by four parameters:
Bit(s) Description
r1[9..0] Number of first line, 0..3FD
h
r3[9..0] Number of lines, 0..3FF
h
r4[6..0] Address/10 of the first pixel
r5[6..0] Address/10 of the last pixel
Table 6.5-1
6.5.1 Address of the first line
Register r1 defines the vertical start position of the ROI (region of interest ) within the sensor size. It’s
the first line to be displayed.
Command: :r1<x
2
x
1
x
0
> <x
2
x
1
x
0
> ... Range 000h ...3fdh
Response: ACK if enabled by separate command :A<n>
Example: :r1100 = 256 (dec) + 1 Ö image starts at line 257
L
If dual column binning is activated, r1 is doubled
within the camera logic.
6.5.2 Number of lines
Register r3 defines the vertical size of the ROI (region of interest ) within the sensor size. It’s the
number of lines to output.
Command: :r3<x
2
x
1
x
0
> <x
2
x
1
x
0
> ... Range 000 h ...3ffh
Response: ACK if enabled by separate command :A<n>
Example: :r31ff = 511 (dec) +1 Ö display 512 lines
L
The sum of r1 and r3 must be ≤ 0x3ff/1023 or
0x1ff/511 if dual column binning is activated!
6.5.3 Address of the first pixel of a line
Register r4 defines the start of horizontal start position of the ROI (region of interest ) within the sensor
size. It’s the leftmost pixel. The value is the pixel address divided by ten.
Command: :r4<x
2
x
1
x
0
> <x
2
x
1
x
0
> ... Range 000h ...7fh
Response: ACK if enabled by separate command :A<n>
Example: :r4020 = 32 (dec) * 10 Ö line start at pixel 320 (dec)
Calculation of the value of r4: Value of r4 = Pixel-Nr./10
Kommentare zu diesen Handbüchern