Skip to content

Input format #9

@nivha

Description

@nivha

Hi, great repo!
It would be helpful to add a few words about the format of the input to the flow_to_color.
The dostring ("flow_uv (np.ndarray): Flow UV image of shape [H,W,2]") only mentions the required shape, but what about the values?
I guess it's the relative shift (and not absolute position)? are the units in "pixels" or should I divide by H,W?
also, if clip_flow parameter is passed, the input flow is clipped between [0, clip_flow], which means negative values are not expected? which means the input should not be the relative shift, but then the output makes no sense.

It could have also helped,If the example numpy data ('./data/flow_example_data.npy') was available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions