68 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
● Control with TeliCamSDK
GenICam function API
Control BayerProcessingMode using GenICam API.
BayerProcessingMode
Select BayerProcessingMode by
‘BayerProcessingMode’.
Integer value and string value of Enumeration are as follows.
Integer
String
0
Raw
8
Partial
16
Full
// GenICam node handle
CAM_NODE_HANDLE hMode = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "BayerProcessingMode", &hMode);
// BayerProcessingMode = Raw
Nd_SetEnumStrValue(s_hCam, hMode, "Raw");
Please refer to [INode functions], [IEnumeration node functions] in [TeliCamAPI Library manual] for
more detail.
Register access API
This API access IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
BayerProcessingMode
Write to
‘Value’ field of ‘BayerProcessingMode’ register.
// BayerProcessingMode = Raw
uint32_t uiMode;
uiMode = 0;
Cam_WriteReg(s_hCam, 0x21F43C, 1, &uiMode);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
Changing
‘BayerProcessingMode’ register value is invalid during image stream data output.