ITK octree

Have you considered distance transform? Maurer filter is the fastest one in ITK proper.

1 Like