adapted the code to get the max over disparity values during extraction, instead of feature saving