Wide Angle Barrel Correction (Plugin, Script or ?)

Soniclight wrote on 10/11/2010, 8:23 PM
First, what I have: VP8c, Canon HV30 and just got the Canon WD-H43.

Q: Is there a free script or plugin to correct or at least reduce the inevitable outside edge warp of WD lenses? The Canon is a 0.7x WD.

I ask this for I found a free Photoshop plugin for working on stills that I can use in my PhotoPaint. There must be something like that for video. Using the Spherize FX in a very minimal way doesn't seem like a solution though I haven't tried it.

If no script or plugin, what do you suggest?

Thanks.

Comments

musicvid10 wrote on 10/11/2010, 8:34 PM
How about export an image sequence from Vegas and have your Photoshop plugin work on it using a batch action or macro?
Soniclight wrote on 10/11/2010, 10:10 PM
I thought of that too, but pardon my ignorance: wouldn't that mean...

-- Create .PNG sequence from video.
-- Import all .PNG into PhotoPaint
-- Apply filter one frame/layer at a time (insanely tedious...)
-- Export and import back into Vegas.

Now, one can apply a script to a batch, but the mentioned is plugin (pplenscor.8bf), not a script.
As far as I know, they are not the same thing.

That said, I'm just too inexperienced with this.
Hence why I'd prefer an in-Vegas solution.

Yet open to solution in my PhotoPaint if reasonably feasible.


malowz wrote on 10/11/2010, 10:47 PM
The "Deform" filter can do lens correction.

wide angle lens, for example, from this:


to this:


may not be perfect (depending on the lens, corners may get "pointy" instead of round) but it does a nice job.
musicvid10 wrote on 10/11/2010, 11:34 PM
I know nothing about Photo Paint.
If "batch action" or "record macros" are not possible I would not suggest doing it one frame at a time.
The above suggestion of using a deform filter may be better for you.

farss wrote on 10/11/2010, 11:35 PM
The script should include applying the FX. Then the batch runs the script for multiple files.

Bob.

edit:
Here you go: http://graphicssoft.about.com/library/extra/blcpp_batch.htm
Soniclight wrote on 10/12/2010, 1:38 AM
OK, thanks for further replies.
I'll look at it in both modalities (still and in-Vegas).

And thanks to Bob for the link to that page:

-- That interface looked familiar because it is - it's the window in PhotoPaint for batch processing, albeit an earlier version of PP than mine. So it appears that I can batch script the plugin, so to speak :)
jetdv wrote on 10/12/2010, 8:34 AM
Check out the NewBlueFX Video Essentials II Lens Correction tool which is designed to correct fish eye lenses.
musicvid10 wrote on 10/12/2010, 8:41 AM
Just for fun, here is an example of posterization done in Photoshop using image sequences out/in of Vegas. I did this a while back.
The process doesn't take a lot of time once the action is set up, and it's kind of fun to watch happening.
PeterDuke wrote on 10/12/2010, 5:33 PM
There are times when I find a little barrel distortion with very wide angle helps, so don't necessarily remove it all. For instance if you have the camera pointing up to take the facade of a tall building, with barrel distortion mortals standing on the ground are more or less vertical, but with no barrel distortion, they seem to lean in at the edges in an unnatural way. In other words, de-barrel to taste rather than according to simple theory.
PeterDuke wrote on 10/12/2010, 5:42 PM
Some wide angle lenses also introduce chromatic aberration. If yours has some you might look at utilities to correct that at the same time as you are correcting the barrel distortion.
malowz wrote on 10/12/2010, 9:04 PM
chromatic aberration also can be fixed in vegas (with no plugins required). a while ago, i posted a way by splitting chanels and resizing.

with grouping, its easy to fix both CA and barrel distortion together.

only need to adjust values for a particular camera/lens

Original

Fixed

Project

Original Photo
Angels wrote on 10/27/2010, 7:52 PM
I'd be very interested in seeing what you did in this project. Unfortunately the download says it's 0.0 in size and can't be found. Is it still there?

Thanks!