Wrap sparse feature extraction and matching code in module to produce tracks across frames from consecutive input images