📄 buildrpbasistree2.m
字号:
% BuildRPBasisTree -- Build an Anisotropic 2-d Basis Tree % % Usage% btree = BuildRPBasisTree(maxDepth,BasisName,optionList)% % Inputs% maxDepth A 2-vector defining Maximum depth of tree (in coordinate1 direction% and in coordinate2 direction) maxDepth = [maxDepth1,maxDepth2]% (imageSize is defined as 2.^[maxDepth1,maxDepth2]).% BasisName defines the Basis to be built and can be:% 'Congruent' = basis corresponding to a tiling of the 2D plane using % congruent rectangles of size imageSize(1)/(2^d1) X imageSize(2)/(2^d2)% optionList = [d1,d2]% 'Trivial' = the unitary basis, corresponding to the tiling of the 2D plane % with 1 rectangle of size imageSize(1) X imageSize(2). % optionList = []% 'Complete' = basis corresponding to tiling with smallest possible % rectangles, i.e. of size 1 x 1.% optionList = []% 'Horizontal' = basis corresponding to tiling with horizontally elongated% rectangles of uniform size imageSize(1)/(2^d1) X imageSize(2) % optionList = [d1]% 'Vertical' = basis corresponding to tiling with vertically elongated% rectangles of uniform size imageSize(1) X imageSize(2)/(2^d2)% optionList = [d2]% 'Diadic1' = basis corresponding to tiling with horizontally % elongated rectangles which diadicaly split the coordinate1 % using d1 splits.% optionList = [d1]% 'FIO' = basis corresponding to a Fefferman/Stein/Sogge/Hart Basis Tree.% Diadic splits horizontally and decresing splits vertically% with maximum splits equal to d2 and decreasing by d2Step every 2 % horizontal splits. Default optionList (d2Split=1).% optionList = [d2Split]% 'Cortex' = basis corresponding to tiling with horizontally % elongated rectangles which diadicaly split the coordinate1% using d1 splits. And congruent splits in coordinate2% (with size imageSize(2)/(2^d2)). OptionList defaults to MaxDepth% optionList = [d1,d2]% 'HorizontalFrom1D' = basis corresponding to tiling with horizontally % elongated rectangles given by a 1D tree of length 2*imageSize(1) -1% optionList = [OneDtree]% 'VerticalFrom1D' = basis corresponding to tiling with vertically elongated% rectangles given by a 1D tree of length 2*imageSize(2) -1% optionList = [OneDtree]% 'Random' = basis corresponding to a random tiling. The optionList% parameter determines the probabilities of spliting a node.% (probabilities are in [0..1] and must sum to 1).% optionList = [] equal probability to split splitcoor1 and splitcoor2% optionList = [noSplitProb] % optionList = [noSplitProb splitCoor1Prob splitcoor2Prob] % % % optionList a list of parameters associated with the chosen basis type. % % Outputs% btree anisotropic rectangle basis tree% % Description% Builds a basis tree associated with an anisotropic tiling of a 2D plane % using rectangles. Size of associated tree need not be square.% % See also: RPtree structure description.% %%% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -