Toshiba teli BU040M Instruction Manual page 143

Cmos camera
Table of Contents

Advertisement

● Control with TeliCamSDK
Camera feature API
Control LUT using dedicated API.
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control LUT using GenICam API.
 LUT
1. Set the input level of LUT to 'LUTIndex'.
2. Set the output level of LUT to 'LUTValue'
3. Set the activation of LUT function by 'LUTEnable'
// GenICam node handle
CAM_NODE_HANDLE hIndex = NULL;
CAM_NODE_HANDLE hValue = NULL;
CAM_NODE_HANDLE hEnable = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "LUTIndex", &hIndex);
Nd_GetNode(s_hCam, "LUTValue", &hValue);
Nd_GetNode(s_hCam, "LUTEnable", &hEnable);
for(int64_t i=0; i<4096; i++)
{
// 1.Set the input level of LUT to 'LUTIndex'.
Nd_SetIntValue(s_hCam, hIndex, i);
// 2.Set the output level of LUT to 'LUTValue'
Nd_SetIntValue(s_hCam, hValue, 4095 - i); // invert
}
// 3.Set the activation of LUT function by 'LUTEnable'
Nd_SetBoolValue(s_hCam, hEnable, true);
Please refer to [INode functions], [IInteger node functions] and [IBoolean node functions] in [TeliCamAPI
Library manual] for more detail.
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
API name
GetCamLUTEnable
SetCamLUTEnable
GetCamLUTValue
SetCamLUTValue
142 / 177
Description
Get activation status
Set activation status
Get LUT value
Set LUT value
https://www.toshiba-teli.co.jp/en/
DAA00195C

Advertisement

Table of Contents
loading

Table of Contents