• 大小: 125KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-10
  • 语言: Matlab
  • 标签: 超分辨率  

资源简介

图像超分辨率MATLAB实现 一个完整的系统

资源截图

代码片段和文件信息

function [Z X Y] = applicability(a b rmax)
% APPLICABILITY - generate an applicability function used in normalized convolution
% Z is the applicability matrix and X Y are the grid coordinates if a 3D
% plot is required.

%% -----------------------------------------------------------------------
% SUPERRESOLUTION - Graphical User Interface for Super-Resolution Imaging
% Copyright (C) 2005-2007 Laboratory of Audiovisual Communications (LCAV) 
% Ecole Polytechnique Federale de Lausanne (EPFL) 
% CH-1015 Lausanne Switzerland 

% This program is free software; you can redistribute it and/or modify it 
% under the terms of the GNU General Public License as published by the 
% Free Software Foundation; either version 2 of the License or (at your 
% option) any later version. This software is distributed in the hope that 
% it will be useful but without any warranty; without even the implied 
% warranty of merchantability or fitness for a particular purpose. 
% See the GNU General Public License for more details 
% (enclosed in the file GPL). 
%
% Latest modifications: January 12 2006 by Patrick Vandewalle
%                       November 6 2006 by Karim Krichane

[X Y] = meshgrid(-rmax:rmax -rmax:rmax);

Z = sqrt(X.^2+Y.^2).^(-a).*cos((pi*sqrt(X.^2+Y.^2))/(2*rmax)).^b;
Z = Z .* double(sqrt(X.^2+Y.^2) < rmax); % We want Z=0 outside of rmax
Z(rmax+1 rmax+1) = 1;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2007-05-09 12:19  superresolution_v_2.0\
     文件        6148  2007-05-09 12:19  superresolution_v_2.0\.DS_Store
     目录           0  2007-05-09 12:30  __MACOSX\
     目录           0  2007-05-09 12:30  __MACOSX\superresolution_v_2.0\
     文件          82  2007-05-09 12:19  __MACOSX\superresolution_v_2.0\._.DS_Store
     目录           0  2007-05-09 12:19  superresolution_v_2.0\application\
     文件       15364  2007-05-09 12:19  superresolution_v_2.0\application\.DS_Store
     目录           0  2007-05-09 12:30  __MACOSX\superresolution_v_2.0\application\
     文件          82  2007-05-09 12:19  __MACOSX\superresolution_v_2.0\application\._.DS_Store
     文件        1417  2007-05-09 11:52  superresolution_v_2.0\application\applicability.m
     文件        1920  2007-05-09 11:52  superresolution_v_2.0\application\c2p.m
     文件        4943  2007-05-09 11:49  superresolution_v_2.0\application\Contents.m
     文件        2702  2007-05-09 11:53  superresolution_v_2.0\application\create_images.m
     文件        1668  2007-05-09 11:50  superresolution_v_2.0\application\estimate_motion.m
     文件        3452  2007-05-09 11:57  superresolution_v_2.0\application\estimate_rotation.m
     文件        2474  2007-05-09 11:57  superresolution_v_2.0\application\estimate_shift.m
     文件        1638  2007-05-09 11:58  superresolution_v_2.0\application\generatePSF.m
     文件        4588  2006-09-26 12:09  superresolution_v_2.0\application\generation.fig
     文件       18562  2007-05-09 11:59  superresolution_v_2.0\application\generation.m
     文件       15146  2006-01-13 15:51  superresolution_v_2.0\application\gpl
     目录           0  2006-11-01 11:02  superresolution_v_2.0\application\html\
     文件        6148  2006-11-01 11:02  superresolution_v_2.0\application\html\.DS_Store
     目录           0  2007-05-09 12:30  __MACOSX\superresolution_v_2.0\application\html\
     文件          82  2006-11-01 11:02  __MACOSX\superresolution_v_2.0\application\html\._.DS_Store
     文件        3913  2007-05-09 12:00  superresolution_v_2.0\application\html\SR_about.html
     文件       26418  2006-11-09 21:47  superresolution_v_2.0\application\html\SR_documentation.html
     文件          82  2006-11-01 11:02  superresolution_v_2.0\application\._html
     文件        3140  2007-05-09 12:01  superresolution_v_2.0\application\interpolation.m
     文件        3772  2007-05-09 12:01  superresolution_v_2.0\application\iteratedbackprojection.m
     文件        4046  2007-05-09 12:03  superresolution_v_2.0\application\keren.m
     文件        2753  2007-05-09 12:02  superresolution_v_2.0\application\keren_shift.m
............此处省略19个文件信息

评论

共有 条评论