conversion of image into 8 x 8 matrix

조회 수: 6 (최근 30일)
ARCHANA PATIL
ARCHANA PATIL 2019년 2월 4일
댓글: ARCHANA PATIL 2019년 2월 7일
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에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by