sliding window in image

1 Ansicht (letzte 30 Tage)
Athulya N
Athulya N am 14 Okt. 2019
Beantwortet: Shivam Prasad am 17 Okt. 2019
How can i use a 32x32 sliding window on an image and extract glcm feaures from that?

Akzeptierte Antwort

Shivam Prasad
Shivam Prasad am 17 Okt. 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:-

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by