added depth threshold from paper and comparison is now based on depth rather than disp