Info

この質問は閉じられています。 編集または回答するには再度開いてください。

What format should bwboundaries take?

1 回表示 (過去 30 日間)
DM
DM 2015 年 7 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Image Analyst
Image Analyst 2015 年 7 月 11 日
What you need to do to solve this is to upload your image so I can figure it out for you.

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 7 月 11 日
Your array does not contain only 0 and 1. Your array probably contains NaN or objects as well.
  2 件のコメント
DM
DM 2015 年 7 月 11 日
I've looked through my array and it does only contain 0s and 1s.
Walter Roberson
Walter Roberson 2015 年 7 月 11 日
We need to see your code.

Community Treasure Hunt

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

Start Hunting!

Translated by