Documente Academic
Documente Profesional
Documente Cultură
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
I. Introduction:
The Image Processing is part of computer Sciences, It is applying in
many domain in the world like; medicine it can use in Breast Cancer
Detection, in space, in Speech recognition ,in Handwriting recognition ,in
Biometric identification, in Document classification ,In industry , Optical
Character Recognisation, Internet search engines , etc.
The Image Processing has some Fundamentals steps like;
1-Image Acquisition:
Image acquisition is the first and most important step in Digital
Imaging Systems. All deconvolution algorithms need high quality
images.[1]
2-Filtering:
Filtering is often used in image processing to smooth noise, and to
enhance or detect features within an image. Some of filter is linear and
nonlinear.
3-Feature extraction:
Feature extraction is the operation to extract various image features for
identifying or interpreting meaningful physical objects from images. It is
involves using algorithms to detect and isolate various desired portions of a
digitized image or video stream.[2]
4-segmentation:
Segmentation procedures partition an image into its constituent
parts or objects. in general , autonomous segmentation is one of the most
difficult tasks in digital image processing. A rugged segmentation procedure
brings the process long way toward successful solution of imaging problems
that require objects to be identified individually. [3]
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
By : Al-baihan, Abdullah
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
Chapter#1 Segmentation
In this chapter I will explain the Segmentation concept and the
available approaches for Segmentation of image ,In last of this chapter I
will present conclusion.
Segmentation procedures partition an image into its constituent
parts or objects. in general , autonomous segmentation is one of the most
difficult tasks in digital image processing. A rugged segmentation procedure
brings the process long way toward successful solution of imaging problems
that require objects to be identified individually. on the other hand, weak
or erratic segmentation algorithm almost always guarantee eventual
failure. in general , the more accurate the segmentation, the more likely
recognition is to succeed. [3] page 27.
Segmentation is a very important problem in digital image
processing. It use to classification the objects from the background and
other objects. when the objects are classification the Segmentation is stop.
In section 1.1 I will explain briefly Edge-based methods. In section 1.2
I will explain briefly Region-based techniques. In section 1.3 I will explain
briefly Connectivity-preserving relaxation methods. In section 1.4 I will
explain briefly Threshold techniques. In last of this chapter I will present
conclusion.
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
By : Al-baihan, Abdullah
with such methods, getting trapped into a local minimum is a risk against
which one must guard; this is no easy task. [4]
Before Segmentation
Segmentation of Images
Using Edge Detection.
After Segmentation
By : Al-baihan, Abdullah
3.
4.
Before Segmentation
After Segmentation
Before Segmentation
After Segmentation
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
conclusion
In this chapter I explained the Segmentation
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
10
Initially, the algorithm takes the input image (I) to be segmented and
edge detected image (K) and scan the edge detected image (K) to find edges.
After that it applies the segmentation process on the input image as shown
below to get the threshold value. Then I do simple thresholding on the input
image.
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
11
S5
S7
S8
S6
s1
s2
s3
s4
(I)
Edge Detection
Edge Detected
image
(K)
Segmented image
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
12
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
13
Noise7.0
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
14
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
15
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
16
Conclusion:
I found the result of circle with 7.0 noise is better than result of
square with 7.0 noise and result of flower with 7.0 noise. Also I found
result of square with 7.0 noise is better than result of flower with 7.0 noise.
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
17
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
18
Initially, the algorithm takes the input image (I) to be segmented and
edge detected image (K) and scan the edge detected image (K) to find edges.
After that it applies the segmentation process on the input image as shown
below to get the histogram. Then it apply ISO-DATA on the histogram to
compute the T1 and T2. Then I do thresholding on the input image based on
the computed T1 & T2.
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
19
S5
S7
S8
s1
S6
s2
s3
s4
(I)
Edge Detection
Edge Detected
image
(K)
Segmented image
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
20
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
21
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
22
Conclusion
I note the result of image is enhancement after using segmentation
with three classes
image.
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
23
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
24
By : Al-baihan, Abdullah
25
S5
S7
S8
s1
S6
s3
s2
s4
Edge Detection
Take 4 windows of size n, horizontal &
vertical & Diagonal. For each window,
compute their sums (s1 & s2).
D0 = |s1 s2|
D90 = |s3 s4|
D45 = |s5 s6|
D135 = |s7 s8|
If(Max (D0, D90, D45, D135) = D0
V[c++] = (s1+s2)/ (n*n*2)
Else
If(Max (D0, D90, D45, D135) = D90
V[c++]= (s3+s4)/(n*n*2)
If(Max (D0, D90, D45, D135) = D45
V[c++]= (s5+s6)/(n*n*2)
Else
V[c++]= (s7+s8)/(n*n*2)
H=Histogram(V, c);
T1,T2,T3=ISO-Data-3(H);
Threshold based on T1 & T2 & T3 }
Edge Detected
image
(K)
Segmented image
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
26
ISO-Data-3 method:
1-Select T1, T2, T3
2-Compute M1, M2, M3, M4,
3-Compute T1new =
M1 M 2
2
, T2new =
M2 M3
,
2
T3new =
M3 M 4
2
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
27
The first result: Two Squares & One Circle in one shape.
Noise 7.0
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
28
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
29
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
30
Original
Histogram
Output
By : Al-baihan, Abdullah
31
Noise 7.0
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
32
Noise 7.0
Original
Histogram
Output
By : Al-baihan, Abdullah
33
Noise 7.0
Original
Histogram
Output
Segmentation of Images
Using Edge Detection.
By : Al-baihan, Abdullah
34