SlideShare a Scribd company logo
2
Most read
3
Most read
18
Most read
Halftoning
Halftoning
 Newspaper photographs simulate a greyscale, despite the fact that they
have been printed using only black ink.
• A newspaper picture is, in fact, made up of a pattern of tiny black dots of
varying size.
• The human visual system has a tendency to average brightness over small
areas, so the black dots and their white background merge and are
perceived as an intermediate shade of grey.
Halftoning
 The process of generating a binary pattern of black and white dots from an
image is termed halftoning.
 In traditional newspaper and magazine production, this process is carried
out photographically by projection of a transparency through a 'halftone
screen' onto film.
 The screen is a glass plate with a grid etched into it.
 Different screens can be used to control the size and shape of the dots in
the halftoned image.
Halftoning
 A fine grid, with a 'screen frequency' of 200-300 lines per inch, gives the
image quality necessary for magazine production.
 A screen frequency of 85 lines per inch is deemed acceptable for
newspapers.
Halftoning
Halftoning – dot size
Halftoning – Moire Patterns
 Repeated use of same dot pattern
for particular shade results in
repeated pattern
 Perceived as a moire pattern
 Instead, randomize halftone pattern
Patterning
 A simple digital halftoning technique known as patterning involves
replacing each pixel by a pattern taken from a 'binary font'.
 We shows such a font, made up of ten 3 x 3 matrices of pixels.
 This font can be used to print an image consisting of ten grey levels.
Fig : A 3 x 3 binary font for printing a greyscale.
Patterning
 A pixel with a grey level of 0 is replaced by a matrix containing no white
pixels; a pixel with a grey level of 1 is replaced by a matrix containing a
single white pixel; and so on.
 Note that, since we are replacing each pixel by a 3 x 3 block of pixels, both
the width and the height of the image increase by a factor of 3.
 Figure 5. 2 shows an example of halftoning using the binary font depicted
in Figure 5. 1.
Fig: Halftoning with a binary font. (a) 8-bit image (b) halftoned image
Dithering
 Halftoning for color images
Specifying Color
 Color perception usually involves three quantities:
 Hue: Distinguishes between colors like red, green, blue, etc
 Saturation: How far the color is from a gray of equal intensity
 Lightness: The perceived intensity of a reflecting object
 Sometimes lightness is called brightness if the object is
emitting light instead of reflecting it.
 In order to use color precisely in computer graphics, we
need to be able to specify and measure colors.
Combining Colors
Additive (RGB)
Shining colored lights
on a white ball
Subtractive (CMYK)
Mixing paint colors and
illuminating with white light
How Do Artists Do It?
 Artists often specify color as tints, shades, and tones of saturated (pure)
pigments
• Tint: Gotten by adding white to a pure pigment, decreasing saturation
• Shade: Gotten by adding
black to a pure pigment,
decreasing lightness
• Tone: Gotten by adding
white and black to a pure
pigment
White
Pure Color
Black
Grays Tones
Dithering
 Dithering can be accomplished by thresholding the image against a dither
matrix.
 The first two dither matrices, rescaled for application to 8-bit images, are
Halftoning  in Computer Graphics
Halftoning  in Computer Graphics
Dithering
 The elements of a dither matrix are thresholds.
 The matrix is laid like a tile over the entire image and each pixel value is
compared with the corresponding threshold from the matrix.
 The pixel becomes white if its value exceeds the threshold or black
otherwise.
 This approach produces an output image with the same dimensions as the
input image, but with less detail visible.
Algorithm to halftone an image using a
dither matrix.
for all x & y do
if f(x,y) > m(x,y) then
g(x,y) = white
else
g(x,y) = black
end if
End for
Fig: Halftoning with dither matrices. (a) Input image. (b) Halftoned
image using D1. (c) Halftoned image using D2
thanks to all

More Related Content

PPTX
Polygon filling algorithm
PPTX
Strings in Java
PPT
Ppt for tranmission media
PPTX
Image Enhancement in Spatial Domain
PPT
Audio and video streaming
PPTX
The importance of citation
PPTX
Output primitives in Computer Graphics
PPTX
COMPUTER GRAPHICS-"Projection"
Polygon filling algorithm
Strings in Java
Ppt for tranmission media
Image Enhancement in Spatial Domain
Audio and video streaming
The importance of citation
Output primitives in Computer Graphics
COMPUTER GRAPHICS-"Projection"

What's hot (20)

