Toshiba teli DDU Series Instruction Manual page 154

Cmos camera
Table of Contents

Advertisement

Register access API
Control DPC by accessing IIDC2 registers directly.
 DPC
1. Set the coordinates of defective pixels.
Write to 'Value[index][0]' and 'Value[index][1]' field of 'DPCCoord' register.
The first index of 'Value' register indicates defective pixel number.
The second index of [0] and [1] correspond to X and Y coordinates.
2. Sets the number of pixels to correct.
Write to 'Value' field of 'DPCNumber' register.
3. Sets the activation of DPC function.
Write [1] to 'Value' field of 'DPCEnable' register.
// 1.Set the coordinates of defective pixels.
uint32_t
uint32_t
uint64_t
for(number=0; number<2; number++, addr+= 0x8)
{
}
// 2.Sets the number of pixels to correct.
Cam_WriteReg(s_hCam, 0x21F2BC, 1, &number);
// 3.Set the activation of DPC function.
uint32_t dat = 1;
Cam_WriteReg(s_hCam, 0x21F29C, 1, &dat);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
 Minimum/Maximum Value
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
API name
Cam_ReadReg
Cam_WriteReg
entry[2][2] = {{100,200},{150,300}}; // {x.y}
number;
addr = 0x400000;
Cam_WriteReg(s_hCam, addr
Cam_WriteReg(s_hCam, addr+0x4, 1, &entry[number][1]);
Minimum
Maximum
Minimum
Maximum
Description
Read register value
Write register value
, 1, &entry[number][0]);
DPCNumber
DPCIndex
0
0
256
255
DPCEntryX
DPCEntryY
0
0
WidthMax-1
HeightMax-1
153 / 172
D4289451A
http://www.toshiba-teli.co.jp/en/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ddu1207m seriesDdu1207mgDdu1207mcgDdu1207mcf

Table of Contents