how to fix bwlabel error ?

14 views (last 30 days)
ElizabethR
ElizabethR on 2 Mar 2016
Edited: Anu Sebastian on 19 Apr 2021
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 Comments
ElizabethR
ElizabethR on 2 Mar 2016
Edited: ElizabethR on 4 Mar 2016
jos : my image is jpg type.
oohh yeah .. i am sorry for post the same question
Anu Sebastian
Anu Sebastian on 19 Apr 2021
Edited: Anu Sebastian on 19 Apr 2021
Error:expected input number 1, bw to be two-dimensional. Please help me to solve this

Sign in to comment.

Accepted Answer

Stalin Samuel
Stalin Samuel on 2 Mar 2016
The error message states that input image is three dimensional. use im2bw for Convert image to binary image

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!