index.html

DIY 360 degree video


About my DIY 360 degree camcorder

Video rig and related stitching problems

360 video recording and synchronisation

Audio.

Auto vs Manual White Balance.

360 degree video assembling.

Preparing series of images.

Geometric template.

Shrinking images.

Stitching images to 360 video frames.

RAM disk as a working directory.

Coverting frames to a 360 video and publishing.

Multiblend on my Linux box

Software



Google+ Youtube 360Cities





Geometric template.




Original size.


Shrinked image.

* Other measures are also necessary to get a good fit of photos while assembling the panorama.



Top of Page



 # do to working dir 
 cd /home/oo/home_/500_dir
 
 ~/home_/500_dir$ pwd
  /home/oo/home_/500_dir

 cd ./hscript
 
 # the choosen frame is no. 1250 for example
 cp ../R01/ime_1250.png ./R01
 cp ../R01/ime_1250.png ./R02
 cp ../R01/ime_1250.png ./R03
 cp ../R01/ime_1250.png ./R04
 cp ../R01/ime_1250.png ./R05
 cp ../R01/ime_1250.png ./R06
 cp ../R01/ime_1250.png ./R07
 cp ../R01/ime_1250.png ./R08
 cp ../R01/ime_1250.png ./R09
 cp ../R01/ime_1250.png ./R10
 
 # list
 ls
 
 R01.png R02.png R03.png R04.png R05.png R06.png R07.png R08.png R09.png R10.png
 
    

 # go to working dir 
 cd /home/oo/home_/500_dir/hscript
 
 ~/home_/500_dir$ pwd
  /home/oo/home_/500_dir/hscript
 
 # list
 ls
 
 R01-R10.pto R01-R10.tif R01.png R02.png R03.png R04.png R05.png R06.png R07.png R08.png R09.png R10.png
 
    

 # go to working dir 
 cd /home/oo/home_/500_dir/hscript
 
 ~/home_/500_dir$ pwd
  /home/oo/home_/500_dir/hscript
 
 # list
 ls
 
 _base.pto R01-R10.pto R01-R10.tif R01.png R02.png R03.png R04.png R05.png R06.png R07.png R08.png R09.png R10.png
 
    


Top of Page







# hugin project file
#hugin_ptoversion 2
p f2 w5800 h2900 v360  E-0.0927002 R0 S0,5800,0,2330 n"TIFF_m c:LZW r:CROP"
m g1 i0 f0 m2 p0.00784314

# image lines
#-hugin  cropFactor=1
i w1080 h1920 f3 v66.8000228855093 Ra1.88689041137695 Rb2.22107791900635 Rc-0.334850609302521 Rd0.351588696241379 Re-0.262405663728714 Eev0 Er1 Eb1 r-1.67661081973448 p-2.33036943527851 y-0.0295816760079788 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b-0.0129133331935366 c0 d-20.3691853562653 e44.415430920563 g0 t0 Va1 Vb-0.153408147153074 Vc-0.0590590246153255 Vd-0.0588988468798644 Vx0 Vy0  Vm5 n"R01.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.357817711094067 Er0.847603128363011 Eb1.69223983463869 r0.524077538891307 p-0.726741129417399 y45.324895011636 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R02.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.28345604671915 Er1.06253142730392 Eb1.01506384616024 r-1.33391657236043 p2.64374456027896 y90.6701634712176 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R03.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.315868778560065 Er1.04708259292097 Eb1.04222734534024 r1.22599466056847 p-0.256942326284989 y132.446809877384 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R04.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.392364234934044 Er1.03518952229381 Eb1.05499431007796 r-0.792877563401804 p0.88287178636961 y-177.80311238044 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R05.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.526842288813796 Er1.08350290371377 Eb0.963853455914245 r-2.55888581145086 p2.85050870553028 y-136.890097939841 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R06.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.151830740504538 Er0.747899678099607 Eb1.53796567447834 r2.78978749351917 p0.672695109734163 y-90.2790827395966 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R07.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.564377173718274 Er0.961304922565772 Eb1.32247707836582 r-0.852977799334017 p1.04516828108381 y-46.048861439637 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R08.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0843980249351681 Er0.472355757233492 Eb1.51861097596899 r-86.9743232429548 p67.8230763785178 y95.2843118163559 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R09.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.452402301620937 Er1.2502843134468 Eb0.99500124550758 r-79.3404631146691 p67.5615470804029 y-77.676066539061 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"R10.png"


# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v r0
v p0
v Vb0
v Vc0
v Vd0
v Eev1
v r1
v p1
v y1
v Eev2
v r2
v p2
v y2
v Eev3
v r3
v p3
v y3
v Eev4
v r4
v p4
v y4
v Eev5
v r5
v p5
v y5
v Eev6
v r6
v p6
v y6
v Eev7
v r7
v p7
v y7
v Eev8
v r8
v p8
v y8
v Eev9
v r9
v p9
v y9
v


# control points
c n0 N1 x633.88271830026 y1706.60616050183 X105.446107333199 Y1755.48760178946 t0
c n0 N1 x769.348349176097 y124.473651284717 X236.432425384232 Y136.062589374351 t0
c n0 N1 x773.86672895195 y413.088634602496 X114.620351333732 Y425.173972191307 t0
c n0 N1 x865.501799448091 y322.349099988355 X235.043646706728 Y341.168976758798 t0
c n0 N1 x851.734497646813 y391.06231222529 X196.549523684983 Y406.863030418397 t0
c n0 N1 x801.587059054062 y1103.88105703165 X71.5005014177495 Y1127.15587875579 t0
c n0 N1 x888.673817573034 y30.2244291582603 X413.51789203587 Y65.7399662582137 t0
c n0 N1 x960.152400292036 y1269.38791924006 X259.291145829064 Y1279.8190561906 t0
c n0 N1 x997.78457518872 y345.205315372986 X360.913477600543 Y373.052418151198 t0
c n0 N1 x975.650835442668 y1030.11954529414 X247.124769620682 Y1043.23880029072 t0
c n0 N1 x1025.07272427691 y1083.65684056447 X299.26373353481 Y1090.86340273453 t0
c n1 N2 x693.132715806556 y1632.4295559386 X66.6257022451202 Y1686.89678650471 t0
c n1 N2 x766.364053442552 y922.009978755787 X37.4843302564937 Y964.939687135535 t0
c n1 N2 x771.143447638724 y1269.15337220393 X48.3915737597899 Y1319.27897747778 t0
c n1 N2 x765.973133903349 y1506.49764463899 X90.7787607821867 Y1556.9531850739 t0
c n1 N2 x812.137855307634 y812.496870480673 X89.2811109790212 Y855.666639431919 t0
c n1 N2 x854.348227257249 y967.909984629839 X121.395484265887 Y1013.63891730099 t0
c n1 N2 x854.972966784445 y1241.7663412747 X125.681596311283 Y1289.50963390148 t0
c n1 N2 x784.794425591957 y1563.95244972276 X126.9654888031 Y1611.96669919822 t0
c n1 N2 x954.170893198332 y850.156199047163 X226.761938885222 Y900.328108709327 t0
c n1 N2 x892.329394452474 y1241.85079784693 X162.698727149889 Y1288.21402803271 t0
c n1 N2 x970.057387457476 y801.791801339749 X248.250916769622 Y853.755552737872 t0
c n1 N2 x980.726286683494 y925.044196596915 X250.092699367014 Y974.896341898198 t0
c n1 N2 x964.465869291663 y1332.630263268 X249.774104730676 Y1375.66716317368 t0
c n1 N2 x1034.96360922427 y1594.2835335024 X392.264000125855 Y1620.07676885933 t0
c n2 N3 x619.593441445504 y1711.183937009 X112.15784858272 Y1692.80073798141 t0
c n2 N3 x738.588706799111 y926.386105977321 X62.3741399316209 Y882.53503073937 t0
c n2 N3 x730.040600488941 y1272.25548416854 X74.1987758215602 Y1237.55871329988 t0
c n2 N3 x722.020248702865 y1817.54017811539 X262.106321539828 Y1778.2106977798 t0
c n2 N3 x856.244340958344 y275.520849603188 X320.506819319824 Y235.871028160162 t0
c n2 N3 x830.652280452122 y616.708064780642 X188.133171292234 Y572.188502501529 t0
c n2 N3 x842.840950189749 y958.257800766136 X162.75291161803 Y913.153966733712 t0
c n2 N3 x819.682566351971 y1313.82462985584 X166.486038179489 Y1272.0202922343 t0


