Code covered by the BSD License  

Highlights from
B-spline Grid, Image and Point based Registration

image thumbnail

B-spline Grid, Image and Point based Registration

by

 

26 May 2008 (Updated )

B-spline registration of two 2D / 3D images or corrsp. points, affine and with smooth b-spline grid.

compile_c_files.m
% This script will compile all the C files of the registration methods
cd('functions_nonrigid');
files=dir('*.c');
for i=1:length(files)
    filename=[files(i).name];
    if(length(filename)<19||(~strcmpi(filename(1:19),'image_interpolation')))
        disp(['compiling : ' filename]);
        mex(filename,'image_interpolation.c','-v');
    end
end
cd('..');

cd('functions_affine');
files=dir('*.c');
for i=1:length(files)
    filename=[files(i).name];
    if(length(filename)<19||(~strcmpi(filename(1:19),'image_interpolation')))
        disp(['compiling : ' filename]);
        mex(filename,'image_interpolation.c','-v');
    end
end
cd('..');

cd('functions')
files=dir('*.c');
for i=1:length(files)
    filename=[files(i).name];
    disp(['compiling : ' filename]);
    mex(filename,'-v');
end
cd('..');


Contact us