MOVERIO Pro Developer's Guide (Rev.1.4)
88
6.8.11.
setContrast
Function
Set the contrast value.
Format
Parameter
None.
Return value
Model
Explanation
int
Set the contrast value.
For the BT-2000, you can set -3 to +3.
Usage procedure
Remarks
After setting the contrast value in setContrast,
be sure to perform setParameters.
Changed content is not reflected until setParameters is executed.
void setContrast (int);
/*Start camera*/
camera = Camera.open();
/*Acquire current parameter (or default value)*/
Camera.Parameters params = camera.getParameters();
/*Acquire the current contrast value.*/
int contrast = params.getContrast();
c+;
/*When the contrast value enters an available setting range, it is
set*/
if (contrast <= params.getSupportedContrastMax() &&
contrast >= params.getSupportedContrastMin() ) {
params.setContrast(contrast);
camera.setParameters(params);
}
Содержание Moverio Pro BT-2000
Страница 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Страница 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Страница 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Страница 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Страница 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Страница 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Страница 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Страница 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Страница 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Страница 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Страница 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Страница 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...