A method for quantitative analysis of spatially variable physiological processes across leaf surfaces