Study of Image Matching using Persistence Diagrams