A methodology to assess the effects of biofilm roughness on substrate fluxes using image analysis, substrate profiling, and mathematical modelling.