CH 2
CH 2
CH 2
• The digital image processing deals with developing a digital system that
performs operations on a digital image.
• An image is nothing more than a two dimensional signal.
• When we write larger numbers (more than one digit) the position of a digit
within the number has a certain value, 1, 10, 100, 1000 etc as shown here.
• The value of a number we have written is just the sum of the values represented
by each digit position.
• In this example, 8000 + 500 + 30 + 4 =8,534.
Comparing Human and Computer Digits
• Digital imaging systems and computers can only write two different digits.
• They write numbers by filling in spaces (in the computer memory, on disk, etc).
• Therefore, each digit space can have only two possible
•
The Effect of Bit Depth on the Image.
• Here we compare three images, displayed with different bit depths and possible
brightness levels.
• The first image is displayed with only one bit per pixel. A pixel can have only
two possible values, BLACK or WHITE.
• The second image, with four bits per pixel, is limited to 16 different brightness
levels (shades of gray)
• The third image, with eight bits per pixel, can display 256 different brightness
levels. This is generally adequate for human viewing.
•
Pixel Size and Digital Image Detail
• When an image is in digital form, it is actually blurred by the size of the pixel.
•
Image representation
• There are four main types of image representation:
Binary image
• A binary image is formed by only two colors, usually black or white.
• Each pixel of a binary image takes 1-bit of memory, i.e., the information about
the image is stored in 1-Bit.
• The two colors are represented by 1 or 0. This type of image is known as a
monochrome image.
Image representation
8-bit color format
• In 8-bit color format images, the information of a pixel is stored in 8-bits (1-byte).
• Each pixel can have 28 or 256 different values, from 0 to 255.
• There can be 256 different colors in an 8-bit image represented by each integer.
• A grayscale image is formed by the pixels having integral values from 0 to 255.
• In the present scenario, images became the foremost suitable way to keep our
past alive.
• Images have touched most the fields like medical, sports, social networking,
• To handle images and before analyzing them the foremost important thing is to
• If we'd like an X-Ray image, we use a camera (film) that's sensitive to X-Rays.
• If we would like an Infra-Red image, we use cameras that are sensitive to Infra-
Red radiations.
• For standard images (family photographs etc.) we use cameras that are sensitive
• The images are created by a mixture of a lighting source & the reflection or
absorption of the energy by the elements of the view being imaged.
• Lighting could also be introduced by radar, X-ray energy source, infrared energy
source, ultrasound energy source, computer-generated energy pattern, etc.
• To sense the image, we use a sensor that is sensitive to illumination.
• The method of image sensors is named image acquisition.
Image sampling and quantization
Image sampling and quantization
• In order to become suitable for digital processing, an image function f(x,y) must be
digitized both spatially and in amplitude.
• Digitizer is used to sample and quantize the analogue video signal
• In order to create an image which is digital, we need to covert continuous data into
digital form.
• There are two steps in which it is done:
– Sampling: digitalization of coordinate value
– Quantization: digitalization of amplitude value
Image format
• BMP (Bit Map) format does not compress the original image.
• GIF (Graphics Interchange Format) type images are compressed to
more than 99% of their original size with no loss in image quality.
• It supports up to 256 colors.
• JPEG (Joint Photographic Experts Group)
• The most common file type you run across on the web and
• Became an ISO international standard for compression of images.
• JPEGs are known for their "lossy" compression
• PNGs are amazing for interactive documents such as web pages but
are not suitable for print.
• While PNGs are "lossless," meaning you can edit them and not lose
quality
• They are still low resolution.
Image format