conversion of image into 8 x 8 matrix

5 次查看(过去 30 天)
I have one image file.
Then how to convert image into 8 x 8 matrix and 16 x 16 matrix

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-2-4
编辑:KALYAN ACHARJYA 2019-2-4
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

更多回答(0 个)

类别

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