Old 12-23-2018, 06:42 PM   #1
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default REQ: Fish-eye correction filter

Would it be possible to get a spherical distortion filter to correct fish-eye footage like that from a GoPro, please?
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 12-26-2018, 05:20 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Do they have a formula for the distortion that the filter applies? This is very straightforward to do (there are 360 video panner presets etc), but need the specifics of the lens in question (and ideally a test frame)
Justin is offline   Reply With Quote
Old 12-26-2018, 09:29 AM   #3
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Not a published formula and every camera is a little different, but simply having a filter that allows us to

Having said that, many video editors have presets for 1 million cameras.

Also, I found this: https://www.theeminentcodfish.com/gopro-calibration/
And this formula from VideoProc:

Plus this trip to Geekoutsville: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4934233/
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 12-26-2018, 01:30 PM   #4
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

This is what I've found looking for something like that.

https://stackoverflow.com/questions/...ion-distortion

Greetings
Eli
Eliseat is offline   Reply With Quote
Old 03-23-2019, 02:05 AM   #5
Skaven252
Human being with feelings
 
Join Date: Nov 2011
Posts: 143
Default

Yep, to fully correct fisheye lens distortion you'll need 4th degree correction, as that Stack Overflow comment thread suggests. But getting the K1, K2, K3, K4 values exactly right for the lens will be a challenge.

I've used programs called AutoPano Video Pro and AutoPano Giga that can take a series of photos taken with a fisheye lens camera, find tracking points, and derive lens correction values from those. The program can then be used to create equirectangular 360 or VR180 videos from action camera footage.

A 3rd or 4th degree lens correction video processor preset for Reaper would be rather quite nice! But the calibration will remain a challenge.
Skaven252 is offline   Reply With Quote
Old 03-23-2019, 04:04 AM   #6
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Sorry, I realised part of my sentence is missing from above.
I don't care so much about perfectly calculated and calibrated correction, but at least having a filter that allows us to control pinch +/- would be incredibly useful.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 03-23-2019, 04:10 AM   #7
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

This wont happen except only as a rudiment. But this would be a big step forward for GoPro users who want to edit their videos in Reaper quickly.
In my opinion an universal de-bulge preset and some fixed (GoPro) lens presets would be more than enough. But I guess we will have to wait for wwwmaze to come back with lots of boring time.
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
Eliseat is offline   Reply With Quote
Old 03-26-2019, 03:04 AM   #8
Skaven252
Human being with feelings
 
Join Date: Nov 2011
Posts: 143
Default

The DeFish filter on AviSynth is pretty good. There's a discussion on it on the Doom9 forum, perhaps the maths can be repurposed from there.

https://forum.doom9.org/showthread.php?t=152860

Or - could Reaper be made able to import / display / run AviSynth input? That could open a world of possibilities, albeit AviSynth itself is a bit "codey" to work with.
Skaven252 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.