• 大小: 678KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-06
  • 语言: Matlab
  • 标签: 图像拼接  

资源简介

此压缩包包含代码和图像,直接运行就可以看到效果,同时方便进行二次开发

资源截图

代码片段和文件信息

function n2 = dist2(x c)
%DIST2 Calculates squared distance between two sets of points.
%
% Description
% D = DIST2(X C) takes two matrices of vectors and calculates the
% squared Euclidean distance between them.  Both matrices must be of
% the same column dimension.  If X has M rows and N columns and C has
% L rows and N columns then the result has M rows and L columns.  The
% I Jth entry is the  squared distance from the Ith row of X to the
% Jth row of C.
%
% See also
% GMMACTIV KMEANS RBFFWD
%

% Copyright (c) Christopher M Bishop Ian T Nabney (1996 1997)

[ndata dimx] = size(x);
[ncentres dimc] = size(c);
if dimx ~= dimc
error(‘Data dimension does not match dimension of centres‘)
end

n2 = (ones(ncentres 1) * sum((x.^2)‘ 1))‘ + ...
   ones(ndata

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2243  2008-10-26 12:26  normalise2dpts.m

     文件       2282  2008-10-26 12:29  randomsample.m

     文件       9953  2008-10-26 12:29  ransac.m

     文件       5050  2008-10-26 12:19  ransacfithomography.m

     文件     124253  2012-07-25 09:31  untitled.jpg

     文件       4538  2008-11-14 14:45  vgg_gui_H.m

     文件       3001  2008-10-27 19:56  vgg_warp_H.m

     文件        846  2008-10-26 12:21  dist2.m

     文件       1274  2010-07-24 23:48  ext_desc.m

     文件       1559  2010-07-24 20:28  harris.m

     文件       1069  2008-10-26 12:30  hnormalise.m

     文件       2493  2008-10-26 12:30  homography2d.m

     文件       2383  2012-07-25 09:35  iscolinear.m

     文件      69455  2007-02-26 22:39  keble_a.jpg

     文件      69819  2007-02-26 22:39  keble_b.jpg

     文件      68821  2007-02-26 22:39  keble_c.jpg

     文件       4893  2012-07-25 10:14  mosaic.m

     文件     372769  2010-07-24 23:41  mosaic.pdf

----------- ---------  ---------- -----  ----

               746701                    18


评论

共有 条评论