SlideShare a Scribd company logo
Computer Graphics (Assignment)
By: FarwaAbdul Hannan (12 – CS – 13)
Raster Images:
Raster images are those images that are made up of many small cells. These cells are known
as Pixels. A raster is stored in a computer as an array of numerical values. Each numerical value
represent the value of the pixel stored there. This array as a whole often known as Pixel Map.
Raster images are of two forms
1. Gray Scale Raster Images
2. Colored Raster Images
Gray Scale Raster Images:
These images as cleared from the name are in different shades of gray. The gray levels
range from black to white. As we know that raster images are stored in numerical values so if in
gray scale raster images, there are only two values of pixel then we call this image a bi-level image
as its pixel map can be consisted of an array of 1s or 0s or any two values from the one stored
between them (1s for black and 0s for white and the values between them represent different shades
of gray). A bi-level image is often known as 1 bit per pixel image. In a gray scale image if the
pixels take on more than two values then each pixel requires more than a single bit in memory and
their values are:
1. 2 bits/pixel produce 4 gray levels
2. 4 bits/pixel produce 16 gray levels
3. 8 bits/pixel produce 256 gray levels
Color Raster Images:
As the colored images represents our daily experience more closely as compared to gray
scale images so these images are more desirable. Color raster Images are most commonly used
images. Ina color raster image each pixel has a color value represented by a numerical value against
each color. In these images the colors are described as a combination of amounts of red, green and
blue colors. Each pixel value consist of 3-tuple like (red, green and blue) and these tuples
represents the intensities of red, green and blue colors respectively. The number of bits are used to
represent each pixel. Each value in the 3-tuple (red, green and blue) has a certain bit for it. For
example in the pixel values (0, 1, 1) 0 means off and 1 means on so here against the 3-tuple (red,
green, blue) red is off as it is 0 and green and blue are on as their pixel value in 1. Possible
combinations of colors with different pixel values are:
The colors other than these are produced by using different intensities of these colors.

More Related Content

PPTX
Homework
PPTX
VCT 3080 Resample Lecture
PPTX
Homework
PPTX
Digital image
PPTX
Presentation ir
PPT
Representation of Bitmapped Graphics
PPTX
Raster vs vector
PPT
How Computers Represent Graphics
Homework
VCT 3080 Resample Lecture
Homework
Digital image
Presentation ir
Representation of Bitmapped Graphics
Raster vs vector
How Computers Represent Graphics

Viewers also liked (20)

PDF
Linear combination of vector
DOCX
Javadocx j option pane
DOCX
Digital logic and design's Lab 3
DOCX
Applications of Image Processing
PDF
Scaling
DOCX
Manual of JAVA (more than Half)
DOCX
JAVA Manual remaining
DOCX
Digital logic and design's Lab 4 nand
PDF
Prefix and suffix of open gl
PDF
Summary of Simultaneous Multithreading: Maximizing On-Chip Parallelism
DOCX
Cohen sutherland algorithm
PPTX
Templates
PDF
Tomasulo Algorithm
DOCX
Chapter 4: Lexical & Syntax Analysis (Programming Exercises)
DOCX
Mission statement and Vision statement of 3 Different Companies
PPTX
Implementation & Challenges of IPv6
PDF
IPv6 Implementation challenges
DOCX
DLDLab 8 half adder
PDF
Graphic display devices
PPTX
Memory Hierarchy Design, Basics, Cache Optimization, Address Translation
Linear combination of vector
Javadocx j option pane
Digital logic and design's Lab 3
Applications of Image Processing
Scaling
Manual of JAVA (more than Half)
JAVA Manual remaining
Digital logic and design's Lab 4 nand
Prefix and suffix of open gl
Summary of Simultaneous Multithreading: Maximizing On-Chip Parallelism
Cohen sutherland algorithm
Templates
Tomasulo Algorithm
Chapter 4: Lexical & Syntax Analysis (Programming Exercises)
Mission statement and Vision statement of 3 Different Companies
Implementation & Challenges of IPv6
IPv6 Implementation challenges
DLDLab 8 half adder
Graphic display devices
Memory Hierarchy Design, Basics, Cache Optimization, Address Translation
Ad

Similar to Raster images (assignment) (20)

