Toshiba teli BU040M Instruction Manual page 144

Cmos camera
Table of Contents

Advertisement

Register access API
Control LUT by accessing IIDC2 registers directly.
 LUT
1. Set the output level of LUT.
Write to 'Value[0]' to 'Value[4095]' of 'LUTValueAll' register to set the output level of LUT.
The index of 'Value' register means the input level of LUT.
2. Set the activation of LUT function.
Write to 'Value' field of 'LUTEnable' register to activate LUT function.
// 1.Set the output level of LUT.
uint64_t
uint32_t
for(int i=0; i<4096; i++, addr+= 0x4)
{
dat = 4095 - i; // invert
Cam_WriteReg(s_hCam, addr, 1, &dat);
}
// 2.Set the activation of LUT function.
dat = 1;
Cam_WriteReg(s_hCam, 0x20603C, 1, &dat);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
 Minimum/Maximum Value
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
API name
Cam_ReadReg
Cam_WriteReg
addr = 0x300000;
dat;
LUTIndex/LUTValue
Minimum
Maximum
143 / 177
Description
Read register value
Write register value
Value
0
4095
https://www.toshiba-teli.co.jp/en/
DAA00195C

Advertisement

Table of Contents
loading

Table of Contents