提交 34a3adec 编写于 作者: D duanhaodong

revise

上级 79f2fb63
......@@ -13,7 +13,8 @@ def flow_to_img(raw_flow, bound=20.):
bound (float): Bound for the flow-to-image normalization. Default: 20.
Returns:
Flow (np.ndarray[uint8]): Normalized flow.
Flow (np.ndarray[uint8]): The result list of np.ndarray[uint8], with
shape (w, h).
"""
flow = np.clip(raw_flow, -bound, bound)
flow += bound
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册