A solution for exterior and relative orientation in photogrammetry, a genetic evolution approach