terms Flashcards
Define computer graphics
“Production of images on computers for use in any medium”
Define Image Processing
The electronic analysis or manipulation of an image, generally to improve it’s quality
Name some common applications of computer graphics
Computer art
Video Games
Healthcare
Film
Name the types of computer graphics
Raster Graphics (Bitmaps) –> Uses a grid of individual pixels where each pixel can be a different colour or shade (Digital Images)
Vector Graphics –> Uses mathematical relationships between points and lines connecting them to describe an image
What is a Pixel?
Fundamental display element on an electronic screen / bitmapped image.
Two types of images:
RGB (Red, Green Blue)
CMYK (Cyan, Magenta, Yellow, Black)
Define Resolution
The number of pixels in an image
What is a Megapixel
1 Million pixels
RGB Pixels
Tries to imitate the actions of the human eye, capturing red, green and blue light.
For an RGB image, the pixel values are stored in 3 separate 2D arrays.
Each value generally ranging from 0 - 255 (one Byte)
What are Monochrome / Gray Scale images
Contain gray-level information and no color information.
Typical gray scale image contains 8 bits/ pixel data, which allows for having 256 different gray levels.
How do you define gray-level resolution L?
L = 2^k,
where K = number of bits used to represent the grey levels of digital image
How do you determine the gray-scale of an 8-bit image?
L = 2^k = 2^8 = 256,
So, gray-scale of an 8 bit image is [0, 255]
How do you determine the storage size of an 8-bit image with 512x512 resolution?
512 x 512 x 8 = 2,097,152 bits
What is a histogram with respect to computer graphics?
they plot the frequency of each intensity value in an image.
Used to visualize light and dark areas in an image (to improve brightness / contrast)
How are colours represented in digital form?
As a collection of numbers, each representing the intensity of the given component of the colour.
These components are called channels.
Colour channels generally describe how much red, green and blue are used in a pixel to form a colour.
How are colours represented in digital form?
As a collection of numbers, each representing the intensity of the given component of the colour.
These components are called channels.
Colour channels generally describe how much red, green and blue are used in a pixel to form a colour.
What is the Alpha channel?
Specifies how transparent or opaque a colour is.
Alpha channel = 1: opaque
Alpha channel = 0: Transparent
What is the Alpha channel?
Specifies how transparent or opaque a colour is.
Alpha channel = 1: opaque
Alpha channel = 0: Transparent
What is Alpha Composition?
Technique of combining an image (foreground) with a background image to produce a composite image that has an appearance of transparency.
Ii = αiFi + (1 − αi)Bi
Fi = Foreground image colours
Bi = Background image colours
ai = alpha matte of foreground image
Applications of alpha composition?
digital image editing, movie production,
Describe Image Formation
Each point on a 3D object emits multiple rays of light outwards.
Due to the barrier in place between the camera sensor and the 3D object, only very limited number of light rays can pass through the aperture of the barrier and enter the the sensor
What is the Pinhole Camera Model?
Simple camera model:
The film is called the image or retinal plane
aperture is called the pinhole / center of camera
Distance between image plane and pinhole = focal length
How do you use the Pinhole Camera?
P = [x, y, z] (point on 3D object) is mapped onto the image plane P’ = [x’, y’].
The pinhole itself can be projected onto the image plane too, giving the point C’
This [i, j, k] system is called the camera reference system / camera coordinate system.
Line defined between the pinhole and it’s projection C’ is called the optical axis of the camera system