SlideShare a Scribd company logo
Raster Graphics 고려대학교 컴퓨터 그래픽스 연구실
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bresenham’s Line Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x k y k x k +1 y k +1
Bresenham’s Algorithm(cont.) ,[object Object],[object Object],[object Object],[object Object],d 1 –  d 2  < 0    ( x k +1,  y k ) d 1 –  d 2  > 0    ( x k +1,  y k +1) d 1 d 2 x k y k x k +1 y k +1
Bresenham’s Algorithm(cont.) ,[object Object],[object Object],[object Object]
Bresenham’s Algorithm(cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Polygons ,[object Object],[object Object],[object Object],[object Object],1 2 3 4 5 6 7 8 9 1 2 3 4 6 7 8 9 10 11 5
Scan-Line Polygon Fill ,[object Object],[object Object],[object Object],y y’ 1 2 1 1 2
Scan-Line Polygon Fill (cont.) ,[object Object],C C’ B D E A 0 1 y A y D y C Scan-Line Number y E x A 1/m AE y B x A 1/m AB y C’ x D 1/m DC y E x D 1/m DE y B x C 1/m CB
Inside-Outside Tests ,[object Object],[object Object],[object Object],exterior interior
Boundary-Fill Algorithm ,[object Object],[object Object],[object Object]
Antialiasing ,[object Object],[object Object],[object Object],[object Object],original sample reconstruct
Antialiasing (cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Supersampling ,[object Object],[object Object],10 11 12 20 21 22 (10, 20): Maximum Intensity (11, 21): Next Highest Intensity (11, 20): Lowest Intensity
Supersampling ,[object Object],[object Object],10 11 12 20 21 22 (10, 20): Maximum Intensity (11, 21): Next Highest Intensity (11, 20): Lowest Intensity
Pixel-Weighting Masks ,[object Object],1 2 1 2 4 2 1 2 1
Area Sampling ,[object Object],[object Object],10 11 12 20 21 22 (10, 20): 90% (10, 21): 15%
Filtering Techniques ,[object Object],Box Filter Cone Filter Gaussian Filter
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Electromagnetic Spectrum ,[object Object],[object Object],[object Object]
Visible Light ,[object Object],[object Object],[object Object],[object Object],White Light Orange Light
Color Perception ,[object Object],[object Object]
Color Models ,[object Object],[object Object],[object Object],[object Object],[object Object]
RGB Color Model ,[object Object],R G B Color 0.0 0.0 0.0 Black 1.0 0.0 0.0 Red 0.0 1.0 0.0 Green 1.0 1.0 0.0 Yellow 1.0 0.0 1.0 Magenta 0.0 1.0 1.0 Cyan 1.0 1.0 1.0 White 0.0 0.0 1.0 Blue
RGB Color Cube
RGB Spectral Colors ,[object Object]
XYZ Color Model (CIE) ,[object Object]
CIE Chromaticity Diagram ,[object Object],(white)
CIE Chromaticity Diagram Define Color Gamuts Represent Complementary Color Determine  Dominant Wavelength and Purity
RGB C o lor Gamut ,[object Object],(red) (green) (blue)
CMY Color Model ,[object Object],C M Y Color 0.0 0.0 0.0 White 1.0 0.0 0.0 Cyan 0.0 1.0 0.0 Magenta 1.0 1.0 0.0 Blue 1.0 0.0 1.0 Green 0.0 1.0 1.0 Red 1.0 1.0 1.0 Black 0.0 0.0 1.0 Yellow
CMY Color Cube
HSV Color Model ,[object Object]
HSV Color Model H S V Color 0 1.0 1.0 Red 60 1.0 1.0 Yellow 120 1.0 1.0 Green 240 1.0 1.0 Blue 300 1.0 1.0 Magenta * 0.0 1.0 White * 0.0 0.5 Gray 180 1.0 1.0 Cyan * * 0.0 Black
HSV Color Model ,[object Object]

More Related Content

What's hot

Computer vision lane line detection
Computer vision lane line detectionComputer vision lane line detection
Computer vision lane line detection
Jonathan Mitchell
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
Maaz Rizwan
 
Slides: Perspective click-and-drag area selections in pictures
Slides: Perspective click-and-drag area selections in picturesSlides: Perspective click-and-drag area selections in pictures
Slides: Perspective click-and-drag area selections in pictures
Frank Nielsen
 
Unit 3
Unit 3Unit 3
Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing Algorithm
Kasun Ranga Wijeweera
 
Visible surface determination
Visible  surface determinationVisible  surface determination
Visible surface determinationPatel Punit
 
Output primitives computer graphics c version
Output primitives   computer graphics c versionOutput primitives   computer graphics c version
Output primitives computer graphics c version
Marwa Al-Rikaby
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
Kamal Acharya
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
Ankit Garg
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfilteringJohn Williams
 
"The Perspective Transform in Embedded Vision," a Presentation from Cadence
"The Perspective Transform in Embedded Vision," a Presentation from Cadence"The Perspective Transform in Embedded Vision," a Presentation from Cadence
"The Perspective Transform in Embedded Vision," a Presentation from Cadence
Edge AI and Vision Alliance
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
Ankur Kumar
 
Frequency-domain Finite-difference modelling by plane wave interpolation
Frequency-domain Finite-difference modelling by plane wave interpolationFrequency-domain Finite-difference modelling by plane wave interpolation
Frequency-domain Finite-difference modelling by plane wave interpolation
Inistute of Geophysics, Tehran university , Tehran/ iran
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal grid
S M K
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversionMohd Arif
 
Basics of CT- Lecture 9.ppt
Basics of CT- Lecture 9.pptBasics of CT- Lecture 9.ppt
Basics of CT- Lecture 9.ppt
Magde Gad
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
PrathimaBaliga
 

What's hot (20)

Computer vision lane line detection
Computer vision lane line detectionComputer vision lane line detection
Computer vision lane line detection
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
 
Slides: Perspective click-and-drag area selections in pictures
Slides: Perspective click-and-drag area selections in picturesSlides: Perspective click-and-drag area selections in pictures
Slides: Perspective click-and-drag area selections in pictures
 
Unit 3
Unit 3Unit 3
Unit 3
 
Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing Algorithm
 
Visible surface determination
Visible  surface determinationVisible  surface determination
Visible surface determination
 
Output primitives computer graphics c version
Output primitives   computer graphics c versionOutput primitives   computer graphics c version
Output primitives computer graphics c version
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfiltering
 
"The Perspective Transform in Embedded Vision," a Presentation from Cadence
"The Perspective Transform in Embedded Vision," a Presentation from Cadence"The Perspective Transform in Embedded Vision," a Presentation from Cadence
"The Perspective Transform in Embedded Vision," a Presentation from Cadence
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
 
Frequency-domain Finite-difference modelling by plane wave interpolation
Frequency-domain Finite-difference modelling by plane wave interpolationFrequency-domain Finite-difference modelling by plane wave interpolation
Frequency-domain Finite-difference modelling by plane wave interpolation
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal grid
 
testpang
testpangtestpang
testpang
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
 
07object3d
07object3d07object3d
07object3d
 
Basics of CT- Lecture 9.ppt
Basics of CT- Lecture 9.pptBasics of CT- Lecture 9.ppt
Basics of CT- Lecture 9.ppt
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 

Viewers also liked

In what ways does your media products use, develop and challenge conventions ...
In what ways does your media products use, develop and challenge conventions ...In what ways does your media products use, develop and challenge conventions ...
In what ways does your media products use, develop and challenge conventions ...chloeedwards
 
Effectiveness of major and ancillary tasks
Effectiveness of major and ancillary tasksEffectiveness of major and ancillary tasks
Effectiveness of major and ancillary taskschloeedwards
 
Evaluation question 5
Evaluation question 5Evaluation question 5
Evaluation question 5
kieronmc
 

Viewers also liked (7)

02mathematics
02mathematics02mathematics
02mathematics
 
Presentation
PresentationPresentation
Presentation
 
In what ways does your media products use, develop and challenge conventions ...
In what ways does your media products use, develop and challenge conventions ...In what ways does your media products use, develop and challenge conventions ...
In what ways does your media products use, develop and challenge conventions ...
 
07object3d 1
07object3d 107object3d 1
07object3d 1
 
Effectiveness of major and ancillary tasks
Effectiveness of major and ancillary tasksEffectiveness of major and ancillary tasks
Effectiveness of major and ancillary tasks
 
Evaluation question 5
Evaluation question 5Evaluation question 5
Evaluation question 5
 
03raster
03raster03raster
03raster
 

Similar to 03raster 1

quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation ppt
KNaveenKumarECE
 
Dip mcq1
Dip mcq1Dip mcq1
Dip mcq1
Antony Vigil
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
Amnaakhaan
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
lalitxp
 
raster algorithm.pdf
raster algorithm.pdfraster algorithm.pdf
raster algorithm.pdf
Mattupallipardhu
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
nagwaAboElenein
 
Image Processing
Image ProcessingImage Processing
Image Processing
Sukhrob Atoev
 
Computer Graphics Unit 1
Computer Graphics Unit 1Computer Graphics Unit 1
Computer Graphics Unit 1
aravindangc
 
Lecture: Monte Carlo Methods
Lecture: Monte Carlo MethodsLecture: Monte Carlo Methods
Lecture: Monte Carlo Methods
Frank Kienle
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygonsaa11bb11
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
Kumar
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
Elvis DOHMATOB
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
Prabin Gautam
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
BHAGYAPRASADBUGGE
 
module 1.pdf
module 1.pdfmodule 1.pdf
module 1.pdf
KimTaehyung188352
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterizationMaaz Rizwan
 
chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.
YogeshRotela
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
RohanBorgalli
 
Image processing 1-lectures
Image processing  1-lecturesImage processing  1-lectures
Image processing 1-lectures
Taymoor Nazmy
 
Lec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdfLec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdf
nagwaAboElenein
 

Similar to 03raster 1 (20)

quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation ppt
 
Dip mcq1
Dip mcq1Dip mcq1
Dip mcq1
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
 
raster algorithm.pdf
raster algorithm.pdfraster algorithm.pdf
raster algorithm.pdf
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
Computer Graphics Unit 1
Computer Graphics Unit 1Computer Graphics Unit 1
Computer Graphics Unit 1
 
Lecture: Monte Carlo Methods
Lecture: Monte Carlo MethodsLecture: Monte Carlo Methods
Lecture: Monte Carlo Methods
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygons
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
module 1.pdf
module 1.pdfmodule 1.pdf
module 1.pdf
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
 
chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
 
Image processing 1-lectures
Image processing  1-lecturesImage processing  1-lectures
Image processing 1-lectures
 
Lec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdfLec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdf
 

More from Ketan Jani

Graphics pipeline
Graphics pipelineGraphics pipeline
Graphics pipelineKetan Jani
 
Graphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsGraphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsKetan Jani
 
09transformation3d
09transformation3d09transformation3d
09transformation3dKetan Jani
 
04transformation2d
04transformation2d04transformation2d
04transformation2dKetan Jani
 
02mathematics 1
02mathematics 102mathematics 1
02mathematics 1Ketan Jani
 

More from Ketan Jani (10)

08viewing3d
08viewing3d08viewing3d
08viewing3d
 
Shading
ShadingShading
Shading
 
Graphics pipeline
Graphics pipelineGraphics pipeline
Graphics pipeline
 
Graphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsGraphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygons
 
Curves
CurvesCurves
Curves
 
09transformation3d
09transformation3d09transformation3d
09transformation3d
 
06 clipping
06 clipping06 clipping
06 clipping
 
05viewing2d
05viewing2d05viewing2d
05viewing2d
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
 
02mathematics 1
02mathematics 102mathematics 1
02mathematics 1
 

03raster 1

  • 1. Raster Graphics 고려대학교 컴퓨터 그래픽스 연구실
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 26.
  • 27.
  • 28.
  • 29. CIE Chromaticity Diagram Define Color Gamuts Represent Complementary Color Determine Dominant Wavelength and Purity
  • 30.
  • 31.
  • 33.
  • 34. HSV Color Model H S V Color 0 1.0 1.0 Red 60 1.0 1.0 Yellow 120 1.0 1.0 Green 240 1.0 1.0 Blue 300 1.0 1.0 Magenta * 0.0 1.0 White * 0.0 0.5 Gray 180 1.0 1.0 Cyan * * 0.0 Black
  • 35.