http://se.mathworks.com/matlabcentral/fileexchange/21993-viewer3d

clear affine_transform_2d_double;
mex affine_transform_2d_double.c image_interpolation.c -v