PPTX
Ch2
PDF
Raster graphics
PPT
L3 cmp technicalfile_180911
PDF
Chapter 3 (1).pdf Computer Mantainance and Tecknical support Chapter 3 Latest...
PPTX
Types of images
PPTX
Types of images
PPTX
Types of images
DOCX
Pixel and resolution
PPT
Multimedia
PPTX
Powerpoint
PDF
Investigating Graphic Image Design
DOCX
Pixel and resolution
DOCX
Resolutiondone
PPTX
Multimedia graphics and image data representation
PPTX
CSC103 Digital Images, Pixels, RGB Colors
PPTX
L#2 Multimedia systems telecomunicztion.pptx
PPT
Bitmap vector2
PPT
Computer Graphics Introduction
PPTX
CLASS 1.1.pptx
PDF
RASTER DATA MODEL, Digitial Elevation Models
Ch2
Raster graphics
L3 cmp technicalfile_180911
Chapter 3 (1).pdf Computer Mantainance and Tecknical support Chapter 3 Latest...
Types of images
Types of images
Types of images
Pixel and resolution
Multimedia
Powerpoint
Investigating Graphic Image Design
Pixel and resolution
Resolutiondone
Multimedia graphics and image data representation
CSC103 Digital Images, Pixels, RGB Colors
L#2 Multimedia systems telecomunicztion.pptx
Bitmap vector2
Computer Graphics Introduction
CLASS 1.1.pptx
RASTER DATA MODEL, Digitial Elevation Models
Ad

More from Farwa Ansari (10)

PDF
Energy Harvesting Techniques in Wireless Sensor Networks – A Survey
PPTX
Micro-services architecture
PDF
Software Design Patterns - An Overview
PDF
Optimizing the memory management of a virtual machine monitor on a NUMA syste...
PDF
Fault Tolerance Typed Assembly Language - A graphical overview
PDF
Comparative Analysis of Face Recognition Methodologies and Techniques
DOCX
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
PDF
Business plan of a software house
DOCX
Dld (lab 1 & 2)
PPTX
Hacking and Hackers
Energy Harvesting Techniques in Wireless Sensor Networks – A Survey
Micro-services architecture
Software Design Patterns - An Overview
Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Fault Tolerance Typed Assembly Language - A graphical overview
Comparative Analysis of Face Recognition Methodologies and Techniques
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Business plan of a software house
Dld (lab 1 & 2)
Hacking and Hackers

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Cell Types and Its function , kingdom of life
PPTX
master seminar digital applications in india
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Computing-Curriculum for Schools in Ghana
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
Anesthesia in Laparoscopic Surgery in India
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Cell Types and Its function , kingdom of life
master seminar digital applications in india
A systematic review of self-coping strategies used by university students to ...
Supply Chain Operations Speaking Notes -ICLT Program
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Module 4: Burden of Disease Tutorial Slides S2 2025
O7-L3 Supply Chain Operations - ICLT Program
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Computing-Curriculum for Schools in Ghana
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Cell Structure & Organelles in detailed.
Anesthesia in Laparoscopic Surgery in India

Raster images (assignment)

  • 1. Computer Graphics (Assignment) By: FarwaAbdul Hannan (12 – CS – 13) Raster Images: Raster images are those images that are made up of many small cells. These cells are known as Pixels. A raster is stored in a computer as an array of numerical values. Each numerical value represent the value of the pixel stored there. This array as a whole often known as Pixel Map. Raster images are of two forms 1. Gray Scale Raster Images 2. Colored Raster Images Gray Scale Raster Images: These images as cleared from the name are in different shades of gray. The gray levels range from black to white. As we know that raster images are stored in numerical values so if in gray scale raster images, there are only two values of pixel then we call this image a bi-level image as its pixel map can be consisted of an array of 1s or 0s or any two values from the one stored between them (1s for black and 0s for white and the values between them represent different shades of gray). A bi-level image is often known as 1 bit per pixel image. In a gray scale image if the pixels take on more than two values then each pixel requires more than a single bit in memory and their values are: 1. 2 bits/pixel produce 4 gray levels 2. 4 bits/pixel produce 16 gray levels 3. 8 bits/pixel produce 256 gray levels Color Raster Images: As the colored images represents our daily experience more closely as compared to gray scale images so these images are more desirable. Color raster Images are most commonly used images. Ina color raster image each pixel has a color value represented by a numerical value against each color. In these images the colors are described as a combination of amounts of red, green and blue colors. Each pixel value consist of 3-tuple like (red, green and blue) and these tuples represents the intensities of red, green and blue colors respectively. The number of bits are used to represent each pixel. Each value in the 3-tuple (red, green and blue) has a certain bit for it. For example in the pixel values (0, 1, 1) 0 means off and 1 means on so here against the 3-tuple (red, green, blue) red is off as it is 0 and green and blue are on as their pixel value in 1. Possible combinations of colors with different pixel values are: The colors other than these are produced by using different intensities of these colors.