27
Monochrome horizontal ramp
Bar pattern where the image level changes in the
horizontal direction from step 0 by 1 pixel at a time.
Monochrome vertical ramp
Bar pattern where the image level changes in the vertical
direction from step 0 by 1 line at a time.
3 × 3 Filter
Monochrome cameras and color cameras perform 3 × 3
area filtering on RAW output. The brightness of a central
pixel and the eight pixels around it, and the parameter of
each pixel are multiplied and added together, The result
is the brightness of the center pixel. Specify using values
between –8191 and +8191. The parameter 256 is ×1.
Depending on the patterns of coefficients, you can use
filtering to reduce noise, enhance edges, and extract
contours.
Select coefficients with SpatialFilterValueSelector and
substitute values with SpatialFilterValue.
The rows with the entered coefficients are represented as
follows.
Within any 9-pixel layout, shown below, where the data
for each pixel is given by Y
0
to Y
8
, the calculated filter
result for Y
′
4
is given by the following equation.
Y
′
4
=
TopLeft
× Y
0
+
TopCenter
× Y
1
+
TopRight
× Y
2
+
CenterLeft
× Y
3
+
CenterCenter
× Y
4
+
CenterRight
× Y
5
+
BottomLeft
× Y
6
+
BottomCenter
× Y
7
+
BottomRight
× Y
8
Feature
Parameter
Setting
SpatialFilterEnable
False (0) Filter
off
True (1)
Filter on
Feature
Parameter
Setting
SpatialFilterValue
Selector
TopLeft,
TopCenter,
TopRight,
CenterLeft,
CenterCenter,
CenterRight,
BottomLeft,
BottomCenter,
BottomRight
Matrix position
SpatialFilterValue
–8191 to +8191
Filter coefficient
Y
0
Y
1
Y
2
Y
3
Y
4
Y
5
Y
6
Y
7
Y
8