label images for pattern recongnization