zju3dv / pats

Code for "PATS: Patch Area Transportation with Subdivision for Local Feature Matching", CVPR 2023
Other
90 stars 7 forks source link

Q about resize #7

Closed TwiceMao closed 6 months ago

TwiceMao commented 6 months ago

How can I get matching coordinates in the dimensions of the original image? I mean not resized.

TwiceMao commented 6 months ago

Or is it possible that when the height and width of the image meet certain conditions, the height and width of the image will remain unchanged after the image goes through the Resize_img operation in your code.

TwiceMao commented 6 months ago

Or, is it okay if I don’t do the resize in your code during data preprocessing? If not, what will happen?

xuanlanxingkongxia commented 6 months ago

Thank for your question. Our method need the input data to meet these criterions:

  1. the resolution of query image and target image should be the same
  2. the resolution of images should be an integer multiple of 32 these criterions could be satisfiled by padding 0