SlideShare uma empresa Scribd logo
1 de 19
S
CSC 103
Pixels, RGB Color,
Digital Images
Pixels: The Building Blocks of Digital Images
A Pixel
 Pixel is short for Picture Element
 Each pixel displays 1 color
 The color of one pixel
can be any one of
16.7 million colors
Examples of Pixels
in a raster/bitmap image
Examples of Pixels
in an image
A pixel’s
Bit depth
determines its
range, or amount
of possible colors
Bit Depth of A Pixel
Bit depth of pixels can vary…
 Can be 1-bit bitmap
(only black or white pixels)
 Can be 8-bit grayscale
(256 shades of gray)
 Can be 24-bit RGB Color
(millions of colors)
1 Bit Image (Bitmap)
 Only Black or white pixels
No Gray Pixels
 Very high-resolution
is required for good quality
 Used when scanning
text, forms or
line drawings
0
0
1
1
8-Bit Image- Grayscale
 28 = 256 Choices of grey
 Shades of Gray range
from 0-255
 Black (0) to White (255)
or 1111 1111 (white)
0000 0000 (black) in Binary
0
255
24-Bit Full Color- RGB
 Composed of combinations
of Red, Green, Blue light
 3 8-bit channels
of 28 = 256
 2563 = 16.7 million color choices
 Red (0-255)
Green (0-255)
Blue (0-255)
24-Bit – RGB Color Slider
Read as 0, 0, 0
24-Bit – RGB Color Slider
Read as 163, 96, 54
RGB Color Slider - Pixlr
HSB Color Slider - Pixlr
Easier to edit colors and
create colors using
Hue, Saturation,
Lightness (or Brightness)
Additive vs. Subtractive Color
 RGB color is “additive” color
Add all 3 colors together – get white.
Subtract to black
 Inks or Paint is “subtractive” color
Subtract CMY colors to get white
(paper or canvas)
Mix all 3 colors to get black/brown
Image Size & Resolution
 Higher Resolution means smaller pixels
and more detail that is captured
 Higher Resolution means images can be
enlarged (or zoomed in) without losing
detail – more pixels per inch
 Low Resolution means larger pixels, less
detail and more blurring and “bitmapping”
especially when enlarged
Image Size & Resolution
 High Resolution (print)
more pixels per inch – 300 ppi
 Low Resolution (web and screen)
less pixels per inch – 72 ppi
Megapixels?
 Megapixels – measures total pixels
captured in millions (digital cameras)
 12 megapixel image would include
12 million pixels (4000 x 3000 px)
 Resolution is 72ppi by default, but
can be increased by adjusting size.
File Formats of Pixel Images
 BMP, TIF format used for 1-bit black & white images.
(1-bit images are not used very much anymore)
 TIF format used for 8-bit grayscale images. (Print)
 JPG, PNG, TIF format used for 24-bit color images.
 GIF, PNG format used for 8-bit color images.
Used to reduce colors (logos, clip art), for smaller file size
and provide transparency options and even animation (GIF)
8-Bit – Color Formats
 GIF format and PNG
format supports 8-bit
color (256 total colors)
and transparency
 And even animation!
Terms to Know
 Pixel, bit-depth, 1-bit (bitmap),
8-bit (grayscale), 24-bit (RGB color)
 Bitmap (b & w), Grayscale (256 grays)
RGB (16.7 million colors)
 Additive/Subtractive Color,
Hue, Saturation, Lightness/Brightness
Image Size, Megapixels
Resolution, PPI – Pixels per inch
Low 72, High 300

Mais conteúdo relacionado

Mais procurados

Image resolution
Image resolutionImage resolution
Image resolution
AMICC
 
Screen and image resolution
Screen and image resolutionScreen and image resolution
Screen and image resolution
lenance
 

Mais procurados (20)

03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image resolution
Image resolutionImage resolution
Image resolution
 
CSC103 Vector vs Raster Graphics
CSC103 Vector vs Raster GraphicsCSC103 Vector vs Raster Graphics
CSC103 Vector vs Raster Graphics
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
Image compression
Image compression Image compression
Image compression
 
Image compression
Image compressionImage compression
Image compression
 
Screen and image resolution
Screen and image resolutionScreen and image resolution
Screen and image resolution
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
 
Color models
Color modelsColor models
Color models
 
image enhancement
 image enhancement image enhancement
image enhancement
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
Hog and sift
Hog and siftHog and sift
Hog and sift
 
Pixel relationships
Pixel relationshipsPixel relationships
Pixel relationships
 
Image denoising
Image denoising Image denoising
Image denoising
 
reducing noises in images
reducing noises in imagesreducing noises in images
reducing noises in images
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
ImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).pptImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).ppt
 

Semelhante a CSC103 Digital Images, Pixels, RGB Colors

Pixel resolution
Pixel resolutionPixel resolution
Pixel resolution
imcprint
 

Semelhante a CSC103 Digital Images, Pixels, RGB Colors (20)

Technical concepts for graphic design production 4
Technical concepts for graphic design production 4Technical concepts for graphic design production 4
Technical concepts for graphic design production 4
 
VCT 3080 Resample Lecture
VCT 3080 Resample LectureVCT 3080 Resample Lecture
VCT 3080 Resample Lecture
 
Graphics
GraphicsGraphics
Graphics
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
SD & D Bitmapped Graphics
SD & D Bitmapped GraphicsSD & D Bitmapped Graphics
SD & D Bitmapped Graphics
 
Pixel resolution
Pixel resolutionPixel resolution
Pixel resolution
 
Lesson 1 • Introduction to Photoshop
Lesson 1 • Introduction to PhotoshopLesson 1 • Introduction to Photoshop
Lesson 1 • Introduction to Photoshop
 
Image file formats
Image file formatsImage file formats
Image file formats
 
Dip
DipDip
Dip
 
Understanding Raster Graphics
Understanding Raster GraphicsUnderstanding Raster Graphics
Understanding Raster Graphics
 
Digital Imaging Basics
Digital Imaging BasicsDigital Imaging Basics
Digital Imaging Basics
 
Chap9 10
Chap9 10Chap9 10
Chap9 10
 
Unit iv graphics
Unit iv  graphicsUnit iv  graphics
Unit iv graphics
 
Chap46
Chap46Chap46
Chap46
 
Graphics
GraphicsGraphics
Graphics
 
P1.1
P1.1 P1.1
P1.1
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
 
E2_T1_Mia-Bonilla
E2_T1_Mia-BonillaE2_T1_Mia-Bonilla
E2_T1_Mia-Bonilla
 
Prepress and File Formats: Preparing Images for Print
Prepress and File Formats: Preparing Images for PrintPrepress and File Formats: Preparing Images for Print
Prepress and File Formats: Preparing Images for Print
 

Mais de Richard Homa

Mais de Richard Homa (20)

Programming 1: Compilers, Interpreters & Bytecode
Programming 1: Compilers, Interpreters & BytecodeProgramming 1: Compilers, Interpreters & Bytecode
Programming 1: Compilers, Interpreters & Bytecode
 
CSC103 Digital Security
CSC103 Digital SecurityCSC103 Digital Security
CSC103 Digital Security
 
CSC 103 Databases Overview
CSC 103 Databases OverviewCSC 103 Databases Overview
CSC 103 Databases Overview
 
CSC103 Intro to Programming
CSC103 Intro to ProgrammingCSC103 Intro to Programming
CSC103 Intro to Programming
 
CSC103 Gaming Overview (for Everyone)
CSC103 Gaming Overview (for Everyone)CSC103 Gaming Overview (for Everyone)
CSC103 Gaming Overview (for Everyone)
 
CSC103 3D Software & Technology
CSC103 3D Software & TechnologyCSC103 3D Software & Technology
CSC103 3D Software & Technology
 
CSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & BinaryCSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & Binary
 
CSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSCSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JS
 
CSC103 Internet
CSC103 InternetCSC103 Internet
CSC103 Internet
 
CCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryCCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, Binary
 
Excel Review Quiz
Excel Review QuizExcel Review Quiz
Excel Review Quiz
 
CSC102 Excel Basics
CSC102 Excel BasicsCSC102 Excel Basics
CSC102 Excel Basics
 
CSC102 Word Paragraph Formatting
CSC102 Word Paragraph FormattingCSC102 Word Paragraph Formatting
CSC102 Word Paragraph Formatting
 
CSC102 Computer Software
CSC102 Computer SoftwareCSC102 Computer Software
CSC102 Computer Software
 
CSC102 Computer Connectivity
CSC102 Computer ConnectivityCSC102 Computer Connectivity
CSC102 Computer Connectivity
 
CSC 102 Computer Intro
CSC 102 Computer IntroCSC 102 Computer Intro
CSC 102 Computer Intro
 
Creating Immersive Technology Experiences with Web-based Software & Resources
Creating Immersive Technology Experiences with Web-based Software & ResourcesCreating Immersive Technology Experiences with Web-based Software & Resources
Creating Immersive Technology Experiences with Web-based Software & Resources
 
Creating Immersive Technology Experiences with Web-based Software & Resources
Creating Immersive Technology Experiences with Web-based Software & ResourcesCreating Immersive Technology Experiences with Web-based Software & Resources
Creating Immersive Technology Experiences with Web-based Software & Resources
 
CSC 103 Networking pt2
CSC 103 Networking pt2CSC 103 Networking pt2
CSC 103 Networking pt2
 
CSC103 Networking pt1
CSC103 Networking pt1CSC103 Networking pt1
CSC103 Networking pt1
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

CSC103 Digital Images, Pixels, RGB Colors

  • 1. S CSC 103 Pixels, RGB Color, Digital Images Pixels: The Building Blocks of Digital Images
  • 2. A Pixel  Pixel is short for Picture Element  Each pixel displays 1 color  The color of one pixel can be any one of 16.7 million colors
  • 3. Examples of Pixels in a raster/bitmap image
  • 4. Examples of Pixels in an image A pixel’s Bit depth determines its range, or amount of possible colors
  • 5. Bit Depth of A Pixel Bit depth of pixels can vary…  Can be 1-bit bitmap (only black or white pixels)  Can be 8-bit grayscale (256 shades of gray)  Can be 24-bit RGB Color (millions of colors)
  • 6. 1 Bit Image (Bitmap)  Only Black or white pixels No Gray Pixels  Very high-resolution is required for good quality  Used when scanning text, forms or line drawings 0 0 1 1
  • 7. 8-Bit Image- Grayscale  28 = 256 Choices of grey  Shades of Gray range from 0-255  Black (0) to White (255) or 1111 1111 (white) 0000 0000 (black) in Binary 0 255
  • 8. 24-Bit Full Color- RGB  Composed of combinations of Red, Green, Blue light  3 8-bit channels of 28 = 256  2563 = 16.7 million color choices  Red (0-255) Green (0-255) Blue (0-255)
  • 9. 24-Bit – RGB Color Slider Read as 0, 0, 0
  • 10. 24-Bit – RGB Color Slider Read as 163, 96, 54
  • 11. RGB Color Slider - Pixlr
  • 12. HSB Color Slider - Pixlr Easier to edit colors and create colors using Hue, Saturation, Lightness (or Brightness)
  • 13. Additive vs. Subtractive Color  RGB color is “additive” color Add all 3 colors together – get white. Subtract to black  Inks or Paint is “subtractive” color Subtract CMY colors to get white (paper or canvas) Mix all 3 colors to get black/brown
  • 14. Image Size & Resolution  Higher Resolution means smaller pixels and more detail that is captured  Higher Resolution means images can be enlarged (or zoomed in) without losing detail – more pixels per inch  Low Resolution means larger pixels, less detail and more blurring and “bitmapping” especially when enlarged
  • 15. Image Size & Resolution  High Resolution (print) more pixels per inch – 300 ppi  Low Resolution (web and screen) less pixels per inch – 72 ppi
  • 16. Megapixels?  Megapixels – measures total pixels captured in millions (digital cameras)  12 megapixel image would include 12 million pixels (4000 x 3000 px)  Resolution is 72ppi by default, but can be increased by adjusting size.
  • 17. File Formats of Pixel Images  BMP, TIF format used for 1-bit black & white images. (1-bit images are not used very much anymore)  TIF format used for 8-bit grayscale images. (Print)  JPG, PNG, TIF format used for 24-bit color images.  GIF, PNG format used for 8-bit color images. Used to reduce colors (logos, clip art), for smaller file size and provide transparency options and even animation (GIF)
  • 18. 8-Bit – Color Formats  GIF format and PNG format supports 8-bit color (256 total colors) and transparency  And even animation!
  • 19. Terms to Know  Pixel, bit-depth, 1-bit (bitmap), 8-bit (grayscale), 24-bit (RGB color)  Bitmap (b & w), Grayscale (256 grays) RGB (16.7 million colors)  Additive/Subtractive Color, Hue, Saturation, Lightness/Brightness Image Size, Megapixels Resolution, PPI – Pixels per inch Low 72, High 300