SlideShare a Scribd company logo
Unit 2
1
Image Enhancement
Q.14)
Unit 2
2
Q.5 WRITE A NOTE ON IMAGE ENHANCEMENT USING SPATIAL FILTERS.
Spatial Filtering involves passing a weighted mask or kernel over the image and replacing the original
pixel values in the region corresponding to the kernel multiplied by kernel weights. (spatial filtering
and neighbourhood processing is same)
Unit 2
3
Unit 2
4
6.
Q.27
Unit 2
5
Q.13
Q.14
Unit 2
6
III. Logarithmic Transformation
Logarithmic transformation further contains two type of transformation.
Log transformation and inverse log transformation. o or o The log transformations can be defined
by this formula o s = c log(r + 1).
Where s and r are the pixel values of the output and the input image and c is a constant.
The value 1 is added to each of the pixel value of the input image questions marked in red: QB
questions because if there is a pixel intensity of 0 in the image, then log (0) is equal to infinity.
So 1 is added, to make the minimum value at least 1. o During log transformation, the dark pixels in
an image are expanded as compare to the higher pixel values.
The higher pixel values are kind of compressed in log transformation
Unit 2
7
1. EXPLAIN THE TERM
(A) THRESHOLDING (B) LOG TRANSFORMATION (C) NEGATIVE TRANSFORMATION (D) CONTRAST
STRETCHING (E) GREY LEVEL SLICING.
(A) Thresholding – covered above in non-linear transformations
(B) Log Transformation - covered above in non-linear transformations
(C) Negative Transformation – covered above in linear transformations
(D) Contrast Stretching Contrast stretching (often called normalization) is a simple image
enhancement technique that attempts to improve the contrast in an image by `stretching' the range
of intensity values it contains to span a desired range of values, e.g. the the full range of pixel values
that the image type concerned allows. It differs from the more sophisticated histogram equalization
in that it can only apply a linear scaling function to the image pixel values. As a result the
`enhancement' is less harsh. (Most implementations accept a graylevel image as input and produce
another graylevel image as output.)
(E) Grey Level Slicing - covered above in non-linear transformations
Q.22
Q.2) EXPLAIN THE TERMS: (A)SMOOTHING (B) SHARPENING
(A) Smoothing/Low pass filtering: Low pass filtering as the name suggests removes the high
frequency content from the image. It is used to remove noise present in the image. Noise, is
Unit 2
8
normally a high frequency signal and low pass filtering eliminates the noise. Smoothing is used to
remove noise from image
(B) Sharpening/High pass filtering: o Sharpening is used for highlighting fine details in an image.
• Low Pass Filters: 1. Mean Filter/Averaging Filter/Low Pass Filter
Weighted Average Filter
Q.7
WRITE A NOTE ON WEIGHTED AVERAGE FILTERS. GIVE EXAMPLE.
This mask yields a so-called weighted average, terminology used to indicate that pixels are multiplied
by different coefficients, thus giving more importance (weight) to some pixels at the expense of
others. In the mask the pixel at the center of the mask is multiplied by a higher value than any other,
thus giving this pixel more importance in the calculation of the average.
Weighted Filter mask is as follows:
Unit 2
9
17.EXPLAIN BIT PLANE SLICING WITH SUITABLE EXAMPLE.
19.JUSTIFY: ”BUTTERWORTH LOW PASS FILTER IS PREFERRED TO IDEAL LOW PASS FILTER
The ringing effects due to the sharp cut-offs in the ideal filter and to get rid of ringing effects,
elimination of sharp cut-offs is necessary. This exactly happens in butterworth low pass filters. The
transfer function of the butterworth low pass filter of order n and the cut off frequency at a distance
D0 from the origin is defined as
Unit 2
10
8. WHAT ARE HIGH BOOST FILTERS? HOW ARE THEY USED? EXPLAIN. or 15.WHAT ARE
SHARPENING FILTERS? GIVE EXAMPLES. EXPLAIN ANY ONE IN DETAIL
Types of High Pass Filters:
1. High-boost Filtering
Unit 2
11
2. Unsharp Masking
16.EXPLAIN VARIOUS TECHNIQUES OF IMAGE ARITHMETIC.
32. LIST AND EXPLAIN FIVE ARITHMETIC OPERATIONS ALONG WITH THEIR MATHEMATICAL
REPRESENTATION.
list:
1. Image Addition
2. Image Subtraction
3. Image Multiplication
4. Image Division
5. Alpha Blending
Unit 2
12
Unit 2
13
33.EXPLAIN HOMOMORPHIC FILTER ALONG WITH BLOCK DIAGRAM OF HOMOMORPHIC FILTERING
Unit 2
14
4. WHAT IS STRUCTURING ELEMENT? WHAT IS THE USE OF IT IN MORPHOLOGICAL
OPERATION?
1. Morphological techniques probe the image with a small shape or template called a
structuring element.
2. Structuring element is positioned at all possible locations in the image and its compared with
the corresponding neighbourhood of pixels.
3. A morphological operation on a binary image creates a new binary image in which the pixel
has a non-zero value only if the test is successful at that location in an input image.
4. The structuring element is a small binary image i.e a small matrix of pixels, each with a value
of zero or one.
5. The matrix dimensions specify the size of the structuring element
6. The patterns of ones and zeroes specifies the shape of the structuring element.
7. An origin of the structuring element is usually one of its pixels.
11.EXPLAIN THE MORPHOLOGICAL IMAGE OPERATIONS ON AN IMAGE. STATE ITS
AAPLICATIONS
Unit 2
15
3. EXPLAIN DILATION AND EROSION AND EXPLAIN HOW OPENING AND CLOSING ARE
RELATED WITH THEM.
The basic morphological operations are dilation and erosion. They are expressed by a kernel
operating on an input binary image, X, where white pixels denote uniform regions and black
pixels denote region boundaries.
Erosion and dilation work conceptually by translating a structuring element, B, over the image
points and examining the difference between the translated kernel coordinates and image
coordinates.
Dilation and Erosion Based operations:
9. Applications of dilation and erosion:
Morphological operations are useful in many applications. To list a few they are used in hole
filling, boundary extraction of objects, extraction of connected components, Thinning and
thickening and so on. Among these applications the boundary extraction is shown below. For
comparison it is done with Sobel edge extraction
10.EXPLAIN EUCLIDEAN DISTANCE, CITY BLOCK DISTANCE, CHESS BOARD DISTANCE.
Unit 2
16
Unit 2
17
18.DISCUSS VARIOUS COLOUR MODELS USED IN IMAGE PROCESSING.
37. LIST ANY FIVE COLOR MODELS AND EXPLAIN ANY TWO IN DETAILS.
21.EXPLAIN RGB COLOUR MODEL TO REPRESENT A DIGITAL IMAGE.
Unit 2
18
36. LIST THE LIMITATIONS OF THE RGB COLOR MODEL.
Unit 2
19
Unit 2
20
38. WRITE A SHORT NOTE ON HSI COLOR MODEL.
Unit 2
21
34. EXPLAIN TWO TYPES OF CLASSIFICATION OF COLOR-QUANTISATION TECHNIQUES.
35.GIVE THE STEPS OF COLOR IMAGE QUANTISATION.
Unit 2
22

