Parskatt / DKM

[CVPR 2023] DKM: Dense Kernelized Feature Matching for Geometry Estimation
https://parskatt.github.io/DKM/
Other
385 stars 28 forks source link

Match Score #8

Closed atharvjairath closed 1 year ago

atharvjairath commented 1 year ago

Hey! First of all great work, I was wondering if we can get a match score of 2 images from this model?

Parskatt commented 1 year ago

Hi!

Sure, you could for example take the average of the dense confidence. This gives you an estimate of how much the images overlap.

atharvjairath commented 1 year ago
flow, confidence = dkm_model.match(im1, im2)
print(confidence.mean())

you mean something like above? if not please feel free to suggest. Thanks :)

Parskatt commented 1 year ago

@atharvjairath Yeah, that seems like a good first approach. You may want to adjust the confidence to suit your needs. For example thresholding or attenuation might be more suitable, but the raw confidence should also be quite ok.

atharvjairath commented 1 year ago

@Parskatt Cool thank you, will explore further.