The QCameraImageProcessing class provides interface for focus and zoom related camera settings. More...
#include <QCameraImageProcessing>
Inherits: QObject.
This class was introduced in Qt Mobility 1.1.
enum | WhiteBalanceMode { WhiteBalanceManual, WhiteBalanceAuto, WhiteBalanceSunlight, WhiteBalanceCloudy, ..., WhiteBalanceVendor } |
int | contrast () const |
int | denoisingLevel () const |
bool | isAvailable () const |
bool | isDenoisingSupported () const |
bool | isSharpeningSupported () const |
bool | isWhiteBalanceModeSupported ( WhiteBalanceMode mode ) const |
int | manualWhiteBalance () const |
int | saturation () const |
void | setContrast ( int value ) |
void | setDenoisingLevel ( int level ) |
void | setManualWhiteBalance ( int colorTemperature ) |
void | setSaturation ( int value ) |
void | setSharpeningLevel ( int level ) |
void | setWhiteBalanceMode ( WhiteBalanceMode mode ) |
int | sharpeningLevel () const |
WhiteBalanceMode | whiteBalanceMode () const |
The QCameraImageProcessing class provides interface for focus and zoom related camera settings.
Constant | Value | Description |
---|---|---|
QCameraImageProcessing::WhiteBalanceManual | 1 | Manual white balance. In this mode the white balance should be set with setManualWhiteBalance() |
QCameraImageProcessing::WhiteBalanceAuto | 0 | Auto white balance mode. |
QCameraImageProcessing::WhiteBalanceSunlight | 2 | Sunlight white balance mode. |
QCameraImageProcessing::WhiteBalanceCloudy | 3 | Cloudy white balance mode. |
QCameraImageProcessing::WhiteBalanceShade | 4 | Shade white balance mode. |
QCameraImageProcessing::WhiteBalanceTungsten | 5 | Tungsten white balance mode. |
QCameraImageProcessing::WhiteBalanceFluorescent | 6 | Fluorescent white balance mode. |
QCameraImageProcessing::WhiteBalanceIncandescent | 7 | Incandescent white balance mode. |
QCameraImageProcessing::WhiteBalanceFlash | 8 | Flash white balance mode. |
QCameraImageProcessing::WhiteBalanceSunset | 9 | Sunset white balance mode. |
QCameraImageProcessing::WhiteBalanceVendor | 1000 | Vendor defined white balance mode. |
Return the contrast.
This function was introduced in Qt Mobility 1.1.
See also setContrast().
Returns the denoising level.
This function was introduced in Qt Mobility 1.1.
See also setDenoisingLevel().
Returns true if image processing related settings are supported by this camera.
This function was introduced in Qt Mobility 1.1.
Returns true if denoising is supported.
This function was introduced in Qt Mobility 1.1.
Identifies if sharpening is supported.
Returns true if sharpening is supported; and false if it is not.
This function was introduced in Qt Mobility 1.1.
Returns true if the white balance mode is supported.
This function was introduced in Qt Mobility 1.1.
Returns the current color temperature if the manual white balance is active, otherwise the return value is undefined.
This function was introduced in Qt Mobility 1.1.
See also setManualWhiteBalance().
Returns the saturation value.
This function was introduced in Qt Mobility 1.1.
See also setSaturation().
Set the contrast to value.
Valid contrast values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.1.
See also contrast().
Sets the denoising level.
Valid denoising level values range between -1 for default denoising level, 0 for denoising disabled and 100 for maximum denoising applied.
This function was introduced in Qt Mobility 1.1.
See also denoisingLevel().
Sets manual white balance to colorTemperature
This function was introduced in Qt Mobility 1.1.
See also manualWhiteBalance().
Sets the saturation value to value.
Valid saturation values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.1.
See also saturation().
Sets the sharpening level.
Valid sharpening level values range between -1 for default sharpening level, 0 for sharpening disabled and 100 for maximum sharpening applied.
This function was introduced in Qt Mobility 1.1.
See also sharpeningLevel().
Sets the white balance to mode.
This function was introduced in Qt Mobility 1.1.
See also whiteBalanceMode().
Returns the sharpening level.
This function was introduced in Qt Mobility 1.1.
See also setSharpeningLevel().
Returns the white balance mode being used.
This function was introduced in Qt Mobility 1.1.
See also setWhiteBalanceMode().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.