Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is an error about array index #3

Open
zzuli-zhu opened this issue Apr 17, 2023 · 0 comments
Open

there is an error about array index #3

zzuli-zhu opened this issue Apr 17, 2023 · 0 comments

Comments

@zzuli-zhu
Copy link

zzuli-zhu commented Apr 17, 2023

when the GT is completely black
i get this error:
The array index must be a positive integer or logical value.

error WFb (line 33)
Et(~GT)=Et(IDXT(~GT)); %To deal correctly with the edges of the foreground region

error main (line 59)
F_wm(i) = WFb(sal, logical(gt));

@zzuli-zhu zzuli-zhu changed the title I found a bug in your code and I modified it there is a error about array index Apr 17, 2023
@zzuli-zhu zzuli-zhu changed the title there is a error about array index there is an error about array index Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant