images to features and dots