#hugin_optimizeReferenceImage 0
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions 
#hugin_enfuseOptions 
#hugin_hdrmergeOptions -m avg -c
#hugin_outputLDRBlended true
#hugin_outputLDRLayers false
#hugin_outputLDRExposureRemapped false
#hugin_outputLDRExposureLayers false
#hugin_outputLDRExposureBlended false
#hugin_outputLDRStacks false
#hugin_outputLDRExposureLayersFused false
#hugin_outputHDRBlended false
#hugin_outputHDRLayers false
#hugin_outputHDRStacks false
#hugin_outputLayersCompression LZW
#hugin_outputImageType tif
#hugin_outputImageTypeCompression LZW
#hugin_outputJPEGQuality 90
#hugin_outputImageTypeHDR exr
#hugin_outputImageTypeHDRCompression LZW
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_optimizerMasterSwitch 1
#hugin_optimizerPhotoMasterSwitch 21
    


Top of Page







# hugin project file
#hugin_ptoversion 2
p f2 w5800 h2900 v360  E-0.0927002 R0 S0,5800,0,2330 n"TIFF_m c:LZW r:CROP"
m g1 i0 f0 m2 p0.00784314

# image lines
#-hugin  cropFactor=1
i w1080 h1920 f3 v66.8000228855093 Ra1.88689041137695 Rb2.22107791900635 Rc-0.334850609302521 Rd0.351588696241379 Re-0.262405663728714 Eev0 Er1 Eb1 r-1.67661081973448 p-2.33036943527851 y-0.0295816760079788 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b-0.0129133331935366 c0 d-20.3691853562653 e44.415430920563 g0 t0 Va1 Vb-0.153408147153074 Vc-0.0590590246153255 Vd-0.0588988468798644 Vx0 Vy0  Vm5 n"ime_R01.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.357817711094067 Er0.847603128363011 Eb1.69223983463869 r0.524077538891307 p-0.726741129417399 y45.324895011636 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R02.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.28345604671915 Er1.06253142730392 Eb1.01506384616024 r-1.33391657236043 p2.64374456027896 y90.6701634712176 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R03.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.315868778560065 Er1.04708259292097 Eb1.04222734534024 r1.22599466056847 p-0.256942326284989 y132.446809877384 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R04.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.392364234934044 Er1.03518952229381 Eb1.05499431007796 r-0.792877563401804 p0.88287178636961 y-177.80311238044 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R05.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.526842288813796 Er1.08350290371377 Eb0.963853455914245 r-2.55888581145086 p2.85050870553028 y-136.890097939841 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R06.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.151830740504538 Er0.747899678099607 Eb1.53796567447834 r2.78978749351917 p0.672695109734163 y-90.2790827395966 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R07.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.564377173718274 Er0.961304922565772 Eb1.32247707836582 r-0.852977799334017 p1.04516828108381 y-46.048861439637 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R08.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0843980249351681 Er0.472355757233492 Eb1.51861097596899 r-86.9743232429548 p67.8230763785178 y95.2843118163559 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R09.png"
#-hugin  cropFactor=1
i w1080 h1920 f3 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.452402301620937 Er1.2502843134468 Eb0.99500124550758 r-79.3404631146691 p67.5615470804029 y-77.676066539061 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"ime_R10.png"


# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v r0
v p0
v Vb0
v Vc0
v Vd0
v Eev1
v r1
v p1
v y1
v Eev2
v r2
v p2
v y2
v Eev3
v r3
v p3
v y3
v Eev4
v r4
v p4
v y4
v Eev5
v r5
v p5
v y5
v Eev6
v r6
v p6
v y6
v Eev7
v r7
v p7
v y7
v Eev8
v r8
v p8
v y8
v Eev9
v r9
v p9
v y9
v


# control points


#hugin_optimizeReferenceImage 0
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions 
#hugin_enfuseOptions 
#hugin_hdrmergeOptions -m avg -c
#hugin_outputLDRBlended true
#hugin_outputLDRLayers false
#hugin_outputLDRExposureRemapped false
#hugin_outputLDRExposureLayers false
#hugin_outputLDRExposureBlended false
#hugin_outputLDRStacks false
#hugin_outputLDRExposureLayersFused false
#hugin_outputHDRBlended false
#hugin_outputHDRLayers false
#hugin_outputHDRStacks false
#hugin_outputLayersCompression LZW
#hugin_outputImageType tif
#hugin_outputImageTypeCompression LZW
#hugin_outputJPEGQuality 90
#hugin_outputImageTypeHDR exr
#hugin_outputImageTypeHDRCompression LZW
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_optimizerMasterSwitch 1
#hugin_optimizerPhotoMasterSwitch 21
    


Top of Page