/usr/share/qt5/doc/qtmultimedia/qcameraimageprocessing.html is in qtmultimedia5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | <?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.9</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.9</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">Qt 5.9.5 Reference Documentation</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="#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><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a></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"> 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>(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>(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>(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>(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"> WhiteBalanceMode </td><td class="memItemRight bottomAlign"><b><a href="qcameraimageprocessing.html#whiteBalanceMode">whiteBalanceMode</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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">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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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]$$$isColorFilterSupportedColorFilter -->
<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">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]$$$isWhiteBalanceModeSupportedWhiteBalanceMode -->
<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">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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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]$$$setColorFilterColorFilter -->
<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">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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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]$$$setWhiteBalanceModeWhiteBalanceMode -->
<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">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"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></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">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> 2017 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>
|