sliding window in image
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Athulya N
il 14 Ott 2019
Risposto: Shivam Prasad
il 17 Ott 2019
How can i use a 32x32 sliding window on an image and extract glcm feaures from that?
0 Commenti
Risposta accettata
Shivam Prasad
il 17 Ott 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:-
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!