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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? matchbymonogenicphase.m

?? MATLAB Functions for Multiple View Geometry
?? M
字號(hào):
% MATCHBYMONOGENICPHASE - match image feature points using monogenic phase data%% Function generates putative matches between previously detected% feature points in two images by looking for points that have minimal% differences in monogenic phase data within windows surrounding each point.% Only points that correlate most strongly with each other in *both*% directions are returned.  This is a simple-minded N^2 comparison.%% This matcher performs rather well relative to normalised greyscale% correlation.  Typically there are more putative matches found and fewer% outliers.  There is a greater computational cost in the pre-filtering stage% but potentially the matching stage is much faster as each pixel is effectively% encoded with only 3 bits. (Though this potential speed is not realized in this% implementation)%% Usage: [m1,m2] = matchbymonogenicphase(im1, p1, im2, p2, w, dmax, ...%                                   nscale, minWaveLength, mult, sigmaOnf)%% Arguments:%         im1, im2 - Images containing points that we wish to match.%         p1, p2   - Coordinates of feature pointed detected in im1 and%                    im2 respectively using a corner detector (say Harris%                    or phasecong2).  p1 and p2 are [2xnpts] arrays though%                    p1 and p2 are not expected to have the same number%                    of points.  The first row of p1 and p2 gives the row%                    coordinate of each feature point, the second row%                    gives the column of each point.%         w        - Window size (in pixels) over which the phase bit codes%                    around each feature point are matched.  This should%                    be an odd number.%         dmax     - Maximum search radius for matching points.  Used to %                    improve speed when there is little disparity between%                    images.  Even setting it to a generous value of 1/4 of%                    the image size gives a useful speedup. %         nscale   - Number of filter scales.%         minWaveLength - Wavelength of smallest scale filter.%         mult     - Scaling factor between successive filters.%         sigmaOnf - Ratio of the standard deviation of the Gaussian%                    describing the log Gabor filter's transfer function in%                    the frequency domain to the filter center frequency. %%% Returns:%         m1, m2   - Coordinates of points selected from p1 and p2%                    respectively such that (putatively) m1(:,i) matches%                    m2(:,i). m1 and m2 are [2xnpts] arrays defining the%                    points in each of the images in the form [row;col].%%% I have had good success with the folowing parameters:%%    w = 11;         Window size for correlation matching, 7 or greater%                    seems fine.%    dmax = 50; %    nscale = 1;     Just one scale can give very good results. Adding%                    another scale doubles computation %    minWaveLength = 10;%    mult = 4;       This is irrelevant if only one scale is used.  If you do%                    use more than one scale try values in the range 2-4.%    sigmaOnf = .2;  This results in a *very* large bandwidth filter.  A%                    large bandwidth seems to be very important in the%                    matching performance.%% See Also:  MATCHBYCORRELATION, MONOFILT% Copyright (c) 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.% May 2005    - Original version adapted from matchbycorrelation.mfunction [m1,m2,cormat] = matchbymonogenicphase(im1, p1, im2, p2, w, dmax, ...                            nscale, minWaveLength, mult, sigmaOnf)    orientWrap = 0;    [f1, h1f1, h2f1, A1] = ...        monofilt(im1, nscale, minWaveLength, mult, sigmaOnf, orientWrap);    [f2, h1f2, h2f2, A2] = ...        monofilt(im2, nscale, minWaveLength, mult, sigmaOnf, orientWrap);    % Normalise filter outputs to unit vectors (should also have masking for    % unreliable filter outputs)    for s = 1:nscale%       f1{s} = f1{s}./A1{s}; f2{s} = f2{s}./A2{s};%       h1f1{s} = h1f1{s}./A1{s}; h1f2{s} = h1f2{s}./A2{s};     %       h2f1{s} = h2f1{s}./A1{s}; h2f2{s} = h2f2{s}./A2{s};                             % Try quantizing oriented phase vector to 8 octants to see what        % effect this has (Performance seems to be reduced only slightly)        f1{s} = sign(f1{s}); f2{s} = sign(f2{s});         h1f1{s} = sign(h1f1{s}); h1f2{s} = sign(h1f2{s});                       h2f1{s} = sign(h2f1{s}); h2f2{s} = sign(h2f2{s});                           end        % Generate correlation matrix    cormat = correlationmatrix(f1, h1f1, h2f1, p1, ...                               f2, h1f2, h2f2, p2, w, dmax);    [corrows,corcols] = size(cormat);        % Find max along rows give strongest match in p2 for each p1    [mp2forp1, colp2forp1] = max(cormat,[],2);        % Find max down cols give strongest match in p1 for each p2        [mp1forp2, rowp1forp2] = max(cormat,[],1);            % Now find matches that were consistent in both directions    p1ind = zeros(1,length(p1));  % Arrays for storing matched indices    p2ind = zeros(1,length(p2));        indcount = 0;        for n = 1:corrows        if rowp1forp2(colp2forp1(n)) == n  % consistent both ways            indcount = indcount + 1;            p1ind(indcount) = n;            p2ind(indcount) = colp2forp1(n);        end    end        % Trim arrays of indices of matched points    p1ind = p1ind(1:indcount);        p2ind = p2ind(1:indcount);                % Extract matched points from original arrays    m1 = p1(:,p1ind);      m2 = p2(:,p2ind);            %-------------------------------------------------------------------------    % Function that does the work.  This function builds a 'correlation' matrix% that holds the correlation strength of every point relative to every other% point.  While this seems a bit wasteful we need all this data if we want% to find pairs of points that correlate maximally in both directions.function cormat = correlationmatrix(f1, h1f1, h2f1, p1, ...                                    f2, h1f2, h2f2, p2, w, dmax)        if mod(w, 2) == 0 | w < 3        error('Window size should be odd and >= 3');    end    r = (w-1)/2;   % 'radius' of correlation window        [rows1, npts1] = size(p1);    [rows2, npts2] = size(p2);            if rows1 ~= 2 | rows2 ~= 2        error('Feature points must be specified in 2xN arrays');    end            % Reorganize monogenic phase data into a 4D matrices for convenience    [im1rows,im1cols] = size(f1{1});    [im2rows,im2cols] = size(f2{1});    nscale = length(f1);        phase1 = zeros(im1rows,im1cols,nscale,3);    phase2 = zeros(im2rows,im2cols,nscale,3);           for s = 1:nscale        phase1(:,:,s,1) = f1{s}; phase1(:,:,s,2) = h1f1{s}; phase1(:,:,s,3) = h2f1{s};        phase2(:,:,s,1) = f2{s}; phase2(:,:,s,2) = h1f2{s}; phase2(:,:,s,3) = h2f2{s};        end    % Initialize correlation matrix values to -infinity    cormat = repmat(-inf, npts1, npts2);            % For every feature point in the first image extract a window of data    % and correlate with a window corresponding to every feature point in    % the other image.  Any feature point less than distance 'r' from the    % boundary of an image is not considered.        % Find indices of points that are distance 'r' or greater from    % boundary on image1 and image2;    n1ind = find(p1(1,:)>r & p1(1,:)<im1rows+1-r & ...                 p1(2,:)>r & p1(2,:)<im1cols+1-r);        n2ind = find(p2(1,:)>r & p2(1,:)<im2rows+1-r & ...                 p2(2,:)>r & p2(2,:)<im2cols+1-r);            for n1 = n1ind                            % Identify the indices of points in p2 that we need to consider.        if dmax == inf            n2indmod = n2ind; % We have to consider all of n2ind                    else     % Compute distances from p1(:,n1) to all available p2.            p1pad = repmat(p1(:,n1),1,length(n2ind));            dists2 = sum((p1pad-p2(:,n2ind)).^2);            % Find indices of points in p2 that are within distance dmax of            % p1(:,n1)             n2indmod = n2ind(find(dists2 < dmax^2));         end                % Generate window in 1st image                  w1 = phase1(p1(1,n1)-r:p1(1,n1)+r, p1(2,n1)-r:p1(2,n1)+r, :, :);        for n2 = n2indmod             % Generate window in 2nd image            w2 = phase2(p2(1,n2)-r:p2(1,n2)+r, p2(2,n2)-r:p2(2,n2)+r, :, :);            % Compute dot product as correlation measure             cormat(n1,n2) = w1(:)'*w2(:);                        %   *** Need to add  mask stuff        end    end    

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
五月天国产精品| 国产精品888| 欧美国产日韩亚洲一区| 欧美日韩午夜在线| 成人免费高清在线| 免费成人在线观看视频| 亚洲女子a中天字幕| 久久九九99视频| 欧美一区二区三区免费在线看| 91亚洲精品乱码久久久久久蜜桃 | 免费看欧美女人艹b| 亚洲人成精品久久久久| 久久久高清一区二区三区| 日韩一区二区精品葵司在线| 欧美四级电影在线观看| hitomi一区二区三区精品| 激情文学综合插| 日本不卡一区二区三区高清视频| 亚洲另类色综合网站| 国产精品丝袜久久久久久app| 欧美va亚洲va国产综合| 91精品国产综合久久蜜臀| 在线观看91精品国产入口| 97精品久久久午夜一区二区三区| 国产精品一区二区在线播放| 久久精品免费观看| 麻豆成人久久精品二区三区小说| 日韩制服丝袜av| 日本亚洲天堂网| 日本最新不卡在线| 热久久国产精品| 日韩电影免费在线| 美女mm1313爽爽久久久蜜臀| 日韩电影在线一区二区三区| 日韩成人免费在线| 秋霞影院一区二区| 蜜臀91精品一区二区三区| 九一九一国产精品| 国产在线麻豆精品观看| 国产一区二区三区黄视频 | 国产日韩成人精品| 日本一区二区视频在线观看| 久久精品亚洲一区二区三区浴池| 久久只精品国产| 久久久不卡网国产精品一区| 国产亚洲美州欧州综合国| 国产欧美日韩在线观看| 欧美经典一区二区三区| 综合精品久久久| 一区二区不卡在线播放| 亚洲国产一区二区视频| 免费看欧美女人艹b| 精品一区二区免费在线观看| 国产成人免费视频一区| zzijzzij亚洲日本少妇熟睡| 一本色道久久加勒比精品| 欧美日韩一本到| 欧美一区二区日韩一区二区| 精品播放一区二区| 国产亚洲精品资源在线26u| 亚洲欧洲精品成人久久奇米网| 亚洲色欲色欲www在线观看| 亚洲电影一区二区| 国产在线一区二区综合免费视频| 成人精品免费视频| 欧美视频一区二区| 亚洲精品一区在线观看| 亚洲欧洲www| 午夜精品爽啪视频| 懂色中文一区二区在线播放| 日本国产一区二区| 日韩精品一区二区三区swag | 欧美日本精品一区二区三区| 欧美一区二区二区| 国产精品久久午夜| 午夜一区二区三区在线观看| 国产酒店精品激情| 欧美日韩一区小说| 国产午夜亚洲精品羞羞网站| 尤物av一区二区| 麻豆国产精品视频| 色噜噜狠狠成人中文综合 | 欧美激情综合网| 午夜精品在线看| 不卡免费追剧大全电视剧网站| 欧美日韩免费一区二区三区 | 中文字幕一区二区三区四区不卡| 三级精品在线观看| 不卡一区中文字幕| 欧美大片在线观看一区二区| 亚洲精品日日夜夜| 国产精品影音先锋| 欧美日韩一区二区欧美激情| 国产精品视频在线看| 天堂一区二区在线| 99r国产精品| 久久久久国产精品厨房| 亚洲va欧美va人人爽午夜| 高清成人免费视频| 日韩一区二区三区视频在线观看| 亚洲视频狠狠干| 国产成人日日夜夜| 欧美成人欧美edvon| 一区二区国产盗摄色噜噜| 成熟亚洲日本毛茸茸凸凹| 精品日韩一区二区三区| 亚洲va国产天堂va久久en| av色综合久久天堂av综合| 精品国产亚洲在线| 日产欧产美韩系列久久99| 91高清在线观看| 1区2区3区欧美| 高清不卡在线观看| 337p日本欧洲亚洲大胆色噜噜| 五月激情六月综合| 欧美丝袜第三区| 亚洲男人的天堂一区二区| 成人免费毛片a| 国产日韩欧美激情| 国产精品一区免费在线观看| 日韩精品一区在线观看| 日本欧洲一区二区| 欧美精品99久久久**| 亚洲电影第三页| 欧美日韩久久不卡| 亚洲成人激情社区| 欧美精品一级二级| 亚洲一区二区三区在线播放| 91视频在线观看| 亚洲人吸女人奶水| 色综合天天综合在线视频| 亚洲伦在线观看| 色天使久久综合网天天| 国产精品麻豆一区二区| 成人黄色在线网站| 国产精品久久看| 99在线热播精品免费| 亚洲日本va午夜在线电影| 色婷婷综合久色| 夜夜嗨av一区二区三区网页| 精品视频一区三区九区| 亚洲一区视频在线| 欧美放荡的少妇| 精品一区二区影视| 久久久天堂av| 972aa.com艺术欧美| 亚洲欧美电影院| 欧美乱妇15p| 久久97超碰色| 国产午夜精品一区二区三区嫩草 | 欧美高清在线视频| 不卡av免费在线观看| 一区二区三区在线不卡| 欧美日韩综合在线免费观看| 男女男精品网站| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | www.欧美色图| 一区二区三区四区激情| 欧美日韩精品一区二区| 蜜臀久久久久久久| 久久久久久免费网| 91麻豆成人久久精品二区三区| 亚瑟在线精品视频| 337p粉嫩大胆色噜噜噜噜亚洲| 国产不卡视频一区| 亚洲成av人片| 久久久av毛片精品| 91老师国产黑色丝袜在线| 亚洲成人激情社区| 国产日韩欧美精品综合| 欧美系列亚洲系列| 国模一区二区三区白浆| 18成人在线视频| 欧美一卡二卡在线| 成人av集中营| 水蜜桃久久夜色精品一区的特点| 欧美videofree性高清杂交| 成人av电影在线| 日韩高清不卡一区| 自拍av一区二区三区| 日韩情涩欧美日韩视频| 91在线观看地址| 九九视频精品免费| 亚洲一区二区三区国产| 久久夜色精品一区| 欧美日韩的一区二区| 99视频在线观看一区三区| 蜜桃av一区二区在线观看| 亚洲视频香蕉人妖| 久久九九全国免费| 7777精品伊人久久久大香线蕉超级流畅| 国产精品亚洲第一区在线暖暖韩国| 亚洲高清中文字幕| 国产精品福利一区二区三区| 日韩精品一区二区三区四区| 91美女片黄在线观看91美女| 国产精品一区二区三区99| 三级欧美韩日大片在线看| 亚洲私人影院在线观看| 久久久五月婷婷|