Ktunotes - In: Apj Abdul Kalam Technological University
Ktunotes - In: Apj Abdul Kalam Technological University
PART B
S . I N
Answer two questions (question 4 is compulsory)
E
NOT
4. A. What are the advantages of filtering in frequency domain? (4)
KTU
B. Describe about histogram processing in color images. (7)
C. Write the difference between image restoration and image enhancement. (4)
5. A. With an example, explain the concept of histogram equalization. (6)
B. Explain about color image sharpening. (3)
C. Explain about intensity slicing and write its applications. (6)
6. A. Write a short note on Lagrange multiplie. (7)
B. Explain about image restoration using inverse filtering. Write the draw backs of
this method. (8)
PART C
Answer two questions (question 7 is compulsory)
7. A. What is meant by image segmentation? Write its use in image processing. (4)
B. Explain about edge detection using gradient operator. (7)
C. With an example, explain wavelet coding. (9)
8. A. Explain edge linking using Hough transform. (7)
B. Discuss about region based segmentation. (8)
C. Explain the effect of noise in edge detection. (5)
9. A. What is image compression? Why it is needed? Explain. (6)
B. Short note 0n Image Compression Standards. (7)
C. Write a short note on Wavelet Transforms. (7)
Answer Key
Max.Marks:100 Duration:3Hrs
PART A
Answer two questions (question 1 is compulsory)
1. A. (Neighbors of a Pixel 3M, Adjacency 3M, Connectivity 2M)
Neighbors of a Pixel
1.N4(p): 4-neighbors of p.
•Any pixel p(x, y) has two vertical and two horizontal neighbors, given by (x+1,y), (x-1, y),
(x,y+1), (x, y-1)
• This set of pixels are called the 4-neighbors of P, and is denoted by N4(P)
•Each of them is at a unit distance from P.
2. ND(p)
•This set of pixels, called 4-neighbors and denoted by ND(p).
•ND(p) : four diagonal neighbors ofp have coordinates: ( x+1,y+1), (x+1,y-1), (x-1,y+1),
(x-1,y-1)
. I N
•Each of them are at Euclidean distance of 1.414 from P.
E S
NOT
3.N8(p):8-neighbors of p.
KTU
•N4(P) and ND(p) together are called 8-neighbors ofp, denoted by N8(p).
•N8 = N4 U ND
•Some of the points in the N4, ND andN8 may fall outside image when P lies on the border of image.
E S . I N
❖ Obtain transformed data as measurement in radiology images (medical and astrophysics), inverse
transform to re cover image
KTU
● Efficient storage and transmission
❖ Energy compaction
NOT
❖ Pick a few “representatives” (basis)
❖ Just store/send the “contribution” from each basis
E S . I N
KTU NOT
3. A (3 Marks Each)
3. B(9M)
4. B. (7M)
E S . I N
KTU NOT
5. A. (6M)
E S . I N
KTU NOT
5. C.(6M)
Intensity Level Slicing:
The images which consist of grey levels in between intensity at background and other objects
require to reduce the intensity of the object. This process of changing intensity level is done with
the help of intensity level slicing. They are expressed as
6. A. (7M)
6. B
E S . I N
KTU NOT
is usually the highest value of H (u, v) in the frequency domain. Thus, by limiting the analysis to
frequencies near the origin, the probability of encountering zero values is reduced.
Part C
7. A.
Image Segmentation
Digital image processing is the use of computer algorithms to perform image processing on digital images. Image
segmentation is an important and challenging process of image processing. Image segmentation technique is used to
partition an image into meaningful parts having similar features and properties. The main aim of segmentation is
simplification i.e. representing an image into meaningful and easily analyzable way. Image segmentation is
necessary first step in image analysis. The goal of image segmentation is to divide an image into several
parts/segments having similar features or attributes.
Say for example, if we are interested in detecting the movement of vehicles on a road; so on a
busy road, we want to find out what is the movement pattern of different vehicles and the image
that is given that is an aerial image taken either from a satellite or from an from a helicopter.
. I N
contain several objects. This is called as undersegmentation.[13]
E S
NOT
The image segmentation approaches can be categorized into two types based on properties of image.
A. Discontinuity detection based approach. This is the approach in which an image is segmented into regions
KTU
based on discontinuity that is partition an image based on abrupt changes in intensity The edge detection based
segmentation falls in this category in which edges formed due to intensity discontinuity are detected and linked to
form boundaries of regions [1].
B. Similarity detection based approach This is the approach in which an image is segmented into regions based on
similarity. The techniques that falls under this approach are: thresholding techniques, region growing techniques and
region splitting and merging. These all divide the image into regions having similar set of pixels. The clustering
techniques also use this methodology. These divide the image into set of clusters having similar features based on
some predefined criteria [1] [2]. In other words, also we can say that image segmentation can be approached from
three perspectives: Region approach, Edge approach and Data clustering. The region approach falls under similarity
detection and edge detection and boundary detection falls under discontinuity detection. Clustering techniques are
also under similarity detection.
DISCONTINUETY BASED APPROACH
As we have already said that in discontinuity based image segmentation approach our interest is mainly to identify
E S . I N
7. C.
Wavelet Coding:
KTU NOT
The wavelet coding is based on the idea that the coefficients of a transform that decorrelates
the pixels of an image can be coded more efficiently than the original pixels themselves. If the
transform's basis functions—in this case wavelets—pack most of the important visual
information into a small number of coefficients, the remaining coefficients can be quantized
coarsely or truncated to zero with little image distortion. Figure 11 shows a typical wavelet
coding system. To encode a 2J X 2J image, an analysing wavelet, Ψ, and minimum
decomposition level, J - P, are selected and used to compute the image's discrete wavelet
transform. If the wavelet has a complimentary scaling function φ, the fast wavelet transform can
be used. In either case, the computed transform converts a large portion of the original
image to horizontal, vertical, and diagonal decomposition coefficients with zero mean and
Laplacian-like distributions.
The Hough transform is a technique which can be used to isolate features of a particular shape within an
image. Hough transform is most commonly used for the detection of regular curves such as lines, circles,
ellipses, etc. The main advantage of the Hough transform technique is that it is tolerant of gaps in feature
boundary descriptions and is relatively unaffected by image noise.
It maps a straight line y=mx+c in a Cartesian coordinate system into a single point in the (ρ,θ) plane or
ρ=xcos θ+ysin θ. For a point (x,y) in the Cartesian coordinate plane , there will be an infinite number of
curves in the (ρ,θ) plane.
That is, We attempt to link edge pixels that lie on specified curves.
. I N
Brute force method:When the specified curve is a straight line, the line between each pair of edge pixels
E S
in the image is considered. The distance between every other edge pixel and the line in question is then
KTU
is considered to be part of the line.
NOT
calculated. When the distance is less than a specified threshold, the pixel
. I N
threshold value, knowledge of the histogram of the image would be of use, as one could use it to
E S
determine a suitable threshold value for the region membership criterion.
KTU NOT
Some important issues: Then we can conclude several important issues about region growing are:
1. The suitable selection of seed points is important.
2. More information of the image is better.
3. The value, “minimum area threshold”.
4. The value, “Similarity threshold value“.
Advantages and Disadvantages of Region Growing:
We briefly conclude the advantages and disadvantages of region growing.
Advantages:
1. Region growing methods can correctly separate the regions that have the same properties we define.
2. Region growing methods can provide the original images which have clear edges the good
segmentation results.
3. The concept is simple. We only need a small numbers of seed point to represent the property we want,
then grow the region.
4. We can determine the seed point and the criteria we want to make.
5. We can choose the multiple criteria at the same time.
6. It performs well with respect to noise.
Disadvantage:
1. The computation is consuming, no matter the time or power.
2. Noise or variation of intensity may result in holes or oversegmentation.
3. This method may not distinguish the shading of the real images.
We can conquer the noise problem easily by using some mask to filter the holes or outlier. Therefore, the
problem of noise actually does not exist..
Region Growing Methods:
E S . I N
KTU NOT
Split and merge method is the opposite of the region growing. This technique works on the complete image. Region
splitting is a top-down approach. It appears with a complete image and splits it up such that the segregated sliced are
more homogenous than the total. Splitting single is insufficient for sensible segmentation as it severely limits the
shapes of segments. Hence, a merging phase after the splitting is always desirable, which is termed as the split-
and-merge algorithm. Any region can be split into sub regions, and the appropriate regions can be merged into a
region. Rather than choosing kernel points, user can divide an image into a set of arbitrary unconnected regions and
then integrate the regions [2]-[3] in an attempt to serve the shapes of rational image segmentation. Region splitting
and merging is usually executed with theory based on quadtree data.
8. C.
● Presence of noise.
That is if the image is noisy, then after doing the edge detection operation either the boundary points will
not be continues or there may be some spurious edge points which are not actually edge points of the
boundary points of any of the regions.
So, to tackle this problem, we have to go for linking of the edge points so that after linking, we get a
meaningful description of the boundary of a particular segment.
The term data compression refers to the process of reducing the amount of data required to
represent a given quantity of information. A clear distinction must be made between data and
information. They are not synonymous. In fact, data are the means by which information is
conveyed. Various amounts of data may be used to represent the same amount of information.
might be the case, for example, if a long-winded individual and someone who is short and to the
point were to relate the same story. Here, the information of interest is the story; words are the
data used to relate the information. If the two individuals use a different number of words to tell
the same basic story, two different versions of the story are created, and at least one includes
nonessential data. That is, it contains data (or words) that either provide no relevant information
or simply restate that which is already known. It is thus said to contain data redundancy. Data
redundancy is a central issue in digital image compression. It is not an abstract concept but
mathematically quantifiable entity. If n1 and n2 denote the number of information-carrying units
in two data sets that represent the same information, the relative data redundancy RD of the
first data set (the one characterized by n1) can be defined as
E S . I N
KTU NOT
where CR , commonly called the compression ratio, is
In digital image compression, three basic data redundancies can be identified and exploited:
coding redundancy, interpixel redundancy, and psychovisual redundancy. Data compression is
achieved when one or more of these redundancies are reduced or eliminated.
Coding Redundancy
Interpixel Redundancy
Psychovisual Redundancy
8. A(7M)
1. Global Processing Approach(Hough Transform)
The Hough transform is a technique which can be used to isolate features of a particular
shape within an image. Hough transform is most commonly used for the detection of regular
curves such as lines, circles, ellipses, etc. The main advantage of the Hough transform
technique is that it is tolerant of gaps in feature boundary descriptions and is relatively
unaffected by image noise.
It maps a straight line y=mx+c in a Cartesian coordinate system into a single point in the
(ρ,θ) plane or ρ=xcos θ+ysin θ. For a point (x,y) in the Cartesian coordinate plane , there will be
an infinite number of curves in the (ρ,θ) plane.
B.
REGION BASED SEGMENTATION
E S . I N
KTU NOT
The region based segmentation is partitioning of an image into similar/homogenous areas of
connected pixels through the application of homogeneity/similarity criteria among candidate sets
of pixels. Each of the pixels in a region is similar with respect to some characteristics or
computed property such as colour, intensity and/or texture. Failure to adjust the
homogeneity/similarity criteria accordingly will produce undesirable results. The following are
some of them:
The segmented region might be smaller or larger than the actual
Over or under-segmentation of the image (arising of pseudo objects or missing objects)
Fragmentation
Region growing is a simple region-based image segmentation method. It is also classified as a
pixel-based image segmentation method since it involves the selection of initial seed points.
This approach to segmentation examines neighboring pixels of initial “seed points” and
determines whether the pixel neighbors should be added to the region. The process is iterated
on, in the same manner as general data clustering algorithms. The fundamental drawback of
histogram-based region detection is that histograms provide no spatial information (only the
distribution of gray levels).
i) Region growing Technique
Region-growing approaches exploit the important fact that pixels which are close together
have similar gray values. Region growing approach is the opposite of the split and merge
approach.
An initial set of small areas are iteratively merged according to similarity constraints.
Split and merge method is the opposite of the region growing. This technique works on the
complete image. Region splitting is a top-down approach. It appears with a complete image and
splits it up such that the segregated sliced are more homogenous than the total. Splitting single
is insufficient for sensible segmentation as it severely limits the shapes of segments. Hence, a
merging phase after the splitting is always desirable, which is termed as the split- and-merge
E S . I N
algorithm. Any region can be split into sub regions, and the appropriate regions can be merged
into a region. Rather than choosing kernel points, user can divide an image into a set of
KTU NOT
arbitrary unconnected regions and then integrate the regions [2]-[3] in an attempt to serve the
shapes of rational image segmentation. Region splitting and merging is usually executed with
theory based on quadtree data.
C.
Presence of noise.
That is if the image is noisy, then after doing the edge detection operation either the
boundary points will not be continues or there may be some spurious edge points which are not
actually edge points of the boundary points of any of the regions.
So, to tackle this problem, we have to go for linking of the edge points so that after linking, we
get a meaningful description of the boundary of a particular segment.
So, we have said that there are mainly 2 approaches for edge linking operation. The first
approach is the local processing approach and the second approach is the global processing
approach domain.
9. A
The term data compression refers to the process of reducing the amount of data required to
represent a given quantity of information. A clear distinction must be made between data and
information. They are not synonymous. In fact, data are the means by which information is
conveyed. Various amounts of data may be used to represent the same amount of information.
might be the case, for example, if a long-winded individual and someone who is short and to the
point were to relate the same story. Here, the information of interest is the story; words are the
In digital image compression, three basic data redundancies can be identified and exploited:
coding redundancy, interpixel redundancy, and psychovisual redundancy. Data compression is
achieved when one or more of these redundancies are reduced or eliminated.
Coding Redundancy
Interpixel Redundancy
Psychovisual Redundancy
E S . I N
KTU NOT