[gdal-dev] Closing disconnected contours
Chaitanya kumar CH
chaitanya.ch at gmail.com
Mon Feb 25 23:32:51 PST 2013
gdal_fillnodata is intended for raster images, like a DEM. Your image is a
The image you provided is not suitable for unsupervised processing,
especially with GDAL.
On Tue, Feb 26, 2013 at 12:53 PM, zeta <otrov at hush.ai> wrote:
> Chaitanya kumar CH wrote:
> >Are the lines in topo.tif contour lines? How did you generate them?
> Hi Chaitanya,
> I segmented scanned image, and then did thinning on separation that
> interested me - that is topo contours. Here is link to a part of scanned
> image that I used as example: http://i.imgur.com/Wyv147m.png
> I thought also that maybe gdal_fillnodata.py doesn't like thinning (1px
> contours) and I did dilation on same image to get topo contours with 3px
> width, but result was worse.
> Did I expected too much, or maybe my image wasn't prepared corectly for
> gdal algorithm used in gdal_fillnodata.py?
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev