Continuous-based heuristics for graph and tree isomoprhisms, with applications to computer vision