[Suggestion] Custom image filters to undo image distortion

BOLL

Member
Hello, just registered, but wanted to poke people's brains :o

With the comeback of VR and the image distortion that rendering to the Oculus Rift DK1 and DK2 brings with it, it would be awesome if we could undo some of those effects directly in OBS for a better viewing experience.

I've tried myself, and I come a long way by just scaling the different color channels (RGB) in a screenshot in Photoshop to remove the chromatic aberration correction. Right now I'm unsure how this could be implemented without very specialized filters. Perhaps a configurable transformation matrix of sorts? Just wanted to throw this out there :) If nothing else the same function could be used to apply sharpening and what-not... maybe. Hmm!?

I did find this post about reverse barrel distortion, but to me that is not equally as important. A fish-eye view still works if cropped properly, and as the view is so high FoV I think it actually looks a bit nicer than the resulting very distorted equirectangular view. Just imagine setting your Quake or whatever to 110 degree FoV... things away from the center gets very stretched.

If nothing else, do you know if it is even possible to make plugins like this? To directly affect captured frames I mean. I was browsing around and didn't easily find documentation on how to write plugins, I just kept ending up at the page with all the resource downloads, is that the right place? I'm sure I would not be qualified to write a plugin, but it would still be interesting to know what it encompasses for future reference.
 

dodgepong

Administrator
Community Helper
OBS Multiplatform will support custom shaders/filters eventually, once the UI gets written for it. It's actually a pretty important feature, since things like chroma key rely on it, so it is definitely a high priority.
 
Top