sliding window in image

조회 수: 3 (최근 30일)
Athulya N
Athulya N 2019년 10월 14일
답변: Shivam Prasad 2019년 10월 17일
How can i use a 32x32 sliding window on an image and extract glcm feaures from that?

채택된 답변

Shivam Prasad
Shivam Prasad 2019년 10월 17일
Hi Athulya,
Check if this works for you:-
im=rgb2gray(imread('SM.jpg')); %some image
fun = @(block_struct) graycomatrix(block_struct.data);
im2=blockproc(im,[32 32],fun);
Links:-

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by