Image as function input
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Highscore
am 15 Jan. 2020
Beantwortet: Image Analyst
am 15 Jan. 2020
Hello
I have the SIFT_feature script from https://nl.mathworks.com/matlabcentral/fileexchange/50319-sift-feature-extreaction , but there is an image defined in the function itself.
In my script I'd like to use the SIFT_feature on defined images as shown below:

so in other words, I'd like to use the function SIFT_feature on my defined image E. This however, does not work since the function looks liks this:

Since I'm not that familiar with coding nor matlab, is there a way I can use an image defined in my script as input for the function? I experimented a bit with the SIFT_feature(img,origin) of the function but none of it seems to work.
Thanks in advance
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 15 Jan. 2020
Get rid of the "clear" in that function, after the tic statement.
That clear is deleting whatever you passed in for img and origin via the input argument list.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Computer Vision Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!