freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

圖像中角點(diǎn)(特征點(diǎn))提取與匹配算法-在線瀏覽

2024-09-15 04:38本頁(yè)面
  

【正文】 06y26568779494142143144150150170177178228228228與該位置對(duì)應(yīng)的8個(gè)像素值分別為角點(diǎn)1角點(diǎn)2角點(diǎn)3。142(x1,y)485917。63(x,y+1)3111415。95(x+1,y)10117725。49(x,y1)32230。下面是兩幅圖像角點(diǎn)匹配的最佳坐標(biāo)位置匹配點(diǎn)010131415161700040512000誤差值03361056453341040003890204400000其中匹配點(diǎn)的值為0代表沒(méi)有找到匹配點(diǎn)。下面是第一次顯示找到的匹配點(diǎn)(兩幅圖像中共有9個(gè)匹配點(diǎn)) 下面是第二次顯示找到的匹配點(diǎn)(比上一次少一個(gè),判斷依據(jù)是將誤差值最大的點(diǎn)去除)從上面可以看出,14號(hào)點(diǎn)已經(jīng)被刪除,原因是該點(diǎn)的誤差值最大下面是最后一次顯示找到的匹配點(diǎn)只留下最后三個(gè)匹配點(diǎn),如果少于三個(gè)匹配點(diǎn),則很難進(jìn)行兩幅圖像的合并,所以當(dāng)只有留下三個(gè)匹配點(diǎn)的時(shí)候,程序退出。 算法代碼(用matlab語(yǔ)言寫的)function test() % The test function gives an example of keypoint extraction using the % methods : % Harris % % Example % ======= % test()。39。 %img11 = imread(39。)。39。 %img1 = double(img11(:,:,1))。39。 img1 = rgb2gray(img11)。 pt1 = kp_harris(img1)。Harris39。 % import the second picture %img21 = imread(39。)。39。 %img21 = imread(39。)。 img21 = imread(39。)。 img2 = double(img2(:,:))。 %draw(img21,pt2,39。)。 result(1,intersect(find(result(1,:) 0),find(result(2,:) == 0))) = 0。 while(length(find(result(1,:)0)) 3) result draw2(img11,img21,pt1,pt2,result)。 [index index] = max(result(2,:))。 result(2,index(1)) = 0。end function draw2(img1,img2,pt1,pt2,result) h = figure。outerposition39。screensize39。 subplot(1,2,1)。 imshow(img1)。 %hold on。 s = size(pt1,2)。 for i=1:size(pt1,1) rectangle(39。,[pt1(i,2)s,pt1(i,1)s,2*s,2*s],39。,[0 0],39。,39。,39。,2)。BackgroundColor39。 %text(pt2(i,2),pt2(i,1),num2str(i))。 end subplot(1,2,2)。Position39。Curvature39。EdgeColor39。b39。LineWidth39。 end %result %size(pt1) %size(pt2) for i=1:size(result,2) if(result(1,i)~=0) subplot(1,2,1)。Backgrou
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1