Robust visual correspondence: theory and applications