<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Laurent,</p>
<p>This is possible in QGIS 3, as it has the local contrast (stretch and clip at updated current extent) as a styling option of a raster layer.</p>
<p>I know that this may not be the answer you want, but you can already install and use QGIS 3 in parallel with 2.18 - if you just use QGIS 3 to generate the atlas.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2017-10-12 22:07, image wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Good evening,<br /> <br /> I'm working with qgis 2.18(windows) and the usefull atlas tools. My covering<br /> layer is a polygon layer (20 features). My atlas template is composed by 4<br /> map elements representing different images raster (3 multibands).  I use the<br /> option proposed in the tab called "object property" to lock the layer and<br /> the style of the layer (lock layers / lock style for layers).For each<br /> raster, I want to be able to automatically apply and set the raster style<br /> and enhance the contrast "local histogram stretch".<br /> <br /> <br /> I join a screen shot reprensenting my atlas template. <br /> <br /> <<a href="http://osgeo-org.1560.x6.nabble.com/file/t365144/SS_atals_raster_style.jpg" target="_blank" rel="noopener noreferrer">http://osgeo-org.1560.x6.nabble.com/file/t365144/SS_atals_raster_style.jpg</a>> <br /> <br /> Could you throw light for me ? is there a way to automatically assign a<br /> contrast stretch ("local histogram stretch") for all my map elements and for<br /> my 20 atlas sheet? <br /> <br /> In advance, thank you for your help. <br /> <br /> Kind regards. <br /> <br /> <br /> <br /> --<br /> Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html" target="_blank" rel="noopener noreferrer">http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html</a><br /> _______________________________________________<br /> Qgis-user mailing list<br /> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>