sliding window in image

1 vue (au cours des 30 derniers jours)
Athulya N
Athulya N le 14 Oct 2019
How can i use a 32x32 sliding window on an image and extract glcm feaures from that?

Réponse acceptée

Shivam Prasad
Shivam Prasad le 17 Oct 2019
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:-

Plus de réponses (0)

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by