Extracting distinctive regions using MSER