Gray Level Run Length Image Statistics

Compute image statistics from the gray level run length matrix.
1K download
Aggiornato 24 ago 2015

Visualizza la licenza

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

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0