Need help to run the Matlab code
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I am new to Matlab and I need to run the github repository code (https://github.com/singhdeepak-15/IMAGE_SEGMENT_ABC). But I am getting a lot of errors may be I am not running it correctly. Moreover, the output image is also not being displayed.
Can anyone help me in this regard?
Thank you
2 commentaires
John D'Errico
le 27 Avr 2024
How can we possibly help you in this? We don't see the errors you get. Your question is very vague. Yes, you get a lot of errors. But if you have no clue how to use MATLAB, or even install the package, then you could have made infinitely many errors. And Answers is not a place where we can give you hands on, real time tutoring.
So, first, spend some time and learn to use MATLAB! That will surely involve doing some of the basic tutorials. I'm sorry, but real people do real the manuals.
Next, if you still have problems, then contact the author, as the one person who knows the tool the very best and is most likely to be able to help you.
If you STILL have problems, ask a specific direct question about a specific part of the code on Answers. Show the lines in question.
DGM
le 27 Avr 2024
Modifié(e) : DGM
le 27 Avr 2024
I have no idea what you tried to do or what error you got, but you do need at least both Image Processing Toolbox and Wavelet Toolbox. I don't have Wavelet Toolbox, so I can't run this.
There aren't many useful comments in the code, though there are lots of commented-out dead code. Other than that, the only documentation appears to be the short, nondescriptive list of typical parameter values in the README. I haven't seen the paper it's based on, but maybe it would be helpful.
I guess what I'm saying is that it shouldn't seem surprising to find it confusing or buggy.
Réponse acceptée
Voss
le 27 Avr 2024
"No. of Bees" must be a positive even number. "Dim" mut be 1 or 2. "Iteration" must be a positive integer. "Run" must be a positive integer.
Within those constraints, ABC and ABC+GA both seem to run without error and produce a result, with the images I tested them on. There are probably other constraints; I didn't look at the code much. (And I didn't run Preprocess since I don't have Wavelet Toolbox.)
Hope that helps.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur AI for Signals and Images dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!