A hybrid particle swarm and evolutionary optimization algorithm uses multilevel thresholding to isolate green maize seedlings from complex field backgrounds with high fidelity.