User Manual for Machine Vision Cameras
106
Toupcam_put_Gamma(HToupCam h, int Gamma); /* percent */
11.8.5
Image flip
As shown in Figure 11
27, in
democpp
, click "Config" in the control menu. Click "Vertical Flip" to flip the image
vertically and "Horizontal Flip" to flip horizontally.
The following is the API code to flip the image:
Toupcam_put_VFlip(HToupCam h, int bVFlip); /* vertical flip */
Toupcam_put_HFlip(HToupCam h, int bHFlip); /* horizontal flip */
Figure 11
-
27
Image flip setup
11.8.6
Test pattern
In
democpp
, as shown in Figure 11
28, clicking "Action" in the control menu, then clicking “Test Pattern”. selecting
"Normal" to display unaltered sensor captured image, "Test Pattern 1" a gray scale gradient oblique stripe showing the
movement, "Test Pattern 2" a gray scale gradient vertical stripe showing the movement and "Test Pattern 3" a grayscale
gradient horizontal stripe that shows the movement. The color camera can output a corresponding test pattern.
Figure 11
-
28
Set the test pattern