comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Constructing an exact Euclidean distance map
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Constructing an exact Euclidean distance map [message #83087] Mon, 04 February 2013 05:20
Rob Klooster is currently offline  Rob Klooster
Messages: 18
Registered: February 2013
Junior Member
Dear all,

I am looking for a way to get a (near) exact Euclidean distance map (EDM) of a binary image in a fast way. Using morph_distance is fast, but even the "approximate Euclidean distance" is not very close to the exact EDM. I have tried using the brute-force way of looping over all objects, looping over all pixels belonging to the edge of that object and calculating the distance of all pixels to that edge pixel, storing the value if it's smaller than the previous value. This is obviously quite slow. Any ideas to speed things up?

Best regards,
Rob Klooster.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Request for guidance/advice related to time series analysis and forecasting using MODIS imagery
Next Topic: Big array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:31:27 PDT 2025

Total time taken to generate the page: 0.00410 seconds