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

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

?? torr_tool.m

?? matlab實現三維重建
?? M
?? 第 1 頁 / 共 3 頁
字號:
%---------------------------------------------------------------------\\\% --------------------------------------------------------------------function varargout = load_image_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.pushbutton5.[filename1, pathname1] = uigetfile_name('*.bmp;*.jpg;*.gif','Pick an input image')[filename2, pathname2] = uigetfile_name('*.bmp;*.jpg;*.gif','Pick a second input image')load_2images(h, eventdata, handles, varargin, filename1, pathname1,filename2, pathname2);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --------------------------------------------------------------------function varargout = clear_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.pushbutton6.% extracting the handle of the axes in which to display the imageax_handle2 = handles.axes2; axes(ax_handle2);set(get(ax_handle2, 'Title'), 'Visible', 'off');set(get(ax_handle2, 'Title'),'String', 'fff');hold offimage(handles.i1, 'Parent', ax_handle2,'XData',-handles.image_centrex,'YData',-handles.image_centrey);%  imshow(i1, 'Parent', ax_handle2);ax_handle3 = handles.axes3; axes(ax_handle3);hold offimage(handles.i2, 'Parent', ax_handle3,'XData',-handles.image_centrex,'YData',-handles.image_centrey);% --------------------------------------------------------------------function varargout = close_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.close_button.pos_size = get(handles.figure1,'Position');user_response = modaldlg([pos_size(1)+pos_size(3)/5 pos_size(2)+pos_size(4)/5]);switch user_responsecase {'no','cancel'}    % take no actioncase 'yes'    % Prepare to close GUI application window    %                  .    %                  .    %                  .    delete(handles.figure1)end% --------------------------------------------------------------------function varargout = help_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.help_button.HelpPath = which('stereo.htm');web(HelpPath); % --------------------------------------------------------------------function varargout = corn_param_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.corn_param_button.pos_size = get(handles.figure1,'Position');dlg_pos = [pos_size(1)+pos_size(3)/5 pos_size(2)+pos_size(4)/5];corn_param = torr_c_menu(handles, dlg_pos);handles.n_corners = corn_param(1);handles.corner_sigma = corn_param(2);handles.corner_width = corn_param(3);corn_param% saving the GUI dataguidata(handles.figure1, handles);%---------------------------------------------------------------------\\\function save_corners_to_file(n_corners1, n_corners2, ccr1, ccr2, FID)fprintf(FID,'%1.0f \n',n_corners1);fprintf(FID,'%1.0f \n',n_corners2);fprintf(FID,'%1.1f %1.1f \n',ccr1');fprintf(FID,'%1.1f %1.1f \n',ccr2');% --------------------------------------------------------------------function varargout = save_corner_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.save_corner_button.[fname,pname] = uiputfile_name('*.cor','Put Corner File');ccr1 = handles.ccr1;ccr2 = handles.ccr2;%save([pname fname], 'n_corners', 'ccr1', 'ccr2', '-ASCII')FID = fopen([pname fname],'w');n_corners1 = handles.n_corners1;n_corners2 = handles.n_corners2;save_corners_to_file(n_corners1, n_corners2, ccr1, ccr2, FID)fclose(FID);% --------------------------------------------------------------------function [n_corners1, n_corners2, ccr1, ccr2] = load_corners_from_file(FID)n_corners1 = fscanf(FID,'%f',1);n_corners2 = fscanf(FID,'%f',1);ccr1  = fscanf(FID,'%f %f',[2 n_corners1]);ccr2  = fscanf(FID,'%f %f',[2 n_corners2]);% --------------------------------------------------------------------function varargout = load_corner_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.load_corner_button.[fname,pname] = uigetfile_name('*.cor','Load Corner File');if isempty(fname)    returnendFID = fopen([pname fname]);[n_corners1, n_corners2, ccr1, ccr2] = load_corners_from_file(FID);handles.n_corners1 = n_corners1;handles.n_corners2 = n_corners2;handles.ccr1 = ccr1';handles.ccr2 = ccr2';fclose(FID);set(handles.save_corner_button, 'Enable', 'on');set(handles.match_button, 'Enable', 'on');set(handles.match_param_button, 'Enable', 'on');%once we have done the matches we can no longer redo corners otherwise things might be inconsistentset(handles.detect_corner_button, 'Enable', 'off');% saving the GUI dataguidata(handles.figure1, handles);clear_button_Callback(h, eventdata, handles, varargin);display_corners_in_figure(handles)%---------------------------------------------------------------------\\\% --------------------------------------------------------------------function varargout = match_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.match_button.%shift the x,y coordinates so we can access the image directlyccr1(:,1) = handles.ccr1(:,1) + handles.image_centrex;ccr1(:,2) = handles.ccr1(:,2) + handles.image_centrey;ccr2(:,1) = handles.ccr2(:,1) + handles.image_centrex;ccr2(:,2) = handles.ccr2(:,2) + handles.image_centrey;matches12 = torr_corn_matcher(handles.d1, handles.d2, ccr1, ccr2, handles.max_disparity,handles.match_half_size);disp('Number of matches:')length(matches12)matches12(:,1) = matches12(:,1) - handles.image_centrex;matches12(:,2) = matches12(:,2) - handles.image_centrey;matches12(:,3) = matches12(:,3) - handles.image_centrex;matches12(:,4) = matches12(:,4) - handles.image_centrey;handles.matches12 = matches12;handles.n_matches = length(matches12);set(handles.save_match_button, 'Enable', 'on');    set(handles.mapsac_button, 'Enable', 'on');set(handles.mapsac_parameters_button, 'Enable', 'on');%once we have done the matches we can no longer redo corners otherwise things might be inconsistentset(handles.detect_corner_button, 'Enable', 'off');guidata(handles.figure1, handles);display_matches(h, eventdata, handles, varargin);% --------------------------------------------------------------------function varargout = display_matches(h, eventdata, handles, varargin)% extracting the handle of the axes in which to display the imageax_handle2 = handles.axes2;ax_handle3 = handles.axes3; ccr1 = handles.ccr1;ccr2 = handles.ccr2;matches= handles.matches12;axes(ax_handle2);hold onaxes(ax_handle3);hold onx1 = matches(:,1);y1 = matches(:,2);x2 = matches(:,3);y2 = matches(:,4);u1 = x2 - x1;v1 = y2 - y1;plot (matches(:,1), matches(:,2),'r+');hold onplot (matches(:,3), matches(:,4),'r+');display_numbers = 0;if display_numbers    mat_index1 = 1:length(matches);    mat_index1 = mat_index1';    mat_index = num2str(mat_index1);    text(matches(:,1), matches(:,2),mat_index)endquiver(x1, y1, u1, v1, 0)hold off% % plot(ccr1(:,1), ccr1(:,2), 'r.')% plot(ccr2(:,1), ccr2(:,2), 'c.')% % for i = 1:length(mat12)%     if mat12(i) ~= 0%         a = [ccr1(i,1),ccr2(mat12(i),1)];  %x1 x2%         b = [ccr1(i,2),ccr2(mat12(i),2)];	%y1 y2%         %x1 y1%         %x2 y2%         line(a,b);%     end% endaxes(ax_handle2);        hold offaxes(ax_handle3);        hold off% --------------------------------------------------------------------function varargout = match_param_button_Callback(h, eventdata, handles, varargin)pos_size = get(handles.figure1,'Position');dlg_pos = [pos_size(1)+pos_size(3)/5 pos_size(2)+pos_size(4)/5];match_param = torr_m_menu(handles, dlg_pos);handles.max_disparity = match_param(1);handles.match_half_size = match_param(2);% saving the GUI dataguidata(handles.figure1, handles);%---------------------------------------------------------------------% --------------------------------------------------------------------function varargout = save_image1_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.save_image1_button.ax_handle2 = handles.axes2;%ax_handle3 = handles.axes3; % hf1 = figure;% %plot(sin(1:10));%hf2 = figure;%ha = findobj('Parent',hf1);% ax_handle2 = handles.axes2;% new_axes = axes(ax_handle2);% set(new_axes, 'Parent', hf1);% % [fname,pname] = uiputfile('*.fig');% saveas(ax_handle2,[pname fname ]);%hgsave(ax_handle2,[pname fname ]);new_fig = figure;new_axes = copyobj(ax_handle2,new_fig)%set(new_axes,'Position',[.5 .5 .8 .8],'DataAspectRatioMode','auto','PlotBoxAspectRatioMode','auto');%get(new_axes)axis_position = get(new_axes,'Position');set(new_axes,'Position',[10 7  axis_position(3) axis_position(4) ]);%keyboard% fff = handles.figure1;% saveas(fff,'bigfig.bmp');% --------------------------------------------------------------------function varargout = save_image2_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.save_image2_button.ax_handle3 = handles.axes3;% [fname,pname] = uiputfile('*.fig');% saveas(ax_handle3,[pname fname ]);%hgsave(ax_handle3,[pname fname ]);new_fig = figure;new_axes = copyobj(ax_handle3,new_fig)%set(new_axes,'Position',[.5 .5 .8 .8],'DataAspectRatioMode','auto','PlotBoxAspectRatioMode','auto');%get(new_axes)axis_position = get(new_axes,'Position');set(new_axes,'Position',[10 7  axis_position(3) axis_position(4) ]);%keyboard% --------------------------------------------------------------------function varargout = manual_match_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.manual_match_button.set(handles.save_match_button, 'Enable', 'on');    set(handles.load_match_button, 'Enable', 'on');matches12 = torr_add_manual_matches(handles.axes2,handles.axes3);handles.matches12 = matches12;handles.n_matches = length(matches12);%also store cornersccr1(:,1) = matches12(:,1);ccr1(:,2) = matches12(:,2);ccr2(:,1) = matches12(:,3);ccr2(:,2) = matches12(:,4);handles.ccr1 = ccr1;handles.ccr2 = ccr2;%once we have done the matches we can no longer redo corners otherwise things might be inconsistentset(handles.detect_corner_button, 'Enable', 'off');guidata(handles.figure1, handles);display_matches(h, eventdata, handles, varargin);if handles.n_matches > 7;    set(handles.mapsac_button, 'Enable', 'on');    set(handles.mapsac_parameters_button, 'Enable', 'on');    set(handles.ImproveF_button, 'Enable', 'on');end% --------------------------------------------------------------------function varargout = save_match_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.save_corner_button.[fname,pname] = uiputfile_name('*.matches','Put Match File');n_matches = handles.n_matches;matches12 = handles.matches12;%save([pname fname], 'n_corners', 'ccr1', 'ccr2', '-ASCII')FID = fopen([pname fname],'w');fprintf(FID,'%1.0f \n',n_matches);fprintf(FID,'%1.1f %1.1f %1.1f %1.1f  \n',matches12');%now store original corners for good measure:n_corners = handles.n_corners;ccr1 = handles.ccr1;ccr2 = handles.ccr2;n_corners1 = handles.n_corners1;n_corners2 = handles.n_corners2;save_corners_to_file(n_corners1, n_corners2, ccr1, ccr2, FID);fclose(FID);% --------------------------------------------------------------------function varargout = load_match_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.load_match_button.% Stub for Callback of the uicontrol handles.load_corner_button.[fname,pname] = uigetfile_name('*.matches','Load Match File');if isempty(fname)    returnendFID = fopen([pname fname]);n_matches = fscanf(FID,'%f',1)handles.n_matches = n_matches;matches12  = fscanf(FID,'%f %f %f %f',[4 n_matches]);[n_corners1, n_corners2, ccr1, ccr2] = load_corners_from_file(FID);handles.n_corners1 = n_corners1;handles.n_corners2 = n_corners2;handles.ccr1 = ccr1';handles.ccr2 = ccr2';fclose(FID);handles.matches12 = matches12';set(handles.save_corner_button, 'Enable', 'on');set(handles.save_match_button, 'Enable', 'on');set(handles.match_button, 'Enable', 'on');set(handles.match_param_button, 'Enable', 'on');% Stub for Callback of the uicontrol handles.pushbutton28.set(handles.mapsac_button, 'Enable', 'on');set(handles.mapsac_parameters_button, 'Enable', 'on');% saving the GUI dataguidata(handles.figure1, handles);clear_button_Callback(h, eventdata, handles, varargin)display_matches(h, eventdata, handles, varargin)% --------------------------------------------------------------------function varargout = display_inliers(h, eventdata, handles, varargin)% extracting the handle of the axes in which to display the imageax_handle2 = handles.axes2;ax_handle3 = handles.axes3; ccr1 = handles.ccr1;ccr2 = handles.ccr2;axes(ax_handle2);hold onaxes(ax_handle3);hold onmatches12 = handles.inlier_matches;plot(matches12(:,3),matches12(:,4),'c.');for i = 1:length(matches12)    a = [matches12(i,1),matches12(i,3)];  %x1 x2    b = [matches12(i,2),matches12(i,4)];	%y1 y2    line(a,b,'Color','g');endaxes(ax_handle2);hold onplot(matches12(:,3),matches12(:,4),'c.');%can i fix this to make this faster??for i = 1:length(matches12)    a = [matches12(i,1),matches12(i,3)];  %x1 x2    b = [matches12(i,2),matches12(i,4)];	%y1 y2    line(a,b,'Color','g');endaxes(ax_handle2);        hold offaxes(ax_handle3);        hold off%MAPSAC is the Bayesian version of MLESAC, and it is easier to pronounce!% --------------------------------------------------------------------function varargout = mapsac_button_Callback(h, eventdata, handles, varargin)% Stub for Callback of the uicontrol handles.mapsac_button.%run mapsac to get ff_optim_parameters = [handles.no_samp, handles.f_threshold];[f,f_sq_errors, n_inliers,inlier_index] = torr_estimateF(handles.matches12, handles.m3, f_optim_parameters, 'mapsac');disp('goodness of fit before non linear:')norm(f_sq_errors)handles.f = f;handles.inlier_matches = handles.matches12(inlier_index,:);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩综合小视频| 国产精品国产三级国产| 日韩va亚洲va欧美va久久| 日韩欧美一卡二卡| 日本网站在线观看一区二区三区| 欧美一区二区大片| 国产一区在线精品| 国产精品夫妻自拍| 欧美日韩国产高清一区二区三区| 国产在线国偷精品免费看| 久久久美女艺术照精彩视频福利播放| 亚洲国产精品麻豆| 亚洲欧洲国产日韩| 久久久亚洲午夜电影| 6080亚洲精品一区二区| 91久久线看在观草草青青| 经典一区二区三区| 另类的小说在线视频另类成人小视频在线 | 国产99久久精品| 丝袜亚洲另类丝袜在线| 亚洲欧美日韩国产成人精品影院 | 99久久久国产精品| 国产乱对白刺激视频不卡| 蜜桃精品视频在线| 奇米影视7777精品一区二区| 亚洲一区二区中文在线| 欧美激情一区二区三区全黄| 欧美精品v国产精品v日韩精品 | 午夜国产精品一区| 欧美国产97人人爽人人喊| 欧美特级限制片免费在线观看| 亚洲国产成人91porn| 欧美四级电影网| 日本精品视频一区二区三区| 99久久婷婷国产| 成人h动漫精品一区二区| 99久久久久久| 色哟哟在线观看一区二区三区| 色久优优欧美色久优优| 欧美无砖砖区免费| 欧美日韩激情在线| 91精品国产综合久久久久久久| 日韩三级视频在线观看| 7777精品久久久大香线蕉| 日韩免费高清视频| 欧美r级在线观看| 国产精品人妖ts系列视频| 中文一区二区在线观看| 一区二区三区电影在线播| 日韩不卡免费视频| 肉色丝袜一区二区| 97精品国产97久久久久久久久久久久 | 色婷婷亚洲综合| 97久久精品人人爽人人爽蜜臀| 日韩一区二区在线观看视频| 6080yy午夜一二三区久久| 日韩亚洲欧美综合| 久久久久久久免费视频了| 国产日韩欧美精品在线| 综合分类小说区另类春色亚洲小说欧美| 亚洲欧美偷拍卡通变态| 在线精品视频一区二区| 色婷婷亚洲精品| 国产尤物一区二区在线| 94-欧美-setu| 日韩午夜激情免费电影| 中文字幕在线一区免费| 日韩美女久久久| 欧美成人一区二区| 日韩欧美成人午夜| 亚洲男人天堂av网| 蜜臀av一区二区在线免费观看 | 一区二区日韩av| 日韩中文字幕av电影| 成人性生交大片免费看在线播放 | 亚洲国产精品一区二区www| 成人高清在线视频| 欧美电视剧在线看免费| 午夜欧美2019年伦理| eeuss国产一区二区三区| 国产片一区二区| 美国十次了思思久久精品导航| 成人黄色av网站在线| xnxx国产精品| 久久99精品视频| 91麻豆精品国产| 天堂久久一区二区三区| 91豆麻精品91久久久久久| 亚洲综合网站在线观看| 91农村精品一区二区在线| 国产日韩欧美高清| 国内精品写真在线观看| 精品久久久久久久人人人人传媒| 日韩av在线发布| 欧美一区二区三区婷婷月色| 香蕉久久夜色精品国产使用方法| 色综合久久天天综合网| 亚洲精品乱码久久久久久久久| 日本高清成人免费播放| 伊人夜夜躁av伊人久久| 欧洲精品视频在线观看| 午夜精品爽啪视频| 日韩欧美亚洲国产另类| 久久电影网电视剧免费观看| 久久久亚洲精华液精华液精华液| 国内精品国产成人国产三级粉色| 日韩欧美一级片| 福利一区二区在线| 亚洲精品成人精品456| 欧美三级视频在线播放| 日韩精品亚洲专区| 久久精品免视看| 91小视频在线| 日韩电影网1区2区| 亚洲美女偷拍久久| 日韩一区二区三区四区五区六区 | 精品av综合导航| 不卡视频在线看| 亚洲自拍都市欧美小说| 久久久久久一级片| 一本色道亚洲精品aⅴ| 欧美一区二区精品| 色吧成人激情小说| 免费观看在线综合| 亚洲1区2区3区4区| 国产欧美精品一区aⅴ影院| 97久久超碰精品国产| 久久99深爱久久99精品| 亚洲狠狠丁香婷婷综合久久久| 欧美一区二区私人影院日本| 国产精品99久久久久久宅男| 亚洲一区视频在线观看视频| 亚洲精品在线三区| 精品婷婷伊人一区三区三| 国产69精品久久久久777| 五月综合激情日本mⅴ| 国产精品蜜臀在线观看| 欧美一区二区福利在线| 色综合久久88色综合天天免费| 国产一区 二区 三区一级| 亚洲一区二区三区精品在线| 久久久不卡影院| 欧美久久久久久久久久| 91美女片黄在线| 国产不卡免费视频| 免费在线观看视频一区| 一区二区三区久久久| 亚洲国产精品黑人久久久| 日韩三级高清在线| 欧美日韩中字一区| 91在线精品一区二区| 国产黄色精品网站| 国产精品一区在线| 理论片日本一区| 麻豆91精品视频| 人人超碰91尤物精品国产| 性感美女久久精品| 午夜激情久久久| 五月婷婷色综合| 婷婷国产在线综合| 午夜成人在线视频| 亚洲成人tv网| 亚洲国产日韩在线一区模特| 久久久久久日产精品| 欧美一区二区视频免费观看| 91福利视频久久久久| 美腿丝袜亚洲三区| 日本系列欧美系列| 麻豆国产一区二区| 精品午夜一区二区三区在线观看| 久久机这里只有精品| 国产伦精品一区二区三区免费迷 | 亚洲精品综合在线| 亚洲欧美另类在线| 中文无字幕一区二区三区 | 国产suv精品一区二区三区| 成人性生交大片免费看中文网站| 国产91精品一区二区麻豆网站 | 国产成人精品免费| 国产一区视频导航| 99久久精品一区| 欧美视频日韩视频在线观看| 正在播放一区二区| 久久久久久久久久久久久女国产乱| 91麻豆精品91久久久久同性| 亚洲精品高清在线| 中文字幕av一区二区三区免费看| 亚洲国产中文字幕在线视频综合| 亚洲另类春色校园小说| 精品在线播放免费| 成人黄色av网站在线| 日韩三级.com| 国产精品美女久久久久aⅴ| 日韩制服丝袜av| 国产精品99久久久久久似苏梦涵| 欧美亚洲高清一区二区三区不卡| 69堂精品视频| 亚洲黄色在线视频| 麻豆国产精品视频| 91猫先生在线|