📄 pyrbandindices.m
字号:
% RES = pyrBandIndices(INDICES, BAND_NUM)%% Return indices for accessing a subband from a pyramid % (gaussian, laplacian, QMF/wavelet, steerable).% Eero Simoncelli, 6/96.function indices = pyrBandIndices(pind,band)if ((band > size(pind,1)) | (band < 1)) error(sprintf('BAND_NUM must be between 1 and number of pyramid bands (%d).', ... size(pind,1)));endif (size(pind,2) ~= 2) error('INDICES must be an Nx2 matrix indicating the size of the pyramid subbands');endind = 1;for l=1:band-1 ind = ind + prod(pind(l,:));endindices = ind:ind+prod(pind(band,:))-1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -