Distance sets for shape filters and shape recognition | Synapse