The QCameraImageProcessingControl class provides an abstract class for controling image processing parameters, like white balance, contrast, saturation, sharpening and denoising. More...
#include <QCameraImageProcessingControl>
This class is under development and is subject to change.
Inherits QMediaControl.
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 controling 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.
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.
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.
Returns true if the white balance mode is supported. The backend should support at least QCameraImageProcessing::WhiteBalanceAuto mode.
Returns the image processing parameter value.
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.
See also processingParameter().
Set the white balance mode to mode
See also whiteBalanceMode().
Return the white balance mode being used.
See also setWhiteBalanceMode().
com.nokia.Qt.QCameraImageProcessingControl/1.0
Defines the interface name of the QCameraImageProcessingControl class.