fastremap (pypi): Remap, mask, renumber, unique, and in-place transposition of 3D labeled images. Point cloud too.
Keywords: array-manipulations|biomedical-image-processing|cython|in-place|in-place-transposition|looping|masking|numpy|point-cloud|python|python3|remap|remapping|renumbering|transpose|unique