Concretely the function fit uses "df.mf" slot and performs a linear regression of hmin, c1 and c2 columns on the choosen scales. hmin characterizes the uniform smoothness of the image, c1 corresponds to the value of h where L(h) is maximal, and c2 explains the strength of the multifractality. hmin and c1 are positive and c2 negative. The multifractal spectrum is approximated by : $$L(h) = 2 + \frac{c_2}{2}(\frac{h-c_1}{c_2})^2$$ hmin is the minimum value of h such that L(h) is greater than 0. To make comparable analyzes , we substract frac to c1.
If the analysis is limited, we get only hmin. If the estimate of hmin is negative, strictly speaking one should repeat the analysis with an index of fractional integration "frac" greater than -hmin. hmin, t1 and t2 are calculated on the original wavelet coefficients (without the fractional integration).
"fit"(object,scales)
Patrice Abry, Herwig Wendt, Stephane Jaffard. When Van Gogh meets Mandelbrot: Multifractal Classification of Painting's Texture. Signal Processing, Elsevier, 2013, 93 (3), pp.554-572.
library(wmlf)
data(bocage)
l_b=leader(bocage,frac=1,full=TRUE)
fit(l_b,2:5)
Run the code above in your browser using DataLab