Green's Functions of Matching Equations: A Unifying Approach for Low-level Vision Problems