mmcv.video.flow_warp¶
- mmcv.video.flow_warp(img: numpy.ndarray, flow: numpy.ndarray, filling_value: int = 0, interpolate_mode: str = 'nearest') → numpy.ndarray[source]¶
Use flow to warp img.
- Parameters
- Returns
Warped image with the same shape of img
- Return type
ndarray