Potential for automatic weed detection and selective herbicide application