SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

CSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageCSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageRichard Homa
 
Multimedia systems_Digital Audio and Digital Video
Multimedia systems_Digital Audio and Digital VideoMultimedia systems_Digital Audio and Digital Video
Multimedia systems_Digital Audio and Digital VideoTMARAGATHAM
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 
Graphics pipeline and rendering
Graphics pipeline and renderingGraphics pipeline and rendering
Graphics pipeline and renderingiain bruce
 
Fundamentals Image and Graphics
Fundamentals Image and GraphicsFundamentals Image and Graphics
Fundamentals Image and GraphicsShrawan Adhikari
 
Image resolution
Image resolutionImage resolution
Image resolutionAMICC
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representationMazin Alwaaly
 
Creating pixels using graphics
Creating pixels using graphicsCreating pixels using graphics
Creating pixels using graphicsRahul Maddineni
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsRishab2612
 
CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devicesvinay arora
 
Raster graphics
Raster graphicsRaster graphics
Raster graphicslenance
 

What's hot (20)

CSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageCSC103 Processing, Memory & Storage
CSC103 Processing, Memory & Storage
 
Multimedia systems_Digital Audio and Digital Video
Multimedia systems_Digital Audio and Digital VideoMultimedia systems_Digital Audio and Digital Video
Multimedia systems_Digital Audio and Digital Video
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 
Bitmap and vector
Bitmap and vectorBitmap and vector
Bitmap and vector
 
Image formats
Image formatsImage formats
Image formats
 
Graphics pipeline and rendering
Graphics pipeline and renderingGraphics pipeline and rendering
Graphics pipeline and rendering
 
how video works
how video workshow video works
how video works
 
Fundamentals Image and Graphics
Fundamentals Image and GraphicsFundamentals Image and Graphics
Fundamentals Image and Graphics
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
2. Imagen Digital
2. Imagen Digital2. Imagen Digital
2. Imagen Digital
 
Segmentation
SegmentationSegmentation
Segmentation
 
Image resolution
Image resolutionImage resolution
Image resolution
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 
Lect 06
Lect 06 Lect 06
Lect 06
 
of Pixels and Bits
of Pixels and Bitsof Pixels and Bits
of Pixels and Bits
 
Creating pixels using graphics
Creating pixels using graphicsCreating pixels using graphics
Creating pixels using graphics
 
GRAPHIC DESIGN PRESENTATION
GRAPHIC DESIGN PRESENTATIONGRAPHIC DESIGN PRESENTATION
GRAPHIC DESIGN PRESENTATION
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
 
CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devices
 
Raster graphics
Raster graphicsRaster graphics
Raster graphics
 

Similar to CSC103 Digital Images, Pixels, RGB Colors

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 4Ahmed Ismail
 
VCT 3080 Resample Lecture
VCT 3080 Resample LectureVCT 3080 Resample Lecture
VCT 3080 Resample LectureBeth Vollmar
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdfssuserff72e4
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdfssuserff72e4
 
Lesson 1 • Introduction to Photoshop
Lesson 1 • Introduction to PhotoshopLesson 1 • Introduction to Photoshop
Lesson 1 • Introduction to PhotoshopMarcio Sargento
 
Image file formats
Image file formatsImage file formats
Image file formatsBob Watson
 
Understanding Raster Graphics
Understanding Raster GraphicsUnderstanding Raster Graphics
Understanding Raster GraphicsSabir Haque
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionAdya Tiwari
 
E2_T1_Mia-Bonilla
E2_T1_Mia-BonillaE2_T1_Mia-Bonilla
E2_T1_Mia-Bonillambonilbo12
 
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 PrintJennifer Janviere
 

Similar to 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
 
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
 
Image representation
Image representationImage representation
Image representation
 

More from Richard Homa

Programming 1: Compilers, Interpreters & Bytecode
Programming 1: Compilers, Interpreters & BytecodeProgramming 1: Compilers, Interpreters & Bytecode
Programming 1: Compilers, Interpreters & BytecodeRichard Homa
 
CSC103 Digital Security
CSC103 Digital SecurityCSC103 Digital Security
CSC103 Digital SecurityRichard Homa
 
CSC 103 Databases Overview
CSC 103 Databases OverviewCSC 103 Databases Overview
CSC 103 Databases OverviewRichard Homa
 
CSC103 Intro to Programming
CSC103 Intro to ProgrammingCSC103 Intro to Programming
CSC103 Intro to ProgrammingRichard Homa
 
CSC103 Gaming Overview (for Everyone)
CSC103 Gaming Overview (for Everyone)CSC103 Gaming Overview (for Everyone)
CSC103 Gaming Overview (for Everyone)Richard Homa
 
CSC103 3D Software & Technology
CSC103 3D Software & TechnologyCSC103 3D Software & Technology
CSC103 3D Software & TechnologyRichard Homa
 
CSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & BinaryCSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & BinaryRichard Homa
 
CSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSCSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSRichard Homa
 
CSC103 Digital Devices: Device Basics
CSC103 Digital Devices: Device BasicsCSC103 Digital Devices: Device Basics
CSC103 Digital Devices: Device BasicsRichard Homa
 
CCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryCCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryRichard Homa
 
CSC102 Excel Basics
CSC102 Excel BasicsCSC102 Excel Basics
CSC102 Excel BasicsRichard Homa
 
CSC102 Word Paragraph Formatting
CSC102 Word Paragraph FormattingCSC102 Word Paragraph Formatting
CSC102 Word Paragraph FormattingRichard Homa
 
CSC102 Computer Software
CSC102 Computer SoftwareCSC102 Computer Software
CSC102 Computer SoftwareRichard Homa
 
CSC102 Computer Connectivity
CSC102 Computer ConnectivityCSC102 Computer Connectivity
CSC102 Computer ConnectivityRichard Homa
 
CSC 102 Computer Intro
CSC 102 Computer IntroCSC 102 Computer Intro
CSC 102 Computer IntroRichard Homa
 
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 & ResourcesRichard Homa
 
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 & ResourcesRichard Homa
 
CSC 103 Networking pt2
CSC 103 Networking pt2CSC 103 Networking pt2
CSC 103 Networking pt2Richard Homa
 

More from 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 Digital Devices: Device Basics
CSC103 Digital Devices: Device BasicsCSC103 Digital Devices: Device Basics
CSC103 Digital Devices: Device Basics
 
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
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+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...
 

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