Image Segmentation Using Discontinuity Based Approach
Image Segmentation Using Discontinuity Based Approach
mathematical forms for these criteria as functional on evaluation of image segmentation systematically;
the operator impulse response. A third criterion is evaluate and compare basic, practical segmentation
then added to ensure that the detector has only one algorithms after a large number of comparative
response to a single edge. N. R. Pal and S. K. Pal [5] experiments. R. Maini et al. [14] analyzed and did
reviews and summarizes some image segmentation the visual comparison of the most commonly used
algorithms which are based on fuzzy set, neural Gradient and Laplacian based edge detection
networks, thresholding, edge detection, clustering techniques for problems of inaccurate edge detection,
relaxation and Markov Random Field (MRF). They missing true edges, producing thin or thick lines and
also address the issue of quantitative evaluation of problems due to noise etc. P. Zhou et al. [15] discuss
segmentation results. T. Kanungo et al. [6] outline a the basic theory of edge detection; its method based
methodology for summarizing many operating curves on the traditional canny operator, and proposes an
into a few performance curves. Their methodology is improved algorithm based on the eight neighborhood
adapted from the human psychophysics literature and gradient magnitude to overcome the disadvantages of
is general to any detection algorithm. The central being sensitive to noise in the calculation of the
concept is to measure the effect of variables in terms traditional canny operator gradient. The experimental
of the equivalent effect of a critical signal variable, results prove that this improved method can
which in turn facilitates the determination of the effectively detect the edge of the image, and the
breakdown point of the algorithm. They demonstrate continuity of the edge is strong, and positioning
the methodology by comparing the performance of accuracy is high.
two-line detection algorithms. W. Y. Ma et al. [7]
develop a framework for detecting and integrating 3. Discontinuity-based segmentation
intensity/color and texture discontinuities as well as
illusory boundaries in images. They propose an edge In discontinuity-based approach, the partitions or
flow model for boundary detection and image sub-division of an image is based on some abrupt
segmentation. Salient features of this approach changes in the intensity level of images. Here, we
include (1) use of a predictive coding model for mainly interest in identification of isolated points,
identifying and integrating the different types of lined and edges in an image. To identify these, we
image boundaries, (2) boundary detection based on use 3 3 Mask operation.
flow field propagation, and (3) very few “free”
parameters that control the segmentation. C.
Hampton et al. [8] summarized the various image
segmentation techniques based on discontinuity-
based, region-based, thresholding and histogram. K.
S. Fu et al. [9] summarized some image segmentation
techniques. These techniques can be categorized into
three classes, (1) characteristic features thresholding
or clustering, (2) edge detection, and (3) region
extraction. N. Senthikumaran et al. [10] survey the
theory of edge detection for image segmentation (a)
using soft computing approach based on the Fuzzy
logic, Genetic Algorithm and Neural Network. S. S.
Al-amri et al. [11] presented methods for edge
segmentation of satellite image: they used seven
techniques for this category; Sobel operator
technique, Prewitt technique, Kiresh technique,
Roberts technique, Laplacian technique, Canny
technique and Edge Maximization Technique (EMT) (b)
and they are compared with one another so as to Figure 1. (a) An image (b) 3 3 Mask
choose the best technique for edge detection segment
image. P. Thakare [12] discussed about some image
segmentation techniques like edge based, region
based and integrated techniques and explains in brief
the edge based techniques and their evaluation. They
also focuses on edge based techniques and their
evaluation. W. Kang et al. [13] classify and discuss
main image segmentation algorithms; introduce the
-1 2 -1 2 -1 -1
-1 8 -1
-1 -1 -1 -1 2 -1 -1 2 -1
Where R is the response of the mask at any point in Figure 4. Line Detector masks in (a) Horizontal
the image and T is non-negative threshold value. It direction (b) 45° direction (c) Vertical direction
means that isola ted point is detected at the (d) - 45° direction
corresponding value (x, y). This formulation serves to
measures the weighted differences between the center The greatest response calculation from these matrices
point and its neighbors since the gray level of an will yield the direction of the given pixel []. The
isolated point will be very different from that of its result of line detection mask is as shown in figure 5.
neighbors [ ]. The result of point detection mask is as
shown in figure 3.
Strength of is given by
(b) -1 0 -1
0 0 0
-1 -1 -1 -1 0 -1
(c)
-1 8 -1 1 8 1
3.3.1.2. Sobel Edge operator
-1 0 1 -1 -1 -1 1 1 1
-1 -2 -1
Figure 12. Masks used for Laplacian operator
0 0 0 -2 0 2 using 8-connectivity
i. Convolve image f(r, c) with a Gaussian edge is weak, while for Sobel’s operator it is not that
function to get smooth image g(r, c). weak as it gives greater weights to points lying close
f(r, c) = f(r, c) * G(r, c) to the point (x, y) under consideration. However, both
ii. Apply first difference gradient operator to Prewitt’s and Sobel’s operators posses greater noise
compute edge strength. immunity. The preceding operators are called the first
iii. Apply non-maximal or critical suppression difference operator. Laplacian, on the other hand, is a
to the gradient magnitude. second difference operator. A good edge detector
iv. Apply threshold to the non-maximal should be a filter with the following two features.
suppression image. First, it should be a differential operator, taking either
a first or second spatial derivative of the image.
4. Experimental results and discussion Second, it should be capable of being tuned to act at
any desired scale, so that large filters can be used to
The various edge detectors are implemented in detect sharply focused fine details. The second
MATLAB using Image Processing Toolbox (IPT) requirement is very useful as intensity changes occur
and the result are shown as in figure 15. at different scales in an image. According to N. R.
Pal [5], the most satisfactory operator fulfilling these
conditions is the Laplacian of Gaussian (LoG)
operator. The Gaussian part of the LoG operator
blurs the image, wiping out all structures at scales
much smaller than the of the Gaussian. The
Gaussian blurring function is preferred over others
because it has the desirable property of being smooth
and localized in both spatial and frequency domains.
According to canny [4], a good edge detector should
have the following three properties: (1) low
(a) (b)
probability of wrongly marking non-edge points and
low probability of failing to mark real edge points
(i.e. good detection); (2) points marked as edges
should be as close as possible to the centre of true
edges (i.e. good localization); and (3) one and only
one response to a single edge points (single
response). Good detection can be achieved by
maximizing signal to noise ratio (SNR), while for
good localization; Canny used the reciprocal of an
estimate of the r.m.s. distance of the marked edge
(c) (d) from the center of the true edge. To maximize
simultaneously both good detection and localization
criteria, he maximized the product of SNR and the
reciprocal of standard deviation (approximate) of the
displacement of edge points. The maximization of the
product is done subject to a constraint which
eliminates multiple responses to a single edge points.
5. Conclusion
(e) (f)
Figure 14. (a) Original image (b) Result using with In this paper, we analysis various image
Prewitt operator (c) Result using with Roberts segmentation techniques based on the discontinuity-
operator (d) Result using with Sobel operator (e) based approach. In point-detection method, the point
Result using with LoG operator (f) Result using is detected at a location (x, y) in an image where the
with Canny operator mask is centered. In line detection method, we have
two masks so that the corresponding points are more
These different operators respond to changes in gray likely to be associated with a line in the direction of
level or average gray level. The gradient operators, the one mask as compare to the one. In edge
not only respond to edges but also to isolates points. detection method, we analyses various operators such
For Prewitt’s operator the response to the diagonal as Prewitt, Roberts, Sobel, LoG and canny. These
different edge operators are implemented in matlab [12] Puman Thakare, “A study of image segmentation and
using image processing toolbox (IPT). The Prewitt’s edge detection techniques”, International Journal of
operator gives the weak response to the diagonal Computer Science and Engineering (IJCSE), vol. 3, no. 2,
edge while Sobel operator gives the strong response. Feb 2011.
However, both these operators posses greater noise [13] W. Kang, Q. Yang and R. Liang, “The Comparative
immunity. Laplacian of Gaussian (LoG) operator Research on Image Segmentation Algorithms”.
gives much better result as compare to Laplacian and
Gaussian operator. In LoG, intensity changes occur at [14] R. Maini and H. Aggarwal, “study and Comparsion of
different scales in an image. The canny edge detector various Image Edge Detection Techniques”, International
gives the better results as compare to other edge Journal of Image Processing (IJIP), vol. 3, issue 1.
detectors because it provide good detection, good
localization and single response. [15] P. Zhou, W. Ye, Y. Xia, Q. Wang, “An Improved
Canny Algorithm for Edge Detection”, Journal of
Computational Information System 7:5 (2011) 1516-1523.
6. References
[16] R. Gonzalez and R. Woods. Digital Image Processing.
[1] A. Rosenfeld, “A Nonlinear Edge Detection Addision-Wesley Publishing Company, Reading, MA,
Techniques”, Proceedings of the IEEE, May 1970 1993.