www.ssontech.com Forum Index www.ssontech.com
SynthEyes Camera Tracker Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Finding out Lens distortion

 
Post new topic   Reply to topic    www.ssontech.com Forum Index -> Lens Distortion (NOT TECH SUPPORT)
View previous topic :: View next topic  
Author Message
doka15



Joined: 06 Feb 2007
Posts: 24

PostPosted: Tue Feb 06, 2007 6:11 pm    Post subject: Finding out Lens distortion Reply with quote

I got SynthEyes last week and finally have time to play with it. I have a piece of footage, which I want to do a track to. I picked this as a sample footage that is 3 seconds long. It was shot with my HVX-200 wide open. It has lines running down the wall to help better find out what the distortion is for my camera. Once I find that it is always the same number I am guessing.

How do I find out what the distortion is? I read a post in here about a Lens distortion tool but it was not available for OS X

Here is the footage.

http://www.sbtraveler.tv/flicks/china_shot.mov

Thanks,

-Lars
Back to top
View user's profile Send private message
LFGabel



Joined: 16 Mar 2005
Posts: 298
Location: Vancouver Island, BC, Canada

PostPosted: Wed Feb 07, 2007 12:43 am    Post subject: Reply with quote

Since you have straight edges, use the line tool to find the distortion factor. Then plug that number into your distortion field in the image preparation window so you can track an undistorted plate. Solve, and use to create your CG. Then you need to redistort the CG to match the original CG plate.

It's all in the manual. Just search for "lens distortion".
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
doka15



Joined: 06 Feb 2007
Posts: 24

PostPosted: Wed Feb 07, 2007 1:12 am    Post subject: Reply with quote

I did alot of reading today about that part. I added a line at the top edge and then at the middle and found that -0.01600 was the right number. So I did do what you said and went into the Image Preperation and punched that number in for the Distortion amount. It ended up really distorting the image even more. So I ended up trying to apply it as a positive number 0.01600.

That seemed to cause the line to be more straight. Did I do that right by converting it to a positive number?

Thanks,

-Lars
Back to top
View user's profile Send private message
LFGabel



Joined: 16 Mar 2005
Posts: 298
Location: Vancouver Island, BC, Canada

PostPosted: Wed Feb 07, 2007 12:41 pm    Post subject: Reply with quote

I just tried your value on your shot, and -.016 is about correct. I put this into Image Preparation, just as it is (-0.016) and it worked fine.

What you probably did was check "Apply", which applies the distortion value, not remove it.

You whould check "Apply" if you were redistorting your CG to match your original plate.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
doka15



Joined: 06 Feb 2007
Posts: 24

PostPosted: Wed Feb 07, 2007 2:27 pm    Post subject: Reply with quote

Yes that is exactly what I did by pressing apply.

My work flow is SE to Cinema 4D to After Effects. I know After Effects pretty well and I would think I could apply 'Optics Compinsator' to the CG elements to match what the background distortion is. But. Is there a way to translate the SE numbers to AE numbers?

I'm guessing I don't need to undistort the footage in SE and let it track normaly if I can get the right distortion in AE, is my thinking right?

Thanks again for all the help whle I am learning this program.

-Lars
Back to top
View user's profile Send private message
LFGabel



Joined: 16 Mar 2005
Posts: 298
Location: Vancouver Island, BC, Canada

PostPosted: Wed Feb 07, 2007 3:46 pm    Post subject: Reply with quote

It is my understanding that you should always track an undistorted plate.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
doka15



Joined: 06 Feb 2007
Posts: 24

PostPosted: Wed Feb 07, 2007 7:16 pm    Post subject: Reply with quote

So if I correct for the distortion in SE and then track it for export to Cinema 4D, I would have to have a way to undistort the actual QT movie to match the to camera move in Cinema 4D.

Can you export from SE a QT movie that has the distortion adjustment or how is this done?

The SE numbers don't match the Optics Compinsator in After Effects which I have been using what would you recommend for that?

On a side note for lens distortion I have a box that sits in front of my Video camera that allows me to add 35mm lenses. here is a photo.

http://s111.photobucket.com/albums/n159/larswik/?action=view&current=DSCN2220.jpg

Are there other things that I need to worry about or is the back plate still the same since it is the same camera?

Lots of questions sorry, but it is helping me get a better understanding.

-Lars
Back to top
View user's profile Send private message
LFGabel



Joined: 16 Mar 2005
Posts: 298
Location: Vancouver Island, BC, Canada

PostPosted: Wed Feb 07, 2007 8:14 pm    Post subject: Reply with quote

The CG should be distorted to match the source plate after its rendered.

You can undistort the QT, but I would suggest you do that to your CG. I believe you need to go through the perspective camera, locked to current view. The complete workflow is all in the manual.

I'm not familiar with AE's optic compensator. I'd distort the CG either back in SynthEyes (check "Apply") or use Shake (there's a script for this).

Not sure about your back plate question.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
doka15



Joined: 06 Feb 2007
Posts: 24

PostPosted: Wed Feb 07, 2007 8:31 pm    Post subject: Reply with quote

Thank you for your help. I breezed through the important parts of the manual to get me to this point. I did see Perspective but didn;t look at that to much. I will go back over it.

Thanks very much.

-Lars
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.ssontech.com Forum Index -> Lens Distortion (NOT TECH SUPPORT) All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group