2D Object Recognition by Multiscale Tree Matching