Structure from motion in nD image analysis door