SSARCandy / panoramas-image-stitching

🖼 Stitching images into 360 panoramas
https://ssarcandy.tw/2017/05/26/panorama-image-stitching/
215 stars 53 forks source link

A way to visualize keypoints on the panorama #8

Closed Linardos closed 5 years ago

Linardos commented 5 years ago

For the purposes of a project I'm working on I would like to be able to use your code to produce a panorama, but also be able to map the keypoints from the original features to the panorama. Is there a way to keep this information in the results? So that essentially one would be able to visualize the original keypoints on the panorama?

SSARCandy commented 5 years ago

please reference to https://github.com/SSARCandy/panoramas-image-stitching/blob/master/src/Stitch_two_image.ipynb

may help

Linardos commented 5 years ago

It really did help! I ended up padding the original image with zeroes so that it matches the size of the panorama, then did feature matching between the padded image and the panorama, the result looks like this:

matched

I will soon try to apply this on more than 2 images. It is very likely that I will need to use SIFT instead of Harris corner though, would that radically change your implementation?

SSARCandy commented 5 years ago

Great, the figure looks good 👍 And no, switch from Harris to SIFT I think just need changing the feature detection part only,