Extracts individual dts rapidly from a dense multi-label distance transform.
for label, dt in edt.each(labels, dts, in_place=False):
pass
This concept is based on the version in cc3d, but is not an exact duplicate because edt requires transferring the dt based on a label volume (i.e. it needs two inputs instead of one).
Extracts individual dts rapidly from a dense multi-label distance transform.
This concept is based on the version in cc3d, but is not an exact duplicate because edt requires transferring the dt based on a label volume (i.e. it needs two inputs instead of one).