Attempt to merge images by shapes and colors.