![]() |
Finding the Camera's Position Tutorial (flame)
[ Contribute A Tip ] [ Tips and Tricks Home ]
Deducing the camera position and lens from a still image, but doing it "old school", when you're unable to have the camera information from a shoot provided. Added: May 8th 2004 Submitter: Peter Webb Score: ![]() ![]() ![]() ![]() ![]() Hits: 35020 Deducing the camera position and lens from a still image, but doing it "old school".
You'll need the image to be uncropped - to see the whole image area. If it came from a film camera, it's good to get right up to the edges of the exposed piece of film to make sure it isn't cropped. This will give us the correct aspect ratio of the image. You must have an object in the scene that has visible lines that are at 90 degress to one another - such as the building in our shot. Could also be a flagpole or other structure but preferrably man made. OK so you have your image now in photoshop - first thing is to find the "centre of vision" which is the geometric centre of the frame. This is done by drawing diagonal lines from top left (TL) to bottom right (BR) and top right (TR) to bottom left ( BL). The centre of vision is where those lines cross in the exact centre of the frame. Now draw horizontal and vertical lines that both pass through that centre line - which will give you an image like this.Next is to find the left and right vanishing points as per the principles of two point perspective. To make this easier, expand your photoshop canvas further out to the left and right - this will give you area to draw outside the image area. Drag down from the Image menu in photoshop to the canvas size, select percent as the measure and enter something like 300. This will expand the canvas around your image with an area made from your background colour which should be ideally a mid tone, not black or white. Now find and folllow perspective lines from your man-made object outside the image frame to where they converge - both left and right. The left one is called Left Vanishing Point, the right one Right Vanishing Point. Now draw a line between these two points - this is your horizon line. If this is lower than the centre of vision, your camera is tilted up. If the horizon is higher, your camera is tilted down. Just how much this tilt is, we will find out soon. Drop a line down from the Left Vanishing Point (LVP) and Right Vanashing Point (RVP) to below your image, and draw a perfectly horizontal line between them. Lets call this line the VP distance (VPD). Bisect this to find the exact centre of that line. Draw an arc from one line to the other from the centre point which we will call Vanashing Point Centre (VPC). Draw a line now from the centre of vision down to where it meets the Vanshing Point (VP) arc. The distance between this point and the line VPD is the focal distance, ie. the distance from camera to point of focus. Let's call this the Focal Distance or FD. Drop another line from the left edge of frame down to where the FD intersects the VPC arc, and also from the right edge of frame. Label these points LV and RV. Draw another line from FD to LV and from FD to LR. Find the angle between these lines (in this case, 50degrees). This is our horizontal lens angle. The same process is used to work out the vertical lens angle. Use the same focal distance FD - extended from the H and then draw lines from the left-most point of the FD to both the top and bottom of frame. In this example, the vertical lens angle is about 40 degrees. We can now work out the lens tilt angle. Draw a line from the leftmost point of the FD to where the horizon line meets the rightmost FD. The angle between the FD and this line is the angle of camera tilt. We know the camera is tilted up so in our example, it is about 3.2 degrees. What is the cameras height above ground ? Well, we can see the horizontal horizon line (between vanishing points). We need to find a detail in the shot that we can reasonably guess the scale of. Our horizon crosses about half way up the windows of the red brick building, or just below the windows of the dark grey building. I am guessing that the horizon is about 1.7 metres or 5 feet 3 inches from the ground and assuming that the roadway is fairly level then that is our approximate camera height. This is kind of verified by counting the number of brick courses - there are about 20 and as they are around 85mm per course, our 1.7 metres is still good.
|
|