示例#1
0
def test_autostitch2():
  im1=io.imread('pano/guedelon-1.png', 1.0)
  im2=io.imread('pano/guedelon-2.png', 1.0)
  im3=io.imread('pano/guedelon-3.png', 1.0)
  im4=io.imread('pano/guedelon-4.png', 1.0)
  im_list=[im1, im2, im3, im4]
  out=a7.autostitch(im_list, 1)
  io.imwrite(out, 'panorama2.png', 1.0)
示例#2
0
def castle_autostitch():
  im1=io.imread('pano/castle-1.png', 1.0)
  im2=io.imread('pano/castle-2.png', 1.0)
  im3=io.imread('pano/castle-3.png', 1.0)
  im4=io.imread('pano/castle-4.png', 1.0)
  im_list=[im1, im2, im3, im4]
  out=a7.autostitch(im_list, 1) 
  io.imwrite(out, 'output/castle_panorama.png', 1.0)
示例#3
0
def test_myPano():
  im1 = io.imread('pano/house1.png', 1.0)
  im2 = io.imread('pano/house2.png', 1.0)
  im3 = io.imread('pano/house3.png', 1.0)
  im_list = [im1, im2, im3]
  io.imwrite(a7.autostitch(im_list, 1), 'auto_stitch_house.png', 1.0)
示例#4
0
def test_autostitch():
  im1=io.imread('pano/stata-1.png', 1.0)
  im2=io.imread('pano/stata-2.png', 1.0)
  im_list=[im1, im2]
  out=a7.autostitch(im_list, 0)
  io.imwrite(out, 'panorama1.png', 1.0)
def test_autostitch3():
  im1=io.imread('pano/mit1.png', 1.0)
  im2=io.imread('pano/mit0.png', 1.0)
  im_list=[im1, im2]
  out=a7.autostitch(im_list, 1) 
  io.imwrite(out, 'panoramaMine.png', 1.0)