i have abinary image and i want to process using bwlabel. but i get an error : Error using bwlabel Expected input number 1, BW, to be two-dimensional. how to fix the error ? please help

4 comentarios

Jos (10584)
Jos (10584) el 2 de Mzo. de 2016
you need to convert your image to a 2D image. What is the class and size of your image now?
Image Analyst
Image Analyst el 2 de Mzo. de 2016
eliz, you already posted this same question here. Did you forget to go back and look at the two answers there?
ElizabethR
ElizabethR el 2 de Mzo. de 2016
Editada: ElizabethR el 4 de Mzo. de 2016
jos : my image is jpg type.
oohh yeah .. i am sorry for post the same question
Anu Sebastian
Anu Sebastian el 19 de Abr. de 2021
Editada: Anu Sebastian el 19 de Abr. de 2021
Error:expected input number 1, bw to be two-dimensional. Please help me to solve this

Iniciar sesión para comentar.

 Respuesta aceptada

Stalin Samuel
Stalin Samuel el 2 de Mzo. de 2016

2 votos

The error message states that input image is three dimensional. use im2bw for Convert image to binary image

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 2 de Mzo. de 2016

Editada:

el 19 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by