binary image to matrix of 10 by 5 matrix

2 ビュー (過去 30 日間)
talha ali
talha ali 2019 年 10 月 16 日
回答済み: Image Analyst 2019 年 10 月 16 日
i want to convert binary image to 10 by 5 matrix of each matrix 8 pixels.what should I do???

回答 (1 件)

Image Analyst
Image Analyst 2019 年 10 月 16 日
Not sure what this means - what does 8 pixels have to do with anything. To convert your binary image to a size of 10 by 5, use imresize():
binaryImage = imresize(binaryImage, [10, 5]);

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by