Chapter 3 Image Data Representation
Chapter 3 Image Data Representation
Image Resolution
3
1
number of pixels in a digital image (Higher resolution always
Graphic/Image Data Representation yields better quality.)
width x height (e.g., 640X480)
Most common Aspect ratio: 3:4 (lines:columns)
Dots (pixels) per inch, dpi or ppi (e.g., 72 dpi)s
Types of images
Graphic/Image
4
An image could be described as two-dimensional array of points where every Computer Software/applications work with two basic forms of images:
point is allocated its own color. 1) Vector graphics created using points, lines, rectangles,
Image is a collection of these points that are colored in such a way that they ellipses, arcs, or Curves- called primitives.
produce meaningful information/data. Draw programs, also called vector graphics programs, are used to
Every such single point is called pixel, short form of picture element in create and edit these vector graphics. These programs store the
digital images.
primitives as a set of numerical coordinates and mathematical
Pixel contains the color or hue and relative brightness of that point in the
formulas that specify their shape and position in the image. This
image.
format is widely used by computer-aided design programs to create
2 The number of pixels in the image determines the resolution of the image.
detailed engineering and design drawings. It is also used in
multimedia when 3D animation is desired.
Types of images
6 8 Gray-scale Images
2) Bit-map images (also called Raster Graphics)
Bitmap formats are the one used for digital photographs.
They are formed from pixels-a matrix of dots with different colors. •Each pixel is usually stored as a byte
Bitmap images are defined by their dimension in pixels as well as by the (value between 0 to 255)
number of colors they represent.
•This value indicates the degree of
E.g. 640X480 image contains 640 pixels and 480 pixels in horizontal and brightness of that point. This brightness
vertical direction respectively.
goes from black to white
. All digital photographs and paintings are bitmapped, and any other kind of
image can be saved or exported into a bitmap format.
•A 640 x 480 grayscale image requires
over 300 KB of storage.
Choosing the right file type for your image to save in is of vital importance. If
•One byte for each pixel you are, for example, creating image for web pages, then it should load fast. So, such
•Supports 256 out of the millions possible,
images should be small size. The other criteria to choose file type is taking into
acceptable color quality
•Requires Color Look-Up Tables (LUTs) consideration the quality of the image that is possible using the chosen file type. You
•A 640 x 480 8-bit color image requires 307.2 should also be concerned about the portability of the image.
KB of storage (the same as 8-bit grey scale)
•Examples: GIF To choose file type:
resulting size of the imagelarge file size or small
quality of image possible by the file type
portability of file across different platforms
The most common formats used on internet are the GIF, JPG, and PNG.
sound-only format. Since version 4.0, Quick time provides true streaming capability. QuickTime MIDI (Musical Instrument Digital Interface), is not a file format for storing or transmitting recorded
also accepts different audio sample rates, bit depths, and offers full functionality in both sounds, but rather a set of instructions used to play electronic music on devices such as synthesizers.
Windows as well as the Mac OS. MIDI files are very small compared to recorded audio file formats. However, the quality and range of
MIDI tones is limited
KUMKUMO K. @DDIT KUMKUMO K. @DDIT
21 MIDI: Musical Instrument Digital Interface 23 MIDI: Musical Instrument Digital Interface
is a protocol that enables computer, synthesizers, keyboards, and another musical device
to communicate with each other. Pitch:
This protocol is a language that allows interworking between instruments from different The Musical note that the instrument plays
manufacturers by providing a link that is capable of transmitting and receiving digital data.
Components of a MIDI System Voice:
Synthesizer: Voice is the portion of the synthesizer that produces sound.
It is a sound generator (various pitch, loudness, tone color).
Synthesizers can have many (12, 20, 24, 36, etc.) voices.
A good (musician’s) synthesizer often has a microprocessor, keyboard, control panels,
memory, etc. Each voice works independently and simultaneously to produce sounds of
Sequencer: Different timbre and pitch.
a stand-alone unit or a software program for a personal computer. It used to be a storage
Patch:
server for MIDI data. Nowadays it is more a software music editor on the computer.
It has one or more MIDI INs and MIDI OUTs.
The control settings that define a particular timbre.