Gray Level Run Length Image Statistics

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

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0