Skip to content

Instantly share code, notes, and snippets.

@trolleway
Created February 2, 2019 20:41
Show Gist options
  • Save trolleway/315653cac4d51b9f2aed4cbbd17d0b8a to your computer and use it in GitHub Desktop.
Save trolleway/315653cac4d51b9f2aed4cbbd17d0b8a to your computer and use it in GitHub Desktop.
Hugin template for Xiaomi Mi Sphere
# hugin project file
#hugin_ptoversion 2
p f2 w6912 h3456 v360 E13.7052 R0 n"TIFF_m c:NONE r:CROP"
m g1 i0 f0 m2 p0.00784314
# image lines
#-hugin cropFactor=1
i w6912 h3456 f2 v396.635230442757 Ra0 Rb0 Rc0 Rd0 Re0 Eev13.70516 Er1 Eb1 r0.00825082164820041 p1.44530867102748 y-179.842406724096 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b0 c0 d-1664.3727797412 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0 S90,3367,92,3369 Vm5 n"image.jpg"
#-hugin cropFactor=1
i w6912 h3456 f2 v388.424297290832 Ra0 Rb0 Rc0 Rd0 Re0 Eev13.70516 Er1 Eb1 r0.385796738657643 p-0.968200655049642 y-7.3874167823502 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b0 c0 d1652.13282606849 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0 S3555,6828,100,3373 Vm5 n"image.jpg"
# specify variables that should be optimized
v v0
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v r0
v p0
v y0
v d0
v Vb0
v Vc0
v Vd0
v v1
v Ra1
v Rb1
v Rc1
v Rd1
v Re1
v Eev1
v r1
v p1
v y1
v d1
v Vb1
v Vc1
v Vd1
v
# control points
c n0 N1 x225 y2174.5 X6713.33333333333 Y2186.66666666667 t0
c n0 N1 x820 y2995.5 X6119.5 Y3046 t0
c n0 N1 x839 y2973.5 X6135.5 Y3066 t0
c n0 N1 x710.5 y2910.5 X6231 Y2956 t0
c n0 N1 x728.5 y2891 X6245.5 Y2973.5 t0
c n0 N1 x648 y2857 X6292 Y2897 t0
c n0 N1 x524 y2688.5 X6450.5 Y2752.5 t0
c n0 N1 x456 y2638.5 X6488 Y2668.5 t0
c n0 N1 x289.5 y2355 X6647 Y2374.5 t0
c n0 N1 x279.5 y2253.5 X6708.5 Y2288.5 t0
c n0 N1 x262 y2107 X6775.5 Y2145 t0
c n0 N1 x113 y1620.5 X6732.5 Y1633 t0
c n0 N1 x995.5 y286 X5874 Y346 t0
c n0 N1 x1392.5 y107.5 X5479 Y255 t0
c n0 N1 x2419 y318 X4463 Y299.5 t0
c n0 N1 x3170.5 y2374 X3730.5 Y2395 t0
c n0 N1 x3143 y2428.5 X3755.5 Y2448.5 t0
c n0 N1 x3126 y2463 X3773 Y2483 t0
c n0 N1 x2940.5 y2733 X3954.5 Y2761 t0
c n0 N1 x2882 y2795.5 X4010.5 Y2829 t0
c n0 N1 x2769 y2905 X4125 Y2940 t0
c n0 N1 x2678 y2976.5 X4215 Y3014.5 t0
c n0 N1 x2226 y3210.5 X4673.5 Y3262.5 t0
c n0 N1 x1006.5 y3111 X5927.5 Y3164.5 t0
# masks
k i0 t0 p"3402 794 3417 2603 3849 1727 3849 1728"
k i1 t0 p"3502 850 3529 2554 3121 1759"
#hugin_optimizeReferenceImage 0
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions
#hugin_enfuseOptions
#hugin_hdrmergeOptions -m avg -c -c
#hugin_verdandiOptions
#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 jpg
#hugin_outputImageTypeCompression NONE
#hugin_outputJPEGQuality 100
#hugin_outputImageTypeHDR tif
#hugin_outputImageTypeHDRCompression NONE
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_optimizerMasterSwitch 0
#hugin_optimizerPhotoMasterSwitch 21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment