I have an error related to imfilter in Sift code

1 view (last 30 days)
Mary Al
Mary Al on 24 Jan 2022
Answered: Omega on 10 Nov 2023
Hello I'm trying to run the SIFT Flow code that you can find here:
I have managed to compile the code and compute two sift features which have 128 number of channels. The code then passes two sifts to imfilter function which returns an error as the numer of channels of the input exceeds the number of channels of an image. Is there something I do wrong? or maybe the implementation of imfilter is changed over time?

Answers (1)

Omega
Omega on 10 Nov 2023
Hi Mary,
I understand that you are facing issues running the SIFT Flow code. I tried to reproduce the error at my end but the code seemed to work fine in R2023b.
I recommend you to download the code again using this link. Once downloaded, run the demo.m file. If you still face issues you can try updating your MATLAB to the latest version (i.e. R2023b).

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!