Filter löschen
Filter löschen

Need help to run the Matlab code

1 Ansicht (letzte 30 Tage)
Ahmad
Ahmad am 27 Apr. 2024
Kommentiert: Voss am 28 Apr. 2024
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 Kommentare
John D'Errico
John D'Errico am 27 Apr. 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
DGM am 27 Apr. 2024
Bearbeitet: DGM am 27 Apr. 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Voss
Voss am 27 Apr. 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 Kommentare
Ahmad
Ahmad am 28 Apr. 2024
@Voss thank you. It worked!
Voss
Voss am 28 Apr. 2024
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu AI for Signals and Images finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by