[SciPy-User] line/edge detection and output of coordinates.
Fri Apr 16 11:27:04 CDT 2010
I like this idea. I'm more familiar with GDAL than with the scipy image processing tools. I think I'll try the suggestion of using a low pass filter to remove noise followed by contouring using the raster 2 vector tools in GDAL.
>>> Christopher Barker <Chris.Barker@noaa.gov> 4/16/2010 11:15 AM >>>
Dharhas Pothina wrote:
> So for the GIS/GDAL suggestion are you talking about exporting the
> lines once I've used another technique to highlight the edges? Or
> will the Raster 2 Vector functions also help with the edge detection.
In GIS, the a common problem is create contour lines from a digital
elevation model. In your case, you could think of the darkness of the
pixels as an "elevation", and thus contouring it would create a vector
outline of the dark pixels.
Another problem in GIS is taking a rater where each pixel value
represents some scalr quantity, like land cover type, and to turn that
into vector polygons -- that might actually be closer to what you need
One trick is that your data are noisy -- hopefully appropriate smoothing
will take care of that.
Now that I think about it, there are other contouring tools in python,
one in Matplotlib, for instance, that might work.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
SciPy-User mailing list
More information about the SciPy-User