mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 04:25:42 +08:00
Uninitialized memory access fix
This commit is contained in:
@@ -152,7 +152,7 @@ Mat OpticalFlowDeepFlow::warpImage( const Mat input, const Mat flow )
|
|||||||
pMapY[i] = j + pFlow[2 * i + 1];
|
pMapY[i] = j + pFlow[2 * i + 1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
remap(input, output, mapX, mapY, interpolationType, BORDER_TRANSPARENT);
|
remap(input, output, mapX, mapY, interpolationType);
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
void OpticalFlowDeepFlow::calc( InputArray _I0, InputArray _I1, InputOutputArray _flow )
|
void OpticalFlowDeepFlow::calc( InputArray _I0, InputArray _I1, InputOutputArray _flow )
|
||||||
|
Reference in New Issue
Block a user