SlideShare a Scribd company logo
1 of 20
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
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
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
 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
xp= (xd)/z yp= (yd)/z zp=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
Camera model ‫‬

More Related Content

What's hot

What's hot (20)

Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clipping
 
Back face detection
Back face detectionBack face detection
Back face detection
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Graphics a buffer
Graphics a bufferGraphics a buffer
Graphics a buffer
 
Point processing
Point processingPoint processing
Point processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Raster animation
Raster animationRaster animation
Raster animation
 
fractals
fractalsfractals
fractals
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression models
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 

Similar to Camera model ‫‬

Shooting panoramas Made simple
Shooting panoramas Made simpleShooting panoramas Made simple
Shooting panoramas Made simpleAndrey Ismoilov
 
Techniques photography
Techniques photographyTechniques photography
Techniques photographyGrades Usep
 
Unit1_ImageFormation.pptx
Unit1_ImageFormation.pptxUnit1_ImageFormation.pptx
Unit1_ImageFormation.pptxssuser48925a
 
Camera Lens Hood Nikon: Unleash the Power of Your Photography
Camera Lens Hood Nikon: Unleash the Power of Your PhotographyCamera Lens Hood Nikon: Unleash the Power of Your Photography
Camera Lens Hood Nikon: Unleash the Power of Your Photographyronychey
 
Viva3D Stereo Vision user manual en 2016-06
Viva3D Stereo Vision user manual en 2016-06Viva3D Stereo Vision user manual en 2016-06
Viva3D Stereo Vision user manual en 2016-06Robin Colclough
 
As you see -panoramas for human perspective
As you see -panoramas for human perspectiveAs you see -panoramas for human perspective
As you see -panoramas for human perspectiveGuven Peter Witteveen
 
Media glossary
Media glossaryMedia glossary
Media glossaryLukkather
 
Media glossary
Media glossaryMedia glossary
Media glossaryLukkather
 
1. Photography Basics
1. Photography Basics1. Photography Basics
1. Photography BasicsRam Chandran
 
High angle
High  angleHigh  angle
High angle芸 郝
 
High angle
High  angleHigh  angle
High angle芸 郝
 
Basic parts of camera and camera exposure
Basic parts of camera and camera exposureBasic parts of camera and camera exposure
Basic parts of camera and camera exposureneeta khandelwal
 
Introduction to camera & its major parts
Introduction to camera & its major partsIntroduction to camera & its major parts
Introduction to camera & its major partsanshula garg
 
Fundamentals of matchmoving
Fundamentals of matchmovingFundamentals of matchmoving
Fundamentals of matchmovingDipjoy Routh
 
Camera and types
Camera and typesCamera and types
Camera and typesAnitha S
 
Photography: Types of Shots
Photography: Types of ShotsPhotography: Types of Shots
Photography: Types of ShotsICECUBE89
 
Report in eng542
Report in eng542Report in eng542
Report in eng542At Meme
 
Optical Camouflage.pptx
Optical Camouflage.pptxOptical Camouflage.pptx
Optical Camouflage.pptxAshwathMahajan
 

Similar to Camera model ‫‬ (20)

Shooting panoramas Made simple
Shooting panoramas Made simpleShooting panoramas Made simple
Shooting panoramas Made simple
 
Techniques photography
Techniques photographyTechniques photography
Techniques photography
 
Unit1_ImageFormation.pptx
Unit1_ImageFormation.pptxUnit1_ImageFormation.pptx
Unit1_ImageFormation.pptx
 
Camera Lens Hood Nikon: Unleash the Power of Your Photography
Camera Lens Hood Nikon: Unleash the Power of Your PhotographyCamera Lens Hood Nikon: Unleash the Power of Your Photography
Camera Lens Hood Nikon: Unleash the Power of Your Photography
 
Viva3D Stereo Vision user manual en 2016-06
Viva3D Stereo Vision user manual en 2016-06Viva3D Stereo Vision user manual en 2016-06
Viva3D Stereo Vision user manual en 2016-06
 
As you see -panoramas for human perspective
As you see -panoramas for human perspectiveAs you see -panoramas for human perspective
As you see -panoramas for human perspective
 
Media glossary
Media glossaryMedia glossary
Media glossary
 
Media glossary
Media glossaryMedia glossary
Media glossary
 
1. Photography Basics
1. Photography Basics1. Photography Basics
1. Photography Basics
 
High angle
High  angleHigh  angle
High angle
 
High angle
High  angleHigh  angle
High angle
 
Basic parts of camera and camera exposure
Basic parts of camera and camera exposureBasic parts of camera and camera exposure
Basic parts of camera and camera exposure
 
Introduction to camera & its major parts
Introduction to camera & its major partsIntroduction to camera & its major parts
Introduction to camera & its major parts
 
Fundamentals of matchmoving
Fundamentals of matchmovingFundamentals of matchmoving
Fundamentals of matchmoving
 
Camera and types
Camera and typesCamera and types
Camera and types
 
CAMERA
CAMERACAMERA
CAMERA
 
Photography: Types of Shots
Photography: Types of ShotsPhotography: Types of Shots
Photography: Types of Shots
 
Intro To The Digital SLR
Intro To The Digital SLRIntro To The Digital SLR
Intro To The Digital SLR
 
Report in eng542
Report in eng542Report in eng542
Report in eng542
 
Optical Camouflage.pptx
Optical Camouflage.pptxOptical Camouflage.pptx
Optical Camouflage.pptx
 

Recently uploaded

Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.
Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.
Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.Cherry
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusNazaninKarimi6
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.takadzanijustinmaime
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professormuralinath2
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cherry
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body Areesha Ahmad
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCherry
 
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry Areesha Ahmad
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfCherry
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxRenuJangid3
 
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsKanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDeepika Singh
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Cherry
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.Cherry
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxDiariAli
 

Recently uploaded (20)

Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.
Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.
Genome Projects : Human, Rice,Wheat,E coli and Arabidopsis.
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry
GBSN - Biochemistry (Unit 2) Basic concept of organic chemistry
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdf
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptx
 
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsKanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
 
BHUBANESHWAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND ...
BHUBANESHWAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND ...BHUBANESHWAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND ...
BHUBANESHWAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND ...
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
 

Camera model ‫‬

  • 1.
  • 2. Camera Model Advanced Computer Graphics By Fatima Radi Kufa University College of Computer Science and mathematics
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. Synthetic camera model: Each point in the 3D model is projected onto the image plane using the pin-hole camera model Fatima Radi
  • 8. 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
  • 9. 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
  • 10. 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
  • 13. 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
  • 14.  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
  • 16. 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
  • 17. PIN-HOLE CAMERA II An equivalent image is formed if the image plane is placed infront of the camera at distance d xp= (xd)/z yp= (yd)/z zp=d Fatima Radi
  • 18. 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