QCameraImageProcessing Class Reference
The QCameraImageProcessing class provides interface for focus and zoom related camera settings. More...
#include <QCameraImageProcessing>
This class is under development and is subject to change.
Public Types
enum | WhiteBalanceMode { WhiteBalanceManual, WhiteBalanceAuto, WhiteBalanceSunlight, WhiteBalanceCloudy, ..., WhiteBalanceVendor } |
Public Functions
Detailed Description
The QCameraImageProcessing class provides interface for focus and zoom related camera settings.
The Camera API of Qt Mobility is still in Technology Preview. It has not undergone the same level of review and testing as the rest of the APIs.
The API exposed by the classes in this component are not stable, and will undergo modification or removal prior to the final release of Qt Mobility.
Member Type Documentation
enum QCameraImageProcessing::WhiteBalanceMode
|
Constant | Value | Description |
QCameraImageProcessing::WhiteBalanceManual | 0 | Manual white balance. In this mode the white balance should be set with setManualWhiteBalance() |
QCameraImageProcessing::WhiteBalanceAuto | 1 | 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. |
Member Function Documentation
int QCameraImageProcessing::contrast () const
Return the contrast.
See also setContrast().
int QCameraImageProcessing::denoisingLevel () const
Returns the denoising level.
See also setDenoisingLevel().
bool QCameraImageProcessing::isAvailable () const
Returns true if image processing related settings are supported by this camera.
bool QCameraImageProcessing::isDenoisingSupported () const
Returns true if denoising is supported.
bool QCameraImageProcessing::isSharpeningSupported () const
Identifies if sharpening is supported.
Returns true if sharpening is supported; and false if it is not.
bool QCameraImageProcessing::isWhiteBalanceModeSupported ( WhiteBalanceMode mode ) const
Returns true if the white balance mode is supported.
int QCameraImageProcessing::manualWhiteBalance () const
Returns the current color temperature if the manual white balance is active, otherwise the return value is undefined.
See also setManualWhiteBalance().
int QCameraImageProcessing::saturation () const
Returns the saturation value.
See also setSaturation().
void QCameraImageProcessing::setContrast ( int value )
Set the contrast to value.
Valid contrast values range between -100 and 100, the default is 0.
See also contrast().
void QCameraImageProcessing::setDenoisingLevel ( int level )
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.
See also denoisingLevel().
void QCameraImageProcessing::setManualWhiteBalance ( int colorTemperature )
Sets manual white balance to colorTemperature
See also manualWhiteBalance().
void QCameraImageProcessing::setSaturation ( int value )
Sets the saturation value to value.
Valid saturation values range between -100 and 100, the default is 0.
See also saturation().
void QCameraImageProcessing::setSharpeningLevel ( int level )
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.
See also sharpeningLevel().
void QCameraImageProcessing::setWhiteBalanceMode ( WhiteBalanceMode mode )
Sets the white balance to mode.
See also whiteBalanceMode().
int QCameraImageProcessing::sharpeningLevel () const
Returns the sharpening level.
See also setSharpeningLevel().
WhiteBalanceMode QCameraImageProcessing::whiteBalanceMode () const
Returns the white balance mode being used.
See also setWhiteBalanceMode().