5.0

5.0 | 2 ratings Rate this file 16 downloads (last 30 days) File Size: 1.46 KB File ID: #25261

Lacunarity of a binary image

by Tegy Vadakkan

 

08 Sep 2009 (Updated 09 Sep 2009)

Code covered by the BSD License  

Lacunarity of a binary image based on the gloding box algorithm.

Download Now | Watch this File

File Information
Description

The gliding box algorithm proposed by Tolle et al., Physica D, 237, 306-315, 2008 is used to calculate the lacunarity of a binary image.

MATLAB release MATLAB 7.1.0 (R14SP3)
Zip File Content  
Other Files lacunarity_glbox.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
19 Oct 2009 gijo augustin

The loop in the program is not going upto the number of Columns. A modification like this would be more accurate,

for i=1:rnn
    for j=1:cnn
        sums = sum(sum(a(i:i+nn,j:j+nn)));
        sigma(index) = sigma(index) + sums;
        sigma2(index) = sigma2(index) + power(sums,2);
        [n,i,j]

    end
end

where, cnn = cols - nn;

19 Oct 2009 Tegy Vadakkan

thanks gijo,
i should have said..., it is assumed that the image is a square image like 64x64, 128x128, 256x256, ...

23 Oct 2009 gijo augustin  
Please login to add a comment or rating.
Updates
09 Sep 2009

gliding box instead of gloding box in the summary

Tag Activity for this File
Tag Applied By Date/Time
image processing Tegy Vadakkan 09 Sep 2009 10:56:03
statistics Tegy Vadakkan 09 Sep 2009 10:56:03

Contact us at files@mathworks.com