More Related Content

PDF
TYBSC (CS) SEM 6- DIGITAL IMAGE PROCESSING
PPTX
Image segmentation
PDF
Image Segmentation
PPTX
Marker Controlled Segmentation Technique for Medical application
PPTX
Image parts and segmentation
PPTX
Image segmentation
PPT
Image segmentation
PDF
Image segmentation
TYBSC (CS) SEM 6- DIGITAL IMAGE PROCESSING
Image segmentation
Image Segmentation
Marker Controlled Segmentation Technique for Medical application
Image parts and segmentation
Image segmentation
Image segmentation
Image segmentation

What's hot (20)

PDF
A version of watershed algorithm for color image segmentation
PPTX
Image segmentation
PPT
Image segmentation ppt
PPTX
Watershed
PPTX
Comparative study on image segmentation techniques
PPTX
Region based image segmentation
PPT
Image segmentation
PPT
Ajay ppt region segmentation new copy
PPTX
Comparison of image segmentation
PPT
Image segmentation ajal
PPTX
Segmentation Techniques -II
PPTX
Image segmentation
PPT
Image segmentation
PPTX
Region based segmentation
PPSX
Image segmentation 2
PDF
Threshold Selection for Image segmentation
PPT
Dip Image Segmentation
PPTX
IMAGE SEGMENTATION TECHNIQUES
PPT
Presentation on deformable model for medical image segmentation
PPTX
Region based segmentation
A version of watershed algorithm for color image segmentation
Image segmentation
Image segmentation ppt
Watershed
Comparative study on image segmentation techniques
Region based image segmentation
Image segmentation
Ajay ppt region segmentation new copy
Comparison of image segmentation
Image segmentation ajal
Segmentation Techniques -II
Image segmentation
Image segmentation
Region based segmentation
Image segmentation 2
Threshold Selection for Image segmentation
Dip Image Segmentation
IMAGE SEGMENTATION TECHNIQUES
Presentation on deformable model for medical image segmentation
Region based segmentation
Ad

Similar to TYBSC (CS) SEM 6- DIGITAL IMAGE PROCESSING (20)

