Map Edit Distance vs Graph Edit Distance for Matching Images