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 CenterFile 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