seung-lab / euclidean-distance-transform-3d

Euclidean distance & signed distance transform for multi-label 3D anisotropic images using marching parabolas.
GNU General Public License v3.0
234 stars 37 forks source link

wip: allowing order flip improves single core performance #25

Closed william-silversmith closed 3 years ago

william-silversmith commented 4 years ago

On a 3D volume with equal x,y,z dimensions, we can do a rapid in place transposition to make the z pass much faster. However, if we flip it back, it erases the improvement.

There might be some use cases where this is acceptable.