Returns the self-similarity of an image matrix as the degree to which the slope of the log-log power spectrum falls with power according to the value of 2.
.selfsim(img, full, raw, logplot)
a numeric value (self-similarity)
A matrix of numeric values or integer values, preferably by square size.
logical. Should the full frequency range be used for interpolation?
logical. Should the raw value of the regression slope be returned?
logical. Should the log-log power spectrum of the image be plotted?