User Manual (Ver.1.4) - Main Functions
GOX-5105MC-CXP | GOX-8105MC-CXP | GOX-12405MC-CXP | GOX-16205MC-CXP | GOX-20405MC-CXP | GOX-24505MC-CXP
- 95 -
4. Use
ImageScalingHorizontal
and
ImageScalingVertical
to specify the horizontal and vertical
scaling ratio. For more information on how to specify the scaling ratio, see
.
Specifying the Scaling Ratio
Specify the scaling ratio in decimal point (maximum six decimal places) for ImageScalingHorizontal
and ImageScalingVertical. The setting range is 0.0625 to 1. If "1" is specified, the image will not be
scaled.
Example 1
If you want to output an image with 50% scaling both horizontally and vertically, set
ImageScalingHorizontal and ImageScalingVertical to "0.5". (This is equivalent to the traditional 2 x 2
binning.)
Example 2
If you are using a GOX-20405C-CXP with SensorWidth/SensorHeight of 4512, and you want to scale
the output image to 3000 x 3000, set ImageScalingHorizontal and ImageScalingVertical to"0.6649"
(3000 ÷ 4512 = 0.6649).
Example 3
When you are replacing your camera with a new one but the new camera has a different pixel size and
resolution, you can reproduce the current camera's pixel size and output image size on the
replacement camera, using the
and ImageScalingMode functions.
This example shows how to configure the ROI and ImageScalingMode settings when replacing the
GOX-2402C camera with the GOX-5105C camera.
Pixel Size
Full Resolution (Width x Height)
Current Camera: GOX-2402C
3.45 μm x 3.45 μm
1920 x 1200
New Camera: GOX-5105C
2.74 μm x 2.74 μm
2472 x 2064