Forum Discussion
DrGusta
12 years agoHonored Guest
Barrel Distortion
I have been searching the web for hours now and I have yet to find a solution. I want to apply barrel distortion to a live feed from a USB web cam (Logitech 9000), I am currently using OpenCV. I am fairly new to OpenCV so be gentle.
PS I am writing this in C++ (Visual Studio 2010)
Brenden Geary
PS I am writing this in C++ (Visual Studio 2010)
Brenden Geary
13 Replies
- rudiHonored Guestthx jherico!
- divby0Honored Guest
"jherico" wrote:
"rudi" wrote:
Now I do not get the point of this expressions:
In GLSL you can apply a scalar against a vector with an operation and it and it applies the operation piecewise to the vector components.
Close, but not quite: the scalars are implicitly cast to vectors of the correct dimension with every element containing the scalar value. The end result is the same as what you've described, but the docs won't make sense if you don't know that casts are involved. - PernarHonored GuestFirst of all sorry for ressurecting this old dead horse of a thread but I am new here and the FAQ said newbees are to find threads similar to what they need and comment there. So here it goes:
I am actually after a way to replicate the Rift distrotion in GIMP using the FIlters -> Distorts -> Lense Distortions
So far I have played around with the filter a bit and I know I am on the right track but just cant figure out the correct values for 'Main', 'Edge' and 'Zoom'.
Can someone please tell me the exact values here? Or even the specific physical properties of the optics used in the Rift would be helpfull.
Many thanks!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 years ago
- 1 month ago