A General Correspondence Approach to Apparent Motion