<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AGraphics_Lab%2FResources%2FOptimizing_shaded_relief_using_GIMP_%28old%29</id>
	<title>MyWiki:Graphics Lab/Resources/Optimizing shaded relief using GIMP (old) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AGraphics_Lab%2FResources%2FOptimizing_shaded_relief_using_GIMP_%28old%29"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:Graphics_Lab/Resources/Optimizing_shaded_relief_using_GIMP_(old)&amp;action=history"/>
	<updated>2026-04-30T13:21:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:Graphics_Lab/Resources/Optimizing_shaded_relief_using_GIMP_(old)&amp;diff=237725&amp;oldid=prev</id>
		<title>imported&gt;Legobot: Bot: Fixing lint errors, replacing obsolete HTML tags: &lt;tt&gt; (9x);</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:Graphics_Lab/Resources/Optimizing_shaded_relief_using_GIMP_(old)&amp;diff=237725&amp;oldid=prev"/>
		<updated>2025-11-24T12:44:38Z</updated>

		<summary type="html">&lt;p&gt;Bot: &lt;a href=&quot;/index.php/User:Legobot/Lint_fixes&quot; title=&quot;User:Legobot/Lint fixes&quot;&gt;Fixing lint errors&lt;/a&gt;, replacing &lt;a href=&quot;https://www.mediawiki.org/wiki/Help:Lint_errors/obsolete-tag&quot; class=&quot;extiw&quot; title=&quot;mw:Help:Lint errors/obsolete-tag&quot;&gt;obsolete HTML tags&lt;/a&gt;: &amp;lt;tt&amp;gt; (9x);&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{see also|Wikipedia:Graphic Lab/Resources/Creating shaded relief (GRASS, 3DEM)}}&lt;br /&gt;
