<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Jan,<br>
<br>
I use:<br>
listgeo mygeotiff.tif > mygeotiff.gtt<br>
geotifcp -g mygeotiff.gtt nogeotags.tif mynewgeotiff.tif<br>
<br>
<br>
FYI, I've been experimenting with GDAL's vrt format to sharpen my
tiffs:<br>
<br>
<VRTDataset rasterXSize="2890" rasterYSize="3451"><br>
:<br>
:<br>
<VRTRasterBand dataType="Byte" band="1"><br>
<Metadata /><br>
<ColorInterp>Red</ColorInterp><br>
<KernelFilteredSource><br>
<SourceFilename
relativeToVRT="1">NRT_123.tif</SourceFilename><br>
<SourceBand>1</SourceBand><br>
<SourceProperties RasterXSize="2890" RasterYSize="3451"
DataType="Byte" BlockXSize="2890" BlockYSize="1" /><br>
<SrcRect xOff="0" yOff="0" xSize="2890" ySize="3451" /><br>
<DstRect xOff="0" yOff="0" xSize="2890" ySize="3451" /><br>
<Kernel><br>
<Size>3</Size><br>
<Coefs>-0.111 -0.111 -0.111 -0.111 2 -0.111 -0.111
-0.111 -0.111</Coefs><br>
</Kernel><br>
</KernelFilteredSource><br>
</VRTRasterBand><br>
:<br>
:<br>
</VRTDataset><br>
<br>
My kernel tends to brighten the image a little (note the "2" in the
kernel) as well as sharpen. To try it on your file, create a VRT
file with gdal_translate -of VRT, then use a text editor to change
the SimpleSource tags to KernelFilteredSource and add the Kernel.
You can then create a sharpened tif by using the VRT as input to
gdal_translate, os simply open the VRT in Quantum GIS to view the
results.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 9/5/2011 8:46 AM, Jan Hartmann wrote:
<blockquote cite="mid:4E64E0CC.1070000@uva.nl" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Times New Roman, Times, serif">Hi all,<br>
<br>
Is there a quick way to add back georeferencing information to a
geotif file that has been processed by Imagemagick? I have lots
of georeferenced images that I want to sharpen up a bit, but
ImageMagick throws the georeference headers away. Is there a way
to transport them from the original file to the derived one?<br>
<br>
Jan <br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
</body>
</html>