That is a very challenging problem. When you skeletonize the image you are potentially throwing away information that might be helpful. If you have to work with the skeletonized images, I would extract features of interest and then try to match on them. For example, you could identify all intersections of the veins to get a set of points. You could then do a best fit between the points in two different images to provide a metric of how similar they are.