Finding distance between objects in images using SIFT
main.m - the entry point of the program
sift.m - script that involkes SIFT program based on various OS
SIFTmatch.m - match SIFT descriptors according to the distance in Euclidean space
showkeys.m - display SIFT descriptors
getPosition.m - find the estimated position (x,y) for an object on a scene
objectScenesDistance - find the distance between the same object in two scenes
objectsDistance - find the distance between two objects in the same image
dist = objectsDistance('images/book1.jpg', 'images/book2.jpg', 'images/scene1.jpg');
📏 Result: approximately 592px.
dist = objectScenesDistance('images/book1.jpg','images/scene1.jpg','images/scene2.jpg');
📏 Result: approximately 471px.
Clone the repository using the following command
git clone https://github.com/cristiansimioni/SIFTObjectDist.git
❗ License: This software is being made available for research purposes only. It is necessary to obtain a license from the University of British Columbia for commercial applications. See the file LICENSE in this repository for conditions of use. You can find more information here.
📃 If you're interested on this application, you can read the full paper here (in Brazilian Portuguese 🇧🇷)