mattcyu1 / omnieval

33 stars 8 forks source link

some strange results of mapping equirectangle to view #2

Open Rouen007 opened 8 years ago

Rouen007 commented 8 years ago

When I use the software to map equirectangluar to view image, I found that:
./remap -i rect -o view -b 4096 -m 2048 -w 400 -h 400 -x 120 -y 120 -p 0 -l 075 -z 30 test.yuv test75.yuv

./remap -i rect -o view -b 4096 -m 2048 -w 400 -h 400 -x 120 -y 120 -p 0 -l 080 -z 30 test.yuv test80.yuv

the test75.yuv shares less in common with test80.yuv. The same phenonmon also appear between test95.yuv and test100.yuv.

Is there any bugs or I input wrong command?

Best Regards,

Ang Lu Zhejiang University

Rouen007 commented 8 years ago

I already have found the bug. When I turn "-l 075" into "-l 75", it fixed. So I guess that the fuction "strol" take value 0xx into base 8.

Thank you all the same.

Ang Lu

mattcyu1 commented 8 years ago

Thanks for figuring this out. I have never tried the settings with a leading zero. I will keep this in mind for a future update.

On Sat, Jun 11, 2016 at 12:02 AM, Rouen007 notifications@github.com wrote:

I already have found the bug. When I turn "-l 075" into "-l 75", it fixed. So I guess that the fuction "strol" take value 0xx into base 8.

Thank you all the same.

Ang Lu

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mattcyu1/omnieval/issues/2#issuecomment-225341254, or mute the thread https://github.com/notifications/unsubscribe/ADTfwTRe-tDCOC0LFnCw6A_AUEV4tgQJks5qKl2DgaJpZM4Izb2K .