CameraImageProcessing QML Type

An interface for camera capture related settings. More...

Import Statement: import QtMultimedia 5.8


Detailed Description

CameraImageProcessing provides control over post-processing done by the camera middleware, including white balance adjustments, contrast, saturation, sharpening, and denoising

It should not be constructed separately, instead the imageProcessing property of a Camera should be used.

Camera {
    id: camera

    imageProcessing {
        whiteBalanceMode: Camera.WhiteBalanceTungsten
        contrast: 0.66
        saturation: -0.5

Property Documentation

brightness : qreal

Image brightness adjustment. Valid brightness adjustment values range between -1.0 and 1.0, with a default of 0.

This QML property was introduced in Qt 5.7.

colorFilter : enumeration

This property holds which color filter if any will be applied to image data captured by the camera.

It can be one of:

CameraImageProcessing.ColorFilterNoneNo filter is applied to images.
CameraImageProcessing.ColorFilterGrayscaleA grayscale filter.
CameraImageProcessing.ColorFilterNegativeA negative filter.
CameraImageProcessing.ColorFilterSolarizeA solarize filter.
CameraImageProcessing.ColorFilterSepiaA sepia filter.
CameraImageProcessing.ColorFilterPosterizeA posterize filter.
CameraImageProcessing.ColorFilterWhiteboardA whiteboard filter.
CameraImageProcessing.ColorFilterBlackboardA blackboard filter.
CameraImageProcessing.ColorFilterAquaAn aqua filter.
CameraImageProcessing.ColorFilterVendorThe base value for vendor defined filters.

This QML property was introduced in Qt 5.5.

contrast : qreal

Image contrast adjustment. Valid contrast adjustment values range between -1.0 and 1.0, with a default of 0.

denoisingLevel : qreal

Adjustment of denoising applied to image.

Valid denoising level values range between -1.0 for for denoising disabled, 0 for default denoising level and 1.0 for maximum denoising applied.

isAvailable : bool

This property holds if image processing related settings are supported by this camera.

This QML property was introduced in Qt 5.11.

manualWhiteBalance : qreal

The color temperature used when in manual white balance mode (WhiteBalanceManual). The units are Kelvin.

See also whiteBalanceMode.

saturation : qreal

Image saturation adjustment. Valid saturation adjustment values range between -1.0 and 1.0, the default is 0.

sharpeningLevel : qreal

Adjustment of sharpening level applied to image.

Valid sharpening level values range between -1.0 for for sharpening disabled, 0 for default sharpening level and 1.0 for maximum sharpening applied.

supportedColorFilters : list<ColorFilter>

This property holds the supported color filters by this camera.

This QML property was introduced in Qt 5.11.

supportedWhiteBalanceModes : list<WhiteBalanceMode>

This property holds the supported white balance modes by this camera.

This QML property was introduced in Qt 5.11.

whiteBalanceMode : enumeration

WhiteBalanceManualManual white balance. In this mode the manual white balance property value is used.
WhiteBalanceAutoAuto white balance mode.
WhiteBalanceSunlightSunlight white balance mode.
WhiteBalanceCloudyCloudy white balance mode.
WhiteBalanceShadeShade white balance mode.
WhiteBalanceTungstenTungsten white balance mode.
WhiteBalanceFluorescentFluorescent white balance mode.
WhiteBalanceFlashFlash white balance mode.
WhiteBalanceSunsetSunset white balance mode.
WhiteBalanceVendorVendor defined white balance mode.

See also manualWhiteBalance.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.