⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spyrlev.m

📁 matlab的steel金字塔小波分解源代码
💻 M
字号:
% [LEV,IND] = spyrLev(PYR,INDICES,LEVEL)%% Access a level from a steerable pyramid.% Return as an SxB matrix, B = number of bands, S = total size of a band.% Also returns an Bx2 matrix containing dimensions of the subbands.% Eero Simoncelli, 6/96.function [lev,ind] =  spyrLev(pyr,pind,level)nbands = spyrNumBands(pind);		if ((level > spyrHt(pind)) | (level < 1))  error(sprintf('Level number must be in the range [1, %d].', spyrHt(pind)));end		firstband = 2 + nbands*(level-1);firstind = 1;for l=1:firstband-1  firstind = firstind + prod(pind(l,:));endind = pind(firstband:firstband+nbands-1,:);lev  = pyr(firstind:firstind+sum(prod(ind'))-1);

⌨️ 快捷键说明

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