انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Image Types

Share |
الكلية كلية العلوم للبنات     القسم قسم الحاسبات     المرحلة 4
أستاذ المادة سهاد احمد علي القره غولي       07/03/2017 06:40:14
Binary images are the simplest type of images and can take on two
values, typically black and white, or ‘0’ and ‘1’. A binary image is referred to as a 1 bit/pixel image because it takes only 1 binary digit to
represent each pixel.
These types of images are most frequently in computer vision application
where the only information required for the task is general shapes, or
outlines information. For example, to position a robotics gripper to grasp
an object or in optical character recognition (OCR).
Binary images are often created from gray-scale images via a threshold
value is turned white (‘1’), and those below it are turned black (‘0’).
We define the characteristic function of an object in an image to be


(a) (b)
• Each pixel is stored as a single bit (0 or 1)
• A 640 x 480 monochrome image requires 37.5 KB of storage.

2-Gray Scale Images
Gray _scale images are referred to as monochrome, or one-color image.
They contain brightness information only brightness information only, no
color information. The number of different brightness level available.
The typical image contains 8 bit/ pixel (data, which allows us to have (0-255) different brightness (gray) levels. The 8 bit representation is
typically due to the fact that the byte, which corresponds to 8-bit of data,
is the standard small unit in the world of digital computer.

• Each pixel is usually stored as a byte (value between 0 to 255)
• A 640 x 480 greyscale image requires over 300 KB of storage.
Figure 2.3 shows a grayscale image and a 6 × 6 detailed region, where brighter pixels correspond to larger values.


FIGURE 2.3 A grayscale image and the pixel values in a 6 × 6 neighborhood.

3. COLOR IMAGES
Representation of color images is more complex and varied. The two most common ways of storing color image contents are
1)RGB representation—in which each pixel is usually represented by a 24-bit number containing the amount of its red (R), green (G), and blue (B) components.
2) indexed representation—where a 2D array contains indices to a color palette (or lookup table - (LUT)).

24-Bit (RGB) Color Images Color images can be represented using three 2D arrays of same size, one for each color channel: red (R), green (G), and blue (B) (Figure 2.4).1 Each array element contains an 8-bit value, indicating the amount of red, green, or blue at that point in a [0, 255] scale. The combination of the three 8-bit values into a 24-bit number allows 224 (16,777,216, usually referred to as 16 million or 16 M) color combinations. An alternative representation uses 32 bits per pixel and includes a fourth channel, called the alpha channel, that provides a measure of transparency for each pixel and is widely used in image editing effects.
The following figure we see a representation of a typical RGB color image.

The following figure illustrate that in addition to referring to arrow or column as a vector, we can refer to a single pixel red ,green, and blue values as a color pixel vector –(R,G,B ).

For many applications, RGB color information is transformed into mathematical space that that decouples the brightness information from the color information.
The hue/saturation /lightness (HSL) color transform allows us to describe colors in terms that we can more readily understand.

The lightness is the brightness of the color, and the hue is what we normally think of as “color” and the hue (ex: green, blue, red, and orange).
The saturation is a measure of how much white is in the color (ex: Pink is red with more white, so it is less saturated than a pure red). [Most people relate to this method for describing color}.
FIGURE 2.4 Color image (a) and its R (b), G (c), and B (d) components.




المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم