Binocular vision : foundations and applications