Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.23 KB

python-glrlm

This is library of Gray Level Run Length Matrix, feature extraction method of image processing

GitHub GitHub top language GitHub all releases GitHub release (latest by date including pre-releases)

Installation

pip install glrlm

Usage Example

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)

Features extracted

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

Support

Reach me out on Email

Contribution

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!