亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ransacfitplane.m

?? MATLAB Functions for Multiple View Geometry
?? M
字號:
% RANSACFITPLANE - fits plane to 3D array of points using RANSAC
%
% Usage  [B, P, inliers] = ransacfitplane(XYZ, t, feedback)
%
% This function uses the RANSAC algorithm to robustly fit a plane
% to a set of 3D data points.
%
% Arguments:
%          XYZ - 3xNpts array of xyz coordinates to fit plane to.
%          t   - The distance threshold between data point and the plane
%                used to decide whether a point is an inlier or not.
%          feedback - Optional flag 0 or 1 to turn on RANSAC feedback
%                     information.
%
% Returns:
%           B - 4x1 array of plane coefficients in the form
%               b(1)*X + b(2)*Y +b(3)*Z + b(4) = 0
%               The magnitude of B is 1.
%               This plane is obtained by a least squares fit to all the
%               points that were considered to be inliers, hence this
%               plane will be slightly different to that defined by P below.
%           P - The three points in the data set that were found to
%               define a plane having the most number of inliers.
%               The three columns of P defining the three points.
%           inliers - The indices of the points that were considered
%                     inliers to the fitted plane.
%
% See also:  RANSAC, FITPLANE

% Copyright (c) 2003-2005 Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia
% http://www.csse.uwa.edu.au/
% 
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, subject to the following conditions:
% 
% The above copyright notice and this permission notice shall be included in 
% all copies or substantial portions of the Software.
%
% The Software is provided "as is", without warranty of any kind.

% June 2003 - Original version.
% Feb  2004 - Modified to use separate ransac function
% Aug  2005 - planeptdist modified to fit new ransac specification

function [B, P, inliers] = ransacfitplane(XYZ, t, feedback)
    
    if nargin == 2
	feedback = 0;
    end
    
    [rows, npts] = size(XYZ);
    
    if rows ~=3
        error('data is not 3D');
    end
    
    if npts < 3
        error('too few points to fit plane');
    end
    
    s = 3;  % Minimum No of points needed to fit a plane.
        
    fittingfn = @defineplane;
    distfn    = @planeptdist;
    degenfn   = @isdegenerate;

    [P, inliers] = ransac(XYZ, fittingfn, distfn, degenfn, s, t, feedback);
    
    % Perform least squares fit to the inlying points
    B = fitplane(XYZ(:,inliers));
    
%------------------------------------------------------------------------
% Function to define a plane given 3 data points as required by
% RANSAC. In our case we use the 3 points directly to define the plane.

function P = defineplane(X);
    P = X;
    
%------------------------------------------------------------------------
% Function to calculate distances between a plane and a an array of points.
% The plane is defined by a 3x3 matrix, P.  The three columns of P defining
% three points that are within the plane.

function [inliers, P] = planeptdist(P, X, t)
    
    n = cross(P(:,2)-P(:,1), P(:,3)-P(:,1)); % Plane normal.
    n = n/norm(n);                           % Make it a unit vector.
    
    npts = length(X);
    d = zeros(npts,1);
    for i = 1:npts
        d(i) = abs(dot(X(:,i)-P(:,1), n));    % Distance
    end
    
    inliers = find(abs(d) < t);
    
    
%------------------------------------------------------------------------
% Function to determine whether a set of 3 points are in a degenerate
% configuration for fitting a plane as required by RANSAC.  In this case
% they are degenerate if they are colinear.

function r = isdegenerate(X)
    
    % The three columns of X are the coords of the 3 points.
    r = iscolinear(X(:,1),X(:,2),X(:,3));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久三级| 亚洲男人天堂一区| 色视频欧美一区二区三区| 久久精品国产一区二区| 中文字幕日韩精品一区| 精品国产免费人成电影在线观看四季 | 久久99热99| 一区二区三区日韩欧美精品| 精品区一区二区| 在线看日本不卡| 成人av电影在线| 国产一区二区不卡老阿姨| 丝袜脚交一区二区| 亚洲人午夜精品天堂一二香蕉| 337p粉嫩大胆色噜噜噜噜亚洲| 在线精品视频小说1| 成人午夜激情视频| 黄页视频在线91| 欧美aaa在线| 亚洲午夜精品久久久久久久久| 国产女同性恋一区二区| 久久久五月婷婷| 日韩三级精品电影久久久| 欧美三级电影网| 色婷婷综合视频在线观看| 高清国产一区二区三区| 国产一本一道久久香蕉| 麻豆精品在线看| 美腿丝袜在线亚洲一区| 日韩福利电影在线| 丝袜诱惑亚洲看片| 五月婷婷综合在线| 日韩黄色小视频| 天使萌一区二区三区免费观看| 亚洲电影在线免费观看| 亚洲国产精品一区二区www在线 | 日韩国产精品久久久久久亚洲| 亚洲黄一区二区三区| 亚洲视频免费看| 亚洲日本在线天堂| 亚洲精品视频一区二区| 亚洲欧美日韩国产另类专区 | 国产一区二区三区蝌蚪| 激情成人综合网| 国产91高潮流白浆在线麻豆| 国产精品一卡二卡在线观看| 成人免费看的视频| 一本一道久久a久久精品| 欧美午夜精品免费| 欧美日韩在线播放三区| 91麻豆精品国产自产在线观看一区| 777色狠狠一区二区三区| 日韩写真欧美这视频| 欧美精品一区二| 中文字幕中文字幕一区二区 | 亚洲欧美日韩综合aⅴ视频| 自拍偷拍亚洲欧美日韩| 一区二区三区电影在线播| 视频一区视频二区中文字幕| 蜜乳av一区二区三区| 国产精品亚洲第一| 日本道色综合久久| 69久久99精品久久久久婷婷 | 亚洲欧美一区二区不卡| 亚洲已满18点击进入久久| 日本 国产 欧美色综合| 国产成人免费av在线| 在线观看一区不卡| 欧美精品一区二区三区在线 | 97se亚洲国产综合自在线| 欧美午夜在线观看| 久久综合999| 亚洲乱码国产乱码精品精的特点 | 久久久久国产精品麻豆ai换脸| 最好看的中文字幕久久| 五月婷婷色综合| 国产精品中文欧美| 欧美日韩久久一区| 久久久精品免费观看| 一卡二卡三卡日韩欧美| 国产综合久久久久影院| 91久久精品国产91性色tv| 精品国免费一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 亚洲成人动漫av| 国产成人午夜高潮毛片| 欧美美女喷水视频| 综合激情成人伊人| 极品销魂美女一区二区三区| 在线亚洲免费视频| 国产调教视频一区| 日韩国产精品久久| 91论坛在线播放| 久久综合精品国产一区二区三区| 亚洲尤物视频在线| 成人av高清在线| 精品国产一二三| 亚洲1区2区3区4区| 色综合久久久久网| 中文字幕欧美区| 经典三级视频一区| 欧美一区二区三区公司| 亚洲激情图片qvod| www..com久久爱| 久久久精品天堂| 久久精品国产99久久6| 欧美在线你懂得| 亚洲女爱视频在线| 国产成人av电影| 久久免费看少妇高潮| 蜜桃视频在线观看一区二区| 色偷偷久久一区二区三区| 国产精品久久二区二区| 国产精品自拍毛片| 久久精品亚洲精品国产欧美 | 色哦色哦哦色天天综合| 欧美国产精品劲爆| 国产黄色精品视频| 久久只精品国产| 国产在线国偷精品免费看| 日韩精品一区在线观看| 日韩黄色免费电影| 欧美二区三区的天堂| 亚洲超碰97人人做人人爱| 91在线视频免费91| 中文字幕一区二区在线播放| www.色精品| 亚洲欧洲av色图| 972aa.com艺术欧美| 日韩理论电影院| 91免费国产在线| 亚洲精品中文字幕乱码三区| 色婷婷久久久亚洲一区二区三区| 综合久久久久久| 91视频在线观看免费| 最新高清无码专区| 欧美伊人久久大香线蕉综合69| 一区二区免费在线播放| 91福利在线看| 亚洲国产日韩在线一区模特| 欧美日韩国产另类一区| 视频在线观看一区二区三区| 日韩视频免费直播| 精品一区二区日韩| 久久久久久久久岛国免费| 成人午夜激情片| 亚洲人成在线观看一区二区| 在线观看亚洲a| 日本va欧美va精品发布| 久久久精品影视| 91亚洲精品乱码久久久久久蜜桃| 一区二区在线观看av| 91麻豆精品国产自产在线观看一区| 免费高清在线一区| 日本一区二区三区四区在线视频 | 欧美成人精品高清在线播放 | 日韩女优av电影在线观看| 九九热在线视频观看这里只有精品| 久久在线观看免费| 91亚洲精品久久久蜜桃网站| 午夜精品在线看| 久久久亚洲欧洲日产国码αv| 成人高清免费在线播放| 午夜精品久久久久久久| 91精品国产福利| 国产99精品国产| 亚洲国产精品一区二区www在线| 日韩精品一区二区在线观看| 高清在线不卡av| 亚洲成人免费影院| 久久久久久久国产精品影院| 在线看不卡av| 国产精品羞羞答答xxdd| 亚洲黄色尤物视频| 精品剧情v国产在线观看在线| av在线播放成人| 久久精品国产亚洲a| 中文字幕日韩av资源站| 日韩一卡二卡三卡四卡| 91麻豆福利精品推荐| 激情丁香综合五月| 亚洲一二三四区| 久久久久99精品一区| 欧美老人xxxx18| 99vv1com这只有精品| 久久疯狂做爰流白浆xx| 亚洲久本草在线中文字幕| 欧美精品一区二区三区四区| 欧美亚州韩日在线看免费版国语版| 激情综合网天天干| 亚洲成人精品一区二区| 中文字幕欧美国产| 日韩欧美一区在线| 欧美性受极品xxxx喷水| 丁香婷婷综合五月| 久久精品国产澳门| 无码av免费一区二区三区试看 | 欧洲一区二区三区免费视频| 国精产品一区一区三区mba视频| 天天色综合成人网|