PPTX
Concept of basic illumination model
PPTX
1.arithmetic & logical operations
PPT
Image enhancement
PPTX
Psuedo color
PDF
Digital Image Processing: Image Segmentation
PPTX
Color Models.pptx
PPTX
Homomorphic filtering
PPTX
Color models
PPTX
Depth Buffer Method
PPTX
Smoothing Filters in Spatial Domain
PPTX
digital image processing
PPTX
Point processing
PPTX
Image restoration and degradation model
PPT
Image degradation and noise by Md.Naseem Ashraf
PPTX
Image Enhancement - Point Processing
PPTX
Neuro-fuzzy systems
PPTX
SPATIAL FILTERING IN IMAGE PROCESSING
PPTX
illumination model in Computer Graphics by irru pychukar
PPTX
Overview of Graphics System
Concept of basic illumination model
1.arithmetic & logical operations
Image enhancement
Psuedo color
Digital Image Processing: Image Segmentation
Color Models.pptx
Homomorphic filtering
Color models
Depth Buffer Method
Smoothing Filters in Spatial Domain
digital image processing
Point processing
Image restoration and degradation model
Image degradation and noise by Md.Naseem Ashraf
Image Enhancement - Point Processing
Neuro-fuzzy systems
SPATIAL FILTERING IN IMAGE PROCESSING
illumination model in Computer Graphics by irru pychukar
Overview of Graphics System
Ad

Viewers also liked (20)

PPT
Halftone
PDF
Image Printing Based on Halftoning
PPT
Shading
PPT
Illumination model
PPT
Fractals
PPT
Visible surface detection in computer graphic
PPTX
Computer Graphics: Visible surface detection methods
PPT
Hidden surfaces
PPTX
Color Models
PPTX
Computer Graphics - Hidden Line Removal Algorithm
PPT
Hidden lines & surfaces
PPTX
Fractals presentation
PPTX
Projection In Computer Graphics
PPT
hidden surface elimination using z buffer algorithm
PPTX
International Journal of Computer Graphics & Animation (IJCGA)
PPTX
Internet of Things(IOT)
PPTX
Halftone QR Codes
PPTX
Bit plane slicing
Halftone
Image Printing Based on Halftoning
Shading
Illumination model
Fractals
Visible surface detection in computer graphic
Computer Graphics: Visible surface detection methods
Hidden surfaces
Color Models
Computer Graphics - Hidden Line Removal Algorithm
Hidden lines & surfaces
Fractals presentation
Projection In Computer Graphics
hidden surface elimination using z buffer algorithm
International Journal of Computer Graphics & Animation (IJCGA)
Internet of Things(IOT)
Halftone QR Codes
Bit plane slicing
Ad

Similar to Halftoning in Computer Graphics (20)

PPTX
half toning.pptx
PPTX
SESSION 1.pptx
PPTX
Colour image processing(fip)
PPT
Reproducing pictures
DOCX
Spatial and tonal resolution
PPTX
Characteristics of Display Adapter
PDF
1.1.2.pdf
PPTX
Chap46
PPTX
Colormodels
PPT
Game development terminologies
PPTX
Digital image processing
PPT
Computer Techniques In Photoshop 1
PPTX
project presentation-90-MCS-200003.pptx
PPTX
RGB Color Model and Monitor Resolution
PPTX
Manjunath 2GP21EC023 6.6 to 6.9 rafael.pptx
PDF
Technical concepts for graphic design production 4
PPTX
Chap9 10
PPTX
Unit 2 open gl .pptx
PDF
Technical concepts for graphic design production 3
PDF
WEB I - 08 - Digital Media
half toning.pptx
SESSION 1.pptx
Colour image processing(fip)
Reproducing pictures
Spatial and tonal resolution
Characteristics of Display Adapter
1.1.2.pdf
Chap46
Colormodels
Game development terminologies
Digital image processing
Computer Techniques In Photoshop 1
project presentation-90-MCS-200003.pptx
RGB Color Model and Monitor Resolution
Manjunath 2GP21EC023 6.6 to 6.9 rafael.pptx
Technical concepts for graphic design production 4
Chap9 10
Unit 2 open gl .pptx
Technical concepts for graphic design production 3
WEB I - 08 - Digital Media

More from University of Potsdam (20)

