Weed and crop discrimination using image analysis and artificial intelligence methods