conversion of image into 8 x 8 matrix

6 visualizzazioni (ultimi 30 giorni)
I have one image file.
Then how to convert image into 8 x 8 matrix and 16 x 16 matrix

Risposta accettata

KALYAN ACHARJYA
KALYAN ACHARJYA il 4 Feb 2019
Modificato: KALYAN ACHARJYA il 4 Feb 2019
Assuming you have gray scale image, say I, for 8x8
result_image=imresize(I,[8 8])
and for 4x4
result_image=imresize(I,[4 4])
If you are talking about sliding window, look here

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by