crvlt_getlevels.m

来自「Edge detection in microscopy images usin」· M 代码 · 共 18 行

M
18
字号
function Co = crvlt_getlevels(C, lev)%  Co = crvlt_getlevels(C, lev)%  %  extracts the levels specified in vector lev from%  curvelet data C, by setting all other coefficients to zero.%  Co has same dimensions as C, but has only zeros on levels not%  in lev.%Co = C;for ll=setdiff(1:length(C), lev),    for k=1:length(C{ll}),        Co{ll}{k} = zeros(size(Co{ll}{k}));    endend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?