darsia.make_consecutive#

make_consecutive(labels)[source]#

Ensure that labels in the image are consecutive integers starting from 0.