Photogrammetry, basic principles and general survey