Roughness measurement of leaf surface based on shape from focus