Measuring local bagasse deformation with a customised image measurement technique.