Code covered by the BSD License  

Highlights from
Laplacian Pyramid Toolbox

from Laplacian Pyramid Toolbox by Minh Do
Matlab toolbox that implements the Laplacian pyramid (LP) decomposition and a new pseudo-inverse rec

imageshow(im, range)
function range = imageshow(im, range)
% Show image with proper scalling

% First exclude the Inf value:
realim = im(find(isfinite(im)));

% By default range is within 2 standard deviation from the mean
if ~exist('range', 'var')
    range = mean(realim(:)) + std(realim(:)) * [-2, 2];
end

imagesc(im, range);
axis image;

Contact us at files@mathworks.com