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