Skip to content

tzm030329/GLCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLCM

Fast Gray-Level Co-Occurrence Matrix (GLCM) by numpy. This script calculates GLCM without per pixel For loop, and works faster than GLCM on scikit-image.

img

Usage

Clone or download fast_glcm.py. Use scripts as follows.

import fast_glcm
from skimage import data

if __name__ == '__main__':
    img = data.camera()
    glcm_mean = fast_glcm.fast_glcm_mean(img)

About

Fast Gray-Level Co-Occurrence Matrix by numpy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages