masadcv / FastGeodis

Fast Implementation of Generalised Geodesic Distance Transform for CPU (OpenMP) and GPU (CUDA)
https://fastgeodis.readthedocs.io
BSD 3-Clause "New" or "Revised" License
90 stars 14 forks source link

[BUG] Generalised distance not possible with wave-front methods #47

Closed masadcv closed 1 year ago

masadcv commented 1 year ago

Describe the bug As reported here: https://github.com/masadcv/FastGeodis/issues/42#issuecomment-1495913922 generalised implementation of distance transforms is not possible with wave-front methods (fast march/pixel queue)

There is a need to modify relevant functions to just distance transform (removing generalised)

For pixel queue method, this also means removing the use of soft mask and parameter v and initial distance to a large values.

masadcv commented 1 year ago

Addressed in #45