I have an error related to imfilter in Sift code

1 回表示 (過去 30 日間)
Mary Al
Mary Al 2022 年 1 月 24 日
回答済み: Omega 2023 年 11 月 10 日
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?

回答 (1 件)

Omega
Omega 2023 年 11 月 10 日
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).

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by