<p dir="ltr">I perform similar tasks. While there are probably some internal methods inside python, I make calls to ImageMagick to perform the image manipulation. I first write a baseline tiff with the tfw with gdal_translate then preform convert commands to do the image processing then gdal_translate again to turn the baseline tiff and tfw back into a geotiff. </p>

<div class="gmail_quote">On Feb 16, 2014 5:36 AM, "Jukka Rahkonen" <<a href="mailto:jukka.rahkonen@mmmtike.fi">jukka.rahkonen@mmmtike.fi</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was thinking that a possibility to run images through filters with GDAL<br>
could be nice sometimes. Especially for visual work with aerial and<br>
satellite images filters like "sharpen" of "unsharp mask"<br>
<a href="http://en.wikipedia.org/wiki/Unsharp_masking" target="_blank">http://en.wikipedia.org/wiki/Unsharp_masking</a> are often very useful. But then<br>
I found that kernel filters can already be used inside VRT files. Are there<br>
usage examples with before-after comparison images somewhere in our<br>
documentation?<br>
<br>
I also found that there are some python scripts included in<br>
\gdal\bin\gdal\python\scripts at least in the gisinternals GDAL builds but<br>
some scripts are not listed in <a href="http://gdal.org/gdal_utilities.html" target="_blank">http://gdal.org/gdal_utilities.html</a>.  Is<br>
there some other place where to find documentation about these scripts, for<br>
example gdal_calc.py ? Some other than the sources, I mean.<br>
<br>
-Jukka Rahkonen-<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>