Member |
Data Type |
Description |
---|---|---|
dwSize |
DWORD |
Structure size |
dwChannel |
DWORD |
Channel number |
wCtrlType |
WORD |
Control type, details as follows: |
byDPCMode |
BYTE |
DPC Mode: 0-Manual, 1-Auto Manual Correction: default mode, correct manually by using wCtrlType operation type Auto Correction: correct automatically, in this mode, the parameters wCtrlType and struPoint are invalid. |
byRes |
BYTE |
Reserved, set to 0. |
struPoint |
The input plane coordinates of the image, normalize to 0-1. It is valid when wCtrlType value "DPC_POINT". |
|
byRes1 |
Array of BYTE |
Reserved, set to 0. |
Control type, details as follows:
wCtrlType Macro Definition |
Value |
Description |
---|---|---|
DPC_CORRECT |
1 |
Defective pixel correction |
DPC_CORRECT_CANCEL |
2 |
Cancel correction |
DPC_CROSS_DISPALY_OPEN |
3 |
Enable the crossed display of defective pixel detection. |
DPC_CROSS_DISPALY_CLOSE |
4 |
Disable the crossed display of defective pixel detection. |
DPC_POINT |
5 |
Defective pixel correction coordinates |
DPC_UP |
6 |
The defective pixel coordinate is upward offset. |
DPC_DOWN |
7 |
The defective pixel coordinate is downward offset. |
DPC_RIGHT |
8 |
The defective pixel coordinate is offset towards right. |
DPC_LEFT |
9 |
The defective pixel coordinate is offset towards left. |
DPC_ALL_CORRECT |
10 |
All the defective pixels correction. |
DPC_SAVE |
11 |
Save the defective pixels. |