QtMobility Reference Documentation

QCameraImageProcessingControl Class Reference

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.

Public Types

enum ProcessingParameter { Contrast, Saturation, Brightness, Sharpening, ..., ExtendedParameter }

Public Functions

~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
  • 29 public functions inherited from QObject

Protected Functions

QCameraImageProcessingControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QCameraImageProcessingControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

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.

Member Type Documentation

enum QCameraImageProcessingControl::ProcessingParameter

ConstantValueDescription
QCameraImageProcessingControl::Contrast0Image contrast.
QCameraImageProcessingControl::Saturation1Image saturation.
QCameraImageProcessingControl::Brightness2Image brightness.
QCameraImageProcessingControl::Sharpening3Amount of sharpening applied.
QCameraImageProcessingControl::Denoising4Amount of denoising applied.
QCameraImageProcessingControl::ColorTemperature5Color temperature in K. This value is used when the manual white balance mode is selected.
QCameraImageProcessingControl::ExtendedParameter1000The base value for platform specific extended parameters.

Member Function Documentation

QCameraImageProcessingControl::QCameraImageProcessingControl ( QObject * parent = 0 ) [protected]

Constructs an image processing control object with parent.

QCameraImageProcessingControl::~QCameraImageProcessingControl ()

Destruct the image processing control object.

bool QCameraImageProcessingControl::isProcessingParameterSupported ( ProcessingParameter parameter ) const [pure virtual]

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.

bool QCameraImageProcessingControl::isWhiteBalanceModeSupported ( QCameraImageProcessing::WhiteBalanceMode mode ) const [pure virtual]

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.

QVariant QCameraImageProcessingControl::processingParameter ( ProcessingParameter parameter ) const [pure virtual]

Returns the image processing parameter value.

This function was introduced in Qt Mobility 1.1.

See also setProcessingParameter().

void QCameraImageProcessingControl::setProcessingParameter ( ProcessingParameter parameter, QVariant value ) [pure virtual]

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().

void QCameraImageProcessingControl::setWhiteBalanceMode ( QCameraImageProcessing::WhiteBalanceMode mode ) [pure virtual]

Set the white balance mode to mode

This function was introduced in Qt Mobility 1.1.

See also whiteBalanceMode().

QCameraImageProcessing::WhiteBalanceMode QCameraImageProcessingControl::whiteBalanceMode () const [pure virtual]

Return the white balance mode being used.

This function was introduced in Qt Mobility 1.1.

See also setWhiteBalanceMode().

Macro Documentation

QCameraImageProcessingControl_iid

com.nokia.Qt.QCameraImageProcessingControl/1.0

Defines the interface name of the QCameraImageProcessingControl class.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.