add calculation of height and wilting with top at bottom at 5% and 95% of green pixels