Added clustering to associate user annotations with specific figures in images.