No BSD License  

Highlights from
Fourier-Mellin based Image Registration (with GUI)

image thumbnail
from Fourier-Mellin based Image Registration (with GUI) by Adam Wilmer
GUI-implementation of the Fourier-Mellin transform for simple image rotation, scale and translation.

image_scale(input,lower,upper)
function output = image_scale(input,lower,upper)
% USAGE : output = image_scale(input,lower,upper)
%
% input = image to be scaled
% lower,upper = new limits to impose on image
% output = newly-scaled image
%
% Adam Wilmer, 25-4-02

iu = max(max(input)); il = min(min(input));
output = ((upper-lower)*((input-il)/(iu-il)))+lower;

Contact us at files@mathworks.com