Parallel implementation of quasi-linear topological watershed algorithm.