Itseez/opencv — pull request #1765 by ilya-lavrenov (2013-11-07 21:29:23+00:00)
Title: fixed cv::remap and cv::convertMaps for map types CV_16SC2 && CV_16UC1

when a matrix with type ```CV_16UC1``` contains indexes ```>= INTER_TAB_SIZE2``` we must take only ```INTER_BITS << 1``` bits from each of them, otherwise we get incorrect offsets in precomputed table with interpolation coefficients.