This is library of Gray Level Run Length Matrix, feature extraction method of image processing
pip install glrlm
from glrlm import GLRLM
import cv2
IMG_PATH = 'path_to_your/image'
img = cv2.imread(IMG_PATH)
app = GLRLM()
glrlm = app.get_features(img, 8)
Feature extraction result from GLRLM library
- SRE = Short Run Emphasis
- LRE = Long Run Emphasis
- GLU = Grey Level Uniformity
- RLU = Run Length Uniformity
- RPC = Run Percentage
Reach me out on Email
If you find out this library as useful please give it a star to let everyone know. If you have idea on how to improve this library, I am always open for every contributors. Thank you!