sliding window in image

1 回表示 (過去 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 Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by