<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qcameraimageprocessing.cpp --> <title>QCameraImageProcessing Class | Qt Multimedia 5.12.2</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-modules.html">C++ Classes</a></td><td >QCameraImageProcessing</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtmultimedia-index.html">Qt 5.12.2 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-types">Public Types</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QCameraImageProcessing Class</h1> <!-- $$$QCameraImageProcessing-brief --> <p>The <a href="qcameraimageprocessing.html">QCameraImageProcessing</a> class provides an interface for image processing related camera settings. <a href="#details">More...</a></p> <!-- @@@QCameraImageProcessing --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QCameraImageProcessing></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr></table></div><ul> <li><a href="qcameraimageprocessing-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h2 id="public-types">Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#ColorFilter-enum">ColorFilter</a></b> { ColorFilterNone, ColorFilterGrayscale, ColorFilterNegative, ColorFilterSolarize, ..., ColorFilterVendor }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#WhiteBalanceMode-enum">WhiteBalanceMode</a></b> { WhiteBalanceAuto, WhiteBalanceManual, WhiteBalanceSunlight, WhiteBalanceCloudy, ..., WhiteBalanceVendor }</td></tr> </table></div> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#brightness">brightness</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QCameraImageProcessing::ColorFilter </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#colorFilter">colorFilter</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#contrast">contrast</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#denoisingLevel">denoisingLevel</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#isAvailable">isAvailable</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#isColorFilterSupported">isColorFilterSupported</a></b>(QCameraImageProcessing::ColorFilter <i>filter</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#isWhiteBalanceModeSupported">isWhiteBalanceModeSupported</a></b>(QCameraImageProcessing::WhiteBalanceMode <i>mode</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#manualWhiteBalance">manualWhiteBalance</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#saturation">saturation</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setBrightness">setBrightness</a></b>(qreal <i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setColorFilter">setColorFilter</a></b>(QCameraImageProcessing::ColorFilter <i>filter</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setContrast">setContrast</a></b>(qreal <i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setDenoisingLevel">setDenoisingLevel</a></b>(qreal <i>level</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setManualWhiteBalance">setManualWhiteBalance</a></b>(qreal <i>colorTemperature</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setSaturation">setSaturation</a></b>(qreal <i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setSharpeningLevel">setSharpeningLevel</a></b>(qreal <i>level</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#setWhiteBalanceMode">setWhiteBalanceMode</a></b>(QCameraImageProcessing::WhiteBalanceMode <i>mode</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#sharpeningLevel">sharpeningLevel</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QCameraImageProcessing::WhiteBalanceMode </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#whiteBalanceMode">whiteBalanceMode</a></b>() const</td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QCameraImageProcessing-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qcameraimageprocessing.html">QCameraImageProcessing</a> class provides an interface for image processing related camera settings.</p> <p>After capturing the data for a camera frame, the camera hardware and software performs various image processing tasks to produce a final image. This includes compensating for ambient light color, reducing noise, as well as making some other adjustments to the image.</p> <p>You can retrieve this class from an instance of a <a href="qcamera.html">QCamera</a> object.</p> <p>For example, you can set the white balance (or color temperature) used for processing images:</p> <pre class="cpp"> camera <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qcamera.html">QCamera</a></span>; <span class="type">QCameraImageProcessing</span> <span class="operator">*</span>imageProcessing <span class="operator">=</span> camera<span class="operator">-</span><span class="operator">></span>imageProcessing(); <span class="keyword">if</span> (imageProcessing<span class="operator">-</span><span class="operator">></span>isAvailable()) { imageProcessing<span class="operator">-</span><span class="operator">></span>setWhiteBalanceMode(<span class="type">QCameraImageProcessing</span><span class="operator">::</span>WhiteBalanceFluorescent); } </pre> <p>Or adjust the amount of denoising performed:</p> <pre class="cpp"> imageProcessing<span class="operator">-</span><span class="operator">></span>setDenoisingLevel(<span class="operator">-</span><span class="number">0.3</span>); <span class="comment">//reduce the amount of denoising applied</span> </pre> <p>In some cases changing these settings may result in a longer delay before an image is ready.</p> <p>For more information on image processing of camera frames, see <a href="cameraoverview.html#camera-image-processing">Camera Image Processing</a>.</p> </div> <p><b>See also </b><a href="qcameraimageprocessingcontrol.html">QCameraImageProcessingControl</a>.</p> <!-- @@@QCameraImageProcessing --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$ColorFilter$$$ColorFilterNone$$$ColorFilterGrayscale$$$ColorFilterNegative$$$ColorFilterSolarize$$$ColorFilterSepia$$$ColorFilterPosterize$$$ColorFilterWhiteboard$$$ColorFilterBlackboard$$$ColorFilterAqua$$$ColorFilterVendor --> <h3 class="fn" id="ColorFilter-enum"><a name="ColorFilter-enum"></a>enum QCameraImageProcessing::<span class="name">ColorFilter</span></h3> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterNone</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No filter is applied to images.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterGrayscale</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A grayscale filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterNegative</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">A negative filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterSolarize</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">A solarize filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterSepia</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">A sepia filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterPosterize</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">A posterize filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterWhiteboard</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">A whiteboard filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterBlackboard</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">A blackboard filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterAqua</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">An aqua filter.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::ColorFilterVendor</code></td><td class="topAlign tblval"><code>1000</code></td><td class="topAlign">The base value for vendor defined filters.</td></tr> </table></div> <p>This enum was introduced or modified in Qt 5.5.</p> <!-- @@@ColorFilter --> <!-- $$$WhiteBalanceMode$$$WhiteBalanceAuto$$$WhiteBalanceManual$$$WhiteBalanceSunlight$$$WhiteBalanceCloudy$$$WhiteBalanceShade$$$WhiteBalanceTungsten$$$WhiteBalanceFluorescent$$$WhiteBalanceFlash$$$WhiteBalanceSunset$$$WhiteBalanceVendor --> <h3 class="fn" id="WhiteBalanceMode-enum"><a name="WhiteBalanceMode-enum"></a>enum QCameraImageProcessing::<span class="name">WhiteBalanceMode</span></h3> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceAuto</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Auto white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceManual</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Manual white balance. In this mode the white balance should be set with <a href="qcameraimageprocessing.html#setManualWhiteBalance">setManualWhiteBalance</a>()</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceSunlight</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Sunlight white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceCloudy</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Cloudy white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceShade</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Shade white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceTungsten</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Tungsten (incandescent) white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceFluorescent</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Fluorescent white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceFlash</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Flash white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceSunset</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Sunset white balance mode.</td></tr> <tr><td class="topAlign"><code>QCameraImageProcessing::WhiteBalanceVendor</code></td><td class="topAlign tblval"><code>1000</code></td><td class="topAlign">Base value for vendor defined white balance modes.</td></tr> </table></div> <!-- @@@WhiteBalanceMode --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$brightness[overload1]$$$brightness --> <h3 class="fn" id="brightness"><a name="brightness"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">brightness</span>() const</h3> <p>Returns the brightness adjustment setting.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setBrightness">setBrightness</a>().</p> <!-- @@@brightness --> <!-- $$$colorFilter[overload1]$$$colorFilter --> <h3 class="fn" id="colorFilter"><a name="colorFilter"></a><span class="type"><a href="qcameraimageprocessing.html#ColorFilter-enum">QCameraImageProcessing::ColorFilter</a></span> QCameraImageProcessing::<span class="name">colorFilter</span>() const</h3> <p>Returns the color filter which will be applied to image data captured by the camera.</p> <p>This function was introduced in Qt 5.5.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setColorFilter">setColorFilter</a>().</p> <!-- @@@colorFilter --> <!-- $$$contrast[overload1]$$$contrast --> <h3 class="fn" id="contrast"><a name="contrast"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">contrast</span>() const</h3> <p>Returns the contrast adjustment setting.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setContrast">setContrast</a>().</p> <!-- @@@contrast --> <!-- $$$denoisingLevel[overload1]$$$denoisingLevel --> <h3 class="fn" id="denoisingLevel"><a name="denoisingLevel"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">denoisingLevel</span>() const</h3> <p>Returns the denoising adjustment level.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setDenoisingLevel">setDenoisingLevel</a>().</p> <!-- @@@denoisingLevel --> <!-- $$$isAvailable[overload1]$$$isAvailable --> <h3 class="fn" id="isAvailable"><a name="isAvailable"></a><span class="type">bool</span> QCameraImageProcessing::<span class="name">isAvailable</span>() const</h3> <p>Returns true if image processing related settings are supported by this camera.</p> <!-- @@@isAvailable --> <!-- $$$isColorFilterSupported[overload1]$$$isColorFilterSupportedQCameraImageProcessing::ColorFilter --> <h3 class="fn" id="isColorFilterSupported"><a name="isColorFilterSupported"></a><span class="type">bool</span> QCameraImageProcessing::<span class="name">isColorFilterSupported</span>(<span class="type"><a href="qcameraimageprocessing.html#ColorFilter-enum">QCameraImageProcessing::ColorFilter</a></span> <i>filter</i>) const</h3> <p>Returns true if a color <i>filter</i> is supported.</p> <p>This function was introduced in Qt 5.5.</p> <!-- @@@isColorFilterSupported --> <!-- $$$isWhiteBalanceModeSupported[overload1]$$$isWhiteBalanceModeSupportedQCameraImageProcessing::WhiteBalanceMode --> <h3 class="fn" id="isWhiteBalanceModeSupported"><a name="isWhiteBalanceModeSupported"></a><span class="type">bool</span> QCameraImageProcessing::<span class="name">isWhiteBalanceModeSupported</span>(<span class="type"><a href="qcameraimageprocessing.html#WhiteBalanceMode-enum">QCameraImageProcessing::WhiteBalanceMode</a></span> <i>mode</i>) const</h3> <p>Returns true if the white balance <i>mode</i> is supported.</p> <!-- @@@isWhiteBalanceModeSupported --> <!-- $$$manualWhiteBalance[overload1]$$$manualWhiteBalance --> <h3 class="fn" id="manualWhiteBalance"><a name="manualWhiteBalance"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">manualWhiteBalance</span>() const</h3> <p>Returns the current color temperature if the current white balance mode is <code>WhiteBalanceManual</code>. For other modes the return value is undefined.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setManualWhiteBalance">setManualWhiteBalance</a>().</p> <!-- @@@manualWhiteBalance --> <!-- $$$saturation[overload1]$$$saturation --> <h3 class="fn" id="saturation"><a name="saturation"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">saturation</span>() const</h3> <p>Returns the saturation adjustment value.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setSaturation">setSaturation</a>().</p> <!-- @@@saturation --> <!-- $$$setBrightness[overload1]$$$setBrightnessqreal --> <h3 class="fn" id="setBrightness"><a name="setBrightness"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setBrightness</span>(<span class="type">qreal</span> <i>value</i>)</h3> <p>Set the brightness adjustment to <i>value</i>.</p> <p>Valid brightness adjustment values range between -1.0 and 1.0, with a default of 0.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#brightness">brightness</a>().</p> <!-- @@@setBrightness --> <!-- $$$setColorFilter[overload1]$$$setColorFilterQCameraImageProcessing::ColorFilter --> <h3 class="fn" id="setColorFilter"><a name="setColorFilter"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setColorFilter</span>(<span class="type"><a href="qcameraimageprocessing.html#ColorFilter-enum">QCameraImageProcessing::ColorFilter</a></span> <i>filter</i>)</h3> <p>Sets the color <i>filter</i> which will be applied to image data captured by the camera.</p> <p>This function was introduced in Qt 5.5.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#colorFilter">colorFilter</a>().</p> <!-- @@@setColorFilter --> <!-- $$$setContrast[overload1]$$$setContrastqreal --> <h3 class="fn" id="setContrast"><a name="setContrast"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setContrast</span>(<span class="type">qreal</span> <i>value</i>)</h3> <p>Set the contrast adjustment to <i>value</i>.</p> <p>Valid contrast adjustment values range between -1.0 and 1.0, with a default of 0.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#contrast">contrast</a>().</p> <!-- @@@setContrast --> <!-- $$$setDenoisingLevel[overload1]$$$setDenoisingLevelqreal --> <h3 class="fn" id="setDenoisingLevel"><a name="setDenoisingLevel"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setDenoisingLevel</span>(<span class="type">qreal</span> <i>level</i>)</h3> <p>Sets the denoising adjustment <i>level</i>.</p> <p>Valid denoising values range between -1.0 and 1.0, with a default of 0.</p> <p>If the parameter value is set to 0, the amount of denoising applied is selected by camera and depends on camera capabilities and settings. Changing value in -1.0..1.0 range adjusts the amount of denoising applied within the supported range.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#denoisingLevel">denoisingLevel</a>().</p> <!-- @@@setDenoisingLevel --> <!-- $$$setManualWhiteBalance[overload1]$$$setManualWhiteBalanceqreal --> <h3 class="fn" id="setManualWhiteBalance"><a name="setManualWhiteBalance"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setManualWhiteBalance</span>(<span class="type">qreal</span> <i>colorTemperature</i>)</h3> <p>Sets manual white balance to <i>colorTemperature</i>. This is used when <a href="qcameraimageprocessing.html#whiteBalanceMode">whiteBalanceMode</a>() is set to <code>WhiteBalanceManual</code>. The units are Kelvin.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#manualWhiteBalance">manualWhiteBalance</a>().</p> <!-- @@@setManualWhiteBalance --> <!-- $$$setSaturation[overload1]$$$setSaturationqreal --> <h3 class="fn" id="setSaturation"><a name="setSaturation"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setSaturation</span>(<span class="type">qreal</span> <i>value</i>)</h3> <p>Sets the saturation adjustment value to <i>value</i>.</p> <p>Valid saturation values range between -1.0 and 1.0, with a default of 0.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#saturation">saturation</a>().</p> <!-- @@@setSaturation --> <!-- $$$setSharpeningLevel[overload1]$$$setSharpeningLevelqreal --> <h3 class="fn" id="setSharpeningLevel"><a name="setSharpeningLevel"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setSharpeningLevel</span>(<span class="type">qreal</span> <i>level</i>)</h3> <p>Sets the sharpening adjustment <i>level</i>.</p> <p>Valid sharpening values range between -1.0 and 1.0, with a default of 0.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#sharpeningLevel">sharpeningLevel</a>().</p> <!-- @@@setSharpeningLevel --> <!-- $$$setWhiteBalanceMode[overload1]$$$setWhiteBalanceModeQCameraImageProcessing::WhiteBalanceMode --> <h3 class="fn" id="setWhiteBalanceMode"><a name="setWhiteBalanceMode"></a><span class="type">void</span> QCameraImageProcessing::<span class="name">setWhiteBalanceMode</span>(<span class="type"><a href="qcameraimageprocessing.html#WhiteBalanceMode-enum">QCameraImageProcessing::WhiteBalanceMode</a></span> <i>mode</i>)</h3> <p>Sets the white balance to <i>mode</i>.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#whiteBalanceMode">whiteBalanceMode</a>().</p> <!-- @@@setWhiteBalanceMode --> <!-- $$$sharpeningLevel[overload1]$$$sharpeningLevel --> <h3 class="fn" id="sharpeningLevel"><a name="sharpeningLevel"></a><span class="type">qreal</span> QCameraImageProcessing::<span class="name">sharpeningLevel</span>() const</h3> <p>Returns the sharpening adjustment level.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setSharpeningLevel">setSharpeningLevel</a>().</p> <!-- @@@sharpeningLevel --> <!-- $$$whiteBalanceMode[overload1]$$$whiteBalanceMode --> <h3 class="fn" id="whiteBalanceMode"><a name="whiteBalanceMode"></a><span class="type"><a href="qcameraimageprocessing.html#WhiteBalanceMode-enum">QCameraImageProcessing::WhiteBalanceMode</a></span> QCameraImageProcessing::<span class="name">whiteBalanceMode</span>() const</h3> <p>Returns the white balance mode being used.</p> <p><b>See also </b><a href="qcameraimageprocessing.html#setWhiteBalanceMode">setWhiteBalanceMode</a>().</p> <!-- @@@whiteBalanceMode --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>