PDF
Digital Image Processing - Image Enhancement
PDF
Digital image processing - Image Enhancement (MATERIAL)
PDF
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
PPTX
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
PPT
M.sc. m hassan
PDF
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
Lec_3_Image Enhancement_spatial Domain.pdf
PDF
I3602061067
PPTX
computer vision and pattern recognition.pptx
PDF
Iisrt zzz bhavyasri vanteddu
PDF
Lec_2_Digital Image Fundamentals.pdf
PDF
Comparative analysis of filters and wavelet based thresholding methods for im...
PDF
Frequency Domain Blockiness and Blurriness Meter for Image Quality Assessment
PPTX
3rd unit.pptx
PPTX
Unit-2 Image Enhancement and Restoration Techniques.pptx
PPTX
Digital Image Processing Unit -2 Notes complete
PPTX
Image Enhancement in Spatial Domain and Frequency Domain
PDF
Spatial Domain Filtering.pdf
PDF
B070306010
Digital Image Processing - Image Enhancement
Digital image processing - Image Enhancement (MATERIAL)
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
M.sc. m hassan
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
International Journal of Engineering Research and Development (IJERD)
Lec_3_Image Enhancement_spatial Domain.pdf
I3602061067
computer vision and pattern recognition.pptx
Iisrt zzz bhavyasri vanteddu
Lec_2_Digital Image Fundamentals.pdf
Comparative analysis of filters and wavelet based thresholding methods for im...
Frequency Domain Blockiness and Blurriness Meter for Image Quality Assessment
3rd unit.pptx
Unit-2 Image Enhancement and Restoration Techniques.pptx
Digital Image Processing Unit -2 Notes complete
Image Enhancement in Spatial Domain and Frequency Domain
Spatial Domain Filtering.pdf
B070306010
Ad

Recently uploaded (20)

PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Institutional Correction lecture only . . .
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
GDM (1) (1).pptx small presentation for students
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Presentation on HIE in infants and its manifestations
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial disease of the cardiovascular and lymphatic systems
Institutional Correction lecture only . . .
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
Chinmaya Tiranga quiz Grand Finale.pdf
Classroom Observation Tools for Teachers
GDM (1) (1).pptx small presentation for students
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Cell Types and Its function , kingdom of life
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Presentation on HIE in infants and its manifestations
Final Presentation General Medicine 03-08-2024.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

