Density correction of photographic material for further image processing in electron microscopy