Re: Following a ridgeline [message #60890 is a reply to message #60884] |
Tue, 17 June 2008 02:20   |
RJA
Messages: 2 Registered: May 2006
|
Junior Member |
|
|
On 16 Jun, 20:24, "mzagu...@gmail.com" <mzagu...@gmail.com> wrote:
> Hi,
>
> I've got a 2d map (let's say it's a contour map of a mountain). I
> need to be able to 'detect' and 'follow' the ridgeline across the
> whole mountain (which does about a 180 degree turn as well, it's U
> shaped). Anyone know any way to accomplish this?
>
> So far, i've attempted to start at the maximum point, and then look
> for surrounding points that minimizes the downward slope, this
> process, however, creates switchbacks at peaks and doesnt follow the
> peak down along a ridge. Any ideas?
>
> Thanks!
Have you tried to find the medial axis? The thin() function calculates
this for you.
Cheers, Richard.
|
|
|