필터 지우기
필터 지우기

Need help to run the Matlab code

조회 수: 1 (최근 30일)
Ahmad
Ahmad 2024년 4월 27일
댓글: Voss 2024년 4월 28일
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
John D'Errico
John D'Errico 2024년 4월 27일
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 2024년 4월 27일
편집: DGM 2024년 4월 27일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Voss
Voss 2024년 4월 27일
"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
Ahmad
Ahmad 2024년 4월 28일
@Voss thank you. It worked!
Voss
Voss 2024년 4월 28일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 AI for Signals and Images에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by