A fast parallel algorithm for thinning digital patterns | Synapse