Neighboring gray-level dependence matrix (NGLDM) in MATLAB
I would like to calculate a couple of texture features (namely: small/ large number emphasis, number non-uniformity, second moment and entropy). Those can be computed from Neighboring gray-level dependence matrix. I'm struggling with understanding/implementation of this. There is very little info on this method (publicly available). According to this paper : This matrix takes the form of a two-dimensional array Q , where Q(i,j) can be considered as frequency counts of grayness variation of a processed image. It has a similar meaning as histogram of an image. This array is N g ×N r where N g is