Toshiba teli BU040M Instruction Manual page 57

Cmos camera
Table of Contents

Advertisement

GenICam function API
Control Decimation using GenICam API.
 Decimation
// GenICam node handle
CAM_NODE_HANDLE hDecimation = NULL;
// Decimation = 2x2
uint64_t
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "DecimationHorizontal", &hDecimation);
// Nd_GetNode(s_hCam, "DecimationVertical", &hDecimation); // either will do
// Set Decimation
Nd_SetIntValue(s_hCam, hDecimation, Decimation);
Please refer to [INode functions], [IInteger node functions] in [TeliCamAPI Library manual] for more
detail.
Register access API
Control Decimation by accessing IIDC2 registers directly.
 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
// 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.
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
Decimation = 2;
API name
Cam_ReadReg
Cam_WriteReg
Decimation = 2;
56 / 177
Description
Read register value
Write register value
https://www.toshiba-teli.co.jp/en/
DAA00195C

Advertisement

Table of Contents
loading

Table of Contents