slowbeamtrans_m.m
来自「beamlet变化的工具箱」· M 代码 · 共 43 行
M
43 行
% SlowBeamTrans_m -- Slow Beamlet Transform% Usage% [E,L] = SlowBeamTrans_m(img);% Input% img square image, n by n% Outputs% E beamlet coefficients% L lengths of beamlets% Description% We create a structure which is very similar to the wedgelet coefficients.% The difference is that we also provide length for beamlets. % % [1] Scale s means that image is divided into 2^s by 2^s subsquares. % Each subsquare is n/2^s by n/2^s. % % [2] Thinking of the m by m subsquare as a m by m grid, there are 4*m% lattice points on the boundary of this subsquare. Label them from 1 to % 4*m, starting from the upper left corner and going anticlockwise on the% boundary. % % [3] Beamlet coefficient is basically an line integration. Suppose the % image is a function which is piecewise constant in one cell -- a 1 by 1% subsquare. If the beamlet goes along a interior boundary (which is inside% the image, but is a boundary of a cell), then it is the average of the % function values in the contacting two cells. % % [4] Implementation should be almost parallel to the SlowWedgeTrans.m% %%% 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 + -
显示快捷键?