Gray Level Run Length Image Statistics

Compute image statistics from the gray level run length matrix.
1K téléchargements
Mise à jour 24 août 2015

Afficher la licence

This matlab program computes several image statistics from a gray scale image using the gray level run length matrix, these are:
1. SHORT RUN EMPHASIS (SRE)
2. LONG RUN EMPHASIS(LRE)
3. GRAY LEVEL NON-UNIFORMITY (GLN)
4. RUN PERCENTAGE (RP)
5. RUN LENGTH NON-UNIFORMITY (RLN)
6. LOW GRAY LEVEL RUN EMPHASIS (LGRE)
7. HIGH GRAY LEVEL RUN EMPHASIS (HGRE)

The function also accepts a mask to enable the user to analyze only certain regions of the image. See the script for a complete describtion.

Example:

I = imread('cameraman.tif'); % read an image
imshow(I) % show the image
mask = ones(size(I(:,:,1))); % we want to analyze the whole image
quantize = 16; % quantize the image into 16 levels
[SRE,LRE,GLN,RP,RLN,LGRE,HGRE] = glrlm(I,quantize,mask) % compute the statistics

Citation pour cette source

Wout Oude Elferink (2024). Gray Level Run Length Image Statistics (https://www.mathworks.com/matlabcentral/fileexchange/52640-gray-level-run-length-image-statistics), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2013b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0