1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00

Uninitialized memory access fix

This commit is contained in:
sbokov
2015-09-06 15:24:12 +03:00
parent 6a0545e6fe
commit 4ed940cc9f

View File

@@ -152,7 +152,7 @@ Mat OpticalFlowDeepFlow::warpImage( const Mat input, const Mat flow )
pMapY[i] = j + pFlow[2 * i + 1];
}
}
remap(input, output, mapX, mapY, interpolationType, BORDER_TRANSPARENT);
remap(input, output, mapX, mapY, interpolationType);
return output;
}
void OpticalFlowDeepFlow::calc( InputArray _I0, InputArray _I1, InputOutputArray _flow )