what is mean by window size in GLCM ?how to adjuste it in graycomatrix function?

5 views (last 30 days)
I used glcm to extract the statistical features from the gray scale images. it gave me information 256*256 scale..But I'm confused ,I have seen in same places a window size

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 30 Dec 2019
Edited: KALYAN ACHARJYA on 30 Dec 2019
Yes, suppose you extract the statistical feature suppose (mean) of an image having size 256*256, If yousliding the window pixel by pixel, then definitely you will get the feature matrix having the same size as its original image.
But if the sliding window is non-repeating case for all pixels, then the resultant statistical feature matrix will be original_size/window_size (considering padding or exact divisible)
Suppose original matrix is 30x30, and window size is 3x3, then resultant feature matrix will have size 10x10
Hope it helps to clear your doubt.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!