Extraction of digital elevation model using stereo matching with slope-adaptive patch transformation