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 件のコメント

Jos (10584)
Jos (10584) 2016 年 3 月 2 日
you need to convert your image to a 2D image. What is the class and size of your image now?
Image Analyst
Image Analyst 2016 年 3 月 2 日
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
Anu Sebastian
Anu Sebastian 2021 年 4 月 19 日
編集済み: Anu Sebastian 2021 年 4 月 19 日
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

1 件のコメント

ElizabethR
ElizabethR 2016 年 3 月 2 日
yeah, thank you so much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeBig Data Processing についてさらに検索

質問済み:

2016 年 3 月 2 日

編集済み:

2021 年 4 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by