numoflevs.m

来自「用matlab实现图像融合」· M 代码 · 共 22 行

M
22
字号
function N = numoflevs(L)%------------------------------------------------------------------------------%% Extracts the number of levels from the array of bookkeeping.%% L = 2D integer array of bookkeeping.%% Design and implementation by:% Dr. Paul M. de Zeeuw <Paul.de.Zeeuw@cwi.nl>  http://homepages.cwi.nl/~pauldz/% Last Revision: December 11, 2001.% Copyright 2001-2002 Stichting CWI, Amsterdam%------------------------------------------------------------------------------[nL, mL] = size(L);if mL ~= 6  error(' numoflevs - books do not fit ');endN = L(nL,1);if N < 1  error(' numoflevs - the number of levels should be at least one ');end%------------------------------------------------------------------------------

⌨️ 快捷键说明

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