Code covered by the BSD License
-
Crop_image(varargin)
APPLY_IMAGE M-file for apply_image.fig
-
Dcoord(varargin)
DCOORD M-file for Dcoord.fig
-
Deform(varargin)
DEFORM M-file for Deform.fig
-
Disocenter(varargin)
DISOCENTER M-file for Disocenter.fig
-
FFD4D(varargin)
FFD4D M-file for FFD4D.fig
-
Registration_Parameters(varar...
REGISTRATION_PARAMETERS M-file for Registration_Parameters.fig
-
auto_segmentation(varargin)
AUTO_SEGMENTATION M-file for auto_segmentation.fig
-
createpatient(varargin)
CREATEPATIENT M-file for createpatient.fig
-
featurep(varargin)
FEATUREP M-file for featurep.fig
-
formatsel(varargin)
FORMATSEL M-file for formatsel.fig
-
formatsel2(varargin)
FORMATSEL2 M-file for formatsel2.fig
-
load_cont(varargin)
LOAD_CONT M-file for load_cont.fig
-
load_patient(varargin)
LOAD_PATIENT M-file for load_patient.fig
-
name_dose(varargin)
NAME_DOSE M-file for name_dose.fig
-
name_image(varargin)
NAME_IMAGE M-file for name_image.fig
-
newimage(varargin)
NEWIMAGE M-file for newimage.fig
-
reg_params(varargin)
REG_PARAMS M-file for reg_params.fig
-
registration(varargin)
REGISTRATION M-file for registration.fig
-
resolution(varargin)
RESOLUTION M-file for resolution.fig
-
validation(varargin)
VALIDATION M-file for Validation.fig
-
RTOGread(fullpath)
-
Registration_Parameters(varar...
REGISTRATION_PARAMETERS M-file for Registration_Parameters.fig
-
amvd(base,dgridx,dgridy)
amvd function outlines bone structures and ensures that deformations are
-
amvd3D.m
-
amvold(dgridx,dgridy,dgridz,r...
amvold.m applies a formula similar to the maximum volume displacement but
-
autoseg(image,type)
-
bspline(u,k)
calculates the derivative of kth basis function of a cubic B-spline
-
bspline2(u,k)
calculates the derivative of kth basis function of a cubic B-spline
-
calcDVH(doses3D,contour,rez)
volume introduced from using cubic voxels at the edge of the ROI as opposed to using more precise
-
calcgrad(base,mask,dgridx,dgr...
distance transforms of images.
-
calcgrad3D(base,distmask,dgri...
distance transforms of images.
-
calcgrad3D2(base,distmask,dgr...
distance transforms of images.
-
dLdPx(base,sz2,sz,m,n,i1,j1)
determine the change in deformation in the x direction for the mth by nth
-
dLdPx3D(sz3,sz2,sz,m,n,p,i1,j...
determine the change in deformation in the x direction for the mth by nth
-
dLdPy(base,sz2,sz,m,n,i1,j1)
determine the change in deformation in the y direction for the mth by nth
-
dLdPy3D(sz3,sz2,sz,m,n,p,i1,j...
determine the change in deformation in the y direction for the mth by nth
-
dLdPz3D(sz3,sz2,sz,m,n,p,i1,j...
determine the change in deformation in the y direction for the mth by nth
-
dLdx(base,dgridx,dgridy)
calculate the derivative of the change in the tensor product for a free
-
dLdx3D(sz,dgridx,dgridy,dgrid...
calculate the derivative of the change in the tensor product for a free
-
dLdy(base,dgridx,dgridy)
calculate the derivative of the change in the tensor product for a free
-
dLdy3D(sz,dgridx,dgridy,dgrid...
calculate the derivative of the change in the tensor product for a free
-
dLdz3D(sz,dgridx,dgridy,dgrid...
calculate the derivative of the change in the tensor product for a free
-
dbspline(u,k);
calculates the derivative of kth basis function of a cubic B-spline
-
dbspline2(u,k);
calculates the derivative of kth basis function of a cubic B-spline
-
ddLdxdPx(base,sz2,sz,m,n,i1,j...
determine the change in deformation in the x direction for the mth by nth
-
ddLdxdPx3D(sz3,sz2,sz,m,n,p,i...
determine the change in deformation in the x direction for the mth by nth
-
ddLdydPy(base,sz2,sz,m,n,i1,j...
determine the change in deformation in the x direction for the mth by nth
-
ddLdydPy2(base,dgrid,m,n)
determine the change in deformation in the x direction for the mth by nth
-
ddLdydPy3D(sz3,sz2,sz,m,n,p,i...
determine the change in deformation in the x direction for the mth by nth
-
ddLdzdPz3D(sz3,sz2,sz,m,n,p,i...
determine the change in deformation in the x direction for the mth by nth
-
dferror3D(fpoints,fpoints2,m,...
-
disttrans(coords,size)
-
drawcont(shape,dose)
convert contour outline (shape) to 2D dose distribution
-
eliminateskin(image1)
-
elocal(base,mask,dgridx,dgrid...
distance transforms of images.
-
elocal3D.m
-
errormn(base,mask,dgridx,dgri...
distsource = bwdist(image);
-
ferror3D(fpoints,fpoints2,dgr...
try
-
finterp2(x,y,z,xi,yi,uniformF...
-
finterp3(xInterpV, yInterpV, ...
-
getRTOGcont(fullpath,segname,...
-
getRTOGcont2(fullpath,segname...
-
getRTOGcont3(fullpath,segname...
fullpath is the path including filename and extension to the RTOG header
-
getRTOGstructures(fullpath)
-
imdeform(image1,image2)
-
imdeform2(density,image1,imag...
-
imdeform3D(image1,image2,alph...
Imdeform3D
-
iminterpn(varargin)
IMINTERPN Multidimensional interpolation using Image Processing Toolbox functions.
-
imrecreate3D.m
-
imrecreate3D2(base,dgridx,dgr...
recreate an image based on it's deformation control point grid
-
imrecreate3D3.m
-
imrecreate3D_eff.m
-
interpslice(image1,sz2)
this function was created as a method of performing 3 Dimension
-
irongrid(gridx,gridy)
smooth down
-
irongrid3D(gridx,gridy,gridz)
smooth down
-
loadDICOM(sFolder)
LOADDICOM M-file
-
loadDICOM2(sFolder)
LOADDICOM M-file
-
loadDICOM2(sFolder)
LOADDICOM M-file
-
loadDICOM4(sFolder)
LOADDICOM M-file
-
loadRTOG(filename)
-
numbername(number,digits)
-
pathdef
PATHDEF Search path defaults.
-
readRTOGDose(fullPath)
READRTOGDOSE M-file
-
readRTOGDose(fullPath)
READRTOGDOSE M-file
-
recalcvol(sz,dgridx,dgridy,dg...
shed padding
-
refgrid(dgrid,M,N);
-
slice3DVolOrtho(data3M, xV, y...
"slice3DVolOrtho"
-
DVH_extract.m
-
NTCP_TCP.m
-
coefficients.m
-
copystuff.m
-
crop.m
-
dgrid.m
-
example.m
-
example2.m
-
metadata.m
-
tempf.m
-
writing.m
-
View all files
from
3D Free Form Image Registration Toolbox (GUI)
by Daniel Markel
A toolbox for performing image registrations on 4D RTOG files or any other volumetric image.
|
| ddLdydPy2(base,dgrid,m,n)
|
%determine the change in deformation in the x direction for the mth by nth
%control point
function [values] = ddLdydPy2(base,dgrid,m,n)
sz = size(base);
[y,x] = find(base >= 0);
sz2 = size(dgrid);
values = zeros(sz(1),sz(2));
dvdy = sz2(1)/sz(1);
for t = 1:length(x)
i = floor(((x(t)-0.5)*(sz2(2)-3)/sz(2))+2)-1;
j = floor(((y(t)-0.5)*(sz2(1)-3)/sz(1))+2)-1;
if m-i >=0 && m-i <=3 && n-j >=0 && n-j <=3
u = x(t)*sz2(2)/sz(2) - floor(x(t)*sz2(2)/sz(2));
v = y(t)*sz2(1)/sz(1) - floor(y(t)*sz2(1)/sz(1));
ysum = bspline(u,m-i)*dbspline(v,n-j)*dvdy;
else
ysum = 0;
end
values(y(t),x(t)) = ysum;
end
|
|
Contact us at files@mathworks.com