how to convert from image to binary matrix ?

how i can used a photo from phone to convert it to a binary matrix

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 4 月 28 日

0 投票

imread() the image, im2bw()
To get the image from the phone, you can install the ipcam support package and install an ipcam application on your phone; see http://www.mathworks.com/matlabcentral/answers/12036-how-do-i-use-my-smart-phone-camera-as-a-webcam-in-matlab

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

質問済み:

2016 年 4 月 28 日

回答済み:

2016 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by