You are on page 1of 3

We can rewrite the last operation as :

(
)
(
) B
(7)
(
)
(
)
(8)
*
+
*
+
The algorithm reduce the effect of the noise and detect
the edges in the image by equations,(7),(8), respectively
[4]. to gets the best enhancement, we will use [4]:

(13)
The mean of each part is calculated by
using mathematical morphology, opening and
closing
5- computing the standard deviations of each
part of image.
|
|
|
|
|
|
6- the weight of each part is

(9)
Where
is modified morphological edge
detection operation.
Improved modified morphological edge
detection operation is defined as[4]:

(14)
(15)
(16)

)11)
(18)

(10)
The equations (7),(8),(9),(10) increase the ability to
detect the edge and noise in the image, and the results are
effected with the selected structure element.

Where

III. PROPOSED WORK

The Weights
image

In this paper, the original image is segmented into


three parts ,
, .
by two thresholds, , . In the
(the part greater than
) used large-scale structure
element which established by dilation of structure
element(B), in the (the part between
and ) used
median-scale structure element established by dilation of
structure element and in the
(the part less than )
used structure element(B).
The proposed algorithm deal with the image was fouled
with Gaussian noise and salt & pepper noise. The
proposed algorithm as follows.

A.

(19)

B.

corresponding each parte in

Apply The Algorithm


1-Read the original image (noisy image).
2-use the results of the equation (10) for each part
and the results of equations (17), (18)
and (19) to computing the output image which is
following equation: defined from the:
(20)

IV. EXPERIMENT
In this section, the proposed algorithm is compared with
the existing SOBLE operator. Fig.1 is the original image.
Fig. 2 show the output image after applying SOBLE
operator with Gaussian noise.
Fig. 3 show the output image after applying SOBLE
operator with salt & pepper noise. Fig. 4 show the output
image which was processed by proposed algorithm with
Gaussian noise. The image in fig. 5 was the output image
of proposed algorithm with salt & pepper noise.

Computing The Weights

In this paper, the weights are computed by


the following steps:
1-Select the initial thresholds by using iterations to gain
new thresholds.
2-Making structure elements which is suitable with
the size of each part in image by dilation structure
element(B).
(
)
(
)
for
and
,respectively.
3- Applying the equations from(7) to (10) on each part of
the image
4- compute the mean of each part of image

(11)
(12)
2

Figure 1: Original Image

Figure 5: Proposed Method


With Salt &pepper noise
TABLE.I
Various techniques of Comparing Parameters MSE and
PSNR(dB)
Technique
SOBLE Operator
SOBLE Operator
Proposed Method
Proposed Method

Type of Noise
Gaussian
Salt &pepper
Gaussian
Salt &pepper

EMS
72.28
72.28
82.87
82.82

PSNR
27.11
27.11
38.28
38.18

The preceding results showed that the proposed method


was better than SOBLE operator.
In addition, was apply the proposed algorithm and
SOBLE operator on another images. The output images
of proposed algorithm was better than output images of
SOBLE operator.
V. CONCLOION
The edge is very important in medical image. In this paper,
the results showed the proposed method had the values of
MES and PSNR better than other methods.
The size and shape of the structure element (B) has
important act in processing and effecting on the results.
Although, the proposed algorithm complicating more
than SOBLE the operator but its results better than results
of SOBLE operator, and the processing time was a same
approximately.

Figure 2:SOBLE Operation


With Gaussian noise

Figure :3 SOBLE Operation


With Salt &pepper noise

REFERENCES
[1] T. Chen, Q.H. Wu, R. Rahmani Torkaman, J.

[2]

Hughes," A pseudo top-hat mathematical morphological


approach to edge detection in dark regions", Pattern
Recognition 35 (2002) 199}210,30 November 2000.
Dillip Ranjan Nayak,"Edge detection using fuzzy double
Gradient morphology ", Bonfring International Journal of
Advances in Image Processing, Vol. 4, No. 1, December 2014 .

Figure 4:Proposed Method


With Gaussian noise

[3] B.Poornima, Y.Ramadevi, T.Sridevi," Threshold


Based Edge Detection Algorithm", IACSIT International
Journal of Engineering and Technology, Vol.3, No.4,
August 2011 .
[4] Kun Wang, Jianhua Wu, Liqun Gao, Zhaoyu
Pian, Li Guo,"Magnatic Resonance Images
Detection Edge Based On Multi-Scale Morphology ",
IEEE/ICME International Conference on Complex Medical
En2ineerin2,2007.
[5] Pooja Kaushik, Yuvraj Sharma," Comparison Of Different
Image Enhancement Techniques Based Upon Psnr & Mse",
International Journal of Applied Engineering,2012.