M-File Help: iscalespace | View code for iscalespace |
Scale-space image sequence
[g,L,s] = iscalespace(im, n, sigma) is a scale space image sequence of length n derived from im (HxW). The standard deviation of the smoothing Gaussian is sigma. At each scale step the variance of the Gaussian increases by sigmaˆ2. The first step in the sequence is the original image.
g (HxWxN) is the scale sequence, L (HxWxN) is the absolute value of the Laplacian of Gaussian (LoG) of the scale sequence, corresponding to each step of the sequence, and s (Nx1) is the vector of scales.
[g,L,s] = iscalespace(im, n) as above but sigma=1.
Create a scale-space image sequence
im = iread('lena.png', 'double', 'grey'); [G,L,s] = iscalespace(im, 50, 2);
Then find scale-space maxima, an array of ScalePointFeature objects.
f = iscalemax(L, s);
Look at the scalespace volume
slice(L, [], [], 5:10:50); shading interp
iscalemax, ismooth, ilaplace, klog
© 1990-2012 Peter Corke.