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

📄 intensim.m

📁 用matlab实现图像融合
💻 M
字号:
function fintens = intensim(f)%------------------------------------------------------------------------------%% intensim% Under the assumption that f is of class double, we linearly transform f into% an intensity image according to the definition of the Image Processing Toolbox% meaning that the values are contained in the range [0, 1].%% Design and implementation by:% Dr. Paul M. de Zeeuw <Paul.de.Zeeuw@cwi.nl>  http://homepages.cwi.nl/~pauldz/% Last Revision: July 18, 2003.% Copyright 2003 Stichting CWI, Amsterdam%------------------------------------------------------------------------------%fmin=min(min(f));fmax=max(max(f));if fmax == fmin   if abs(f(1,1)) < 0.000000001      fintens = zeros(size(f));   else      fintens = ones(size(f));   endelse  fintens = (f-fmin)/(fmax-fmin);end%------------------------------------------------------------------------------%

⌨️ 快捷键说明

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