ncnet icon indicating copy to clipboard operation
ncnet copied to clipboard

Question regarding warping

Open AziziShekoofeh opened this issue 5 years ago • 1 comments

Hi,

Thanks for providing this code. I have a question regarding calculation of warping. Is it any straight way to use matched points which are the outcome of c2m() to calculate some Homography matrix or warping/alignment between two images or patches?

I can see that in the demo code, you are using bilinearInterpPointTnf() to calculate the warped point, however, my super trivial question is that, how to expand this to the whole image transformation?

I also looked at your other paper, End-to-end weakly-supervised semantic alignment, which seems don't use consensus neighboring idea but addressing the issue of geometrical transformation between two images.

It would be great if you can point me to the right place to find a clue. Many thanks. -Shek

AziziShekoofeh avatar Dec 28 '18 02:12 AziziShekoofeh

Hi, this model is only intended to provide a set of matches. If you want to fit a geometric model such as a homography you can use a method such as RANSAC.

In the previous paper that you mention, a geometric transformation is estimated directly, but in this paper it is not the case.

ignacio-rocco avatar Jan 27 '19 23:01 ignacio-rocco