[gdal-dev] erosion/dilation in gdal ?

Balint Cristian cristian.balint at gmail.com
Tue Feb 3 05:22:53 EST 2009


----- Original Message ----- 
From: "Johan Nouvel" <gdal at archivideo.com>
To: <gdal-dev at lists.osgeo.org>
Sent: Tuesday, February 03, 2009 12:00 PM
Subject: [gdal-dev] erosion/dilation in gdal ?


> Hello all,
> 
> Is there a way to do erosion/dilatation on image in gdal ?
> 
> I've looked in alg.h, but I've seen no straight way to do such thing.
> 
> Any idea ?

   Best way should be using third party (e.g. GIMP can do even 
batch mode in CLI) or imagemagick, but first you want to
save spatial information with 'listgeo' than restore it back after
mangling the data as plain 'picture' with 'geotiffcp'.

http://svn.osgeo.org/metacrs/geotiff/trunk/libgeotiff/docs/listgeo.html

Its an idea.

/Cristian.

 


More information about the gdal-dev mailing list