Skip to content

Possibly typo. #14

Description

@kyuhyoung

Thanks for the great codes.
I am not sure but the following might be typo.
0 is for x
1 is for y.
x is for W
y is for H.
So the H of the 1st line and W of the 2nd line should be swapped in this normalization ?

kptsA_np[:, 0] = kptsA_np[:, 0] / H * 2.0 - 1.0

kptsA_np[:, 0] = kptsA_np[:, 0] / H * 2.0 - 1.0
kptsA_np[:, 1] = kptsA_np[:, 1] / W * 2.0 - 1.0
kptsB_np[:, 0] = kptsB_np[:, 0] / W_B * 2.0 - 1.0
kptsB_np[:, 1] = kptsB_np[:, 1] / H_B * 2.0 - 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions