SlideShare a Scribd company logo
2
Most read
3
Most read
13
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

What's hot (20)

PPTX
Computer graphics realism
sathya dhineshkumar
 
PPTX
Back face detection
Pooja Dixit
 
PPTX
Color models
Haitham Ahmed
 
PPTX
Computer graphics basic transformation
Selvakumar Gna
 
PDF
3D Transformation
SwatiHans10
 
PPT
Liang barsky Line Clipping Algorithm
Arvind Kumar
 
PPT
Raster scan system
Mohd Arif
 
PPT
Fill area algorithms
Kumar
 
PPTX
Cohen-Sutherland Line Clipping Algorithm
Maruf Abdullah (Rion)
 
PPTX
Attributes of output primitives( curve attributes & area fill attributes)
shalinikarunakaran1
 
PPTX
Projection In Computer Graphics
Sanu Philip
 
PDF
Unit 3
ypnrao
 
PPTX
Input of graphical data
Rajapriya82
 
PPTX
Attributes of Output Primitives
Renita Santhmayora
 
PPTX
Graphics_3D viewing
Rabin BK
 
PPTX
Depth Buffer Method
Ummiya Mohammedi
 
PPTX
Attributes of output primitive(line attributes)
shalinikarunakaran1
 
PPTX
COMPUTER GRAPHICS-"Projection"
Ankit Surti
 
PPTX
Polygon filling algorithm
Aparna Joshi
 
Computer graphics realism
sathya dhineshkumar
 
Back face detection
Pooja Dixit
 
Color models
Haitham Ahmed
 
Computer graphics basic transformation
Selvakumar Gna
 
3D Transformation
SwatiHans10
 
Liang barsky Line Clipping Algorithm
Arvind Kumar
 
Raster scan system
Mohd Arif
 
Fill area algorithms
Kumar
 
Cohen-Sutherland Line Clipping Algorithm
Maruf Abdullah (Rion)
 
Attributes of output primitives( curve attributes & area fill attributes)
shalinikarunakaran1
 
Projection In Computer Graphics
Sanu Philip
 
Unit 3
ypnrao
 
Input of graphical data
Rajapriya82
 
Attributes of Output Primitives
Renita Santhmayora
 
Graphics_3D viewing
Rabin BK
 
Depth Buffer Method
Ummiya Mohammedi
 
Attributes of output primitive(line attributes)
shalinikarunakaran1
 
COMPUTER GRAPHICS-"Projection"
Ankit Surti
 
Polygon filling algorithm
Aparna Joshi
 

Viewers also liked (20)

PPT
Halftone
NCeLearning
 
PDF
Image Printing Based on Halftoning
Cody Ray
 
PPT
Shading
Amit Kapoor
 
PPT
Illumination model
Ankur Kumar
 
PPT
Fractals
guestc5cd98e
 
PPT
Visible surface detection in computer graphic
anku2266
 
PPTX
Computer Graphics: Visible surface detection methods
Joseph Charles
 
PPT
Hidden surfaces
Mohd Arif
 
PPTX
Color Models
Mustafa Salam
 
PPTX
Computer Graphics - Hidden Line Removal Algorithm
Jyotiraman De
 
PPT
Hidden lines & surfaces
Ankur Kumar
 
PPTX
Fractals presentation
gbdriver80
 
PPT
hidden surface elimination using z buffer algorithm
rajivagarwal23dei
 
PPTX
International Journal of Computer Graphics & Animation (IJCGA)
ijcga
 
PPTX
Internet of Things(IOT)
University of Potsdam
 
PPTX
Halftone QR Codes
小蜜 許
 
PPTX
Bit plane slicing
Asad Ali
 
PPTX
Illumination Model
aishwaryabharadwaj7
 
Halftone
NCeLearning
 
Image Printing Based on Halftoning
Cody Ray
 
Shading
Amit Kapoor
 
Illumination model
Ankur Kumar
 
Fractals
guestc5cd98e
 
Visible surface detection in computer graphic
anku2266
 
Computer Graphics: Visible surface detection methods
Joseph Charles
 
Hidden surfaces
Mohd Arif
 
Color Models
Mustafa Salam
 
Computer Graphics - Hidden Line Removal Algorithm
Jyotiraman De
 
Hidden lines & surfaces
Ankur Kumar
 
Fractals presentation
gbdriver80
 
hidden surface elimination using z buffer algorithm
rajivagarwal23dei
 
International Journal of Computer Graphics & Animation (IJCGA)
ijcga
 
Internet of Things(IOT)
University of Potsdam
 
Halftone QR Codes
小蜜 許
 
Bit plane slicing
Asad Ali
 
Illumination Model
aishwaryabharadwaj7
 
Ad

Similar to Halftoning in Computer Graphics (20)

PPTX
half toning.pptx
SourabhJoshi75
 
PPTX
Multimedia graphics and image data representation
Mazin Alwaaly
 
PDF
Technical concepts for graphic design production 3
Ahmed Ismail
 
PPTX
Chap26
dkd_woohoo
 
PPTX
Unit iv graphics
Arnav Chowdhury
 
DOCX
RC3-deScreen_s
henry kang
 
PPT
Reproducing pictures
Tiffany Johnson Watts
 
PPTX
06 cie552 image_manipulation
Elsayed Hemayed
 
PDF
Unit i mm_chap3_graphics and image data representation
Eellekwameowusu
 
PDF
WEB I - 08 - Digital Media
Randy Connolly
 
PPTX
CSC103 Digital Images, Pixels, RGB Colors
Richard Homa
 
PPT
Digital Image File Formats
indiangarg
 
PPTX
SESSION 1.pptx
konicha1
 
PDF
Investigation on halftoning methods in digital printing technology
IAEME Publication
 
PPTX
Chap46
dkd_woohoo
 
PPT
Computer Techniques In Photoshop 1
moncrief
 
PPT
Colours
saywhatyousee
 
DOCX
Multimedia digital images
Mohammad Dwikat
 
PPTX
quantization and sampling presentation ppt
KNaveenKumarECE
 
PDF
Formation of Print
SappiHouston
 
half toning.pptx
SourabhJoshi75
 
Multimedia graphics and image data representation
Mazin Alwaaly
 
Technical concepts for graphic design production 3
Ahmed Ismail
 
Chap26
dkd_woohoo
 
Unit iv graphics
Arnav Chowdhury
 
RC3-deScreen_s
henry kang
 
Reproducing pictures
Tiffany Johnson Watts
 
06 cie552 image_manipulation
Elsayed Hemayed
 
Unit i mm_chap3_graphics and image data representation
Eellekwameowusu
 
WEB I - 08 - Digital Media
Randy Connolly
 
CSC103 Digital Images, Pixels, RGB Colors
Richard Homa
 
Digital Image File Formats
indiangarg
 
SESSION 1.pptx
konicha1
 
Investigation on halftoning methods in digital printing technology
IAEME Publication
 
Chap46
dkd_woohoo
 
Computer Techniques In Photoshop 1
moncrief
 
Colours
saywhatyousee
 
Multimedia digital images
Mohammad Dwikat
 
quantization and sampling presentation ppt
KNaveenKumarECE
 
Formation of Print
SappiHouston
 
Ad

More from University of Potsdam (20)

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

Recently uploaded (20)

PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PPTX
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
AIMA UCSC-SV Leadership_in_the_AI_era 20250628 v16.pptx
home
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PDF
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPT
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPTX
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
PPTX
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
Controller Request and Response in Odoo18
Celine George
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
AIMA UCSC-SV Leadership_in_the_AI_era 20250628 v16.pptx
home
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
Horarios de distribución de agua en julio
pegazohn1978
 
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 

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