xmar / 360Transformations

67 stars 16 forks source link

It produces abnormal boundaries after transforming from RhombicDodeca to Equirectangular #18

Open shunhuaiyao opened 7 years ago

shunhuaiyao commented 7 years ago

Hi,

Thanks for your sharing.

I transform 360-degree video from Equirectangular to RhombicDodeca and it works. However, it produces obvious and abnormal boundaries when I transform it back from RhombicDodeca to Equirectangular like the following screenshots. distortion distortion_zoom-in

the details of configuration:

[Global]
fps=30
displayFinalPict=false
videoOutputName=./test.mp4
videoOutputBitRate=6000
qualityOutputName=
startFrame=0
nbFrames=1800
layoutFlow = [["./CG_rhom_60s.mp4", "RhombicDodeca", "Equirectangular"]]

[Equirectangular]
type=equirectangular
refWidth=3840
refHeight=1920
yaw=0
pitch=0
roll=0
relativeResolution=false
width=3840
height=1920
bitrate=1

[RhombicDodeca]
type=rhombicDodeca
refWidth=3840
refHeight=1920
relativeResolution=true
yaw=0.0
pitch=0.0
roll=0.0
rhombEdgeLengthFace1=1.414
rhombEdgeLengthFace2=1.414
rhombEdgeLengthFace3=1.414
rhombEdgeLengthFace4=1.414
rhombEdgeLengthFace5=1.414
rhombEdgeLengthFace6=1.414
rhombEdgeLengthFace7=1.414
rhombEdgeLengthFace8=1.414
rhombEdgeLengthFace9=1.414
rhombEdgeLengthFace10=1.414
rhombEdgeLengthFace11=1.414
rhombEdgeLengthFace12=1.414
useTile=false
rhombFace1Bitrate=1
rhombFace5Bitrate=1
rhombFace2Bitrate=1
rhombFace3Bitrate=1
rhombFace4Bitrate=1
rhombFace6Bitrate=1
rhombFace7Bitrate=1
rhombFace8Bitrate=1
rhombFace10Bitrate=1
rhombFace11Bitrate=1
rhombFace9Bitrate=1
rhombFace12Bitrate=1
bitrate=1

Is it normal with the obvious boundaries? Or, Is my config file something wrong? Any suggestions are highly appreciated.

Thank you, ShunHuai.