Code covered by the BSD License  

Highlights from
multimodality non-rigid demon algorithm image registration

image thumbnail
from multimodality non-rigid demon algorithm image registration by Dirk-Jan Kroon
non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf.

err=squared_difference_double(V,U)
function err=squared_difference_double(V,U)
% err=sum((V(:)-U(:)).^2)/numel(V);
err=sum((V(:)-U(:)).^2)/numel(V);

Contact us at files@mathworks.com