QtMobility Reference Documentation

QCameraImageProcessing Class Reference

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.

Public Types

enum WhiteBalanceMode { WhiteBalanceManual, WhiteBalanceAuto, WhiteBalanceSunlight, WhiteBalanceCloudy, ..., WhiteBalanceVendor }

Public Functions

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

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
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QCameraImageProcessing class provides interface for focus and zoom related camera settings.

Member Type Documentation

enum QCameraImageProcessing::WhiteBalanceMode

ConstantValueDescription
QCameraImageProcessing::WhiteBalanceManual1Manual white balance. In this mode the white balance should be set with setManualWhiteBalance()
QCameraImageProcessing::WhiteBalanceAuto0Auto white balance mode.
QCameraImageProcessing::WhiteBalanceSunlight2Sunlight white balance mode.
QCameraImageProcessing::WhiteBalanceCloudy3Cloudy white balance mode.
QCameraImageProcessing::WhiteBalanceShade4Shade white balance mode.
QCameraImageProcessing::WhiteBalanceTungsten5Tungsten white balance mode.
QCameraImageProcessing::WhiteBalanceFluorescent6Fluorescent white balance mode.
QCameraImageProcessing::WhiteBalanceIncandescent7Incandescent white balance mode.
QCameraImageProcessing::WhiteBalanceFlash8Flash white balance mode.
QCameraImageProcessing::WhiteBalanceSunset9Sunset white balance mode.
QCameraImageProcessing::WhiteBalanceVendor1000Vendor defined white balance mode.

Member Function Documentation

int QCameraImageProcessing::contrast () const

Return the contrast.

This function was introduced in Qt Mobility 1.1.

See also setContrast().

int QCameraImageProcessing::denoisingLevel () const

Returns the denoising level.

This function was introduced in Qt Mobility 1.1.

See also setDenoisingLevel().

bool QCameraImageProcessing::isAvailable () const

Returns true if image processing related settings are supported by this camera.

This function was introduced in Qt Mobility 1.1.

bool QCameraImageProcessing::isDenoisingSupported () const

Returns true if denoising is supported.

This function was introduced in Qt Mobility 1.1.

bool QCameraImageProcessing::isSharpeningSupported () const

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.

bool QCameraImageProcessing::isWhiteBalanceModeSupported ( WhiteBalanceMode mode ) const

Returns true if the white balance mode is supported.

This function was introduced in Qt Mobility 1.1.

int QCameraImageProcessing::manualWhiteBalance () const

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

int QCameraImageProcessing::saturation () const

Returns the saturation value.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

See also denoisingLevel().

void QCameraImageProcessing::setManualWhiteBalance ( int colorTemperature )

Sets manual white balance to colorTemperature

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

See also sharpeningLevel().

void QCameraImageProcessing::setWhiteBalanceMode ( WhiteBalanceMode mode )

Sets the white balance to mode.

This function was introduced in Qt Mobility 1.1.

See also whiteBalanceMode().

int QCameraImageProcessing::sharpeningLevel () const

Returns the sharpening level.

This function was introduced in Qt Mobility 1.1.

See also setSharpeningLevel().

WhiteBalanceMode QCameraImageProcessing::whiteBalanceMode () const

Returns the white balance mode being used.

This function was introduced in Qt Mobility 1.1.

See also setWhiteBalanceMode().

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.