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

📄 maxpyrht.m

📁 matlab的steel金字塔小波分解源代码
💻 M
字号:
% HEIGHT = maxPyrHt(IMSIZE, FILTSIZE)%% Compute maximum pyramid height for given image and filter sizes.% Specifically: the number of corrDn operations that can be sequentially% performed when subsampling by a factor of 2.% Eero Simoncelli, 6/96.function height = maxPyrHt(imsz, filtsz)imsz = imsz(:);filtsz = filtsz(:);if any(imsz == 1) % 1D image  imsz = prod(imsz);  filtsz = prod(filtsz);elseif any(filtsz == 1)              % 2D image, 1D filter  filtsz = [filtsz(1); filtsz(1)];endif any(imsz < filtsz)  height = 0;else  height = 1 + maxPyrHt( floor(imsz/2), filtsz ); end

⌨️ 快捷键说明

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