how to fix bwlabel error ?

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 个评论

you need to convert your image to a 2D image. What is the class and size of your image now?
eliz, you already posted this same question here. Did you forget to go back and look at the two answers there?
ElizabethR
ElizabethR 2016-3-2
编辑:ElizabethR 2016-3-4
jos : my image is jpg type.
oohh yeah .. i am sorry for post the same question
Error:expected input number 1, bw to be two-dimensional. Please help me to solve this

请先登录,再进行评论。

 采纳的回答

Stalin Samuel
Stalin Samuel 2016-3-2

2 个投票

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by