test_jy.m
上传用户:trade789
上传日期:2018-05-10
资源大小:603k
文件大小:0k
源码类别:

2D图形编程

开发平台:

Matlab

  1. imgo1 = imread('f00176.bmp');
  2. img1 = imresize(imgo1,2,'bilinear');
  3. imgo2 = imread('f00177.bmp');
  4. img2 = imresize(imgo2, 2, 'bilinear');
  5. [f1,pyr,imp,k1] = detect_features(img1);
  6. [f1,k1] = eliminate_edges(f1,k1);
  7. figure(1);
  8. showfeatures(f1,img1,0)
  9. [f2,pyr,imp,k2] = detect_features(img2);
  10. [f2,k2] = eliminate_edges(f2,k2);
  11. figure(2);
  12. showfeatures(f2,img2,0)
  13. kill_edges
  14. im1 = rgb2gray(img1);
  15. im2 = rgb2gray(img2);
  16. symmetric_match
  17. m
  18. cavg
  19. size(fk1)