The QCameraImageProcessingControl class provides an abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising. More...
#include <QCameraImageProcessingControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.1.
enum | ProcessingParameter { Contrast, Saturation, Brightness, Sharpening, ..., ExtendedParameter } |
~QCameraImageProcessingControl () | |
virtual bool | isProcessingParameterSupported ( ProcessingParameter parameter ) const = 0 |
virtual bool | isWhiteBalanceModeSupported ( QCameraImageProcessing::WhiteBalanceMode mode ) const = 0 |
virtual QVariant | processingParameter ( ProcessingParameter parameter ) const = 0 |
virtual void | setProcessingParameter ( ProcessingParameter parameter, QVariant value ) = 0 |
virtual void | setWhiteBalanceMode ( QCameraImageProcessing::WhiteBalanceMode mode ) = 0 |
virtual QCameraImageProcessing::WhiteBalanceMode | whiteBalanceMode () const = 0 |
QCameraImageProcessingControl ( QObject * parent = 0 ) |
QCameraImageProcessingControl_iid |
The QCameraImageProcessingControl class provides an abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising.
The interface name of QCameraImageProcessingControl is com.nokia.Qt.QCameraImageProcessingControl/1.0 as defined in QCameraImageProcessingControl_iid.
See also QMediaService::requestControl() and QCamera.
Constant | Value | Description |
---|---|---|
QCameraImageProcessingControl::Contrast | 0 | Image contrast. |
QCameraImageProcessingControl::Saturation | 1 | Image saturation. |
QCameraImageProcessingControl::Brightness | 2 | Image brightness. |
QCameraImageProcessingControl::Sharpening | 3 | Amount of sharpening applied. |
QCameraImageProcessingControl::Denoising | 4 | Amount of denoising applied. |
QCameraImageProcessingControl::ColorTemperature | 5 | Color temperature in K. This value is used when the manual white balance mode is selected. |
QCameraImageProcessingControl::ExtendedParameter | 1000 | The base value for platform specific extended parameters. |
Constructs an image processing control object with parent.
Destruct the image processing control object.
Returns true if the camera supports adjusting image processing parameter.
Usually the the supported settings is static, but some parameter may not be available depending on other camera settings, like presets. In such case the currently supported parameters should be returned.
This function was introduced in Qt Mobility 1.1.
Returns true if the white balance mode is supported. The backend should support at least QCameraImageProcessing::WhiteBalanceAuto mode.
This function was introduced in Qt Mobility 1.1.
Returns the image processing parameter value.
This function was introduced in Qt Mobility 1.1.
See also setProcessingParameter().
Sets the image processing parameter value. Passing the null or invalid QVariant value allows backend to choose the suitable parameter value.
The valid values range depends on the parameter type, for contrast, saturation and brightness value should be between -100 and 100, the default is 0,
For sharpening and denoising the range is 0..100, 0 for sharpening or denoising disabled and 100 for maximum sharpening/denoising applied.
This function was introduced in Qt Mobility 1.1.
See also processingParameter().
Set the white balance mode to mode
This function was introduced in Qt Mobility 1.1.
See also whiteBalanceMode().
Return the white balance mode being used.
This function was introduced in Qt Mobility 1.1.
See also setWhiteBalanceMode().
com.nokia.Qt.QCameraImageProcessingControl/1.0
Defines the interface name of the QCameraImageProcessingControl class.
© 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.