binary image to matrix of 10 by 5 matrix

2 Ansichten (letzte 30 Tage)
talha ali
talha ali am 16 Okt. 2019
Beantwortet: Image Analyst am 16 Okt. 2019
i want to convert binary image to 10 by 5 matrix of each matrix 8 pixels.what should I do???

Antworten (1)

Image Analyst
Image Analyst am 16 Okt. 2019
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]);

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by