Ok this set of commands, applied to 4 different spherical images created moving around a room (from test01.jpg to test04.jpg) should produce 48 different images, which should allow a 3d reconstruction of the room.
Source images must be spherical images, 235° FOV, 2048x2048.
Code: Select all
./fisheye2rect -i 235 -o 90 -l 2048,1024 800x600 test01.jpg out01.jpg
./fisheye2rect -i 235 -o 90 -l 1911,512 800x600 test01.jpg out02.jpg
./fisheye2rect -i 235 -o 90 -l 1536,137 800x600 test01.jpg out03.jpg
./fisheye2rect -i 235 -o 90 -l 1024,0 800x600 test01.jpg out04.jpg
./fisheye2rect -i 235 -o 90 -l 512,137 800x600 test01.jpg out05.jpg
./fisheye2rect -i 235 -o 90 -l 137,512 800x600 test01.jpg out06.jpg
./fisheye2rect -i 235 -o 90 -l 0,1024 800x600 test01.jpg out07.jpg
./fisheye2rect -i 235 -o 90 -l 137,1536 800x600 test01.jpg out08.jpg
./fisheye2rect -i 235 -o 90 -l 512,1911 800x600 test01.jpg out09.jpg
./fisheye2rect -i 235 -o 90 -l 1024,2048 800x600 test01.jpg out10.jpg
./fisheye2rect -i 235 -o 90 -l 1536,1911 800x600 test01.jpg out11.jpg
./fisheye2rect -i 235 -o 90 -l 1911,1536 800x600 test01.jpg out12.jpg
./fisheye2rect -i 235 -o 90 -l 2048,1024 800x600 test02.jpg out13.jpg
./fisheye2rect -i 235 -o 90 -l 1911,512 800x600 test02.jpg out14.jpg
./fisheye2rect -i 235 -o 90 -l 1536,137 800x600 test02.jpg out15.jpg
./fisheye2rect -i 235 -o 90 -l 1024,0 800x600 test02.jpg out16.jpg
./fisheye2rect -i 235 -o 90 -l 512,137 800x600 test02.jpg out17.jpg
./fisheye2rect -i 235 -o 90 -l 137,512 800x600 test02.jpg out18.jpg
./fisheye2rect -i 235 -o 90 -l 0,1024 800x600 test02.jpg out19.jpg
./fisheye2rect -i 235 -o 90 -l 137,1536 800x600 test02.jpg out20.jpg
./fisheye2rect -i 235 -o 90 -l 512,1911 800x600 test02.jpg out21.jpg
./fisheye2rect -i 235 -o 90 -l 1024,2048 800x600 test02.jpg out22.jpg
./fisheye2rect -i 235 -o 90 -l 1536,1911 800x600 test02.jpg out23.jpg
./fisheye2rect -i 235 -o 90 -l 1911,1536 800x600 test02.jpg out24.jpg
./fisheye2rect -i 235 -o 90 -l 2048,1024 800x600 test03.jpg out25.jpg
./fisheye2rect -i 235 -o 90 -l 1911,512 800x600 test03.jpg out26.jpg
./fisheye2rect -i 235 -o 90 -l 1536,137 800x600 test03.jpg out27.jpg
./fisheye2rect -i 235 -o 90 -l 1024,0 800x600 test03.jpg out28.jpg
./fisheye2rect -i 235 -o 90 -l 512,137 800x600 test03.jpg out29.jpg
./fisheye2rect -i 235 -o 90 -l 137,512 800x600 test03.jpg out30.jpg
./fisheye2rect -i 235 -o 90 -l 0,1024 800x600 test03.jpg out31.jpg
./fisheye2rect -i 235 -o 90 -l 137,1536 800x600 test03.jpg out32.jpg
./fisheye2rect -i 235 -o 90 -l 512,1911 800x600 test03.jpg out33.jpg
./fisheye2rect -i 235 -o 90 -l 1024,2048 800x600 test03.jpg out34.jpg
./fisheye2rect -i 235 -o 90 -l 1536,1911 800x600 test03.jpg out35.jpg
./fisheye2rect -i 235 -o 90 -l 1911,1536 800x600 test03.jpg out36.jpg
./fisheye2rect -i 235 -o 90 -l 2048,1024 800x600 test04.jpg out25.jpg
./fisheye2rect -i 235 -o 90 -l 1911,512 800x600 test04.jpg out26.jpg
./fisheye2rect -i 235 -o 90 -l 1536,137 800x600 test04.jpg out27.jpg
./fisheye2rect -i 235 -o 90 -l 1024,0 800x600 test04.jpg out28.jpg
./fisheye2rect -i 235 -o 90 -l 512,137 800x600 test04.jpg out29.jpg
./fisheye2rect -i 235 -o 90 -l 137,512 800x600 test04.jpg out30.jpg
./fisheye2rect -i 235 -o 90 -l 0,1024 800x600 test04.jpg out31.jpg
./fisheye2rect -i 235 -o 90 -l 137,1536 800x600 test04.jpg out32.jpg
./fisheye2rect -i 235 -o 90 -l 512,1911 800x600 test04.jpg out33.jpg
./fisheye2rect -i 235 -o 90 -l 1024,2048 800x600 test04.jpg out34.jpg
./fisheye2rect -i 235 -o 90 -l 1536,1911 800x600 test04.jpg out35.jpg
./fisheye2rect -i 235 -o 90 -l 1911,1536 800x600 test04.jpg out36.jpg
"Just" 48 images because 50 is the usual limit of accepted images for freeware versions of stereophotogrammetry programs.
Ok, theory is over; now it's just a matter of testing...
![Smile :)](./images/smilies/icon_smile.gif)