Code covered by the BSD License
-
showcs3(varargin)
Function showcs3(V) will display x,y,z cross sections of the volume V
-
A=imresize3d(V,scale,tsize,nt...
This function resizes a 3D image volume to new dimensions
-
E=strain(Ux,Uy,Uz)
Calculate the Eulerian strain from displacement images
-
I3=movepixels(I1,Tx,Ty,Tz,mod...
This function movepixels, will (backwards) translate the pixels
-
I=affine_registration_image(p...
This function affine_registration_image, uses affine transfomation of the
-
I=imgaussian(I,sigma,siz)
IMGAUSSIAN filters an 1D, 2D or 3D image with an gaussian filter.
-
Iout=affine_transform(Iin,M,m...
Function affine_transform, is a wrapper of the (mex) functions
-
Iout=affine_transform_2d_doub...
Affine transformation function (Rotation, Translation, Resize)
-
Iout=movepixels_2d_double(Iin...
This function movepixels, will translate the pixels of an image
-
M=make_transformation_matrix(...
This function make_transformation_matrix.m creates an affine
-
[E,Egrad]=demons_energy(M,F,M...
This function DEMONS_ENERGY calculates the registration energy and
-
[Fx,Fy,Fz]=backwards2forwards...
This function will turn a backward transformation field in to a
-
[Fx,Fy]=backwards2forwards_2d...
This function will turn a backwards transformation field into
-
[I1_TF,I2_TF]=MutualTransform...
This function MutualTransform transforms two pictures with different modalities
-
[I1_TF,I2_TF]=mutual_transfor...
This function transform one image modality into another.
-
[V1,V2]=get_example_data
get_example_data is used to make some rigid and nonrigid transformed
-
[e,egrad]=affine_registration...
This function affine_registration_error, uses affine transfomation of the
-
[hist12, hist1, hist2]=mutual...
This function makes a 2D joint histogram of 1D,2D...ND images
-
[t,I]=image_difference(V,U,ty...
This function gives a registration error and error image I between the two
-
[x,fval,exitflag,output,grad]...
FMINLBFGS finds a local minimum of a function of several variables.
-
err=squared_difference_double...
-
register_images(Imoving,Istat...
This function register_images is the most easy way to register two
-
register_volumes(Imoving,Ista...
This function register_volumes is the most easy way to register two
-
stop=store_transf(x,optimValu...
This function STORE_TRANSF is needed by the demon energy optimizer.
-
basic_demon_example.m
-
compile_c_files.m
-
View all files
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.
|
| 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');
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');
end
end
cd('..');
cd('functions')
files=dir('*.c');
for i=1:length(files)
filename=[files(i).name];
disp(['compiling : ' filename]);
mex(filename);
end
cd('..');
|
|
Contact us at files@mathworks.com