PPTX
Computer fundamentals 01
PPTX
Workshop on android apps development
PDF
Transparency and concurrency
PDF
Database System Architecture
PDF
Functional dependency and normalization
PDF
indexing and hashing
PDF
data recovery-raid
PDF
Query processing
PDF
Machine Learning for Data Mining
PPTX
Tree, function and graph
PDF
Sets in discrete mathematics
PPT
Set in discrete mathematics
PPT
Series parallel ac rlc networks
PPT
Series parallel ac networks
PPT
PDF
PPT
Propositional logic
PDF
Propositional logic
PDF
Prim algorithm
Computer fundamentals 01
Workshop on android apps development
Transparency and concurrency
Database System Architecture
Functional dependency and normalization
indexing and hashing
data recovery-raid
Query processing
Machine Learning for Data Mining
Tree, function and graph
Sets in discrete mathematics
Set in discrete mathematics
Series parallel ac rlc networks
Series parallel ac networks
Propositional logic
Propositional logic
Prim algorithm

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Classroom Observation Tools for Teachers
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
master seminar digital applications in india
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Classroom Observation Tools for Teachers
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
VCE English Exam - Section C Student Revision Booklet
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Basic Mud Logging Guide for educational purpose
Microbial diseases, their pathogenesis and prophylaxis
102 student loan defaulters named and shamed – Is someone you know on the list?
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
01-Introduction-to-Information-Management.pdf
Week 4 Term 3 Study Techniques revisited.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
master seminar digital applications in india
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester

Halftoning in Computer Graphics

  • 2. Halftoning  Newspaper photographs simulate a greyscale, despite the fact that they have been printed using only black ink. • A newspaper picture is, in fact, made up of a pattern of tiny black dots of varying size. • The human visual system has a tendency to average brightness over small areas, so the black dots and their white background merge and are perceived as an intermediate shade of grey.
  • 3. Halftoning  The process of generating a binary pattern of black and white dots from an image is termed halftoning.  In traditional newspaper and magazine production, this process is carried out photographically by projection of a transparency through a 'halftone screen' onto film.  The screen is a glass plate with a grid etched into it.  Different screens can be used to control the size and shape of the dots in the halftoned image.
  • 4. Halftoning  A fine grid, with a 'screen frequency' of 200-300 lines per inch, gives the image quality necessary for magazine production.  A screen frequency of 85 lines per inch is deemed acceptable for newspapers.
  • 7. Halftoning – Moire Patterns  Repeated use of same dot pattern for particular shade results in repeated pattern  Perceived as a moire pattern  Instead, randomize halftone pattern
  • 8. Patterning  A simple digital halftoning technique known as patterning involves replacing each pixel by a pattern taken from a 'binary font'.  We shows such a font, made up of ten 3 x 3 matrices of pixels.  This font can be used to print an image consisting of ten grey levels.
  • 9. Fig : A 3 x 3 binary font for printing a greyscale.
  • 10. Patterning  A pixel with a grey level of 0 is replaced by a matrix containing no white pixels; a pixel with a grey level of 1 is replaced by a matrix containing a single white pixel; and so on.  Note that, since we are replacing each pixel by a 3 x 3 block of pixels, both the width and the height of the image increase by a factor of 3.  Figure 5. 2 shows an example of halftoning using the binary font depicted in Figure 5. 1.
  • 11. Fig: Halftoning with a binary font. (a) 8-bit image (b) halftoned image
  • 13. Specifying Color  Color perception usually involves three quantities:  Hue: Distinguishes between colors like red, green, blue, etc  Saturation: How far the color is from a gray of equal intensity  Lightness: The perceived intensity of a reflecting object  Sometimes lightness is called brightness if the object is emitting light instead of reflecting it.  In order to use color precisely in computer graphics, we need to be able to specify and measure colors.
  • 14. Combining Colors Additive (RGB) Shining colored lights on a white ball Subtractive (CMYK) Mixing paint colors and illuminating with white light
  • 15. How Do Artists Do It?  Artists often specify color as tints, shades, and tones of saturated (pure) pigments • Tint: Gotten by adding white to a pure pigment, decreasing saturation • Shade: Gotten by adding black to a pure pigment, decreasing lightness • Tone: Gotten by adding white and black to a pure pigment White Pure Color Black Grays Tones
  • 16. Dithering  Dithering can be accomplished by thresholding the image against a dither matrix.  The first two dither matrices, rescaled for application to 8-bit images, are
  • 19. Dithering  The elements of a dither matrix are thresholds.  The matrix is laid like a tile over the entire image and each pixel value is compared with the corresponding threshold from the matrix.  The pixel becomes white if its value exceeds the threshold or black otherwise.  This approach produces an output image with the same dimensions as the input image, but with less detail visible.
  • 20. Algorithm to halftone an image using a dither matrix. for all x & y do if f(x,y) > m(x,y) then g(x,y) = white else g(x,y) = black end if End for
  • 21. Fig: Halftoning with dither matrices. (a) Input image. (b) Halftoned image using D1. (c) Halftoned image using D2