bluedream1121 / REKD

[CVPR 2022] Official PyTorch implementation of "Official Self-Supervised Equivariant Learning for Oriented Keypoint Detection"
MIT License
60 stars 6 forks source link

eval image pyramid resize axis not aligned? #6

Closed Wangweiyao closed 2 years ago

Wangweiyao commented 2 years ago

Hi, I find in the eval script, the image is resized not in the right shape because the axis is not aligned with skimage convention. Could be from a version control problem I guess.

https://github.com/bluedream1121/REKD/blob/main/evaluation/extract_hpatches.py#L92

bluedream1121 commented 2 years ago

You mean the size of pyramid images is not aligned? The output resolution of image pyramid is compensated by multiplying scale factor after obtaining keypoints.

The pyramid_gaussian function of scikit-image is an anti-aliased version of image upsamplimg/downsampling.