Camera model ‫‬

6,195 views 20 slides Jan 15, 2016
Slide 1
Slide 1 of 20
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20

About This Presentation

camera model simulates the capture of light from a three-dimensional scene in object space onto a two dimensional image, or image space


Slide Content

Camera Model Advanced Computer Graphics By Fatima Radi Kufa University College of Computer Science and mathematics

camera model A camera model simulates the capture of light from a three-dimensional scene in object space onto a two dimensional image, or image space. Most models contain or approximate a system of parallel lenses such as that of a camera or the eye. Goal : To model basic geometry of projection of 3D points, curves, and surfaces onto a 2D surface, the view plane or image plane . Fatima Radi

thin lens model Most modern cameras use a lens to focus light onto the view plane. This is done so that one can capture enough light in a sufficiently short period of time that the objects do not move appreciably, and the image is bright enough to show significant detail over a wide range of intensities and contrasts . Fatima Radi

Synthetic Camera Model In computer graphics we use a synthetic camera model to mimic the behaviour of a real camera. In the synthetic camera model we avoid the inversion by placing the film plane, called the projection plane, in front of the lens . The clipping rectangle or clipping window determines the size of the image . Fatima Radi

Synthetic camera model : Each point in the 3D model is projected onto the image plane using the pin-hole camera model Fatima Radi

Fatima Radi

Clipping is performed to eliminate parts of the scene outside the fov Any procedure which identifies that portion of a picture which is either inside or outside a region is referred to as a clipping algorithm or clipping. The region against which an object is to be clipped is called clipping window. Fatima Radi

Sutherland– Hodgman algorithm The Sutherland– Hodgman algorithm is used for clipping polygons. It works by extending each line of the convex clip polygon in turn and selecting only vertices from the subject polygon that are on the visible side Fatima Radi

WorK of Sutherland– Hodgman algorithm The Sutherland - Hodgman algorithm performs a clipping of a polygon against each window edge in turn. It accepts an ordered sequence of verices v1, v2, v3, ..., vn and puts out a set of vertices defining the clipped polygon. Fatima Radi

Example Fatima Radi

Sutherland– Hodgman algorithm Fatima Radi

camera obscura (pinhole camera) box with a small hole in it A pinhole camera is a simple camera without a lens and with a single small aperture, a pinhole – effectively a light-proof box with a small hole in one side. Light from a scene passes through this single point and projects an inverted image on the opposite side of the box. the size of the aperture should be 1/100 or less of the distance between it and the projected image. Fatima Radi

Use of Pin-hole Camera Model A common use of the pinhole camera is to capture the movement of the sun over a long period of time. This type of photography is called solargraphy . Pinhole devices provide safety for the eyes when viewing solar eclipses because the event is observed indirectly, the diminished intensity of the pinhole image being harmless compared with the full glare of the Sun itself. Fatima Radi

Camra layout Fatima Radi

Pin-hole Camera Model If the Z-axis is alligned with the camera optical axis then a point p=( x,y,z ) is projected to a point pp =( xp,yp,zp ) on the image plane : xp = - (xd)/ z yp = -(yd)/z zp =- d where d is the distance of the image plane from the centre of projection Note : zp is constant for all pp ie the depth of the image plane pp =( xp,yp ) Fatima Radi

Pin-hole Camera II An equivalent image is formed if the image plane is placed infront of the camera at distance d x p = ( xd )/z y p = ( yd )/z z p =d Fatima Radi

Field-of-view The field-of-view ( fov ) for a pin-hole camera is determined by the height of the image plane h and the distance d from the centre of projection: Fatima Radi

Fatima Radi