A gain-control disparity energy model for perceived depth from disparity