Gray Level Run Length Image Statistics

Compute image statistics from the gray level run length matrix.
1.0K 次下载
更新时间 2015/8/24

查看许可证

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

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0