Professional Documents
Culture Documents
Image Segmentation: Unit-Iv
Image Segmentation: Unit-Iv
Image Segmentation: Unit-Iv
UNIT-IV
What is meant by image segmentation?
• It is a process of subdividing an image into the
constituent parts or objects in the image.
• Detection of lines:
• Similarly for detection of lines, the mask can be
something like this.
• The middle row having all values equal to 2
and the top row and the bottom row is having
all values equal to minus 1.
• and similarly -45 mask will detect all the points lying on a line
which is inclined at an angle of minus 45 degree.
• Now, for line detection, what is done is you apply all these
masks, all these 4 masks on the image.
• So, these are the 2 approaches; the first one we have
said, given a mask which is useful for identification
of isolated points and the second set of masks is
useful for detection of points which are lying on a
straight line
• Edge detection:
• edge detection is one of the most common
approaches, most commonly used approach for
detection of discontinuity of an image
• So, we say that an edge is nothing but a boundary
between 2 regions having distinct intensity levels or
having distinct gray level.
Edge Descriptors
• Edge direction:
perpendicular to the
direction of maximum
intensity change (i.e.,
edge normal)
• Edge strength: related to
the local image contrast
along the normal.
• Edge position: the image
position at which the
edge is located.
Modeling Intensity Changes
• Step edge: the image intensity abruptly
changes from one value on one side of the
discontinuity to a different value on the
opposite side.
Modeling Intensity Changes (cont’d)
• Ramp edge: a step edge where the intensity
change is not instantaneous but occur over a
finite distance.
Modeling Intensity Changes (cont’d)
• Ridge edge: the image intensity abruptly
changes value but then returns to the starting
value within some short distance (i.e., usually
generated by lines).
Modeling Intensity Changes (cont’d)
• Roof edge: a ridge edge where the intensity
change is not instantaneous but occur over a
finite distance (i.e., usually generated by the
intersection of two surfaces).
Main Steps in Edge Detection
• So, as you move from left to right, you find that you
have transitions from dark to bright, then again to dark
• global threshold or a
• local threshold or it can even be an
• adaptive threshold.
• Now, whichever the nature of the threshold T is
whether it is local or global or adaptive;
• And, after doing this, you go back to step two and perform
the operation, thresholding operation once again