vert2indx.m
来自「beamlet变化的工具箱」· M 代码 · 共 33 行
M
33 行
% Vert2Indx -- Convert Vertex index to 3-d Array Index.% Usage% [i,j,s,i2,j2,s2] = Vert2Indx(v,vp,n);% Inputs% v coordinates of starting vertex, from 0 to n% vp coordinates of another vertex, from 0 to n% n n by n image% Output% i,j,s Corresponding beamlet coefficient is stored % at location [i j s]. Notation 's' is for scale.% i2,j2,s2 the second possible indices% Notes% 1. error if 'v' and 'vp' are not connected.% 2. It is possible that an beamlet is double counted in the beamlet% system (e.g. when an beamlet is on a common boundary). In that % case, we return two sets of indices. % See Also% MinCostPath%%% Part of BeamLab Version:200% Built:Friday,23-Aug-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%%% Part of BeamLab Version:200% Built:Saturday,14-Sep-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?