An improved photographic method to estimate the shading effect of obstructions