Canopy Analysis in Agriculture: Outdoor and Greenhouse Applications