117 / 160
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All Rights Reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4259344C
GenICam function API
Control Sharpness using GenICam API.
Sharpness
Use ‘IInteger’ interface to control Sharpness.
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Sharpness = 4
int64_t nSharpness = 4;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "Sharpness", &hNode);
// Set Sharpness Value
Nd_SetFloatValue(s_hCam, hNode, nSharpness);
Please refer to [INode functions] and [IInteger node functions] in [TeliCamAPI Library manual] for more
detail.
Register access API
Control Sharpness by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
Sharpness
Write to ‘Value’ field of ‘Sharpness’ register.
// Sharpness = 4 (Raw value = 4)
uint32_t uiSharpnessRaw = 4;
// Set Sharpness Value
Cam_WriteReg(s_hCam, 0x2040BC, 1, &uiSharpnessRaw);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum / Maximum Value
Sharpness
Raw Value
Absolute (Integer) Value
Minimum
0
0
Maximum
7
7
Initial Value
0
0
Formula
Absolute Value = Raw Value