56 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
Register access API
Control Decimation by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
Decimation
Write to
‘Value’ field of ‘DecimationHorizontal’ register to control DecimationHorizontal.
Or write to
‘Value’ field of ‘DecimationVertical’ register to control DecimationVertical.
// Decimation = 2x2
uint32_t Decimation = 2;
// Set Decimation
Cam_WriteReg(s_hCam, 0x20213C, 1, &Decimation);
// Cam_WriteReg(s_hCam, 0x20215C, 1, &Decimation); // either will do
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
Decimation is disabled when the camera is running in Binning mode.
Scalable is enabled when the camera is running in Decimation mode.
Changing
“DecimationHorizontal”, “DecimationVertical” register value is invalid during image stream data
output.
Binning Horizontal / Vertical = 3 is not available.