I just bought a GoPro Hero2 camera and am considering using it for physics analysis. It's got this cool fisheye lens. That's not the best for use with video analysis.
Is there a way to create a filter to correct for the image distortion this causes?
I've seen those GoPro cameras and they are indeed very cool. Unfortunately, it is unlikely I will be able to create a filter to correct for the fisheye distortion any time soon.
Are there video experiments you are considering that require the use of the fisheye?
The primary advantage of the GoPro is it's small size and high resolution. For physics experiments this makes it possible to do some cool things with relative motion by placing the camera on the moving object or on some other reference frame.
The GoPro also comes with an array of mounting hardware to easily stick it anywhere.
No, the field of view is not important. And the wide angle will make capturing some experiments more difficult.
Some people have suggested using video editing software to take out the fisheye effect. Of course, I'd like to do it with some technical accuracy and I'd like to have a simple method to re-process the video to make things square. Modifying the video has a nice visual advantage.
I saw that you already have a method to correct for an improper video perspective; the plane of the CCD not being in a parallel plane to the motion you are trying to measure. Squeezing a trapezoid is simple in comparison to adjusting for a fisheye lens. But it's basically remapping two coordinate systems. Though drawing lines on the display requires making arcs rather than straight lines.
I now have a video filter that can transform your GoPro fisheye videos to uniform scale for analysis. It's still in development but it's at a point where some beta testers would be very useful--are you interested?
Paul and other Tracker users: if you have images or videos taken with a fisheye lens and you want to try out this new filter please email me at dobrown at cabrillo dot edu. I hope to include this filter in the next release version of Tracker which should be around the beginning of March.
You should be aware that GoPro changed the optics just a bit for the Hero3. And the Hero3 has a few choices for it's field of view which basically amount to cropping the image internally. The more narrow fields of view have less distortion.
I'm happy to do some testing. I could send you some video also.
The new Tracker version 4.80 can now correct for fisheye lens distortions :-) I hope this will open up lots of interesting video possibilities using the GoPro and other fisheye/wide angle lenses.
To correct a fisheye image apply a radial distortion filter (Video|Filters|New|Radial Distortion). Set the input image type to Fisheye, then adjust the input field of view and the fixed pixel diameter.
Please let me know how this filter works for you. And if you or a student analyzes or models an interesting fisheye video, I'd love to get a copy in a TRZ file!
Thank you for making this option available in Tracker. I'm new to Tracker and had my students start using some of the features when I took them to a snow-tubing lab at our local ski resort. I just got a GoPro 3+ (black edition) for video analysis for my classroom (can do 240fps). Can anyone recommend how to set the proper settings for the input and output?
I was hoping some other GoPro users might jump in here with some Radial Distortion filter settings that have worked well. I'm afraid I do not have one and can't give you the numbers you need (the most important number is the field-of-view "FOV" of the lens). Here's what I suggest you do:
To really be certain you are getting an accurate correction, take some images of a uniform grid. Find or make the grid with known spacing and good contrast, big enough so the GoPro can focus on it. Take shots of the grid at a known distance from the camera so you can determine the angular FOV. Then mess with the filter settings until the output image grid has straight lines and is uniform across the entire frame.
I hope this helps. If you do get some settings that work well, please consider posting them to this thread so others can use them, too :-)
Paul--I have a "GoProOptics" folder in my Dropbox folder with lots of videos in Hero2, Hero3 and Physics Samples subfolders. Must be from you, right? The Hero3 files are all MP4 and the Hero2 files are MP4 and JPG. They're all shots of a pegboard--perfect for determining the fisheye filter parameters! If you can't find them in your Dropbox folder let me know ;-)
I saw the videos of the pegboard in the Dropbox folder. Has anyone used these to determine the right settings to correct for the distortion of a goPro Hero 3 camera?
Nice find. The specs for the YI 4K+ seem to match the latest GoPro. But the price undercuts GoPro substantially. I wonder if the camera lives up to the comparison or if it's just an inexpensive knock-off. Have you done a direct comparison? Low Light sensitivity? Image quality?
Some cameras (and software) like to do dumb things to the videos which make them useless for physics analysis. The drop frames, they blur fast-moving details.
If you get one of these, I'd be happy to hear about your experience.