Skip to content

Width normalizer in cost volume fusion #20

@zhouxf53

Description

@zhouxf53

width_normalizer = width / 2.0

I think it is supposed to be

width_normalizer = (width  - 1) / 2.0
height_normalizer = (height - 1) / 2.0

The reason of that is to map x from [0, width-1] to [-1, 1] to grid sampling instead of map [0, width] to [-1, 1]

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