Beruflich Dokumente
Kultur Dokumente
µ = E{x} =
(4)
= [E{(x – µ)2}]1/2 =
(5)
3. Roberts Edge Detector and its edge was detected using Roberts Edge Detector. The
Edge image is used as a reference for the purpose of
A variety of Edge Detectors are available for detecting the
comparison in subsequent studies. Then the test image was
edges in digital images. However, each detector has its own
got corrupted with four different kinds of noise, generated
advantages and disadvantages. The basic idea behind edge
using in MATLAB [16] environment with default values.
detection is to find places in an image where the intensity
Then for each of the four noisy images, the performance of
changes rapidly. Based on this idea, an edge detector may
the Roberts Edge Detector was examined practically.
either be based on the technique of locating the places where
Predefined default threshold values used by Roberts Edge
the first derivative of the intensity is greater in magnitude
Detector for different test images corrupted with different
than a specified threshold or it may be based on the criterion
kind of noise are shown in Table-1. The results of edge
to find places where the second derivative of the intensity
detection are shown in Fig. 4.
has a zero crossing[12]-[14].
It has been observed that the Roberts Edge Detector works
The Roberts Cross operator performs a simple, quick to
well both with the Gaussian as well as Poisson noise
compute, 2-D spatial gradient measurement on an image.
corrupted images. Further, it has been observed that out of
Pixel values at each point in the output represent the
these two results, the performance of the said detector is
estimated absolute magnitude of the spatial gradient of the
much superior in Poisson noise corrupted image as
input image at that point.
compared to Gaussian noise [15] corrupted image. However,
The operator consists of a pair of 2×2 convolution kernels as
its performance decrease drastically for Salt & Pepper as
shown in Figure. One kernel is simply the other rotated by
well as Speckle noise corrupted images. Roberts edge
90°. This is very similar to the Sobel operator.
detector by inherent does the averaging of neighboring
pixels. Since the Salt & Pepper noise and speckle pixel
+1 0 0 +1 values are often very different from the surrounding values,
they tend to distort the pixel average calculated by the
0 -1 -1 0 averaging of neighboring pixels significantly. Therefore the
average value calculated will be significantly different from
Gx Gy
the true value. So, performance of Roberts’s edge detector
Figure 3. Roberts edge detecting templates decreases sharply for salt & pepper and speckle type [16]-
[17] of noise.
These kernels are designed to respond maximally to edges For Poisson noise, distribution for the values of an each
running at 45° to the pixel grid, one kernel for each of the pixel is determined by the nature of light itself. Light isn’t a
two perpendicular orientations. The kernels can be applied continuous quantity, but occurs in discrete photons. These
separately to the input image, to produce separate photons don’t arrive in a steady stream, but sometime vary
measurements of the gradient component in each orientation over time. Think of it like a flow of cars on a road-
(call these Gx and Gy). These can then be combined sometimes they bunch together, sometimes they spread out,
together to find the absolute magnitude of the gradient at but in general there is an overall average flow. Therefore,
each point and the orientation of that gradient. corrupted pixel come together and can be better smoothed by
averaging. So Roberts’s edge detector which by its inherent
The gradient magnitude is given by: property does the averaging of neighboring pixels values
reduces this kind of noise accurately.
In Gaussian Noise, each pixel in the noisy image is the
sum of the true pixel value and a random, Gaussian
G = Gx 2 + Gy 2 distributed noise value. So image corrupted by this type of
(6) noise is smoothed as a whole by Roberts edge detector but
although typically, an approximate magnitude is computed loses sharp image characteristics to large extent as noise in
using: present in each pixel value but not so well as Poisson noise
corrupted image because Poisson noise distribution is for
discrete values, not continuous ones which suits the Roberts
G = Gx + Gy
edge characteristic of averaging of neighborhood pixels
(7) well. Therefore, Roberts edge detector performance is better
for images corrupted with Poisson type of noise as compared
which is much faster to compute. The angle of orientation of to Gaussian noise.
the edge giving rise to the spatial gradient (relative to the
pixel grid orientation) is given by: In order to validate our results about the performance of
Roberts Edge Detector, six different standard test images,
θ = arctan(Gy / Gx ) − 3Π / 4 each corrupted with Poisson noise are considered.
(8) The performance of Roberts Edge Detector is again
examined both for the original as well as noise corrupted
4. Results and Discussion images. Predefined default threshold values used by Roberts
Edge Detector for different test images are given in Table-2.
First, in order to evaluate the performance of the Roberts The results are shown in Fig.5 and fig. 6. From the results,
Edged Detector, a standard test image of a coin was taken it has again been observed that the performance of the
38 (IJCNS) International Journal of Computer and Network Security,
Vol. 2, No. 1, January 2010
Roberts Edge Detector is found to be satisfactory for all the Table 2: Predefined default threshold values used by
six test images corrupted with Poisson noise. Roberts Edge Detector for Different Images
Original Image Edge Image using Roberts Mask Gaussian noise corrupted image Pepper & Salt noise corrupted image
Speckle noise corrupted image Poisson noise corrupted image Edge Image using Roberts Mask Edge Image using Roberts Mask
from Gaussian noise corrupted image from Pepper & Salt noise corrupted image
Edge Image using Roberts Mask Edge Image using Roberts Mask
from Speckle noise corrupted image from Poisson noise corrupted image
Figure 4. Performance of Roberts Edge Detector for an image corrupted with different types of noise
(IJCNS) International Journal of Computer and Network Security, 39
Vol. 2, No. 1, January 2010
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Figure 5. Performance of Roberts Edge Detector for different images corrupted with Poisson Noise
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Original Image Edge Image using Roberts Mask Poisson noise corrupted image Edge Image using Roberts Mask
from Poisson noise corrupted image
Figure 6. Performance of Roberts Edge Detector for different images corrupted with Poisson Noise
40 (IJCNS) International Journal of Computer and Network Security,
Vol. 2, No. 1, January 2010