126 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
● Control with TeliCamSDK
Camera feature API
Control Hue and Saturation using dedicated API.
API name
Description
GetCamHueMinMax
Get minimum and maximum value
GetCamHue
Get current Hue value
SetCamHue
Set new Hue value
GetCamSaturationMinMax
Get minimum and maximum value
GetCamSaturation
Get current Saturation value
SetCamSaturation
Set new Saturation value
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control Hue and Saturation using GenICam API.
Hue
Use
‘IFloat’ interface to control Hue.
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Hue = 0.0 [deg]
float64_t dHue = 0.0;
// Retrieve GenICam node.
Nd_GetNode(s_hCam,
“Hue”, &hNode);
// Set Gain Value
Nd_SetFloatValue(s_hCam, hNode, dHue);
Saturation
Use
‘IFloat’ interface to control Saturation.
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Saturation = 100.0 [%]
float64_t dSaturation = 100.0;
// Retrieve GenICam node.
Nd_GetNode(s_hCam,
“Saturation”, &hNode);
// Set Saturation Value
Nd_SetFloatValue(s_hCam, hNode, dSaturation);
Please refer to [INode functions] and [IFloat node functions] in [TeliCamAPI Library manual] for more
detail.