-
大小: 6.5MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-11-01
- 语言: Matlab
- 标签: RandomWalks ,MATLAB
资源简介
Random Walker 标准程序,MATLAB程序,调试已通过,直接可用
代码片段和文件信息
function W=adjacency(edgesweightsN)
%Function W=adjacency(edgesweightsN) computes the weighted
% adjacency matrix of a point and edge set. For an unweighted
% matrix set weights equal to ones(1M) where M is the number
% of edges in the graph.
%
%Inputs: edges - A Mx2 list of M edges indexing into points
% weights - The weights used to determine matrix values.
% If not specified uses vector of all ones
% N - Optional number of nodes in the graph. Used if
% N > max(edges) (i.e. isolated nodes are present)
%
%Outputs: W - Adjacency matrix
%
%
%Note: Adjacency matrix is not of the Seidel type
% (i.e. all values are positive)
%5/19/03 - Leo Grady
% Copyright (C) 2002 2003 Leo Grady
% Computer Vision and Computational Neuroscience Lab
% Department of Cognitive and Neural Systems
% Boston University
% Boston MA 02215
%
% 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 program 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.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not write to the Free Software
% Foundation Inc. 59 Temple Place - Suite 330 Boston MA 02111-1307 USA.
%
% Date - $Id: adjacency.mv 1.2 2003/08/21 17:29:29 lgrady Exp $
%========================================================================%
%If weights are not specified use unity weighting
if nargin == 1
weights=ones(size(edges1)1);
end
%If N is not specified use maximum values of edges
if nargin < 3
N=max(max(edges));
end
%Build sparse adjacency matrix
W=sparse([edges(:1);edges(:2)][edges(:2);edges(:1)] ...
[weights;weights]NN);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 793606 2018-03-27 11:37 Random Walker 标准程序\5.tiff
文件 2101 2003-08-22 04:43 Random Walker 标准程序\adjacency.m
文件 1955 2003-08-22 04:43 Random Walker 标准程序\dirichletboundary.m
文件 2407 2017-03-17 15:34 Random Walker 标准程序\drawregionboundaries.m
文件 2180 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\addrandedges.m
文件 2101 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\adjacency.m
文件 1306 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\adjtoedges.m
文件 67 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\AUTHORS
文件 2373 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\binarysearch.m
文件 2116 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\circulant.m
文件 1862 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\colorseg2bwseg.m
文件 1798 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\colorseg2bwsegSV.m
文件 3573 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\Contents.m
文件 2176 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\contour2pdf.m
文件 18003 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\COPYING
文件 2267 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\diffusion.m
文件 1955 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\dirichletboundary.m
文件 6707430 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\DOCS\toolboxDoc.pdf
文件 2070 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\DOCS\variableNames.txt
文件 2292 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\ellipsefit.m
文件 2048 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\equalize.m
文件 3396 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\filtergraph.m
文件 3096 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\findedges.m
文件 6464 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\findfilter.m
文件 4266 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\imgsegment.m
文件 5869 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\imgsegpyr.m
文件 3261 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\importimg.m
文件 1817 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\incidence.m
文件 2524 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\isosolve.m
文件 2255 2003-08-22 04:43 Random Walker 标准程序\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0.tar\graphAnalysisToolbox-1.0\knn.m
............此处省略39个文件信息
- 上一篇:车牌识别matlab程序235178
- 下一篇:IPIX雷达STFT
相关资源
- 最佳接收机的实现与仿真,matlab仿真
- polsarpro,matlab、Pauli、Yamaguchi、Cloud
- PSAT-2.1.10最新版
- 完整的BP-Adaboost-GA自己整理的,包含数
- gps基本原理及其matlab仿真199992
- 图像插值方法3种方法,MATLAB代码
- tobii眼动仪视觉追踪程序源码,MATLA
- 图像处理的常见滤波方法,matlab代码
- 数学建模算法大全( 含matlab 程序)
- 基于AdaBoost算法的人脸检测,matlab实现
- 目标跟踪算法KCF融合HOG+CN特征,matl
- 集合卡尔曼滤波算法-数据同化的经典
- 人脸检测三个不同小程序,matlab,其
- comsol和matlab接口
- 基于高斯球的三维点云精简,matlab实
- 基于PCA的点云位姿估计与粗拼接,m
- matpower3.2电力系统潮流计算MATLAB文件
- GPS仿真-matlab工具箱
- 雷达原理仿真程序 RadarSimulation,雷达
- OFDM—MIMO系统的matlab程序
- 背景建模,MATLAB
- 维纳滤波和盲去卷积复原图像,matl
- platEMO内涵几乎所有多目标优化问题的
- QFT-Matlab设计工具箱
- 同济大学线性代数第六版教材,课件
- SRCNN,matlab实现
- LSD直线检测,matlab工具箱
- 数字调制的参考资料,MATLAB的数字调
- stm32 matab包,matlab直接生成stm32代码
- 控制数学问题的MATLAB求解
评论
共有 条评论