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);
}
Summary of Contents for Moverio Pro BT-2000
Page 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Page 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Page 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Page 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Page 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Page 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Page 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Page 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Page 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Page 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Page 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Page 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...