Advances in image pre-processing to improve automated 3D reconstruction