What format should bwboundaries take?

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 comentario

Image Analyst
Image Analyst el 11 de Jul. de 2015
What you need to do to solve this is to upload your image so I can figure it out for you.

Respuestas (1)

Walter Roberson
Walter Roberson el 11 de Jul. de 2015

0 votos

Your array does not contain only 0 and 1. Your array probably contains NaN or objects as well.

2 comentarios

DM
DM el 11 de Jul. de 2015
I've looked through my array and it does only contain 0s and 1s.
Walter Roberson
Walter Roberson el 11 de Jul. de 2015
We need to see your code.

La pregunta está cerrada.

Preguntada:

DM
el 10 de Jul. de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by