This tutorial&amp;#039;s aim is to &amp;#039;&amp;#039;&amp;#039;optimize relief shadows&amp;#039;&amp;#039;&amp;#039; [[Wikipedia:Graphic Lab/Resources/Creating shaded relief (GRASS, 3DEM)|of previously created shaded reliefs]] using [[digital elevation model]] (DEM) files and the programs [http://www.visualizationsoftware.com/3dem.html 3DEM] or [[GRASS GIS]].&lt;br /&gt;
&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_01.jpg|right|350px|Comparison between an original and a composite relief]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Composite:&amp;#039;&amp;#039;&amp;#039; In many cases, a single illumination source is inadequate for showing the main forms of a [[relief]], particularly if the relief features are oriented North-West - South-East in the axis of the main light source.  In order to improve the result, it is possible to displace the virtual Sun across the map and create three views which will be assembled together to produce a composite shadow image of the map in question.&lt;br /&gt;
&amp;lt;br clear=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_02.jpg|right|350px|Comparison between a composite relief and a composite relief optimised for a small scale map]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bumping:&amp;#039;&amp;#039;&amp;#039; This page proposes a second optimization which could be applied to general maps covering a country.  Where, on a large scale map such as those resulting from the files of the [[Shuttle Radar Topography Mission]] (SRTM) at their native resolution, each detail of the relief is clearly visible and useful. In the other hand, more general map don&amp;#039;t need the level of precision of the SRTM, but raher the principal forms which are of more interest.&lt;br /&gt;
&lt;br /&gt;
== The tools ==&lt;br /&gt;
* Your shaded relief file(s): sunlight from 315⁰ (NW), 275⁰, 355⁰.&lt;br /&gt;
* [[GIMP]] (version used: 2.2.13): [[bitmap]] editor which allows optimization of relief shadows&lt;br /&gt;
&lt;br /&gt;
== Reinforcing density and Composite == &lt;br /&gt;
&amp;#039;&amp;#039;&amp;lt;u&amp;gt;Translator&amp;#039;s note:&amp;lt;/u&amp;gt; All illustrations from this point onwards are screenshots from the original author&amp;#039;s French language version of GIMP&amp;#039;&amp;#039;&lt;br /&gt;
===Reinforce===&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_08.jpg|right|200px|Apply a &amp;quot;&amp;#039;&amp;#039;Multiply&amp;#039;&amp;#039;&amp;quot; fusion to a duplicated layer]]&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;1.&amp;#039;&amp;#039;&amp;#039; Open the &amp;lt;code&amp;gt;Shadows_315.png&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;.bmp&amp;lt;/code&amp;gt;) image in [[GIMP]].  Create a duplicate layer and select &amp;lt;&amp;#039;&amp;#039;Multiply&amp;#039;&amp;#039;&amp;gt; mode to reinforce the density of the shadows resulting from this main illumination.&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
===Composite===&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_09.jpg|right|200px|Apply a &amp;quot;&amp;#039;&amp;#039;Multiply&amp;#039;&amp;#039;&amp;quot; fusion to the &amp;lt;Shadows_275&amp;gt; layer]]&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;2.&amp;#039;&amp;#039;&amp;#039; Open as a layer (&amp;lt;code&amp;gt;CTRL&amp;amp;nbsp;+&amp;amp;nbsp;ALT&amp;amp;nbsp;+&amp;amp;nbsp;O&amp;lt;/code&amp;gt;) the image &amp;lt;code&amp;gt;Shadows_275&amp;lt;/code&amp;gt;, change its fusion mode to &amp;lt;&amp;#039;&amp;#039;Multiply&amp;#039;&amp;#039;&amp;gt; in the drop down &amp;#039;&amp;#039;Mode&amp;#039;&amp;#039; menu in the &amp;#039;&amp;#039;Layers, Channels, Paths&amp;#039;&amp;#039; window, and add a black mask (&amp;#039;&amp;#039;Layers &amp;gt; Mask &amp;gt; Add a layer mask&amp;#039;&amp;#039;).&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;3.&amp;#039;&amp;#039;&amp;#039; Zoom to 200% (&amp;#039;&amp;#039;View &amp;gt; Zoom &amp;gt; 200%&amp;#039;&amp;#039;).  Select the fuzzy circle &amp;#039;&amp;#039;Paintbrush&amp;#039;&amp;#039; tool, with a scale of around 7 pixels and, on the mask layer, paint in white along the lines of the shadows of the main relief forms which are oriented North-South, in order to heighten the contrast of these lines.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; width=400 align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_10.jpg|center|200px|]]&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_10b.jpg|center|200px|]]&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Heighten the contrast of the North-South lines of relief&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Appearance of the mask layer for &amp;lt;Shadows_275&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_11.jpg|right|200px|Repeat the same operation with the layer &amp;quot;&amp;#039;&amp;#039;Shadows_355&amp;#039;&amp;#039;&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;4.&amp;#039;&amp;#039;&amp;#039; Repeat points 2 and 3 for the image &amp;lt;code&amp;gt;Shadows_355&amp;lt;/code&amp;gt; in order to increase the contrast of the East-West lines.  Take care not to reinforce the shadows on two flanks of the same mountain.&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;5.&amp;#039;&amp;#039;&amp;#039; Save the image in &amp;lt;code&amp;gt;.xcf&amp;lt;/code&amp;gt; format to preserve the layers in case it is necessary to modify them later.  Export the image as a &amp;lt;code&amp;gt;.png&amp;lt;/code&amp;gt; format file in order to be able to use it as a layer above your map.  You may need to increase the contrast by using the &amp;#039;&amp;#039;Curves&amp;#039;&amp;#039; tool (&amp;lt;code&amp;gt;CTRL&amp;amp;nbsp;+&amp;amp;nbsp;M&amp;lt;/code&amp;gt;) - do not use the &amp;#039;&amp;#039;Luminosity-Contrast&amp;#039;&amp;#039; tool as this does not allow for a precise control of the operation.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;lt;u&amp;gt;Note: &amp;lt;/u&amp;gt;&amp;#039;&amp;#039;A simpler and more rapid solution is to add the layers with a &amp;#039;&amp;#039;Multiply&amp;#039;&amp;#039; fusion without adding a black mask, but this method is not very effective at optimizing the relief forms.&lt;br /&gt;
&lt;br /&gt;
== Bumping: Reduction of the level of detail ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; This optimization applies to small scale maps covering a large terrestrial and mountainous zone for which the excess of details obscures the reading of the general relief forms.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Tutorial_optimization_shaded_relief_map_12.jpg|right|200px|Reduction of the size of the image]]&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;1.&amp;#039;&amp;#039;&amp;#039; In GIMP, open the &amp;lt;code&amp;gt;png&amp;lt;/code&amp;gt; shaded relief image previously created.  Note its dimensions in pixels.  Go to &amp;#039;&amp;#039;Image&amp;#039;&amp;#039; -&amp;gt;&amp;#039;&amp;#039;Scale and size of the image...&amp;#039;&amp;#039;  Specify a new size in &amp;lt;&amp;#039;&amp;#039;percent&amp;#039;&amp;#039;&amp;gt; and indicate a value of 20%.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;2.&amp;#039;&amp;#039;&amp;#039; Resize the image again, this time with a value of &amp;lt;&amp;#039;&amp;#039;500%&amp;#039;&amp;#039;&amp;gt;, and check that the dimension indicated in pixels does correspond to the size of the original image.  These operations have the effect of diminishing the details and to make the smallest valleys less visible.  Save the image under a different name to the image source.  Close the document.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; width=400 align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_13a.jpg|center|200px|]]&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_13b.jpg|center|200px|]]&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Resizing to the original size&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Appearance of the map after the operation&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;3.&amp;#039;&amp;#039;&amp;#039; Open the original image of the shaded relief.  Open as a layer (CTRL + ALT + O) the modified map which has just been created in point 2 and give it a transparence of around 50%, the aim being to obtain an image of the shadows which does not appear blurred but in which the smallest details will be hardly visible on the final map in order to optimize the general llines of the relief.  Increase the contrast if necessary by using the &amp;#039;&amp;#039;Curves&amp;#039;&amp;#039; tool (CTRL + M).&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; width=400 align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_14.jpg|center|200px|]]&lt;br /&gt;
|[[Image:Tutorial_optimization_shaded_relief_map_02.jpg|center|200px|]]&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Fusion of the two layers&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Comparison of the original map / optimized map&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br clear=all /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
;Bumping (reducing relief detail)&lt;br /&gt;
* [http://www.shadedrelief.com/bumping/bumping.html Shadedrelief.com]: Tutorial giving further details of this technique.&lt;br /&gt;
;Relief practices&lt;br /&gt;
* [http://www.reliefshading.com/design/lightdirection.html Reliefshading.com]: A site presenting the rules for graphics in cartography and which deals with the question of relief shadows.&lt;br /&gt;
* [http://www.pdcarto.com/mtncarto02/GRASS.htm GRASS GIS: A Useful Tool for the Mountain Cartographer] includes a grass script which allows one to generate a shaded relief of a lat-long DEM while taking into account the horizontal (E-W) stretching which normally makes lat-long reliefs unusable. What this does is allow the relief image for this tutorial to be produced in a single step rather then 3.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
{{translated page|fr|Wikipédia:Atelier graphique/Didacticiels cartographiques/Didacticiel d&amp;#039;optimisation des ombres du relief|version=http://fr.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:Atelier_graphique/Didacticiels_cartographiques/Didacticiel_d%27optimisation_des_ombres_du_relief&amp;amp;oldid=30156896|date=Optimizing relief}}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
{{Digital cartography tutorials}}&lt;br /&gt;
&lt;br /&gt;
[[fr:Wikipédia:Atelier graphique/Didacticiels cartographiques/Optimiser un relief ombré avec GIMP]]&lt;br /&gt;
[[Category:Wikipedia Graphics Lab|Relief]]&lt;br /&gt;
[[Category:Wikipedia maps]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Legobot</name></author>
	</entry>
</feed>