Tim Brown's code relating to automatic analysis of growth chamber images