mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
fixed nearest-neighbor remap with constant border, ticket #1681 (thanks to Vlad for the patch)
This commit is contained in:
parent
befa9b3109
commit
098fc1a62e
@ -2416,8 +2416,8 @@ void cv::remap( InputArray _src, OutputArray _dst,
|
||||
{
|
||||
static RemapNNFunc nn_tab[] =
|
||||
{
|
||||
remapNearest<uchar>, remapNearest<uchar>, remapNearest<ushort>, remapNearest<ushort>,
|
||||
remapNearest<int>, remapNearest<int>, remapNearest<double>, 0
|
||||
remapNearest<uchar>, remapNearest<schar>, remapNearest<ushort>, remapNearest<short>,
|
||||
remapNearest<int>, remapNearest<float>, remapNearest<double>, 0
|
||||
};
|
||||
|
||||
static RemapFunc linear_tab[] =
|
||||
|
Loading…
Reference in New Issue
Block a user