https://github.com/rizquuula/python-glrlm
This is library of Gray Level Run Length Matrix, one of pre-processing method on computer vision
https://github.com/rizquuula/python-glrlm
glrlm grayscale python-library
Last synced: 2 months ago
JSON representation
This is library of Gray Level Run Length Matrix, one of pre-processing method on computer vision
- Host: GitHub
- URL: https://github.com/rizquuula/python-glrlm
- Owner: rizquuula
- License: mit
- Created: 2020-05-22T14:42:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T06:33:36.000Z (over 4 years ago)
- Last Synced: 2026-01-14T10:37:31.118Z (5 months ago)
- Topics: glrlm, grayscale, python-library
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 9
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-glrlm
This is library of Gray Level Run Length Matrix, feature extraction method of image processing




## Installation
```console
pip install glrlm
```
## Usage Example
```python
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](mailto:razifrizqullah@gmail.com "razifrizqullah@gmail.com")
## 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!