DEVICES INCORPORATED
Video Imaging Products
2-11
LF2301
Image Resampling Sequencer
08/16/2000–LDS.2301-H
T
ABLE
10. ITS O
UTPUTS
F
OR
P
ASS
1 O
F
T
WO
-P
ASS
Cycle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
x
0
0
0
0
1
2
1
2
3
2
3
4
0
1
2
1
2
3
2
3
4
0
1
2
y
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
0
CAx (HEX)
00
00
00
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
CAy (HEX)
00
00
00
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
00
01
02
u
x
x
x
x
x
x
5
5
5
6
6
6
7
7
7
5
5
5
6
6
6
7
7
7
v
x
x
x
x
x
x
5
5
5
5
5
5
5
5
5
6
6
6
6
6
6
6
6
6
INIT
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ACC
0
0
0
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
UWRI
1
1
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
ENDx
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
ENDy
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
DONE
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
Pass 1 of Two-Pass Operation
Pass 1 of the two-pass operation
performs horizontal filtering on an
image as shown in Figure 9. This
mode is selected by loading M
1-0
with
“01.” In this example, a horizontal
filter with a kernel size of 3 pixels is
desired. Loading K
3-0
with “0010”
selects a kernel size of 3. The first
pixel selected is determined by x
0
and
y
0
. In this example, the first pixel is
(0,0). In this case, the LF2301s should
address consecutive pixels during each
pixel walk. For this to occur, FOV must
be set to 1 (F
2-0
loaded with “001”).
After the last pixel of a pixel walk has
been selected, the next pixel address is
determined by adding dx/du to the
current X address and by adding dy/
du to the current Y address (unless the
kernel just completed was the last for
that line). At the end of the first pixel
walk, pixel (2,0) is addressed. Since
the first pixel of the next pixel walk
should be (1,0), dx/du is selected to be
-1 and dy/du is selected to be 0. After
the last pixel of the last pixel walk on
the first line has been selected, the first
pixel address of the second line is
determined by adding dx/dv to x
0
and by adding dy/dv to y
0
. Since the
first pixel of the first pixel walk on the
second line should be (0,1), dx/dv is
selected to be 0 and dy/dv is selected
to be 1. Second order differential
terms are not used in this filter and are
therefore set to 0.
T
ABLE
9. P
ARAMETER
R
EGISTERS
ADDR
Row (HEX) Column (HEX)
0000
000
0001
FFF
0010
000
0011
040
0100
000
0101
1FF
0110
000
0111
200
1000
000
1001
000
1010
000
1011
000
1100
000
1101
000
1110
005
1111
006
000
FFF
000
140
000
000
000
201
000
000
000
000
000
000
005
006
UMIN and VMIN are both selected to
be 5. UMAX and VMAX are both
selected to be 6. Table 9 shows the
values loaded into all Parameter
Registers. Table 10 shows the ITS
outputs for the Pass 1 of a Two-Pass
operation.
1 = 1st pixel of 1st walk,
2 = 1st pixel of 2nd walk, etc.
-1
1
2
3
4
0
1
2
3
1
2
3
6
4
5
7
0
F
IGURE
9. P
ASS
1 O
F
T
WO
-P
ASS