TYBSC (CS) SEM 6- DIGITAL IMAGE PROCESSING

  • 2. Unit 2 2 Q.5 WRITE A NOTE ON IMAGE ENHANCEMENT USING SPATIAL FILTERS. Spatial Filtering involves passing a weighted mask or kernel over the image and replacing the original pixel values in the region corresponding to the kernel multiplied by kernel weights. (spatial filtering and neighbourhood processing is same)
  • 6. Unit 2 6 III. Logarithmic Transformation Logarithmic transformation further contains two type of transformation. Log transformation and inverse log transformation. o or o The log transformations can be defined by this formula o s = c log(r + 1). Where s and r are the pixel values of the output and the input image and c is a constant. The value 1 is added to each of the pixel value of the input image questions marked in red: QB questions because if there is a pixel intensity of 0 in the image, then log (0) is equal to infinity. So 1 is added, to make the minimum value at least 1. o During log transformation, the dark pixels in an image are expanded as compare to the higher pixel values. The higher pixel values are kind of compressed in log transformation
  • 7. Unit 2 7 1. EXPLAIN THE TERM (A) THRESHOLDING (B) LOG TRANSFORMATION (C) NEGATIVE TRANSFORMATION (D) CONTRAST STRETCHING (E) GREY LEVEL SLICING. (A) Thresholding – covered above in non-linear transformations (B) Log Transformation - covered above in non-linear transformations (C) Negative Transformation – covered above in linear transformations (D) Contrast Stretching Contrast stretching (often called normalization) is a simple image enhancement technique that attempts to improve the contrast in an image by `stretching' the range of intensity values it contains to span a desired range of values, e.g. the the full range of pixel values that the image type concerned allows. It differs from the more sophisticated histogram equalization in that it can only apply a linear scaling function to the image pixel values. As a result the `enhancement' is less harsh. (Most implementations accept a graylevel image as input and produce another graylevel image as output.) (E) Grey Level Slicing - covered above in non-linear transformations Q.22 Q.2) EXPLAIN THE TERMS: (A)SMOOTHING (B) SHARPENING (A) Smoothing/Low pass filtering: Low pass filtering as the name suggests removes the high frequency content from the image. It is used to remove noise present in the image. Noise, is
  • 8. Unit 2 8 normally a high frequency signal and low pass filtering eliminates the noise. Smoothing is used to remove noise from image (B) Sharpening/High pass filtering: o Sharpening is used for highlighting fine details in an image. • Low Pass Filters: 1. Mean Filter/Averaging Filter/Low Pass Filter Weighted Average Filter Q.7 WRITE A NOTE ON WEIGHTED AVERAGE FILTERS. GIVE EXAMPLE. This mask yields a so-called weighted average, terminology used to indicate that pixels are multiplied by different coefficients, thus giving more importance (weight) to some pixels at the expense of others. In the mask the pixel at the center of the mask is multiplied by a higher value than any other, thus giving this pixel more importance in the calculation of the average. Weighted Filter mask is as follows:
  • 9. Unit 2 9 17.EXPLAIN BIT PLANE SLICING WITH SUITABLE EXAMPLE. 19.JUSTIFY: ”BUTTERWORTH LOW PASS FILTER IS PREFERRED TO IDEAL LOW PASS FILTER The ringing effects due to the sharp cut-offs in the ideal filter and to get rid of ringing effects, elimination of sharp cut-offs is necessary. This exactly happens in butterworth low pass filters. The transfer function of the butterworth low pass filter of order n and the cut off frequency at a distance D0 from the origin is defined as
  • 10. Unit 2 10 8. WHAT ARE HIGH BOOST FILTERS? HOW ARE THEY USED? EXPLAIN. or 15.WHAT ARE SHARPENING FILTERS? GIVE EXAMPLES. EXPLAIN ANY ONE IN DETAIL Types of High Pass Filters: 1. High-boost Filtering
  • 11. Unit 2 11 2. Unsharp Masking 16.EXPLAIN VARIOUS TECHNIQUES OF IMAGE ARITHMETIC. 32. LIST AND EXPLAIN FIVE ARITHMETIC OPERATIONS ALONG WITH THEIR MATHEMATICAL REPRESENTATION. list: 1. Image Addition 2. Image Subtraction 3. Image Multiplication 4. Image Division 5. Alpha Blending
  • 13. Unit 2 13 33.EXPLAIN HOMOMORPHIC FILTER ALONG WITH BLOCK DIAGRAM OF HOMOMORPHIC FILTERING
  • 14. Unit 2 14 4. WHAT IS STRUCTURING ELEMENT? WHAT IS THE USE OF IT IN MORPHOLOGICAL OPERATION? 1. Morphological techniques probe the image with a small shape or template called a structuring element. 2. Structuring element is positioned at all possible locations in the image and its compared with the corresponding neighbourhood of pixels. 3. A morphological operation on a binary image creates a new binary image in which the pixel has a non-zero value only if the test is successful at that location in an input image. 4. The structuring element is a small binary image i.e a small matrix of pixels, each with a value of zero or one. 5. The matrix dimensions specify the size of the structuring element 6. The patterns of ones and zeroes specifies the shape of the structuring element. 7. An origin of the structuring element is usually one of its pixels. 11.EXPLAIN THE MORPHOLOGICAL IMAGE OPERATIONS ON AN IMAGE. STATE ITS AAPLICATIONS
  • 15. Unit 2 15 3. EXPLAIN DILATION AND EROSION AND EXPLAIN HOW OPENING AND CLOSING ARE RELATED WITH THEM. The basic morphological operations are dilation and erosion. They are expressed by a kernel operating on an input binary image, X, where white pixels denote uniform regions and black pixels denote region boundaries. Erosion and dilation work conceptually by translating a structuring element, B, over the image points and examining the difference between the translated kernel coordinates and image coordinates. Dilation and Erosion Based operations: 9. Applications of dilation and erosion: Morphological operations are useful in many applications. To list a few they are used in hole filling, boundary extraction of objects, extraction of connected components, Thinning and thickening and so on. Among these applications the boundary extraction is shown below. For comparison it is done with Sobel edge extraction 10.EXPLAIN EUCLIDEAN DISTANCE, CITY BLOCK DISTANCE, CHESS BOARD DISTANCE.
  • 17. Unit 2 17 18.DISCUSS VARIOUS COLOUR MODELS USED IN IMAGE PROCESSING. 37. LIST ANY FIVE COLOR MODELS AND EXPLAIN ANY TWO IN DETAILS. 21.EXPLAIN RGB COLOUR MODEL TO REPRESENT A DIGITAL IMAGE.
  • 18. Unit 2 18 36. LIST THE LIMITATIONS OF THE RGB COLOR MODEL.
  • 20. Unit 2 20 38. WRITE A SHORT NOTE ON HSI COLOR MODEL.
  • 21. Unit 2 21 34. EXPLAIN TWO TYPES OF CLASSIFICATION OF COLOR-QUANTISATION TECHNIQUES. 35.GIVE THE STEPS OF COLOR IMAGE QUANTISATION.