Hardware-efficient bilateral filtering for stereo matching.