Info
This question is closed. Reopen it to edit or answer.
What format should bwboundaries take?
1 view (last 30 days)
Show older comments
I have a big array of 80 by 80 0s and 1s. I am trying to feed this into bwboundaries but I am getting various errors, including 'Operands to the and && operators must be convertible to logical scalar values.' What do I need to do to solve this?
1 Comment
Image Analyst
on 11 Jul 2015
What you need to do to solve this is to upload your image so I can figure it out for you.
Answers (1)
Walter Roberson
on 11 Jul 2015
Your array does not contain only 0 and 1. Your array probably contains NaN or objects as well.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!