SlideShare a Scribd company logo
1 of 13
Download to read offline
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
DOI : 10.5121/ijcseit.2014.4302 9
IMAGE RESTORATION BASED ON MORPHOLOGICAL
OPERATIONS
A.M.Raid1
, W.M.Khedr2
, M.A.El-dosuky1
and Mona Aoud1
1
Mansoura University, Faculty of Computer Science and Information System
2 Zagazig University, Faculty of Science
ABSTRACT
Image processing including noise suppression, feature extraction, edge detection, image segmentation,
shape recognition, texture analysis, image restoration and reconstruction, image compression etc uses
mathematical morphology which is a method of nonlinear filters.
It is modulated from traditional morphology to order morphology, soft mathematical morphology and fuzzy
soft mathematical morphology. This paper is covers 6 morphological operations which are implemented in
the matlab program, including erosion, dilation, opening, closing, boundary extraction and region filling.
KEYWORDS
Image Restoration, Structure Elements (SE), and Morphological operations.
1. INTRODUCTION
Image restoration provides a means to reconstruct damaged regions of an image. Image
components for representation and description of region shape, such as boundaries, skeletons, and
the convex hull are extracted by Morphological image processing [1]. It can be used for filtering,
thinning and pruning. It is constructed with operations on sets of pixels. More sophisticated
mathematical development are been required to Morphological processing for gray scale images
[2,3].
Dilation and erosion are the main morphological operations [4]. The objects are expanded in
dilation operation, thus small holes probably are filled and disjoint objects are connected. The
objects are diminished in erosion operation with etching away (eroding) their boundaries. An
application with the ability to select the proper structuring element and how erode or dilate the
objects is proposed. These operations can be customized for an application by the proper selection
of the structuring element, which determines exactly how the objects will be dilated or eroded [5].
The state of any given pixel in the output image is determined by applying a rule to the
corresponding pixel and its neighbors in the input image in the morphological dilation and
erosion operations [6]. The operation as dilation or erosion can be defined by the rule used to
process the pixels. In this paper will mainly concentrate on 4 morphological operations and 2
basic morphological algorithms which are implemented in the program, including erosion,
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
10
dilation, opening, closing, boundary extraction and region filling, Users can arbitrarily choose one
of the morphological operations through the six radio buttons, Change dynamically the SE size
through moving the slider and there are 3 types of SE which are implemented in the program,
including diamond, square and octagon. The pop-up menu change se type dynamically.
The rest of this paper organize in three sections, The next section introduces morphological
operations and its steps, section three explains Some basic morphological algorithms and section
four shows the results of each operation and 2 basic algorithms.
2. Morphological Operations
2.1 The operation of dilation
The process of the structuring element B on the image A and moving it across the image in a way
like convolution is defined as dilation operation. The two main inputs for the dilation operator [7]
are the image which is to be dilated and a set of coordinate points known as a structuring element
which define also as a kernel. The exact effect of the dilation on the input image is determined by
this structuring element [8]. The following steps are the mathematical definition of dilation for
binary images:
1. Suppose that is the set of Euclidean coordinates corresponding to the input binary
image, and that is the set of coordinates for the structuring element.
2. Let denote the translation of so that its origin is at .
3. Then the dilation of by is simply the set of all points such that the intersection of
with is non-empty.
It dilation is defined as set operation. is dilated by , written as , is defined as (1):
} (1)
Among them, is for the empty set, is for the structure element, and is for the reflection of
collection .
An example is shown in Figure (2.1), Note that with a dilation operation, all the 'black' pixels in
the original image will be retained, any boundaries will be expanded, and small holes will be
filled.
The some Characteristics of Binary dilation operator are:
• It is translation invariant.
• It is increasing, that is, if then .
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
11
• It is commutative.
• It is associative, i.e. .
• It is distributive over set union
Figure (2.2) Effect of dilation using a 3×3 square structuring element on binary image
2.2 The operation of erosion
The erosion process is as same as dilation, but the pixels are converted to 'white', not 'black'. The
two main inputs for the erosion operator [9] are the image which is to be eroded and a set of
coordinate points known as a structuring element which define also as a kernel. The exact effect
of the erosion on the input image is determined by this structuring element. The following steps
are the mathematical definition of erosion for binary images:
1. Suppose that is the set of Euclidean coordinates corresponding to the input binary
image, and that is the set of coordinates for the structuring element.
2. Let denote the translation of so that its origin is at .
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
12
3. Then the erosion of by is simply the set of all points such that is a subset of .
is eroded by , recorded as , and defined as (2)
Among them, is for the empty set, is for the structure element, and is for the supplement
of collection .
In Figure (2.3), the only remaining pixels are those that coincide to the origin of the structuring
element where the entire structuring element was contained in the existing object. Because the
structuring element is 3 pixels wide, the 2-pixel-wide right leg of the image.
Figure (2.4) Effect of erosion using a 3×3 square structuring element on binary image
2.3 The operation of opening and closing
The combination of the two main operations, dilation and erosion, can produce more complex
sequences. Opening and closing are the most useful of these for morphological filtering [10]. An
opening operation is defined as erosion followed by a dilation using the same structuring element
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
13
for both operations. The basic two inputs for opening operator are an image to be opened, and a
structuring element. Graylevel opening consists simply of graylevel erosion followed by
graylevel dilation. See Figure (2.5) for the illustration of the opening process.
Using the structure element to do the open operation on the set , expressed as , definite
as
Figure (2.5) Representation of the opening process
Figure (2.6) Effect of opening using a 3×3 square structuring element on binary image
Closing is opening performed in reverse. Simply it is defined as dilation then erosion using the
same structuring element for both operations. The main inputs of the closing operator are an
image to be closed and a structuring element. The process of a graylevel dilation followed by
graylevel erosion is defined as Graylevel closing. Figure (2.7) shows the effects of filling in holes
and closing gaps which define as closing operation.
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
14
Like binary image, at opening operation, Use b to erode f plainly first, then on the results
obtained, use b to do dilate operation. Also, using b to do closing operation on , expressed as
, definite as
Figure (2.7) Representation of the closing process
Figure (2.8) Effect of closing using a 3×3 square structuring element on binary image
3. Some Basic Morphological Algorithms
3.1 Boundary extraction
The boundary of a set A, denoted by , can be obtained by first eroding by and then
performing the set differences between and its erosion. That is,
(5)
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
15
Where B is a suitable structuring element.
‘–‘ is the difference operation on sets (illustrated in Figure (3.1)).
Figure (3.1) Representation of the boundary extraction algorithm
Figure (3.2) Representation of the main operations on sets
3.2 Region Filling
The algorithm for region filling based on set dilations, complementation, and intersections. The
main idea is filling the entire region with ‘black’ starting from a point inside the boundary. If
we adopt the convention, first step all non-boundary (background) points are labeled ‘white’ and
then we assign a value of ‘black’ to p to. Filling the region with ‘black’ by the following
procedure:
(6)
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
16
where
,
is the symmetric structuring element
is the intersection operator (see Figure (3.3))
is the complement of set (see Figure (3.3))
The algorithm terminates at iteration step if . The filled set and its boundary is
contained by the set union of and .
Figure (3.3) Representation of the region filling algorithm
4. SIMULATED RESULTS
At matlab program we applied the 4 morphological operations and 2 basic algorithms using six
radio buttons, so users can determine any of the morphological operations needed, we added 3
types of SE (diamond, square and octagon ) and a slider to modify dynamically the SE size,.
Dynamically change SE type through the pop-up menu, the experimental results for each
operation and algorithms show in the following figure.
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
17
Figure (4.1) Effect of dilation on grayscale image with SE type = square
Figure (4.2) Effect of erosion on grayscale image with SE type = diamond
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
18
Figure (4.3) Effect of opening on grayscale image with SE type = octagon
Figure (4.4) Effect of closing on grayscale image with SE type = diamond
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
19
Figure (4.5) Apply boundary extraction algorithm on grayscale image with SE type = diamond
Figure (4.6) Apply boundary extraction algorithm on grayscale image with SE type = diamond
Figure (4.7) Apply region filling algorithm on grayscale image
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
20
5. IMAGE RESTORATION USING MORPHOLOGICAL OPERATIONS, A
CASE STUDY
The general idea behind using Morphological operations in image restoration is to apply dilation
& erosion with the same factor.
Example:
In matlab program:
The disadvantages of this method is if the objects near with the distance (2*SE_size) then stuck
together so in future work we will consider separating objects in the image.
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014
21
6. CONCLUSION
Image processing techniques which deal with the shape (or morphology) of features in an image
is described by Morphological image processing (or morphology). In this paper 4 morphological
operations (dilation, erosion, opening and closing) and 2 basic algorithms (boundary extraction
and region filling) are implemented in matlab program with user interface in which changing the
parameters of SE such as its size or type are simple.
7. REFERENCES
[1] R.C.Gonzales, R.E.Woods, “Digital Image Processing”, 2-nd Edition, Prentice Hall, 2002.
[2] J. Gil and R. Kimmel, “Efficient dilation, erosion, opening and closing algorithms in Mathematical
Morphology and its Applications to Image and Signal Processing” V, J. Goutsias, L. Vincent, and D.
Bloomberg, Eds. Palo-Alto, USA, June 2000, pp. 301.310, Kluwer Academic Publishers.
[3] Z.Fang, M.Yulei, Z.Junpeng, “Medical Image Processing Based on Mathematical Morphology”, The
2nd International Conference on Computer Application and System Modeling (2012).
[4] U.Scot.E, ”Computer Vision and Image Processing”, Prentice Hall, NJ, 1998, ISBN 0-13-264599-8
[5] J. Gil and R. Kimmel, “Efficient dilation, erosion, opening, and closing algorithms”, IEEE
Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 12, pp. 1606.1617, December
2002.
[6] G.V.Tcheslavski, “Morphological Image Processing: Grayscale morphology”, ELEN 4304/5365 DIP,
Spring 2010.
[7] H.Heijmans, “Morphological image operators”, Advances in Electronics and Electron Physics.
Academic Press, 1994.
[8] R. Haralick, S. Sternberg, and X. Zhuang, “Image analysis using mathematical morphology”, IEEE
Transactions on Pattern Analysis and Machine Intelligence, vol. 9, no. 4, pp. 532.550, July 1987.
[9] Serra.J, “Mathematical Morphology and Its Applications to Image Processing”, Kluwer Academic
Publishers, Boston (1994)
[10] L.Vincent, “Morphological area openings and closings for greyscale images”, in Proc. Shape in
Picture '92, NATO Workshop, Driebergen, The Netherlands, September 1992, Springer-Verlag.

More Related Content

What's hot

Fuzzy c-means clustering for image segmentation
Fuzzy c-means  clustering for image segmentationFuzzy c-means  clustering for image segmentation
Fuzzy c-means clustering for image segmentationDharmesh Patel
 
A combined method of fractal and glcm features for mri and ct scan images cla...
A combined method of fractal and glcm features for mri and ct scan images cla...A combined method of fractal and glcm features for mri and ct scan images cla...
A combined method of fractal and glcm features for mri and ct scan images cla...sipij
 
Two-dimensional Block of Spatial Convolution Algorithm and Simulation
Two-dimensional Block of Spatial Convolution Algorithm and SimulationTwo-dimensional Block of Spatial Convolution Algorithm and Simulation
Two-dimensional Block of Spatial Convolution Algorithm and SimulationCSCJournals
 
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...Koteswar Rao Jerripothula
 
Hierarchical Approach for Total Variation Digital Image Inpainting
Hierarchical Approach for Total Variation Digital Image InpaintingHierarchical Approach for Total Variation Digital Image Inpainting
Hierarchical Approach for Total Variation Digital Image InpaintingIJCSEA Journal
 
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...csandit
 
Comparison of image segmentation
Comparison of image segmentationComparison of image segmentation
Comparison of image segmentationHaitham Ahmed
 
Comparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesComparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesIJERA Editor
 
Image segmentation
Image segmentationImage segmentation
Image segmentationRania H
 
Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...sipij
 
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...cscpconf
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Petroleum Training Institute
 
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODFORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODeditorijcres
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONijcsit
 
A proposed accelerated image copy-move forgery detection-vcip2014
A proposed accelerated image copy-move forgery detection-vcip2014A proposed accelerated image copy-move forgery detection-vcip2014
A proposed accelerated image copy-move forgery detection-vcip2014SondosFadl
 
Segmentation of medical images using metric topology – a region growing approach
Segmentation of medical images using metric topology – a region growing approachSegmentation of medical images using metric topology – a region growing approach
Segmentation of medical images using metric topology – a region growing approachIjrdt Journal
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 

What's hot (19)

Fuzzy c-means clustering for image segmentation
Fuzzy c-means  clustering for image segmentationFuzzy c-means  clustering for image segmentation
Fuzzy c-means clustering for image segmentation
 
A combined method of fractal and glcm features for mri and ct scan images cla...
A combined method of fractal and glcm features for mri and ct scan images cla...A combined method of fractal and glcm features for mri and ct scan images cla...
A combined method of fractal and glcm features for mri and ct scan images cla...
 
B42020710
B42020710B42020710
B42020710
 
Image Segmentation
 Image Segmentation Image Segmentation
Image Segmentation
 
Two-dimensional Block of Spatial Convolution Algorithm and Simulation
Two-dimensional Block of Spatial Convolution Algorithm and SimulationTwo-dimensional Block of Spatial Convolution Algorithm and Simulation
Two-dimensional Block of Spatial Convolution Algorithm and Simulation
 
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
 
Hierarchical Approach for Total Variation Digital Image Inpainting
Hierarchical Approach for Total Variation Digital Image InpaintingHierarchical Approach for Total Variation Digital Image Inpainting
Hierarchical Approach for Total Variation Digital Image Inpainting
 
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...
A NOVEL APPROACH TO SMOOTHING ON 3D STRUCTURED ADAPTIVE MESH OF THE KINECT-BA...
 
Comparison of image segmentation
Comparison of image segmentationComparison of image segmentation
Comparison of image segmentation
 
Comparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesComparison of Distance Transform Based Features
Comparison of Distance Transform Based Features
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...
 
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...
Content Based Image Retrieval Approach Based on Top-Hat Transform And Modifie...
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
 
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODFORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
 
A proposed accelerated image copy-move forgery detection-vcip2014
A proposed accelerated image copy-move forgery detection-vcip2014A proposed accelerated image copy-move forgery detection-vcip2014
A proposed accelerated image copy-move forgery detection-vcip2014
 
Segmentation of medical images using metric topology – a region growing approach
Segmentation of medical images using metric topology – a region growing approachSegmentation of medical images using metric topology – a region growing approach
Segmentation of medical images using metric topology – a region growing approach
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 

Similar to IMAGE RESTORATION BASED ON MORPHOLOGICAL OPERATIONS

OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONSOBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONSijcseit
 
International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...ijcseit
 
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESDIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESAM Publications
 
A03501001006
A03501001006A03501001006
A03501001006theijes
 
An iterative morphological decomposition algorithm for reduction of skeleton ...
An iterative morphological decomposition algorithm for reduction of skeleton ...An iterative morphological decomposition algorithm for reduction of skeleton ...
An iterative morphological decomposition algorithm for reduction of skeleton ...ijcsit
 
A novel embedded hybrid thinning algorithm for
A novel embedded hybrid thinning algorithm forA novel embedded hybrid thinning algorithm for
A novel embedded hybrid thinning algorithm forprjpublications
 
Enhancement of genetic image watermarking robust against cropping attack
Enhancement of genetic image watermarking robust against cropping attackEnhancement of genetic image watermarking robust against cropping attack
Enhancement of genetic image watermarking robust against cropping attackijfcstjournal
 
Design and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of viewDesign and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of viewsipij
 
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATION
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATIONMAGNETIC RESONANCE BRAIN IMAGE SEGMENTATION
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATIONVLSICS Design
 
Object based image enhancement
Object based image enhancementObject based image enhancement
Object based image enhancementijait
 
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...CSCJournals
 
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...YogeshNeelappa2
 
Improving Performance of Texture Based Face Recognition Systems by Segmenting...
Improving Performance of Texture Based Face Recognition Systems by Segmenting...Improving Performance of Texture Based Face Recognition Systems by Segmenting...
Improving Performance of Texture Based Face Recognition Systems by Segmenting...IDES Editor
 
Content based image retrieval (cbir) using
Content based image retrieval (cbir) usingContent based image retrieval (cbir) using
Content based image retrieval (cbir) usingijcsity
 
Brain tumor segmentation using asymmetry based histogram thresholding and k m...
Brain tumor segmentation using asymmetry based histogram thresholding and k m...Brain tumor segmentation using asymmetry based histogram thresholding and k m...
Brain tumor segmentation using asymmetry based histogram thresholding and k m...eSAT Publishing House
 
A survey on human face recognition invariant to illumination
A survey on human face recognition invariant to illuminationA survey on human face recognition invariant to illumination
A survey on human face recognition invariant to illuminationIAEME Publication
 
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGE
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGEAPPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGE
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGEcscpconf
 
Segmentation and recognition of handwritten digit numeral string using a mult...
Segmentation and recognition of handwritten digit numeral string using a mult...Segmentation and recognition of handwritten digit numeral string using a mult...
Segmentation and recognition of handwritten digit numeral string using a mult...ijfcstjournal
 

Similar to IMAGE RESTORATION BASED ON MORPHOLOGICAL OPERATIONS (20)

OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONSOBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
 
International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...
 
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESDIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
 
A03501001006
A03501001006A03501001006
A03501001006
 
An iterative morphological decomposition algorithm for reduction of skeleton ...
An iterative morphological decomposition algorithm for reduction of skeleton ...An iterative morphological decomposition algorithm for reduction of skeleton ...
An iterative morphological decomposition algorithm for reduction of skeleton ...
 
A novel embedded hybrid thinning algorithm for
A novel embedded hybrid thinning algorithm forA novel embedded hybrid thinning algorithm for
A novel embedded hybrid thinning algorithm for
 
Enhancement of genetic image watermarking robust against cropping attack
Enhancement of genetic image watermarking robust against cropping attackEnhancement of genetic image watermarking robust against cropping attack
Enhancement of genetic image watermarking robust against cropping attack
 
Design and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of viewDesign and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of view
 
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATION
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATIONMAGNETIC RESONANCE BRAIN IMAGE SEGMENTATION
MAGNETIC RESONANCE BRAIN IMAGE SEGMENTATION
 
Object based image enhancement
Object based image enhancementObject based image enhancement
Object based image enhancement
 
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
 
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
 
Improving Performance of Texture Based Face Recognition Systems by Segmenting...
Improving Performance of Texture Based Face Recognition Systems by Segmenting...Improving Performance of Texture Based Face Recognition Systems by Segmenting...
Improving Performance of Texture Based Face Recognition Systems by Segmenting...
 
Gabor Filter
Gabor FilterGabor Filter
Gabor Filter
 
Content based image retrieval (cbir) using
Content based image retrieval (cbir) usingContent based image retrieval (cbir) using
Content based image retrieval (cbir) using
 
Brain tumor segmentation using asymmetry based histogram thresholding and k m...
Brain tumor segmentation using asymmetry based histogram thresholding and k m...Brain tumor segmentation using asymmetry based histogram thresholding and k m...
Brain tumor segmentation using asymmetry based histogram thresholding and k m...
 
F045033337
F045033337F045033337
F045033337
 
A survey on human face recognition invariant to illumination
A survey on human face recognition invariant to illuminationA survey on human face recognition invariant to illumination
A survey on human face recognition invariant to illumination
 
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGE
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGEAPPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGE
APPLICATION OF IMAGE FUSION FOR ENHANCING THE QUALITY OF AN IMAGE
 
Segmentation and recognition of handwritten digit numeral string using a mult...
Segmentation and recognition of handwritten digit numeral string using a mult...Segmentation and recognition of handwritten digit numeral string using a mult...
Segmentation and recognition of handwritten digit numeral string using a mult...
 

Recently uploaded

Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 

Recently uploaded (20)

Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 

IMAGE RESTORATION BASED ON MORPHOLOGICAL OPERATIONS

  • 1. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 DOI : 10.5121/ijcseit.2014.4302 9 IMAGE RESTORATION BASED ON MORPHOLOGICAL OPERATIONS A.M.Raid1 , W.M.Khedr2 , M.A.El-dosuky1 and Mona Aoud1 1 Mansoura University, Faculty of Computer Science and Information System 2 Zagazig University, Faculty of Science ABSTRACT Image processing including noise suppression, feature extraction, edge detection, image segmentation, shape recognition, texture analysis, image restoration and reconstruction, image compression etc uses mathematical morphology which is a method of nonlinear filters. It is modulated from traditional morphology to order morphology, soft mathematical morphology and fuzzy soft mathematical morphology. This paper is covers 6 morphological operations which are implemented in the matlab program, including erosion, dilation, opening, closing, boundary extraction and region filling. KEYWORDS Image Restoration, Structure Elements (SE), and Morphological operations. 1. INTRODUCTION Image restoration provides a means to reconstruct damaged regions of an image. Image components for representation and description of region shape, such as boundaries, skeletons, and the convex hull are extracted by Morphological image processing [1]. It can be used for filtering, thinning and pruning. It is constructed with operations on sets of pixels. More sophisticated mathematical development are been required to Morphological processing for gray scale images [2,3]. Dilation and erosion are the main morphological operations [4]. The objects are expanded in dilation operation, thus small holes probably are filled and disjoint objects are connected. The objects are diminished in erosion operation with etching away (eroding) their boundaries. An application with the ability to select the proper structuring element and how erode or dilate the objects is proposed. These operations can be customized for an application by the proper selection of the structuring element, which determines exactly how the objects will be dilated or eroded [5]. The state of any given pixel in the output image is determined by applying a rule to the corresponding pixel and its neighbors in the input image in the morphological dilation and erosion operations [6]. The operation as dilation or erosion can be defined by the rule used to process the pixels. In this paper will mainly concentrate on 4 morphological operations and 2 basic morphological algorithms which are implemented in the program, including erosion,
  • 2. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 10 dilation, opening, closing, boundary extraction and region filling, Users can arbitrarily choose one of the morphological operations through the six radio buttons, Change dynamically the SE size through moving the slider and there are 3 types of SE which are implemented in the program, including diamond, square and octagon. The pop-up menu change se type dynamically. The rest of this paper organize in three sections, The next section introduces morphological operations and its steps, section three explains Some basic morphological algorithms and section four shows the results of each operation and 2 basic algorithms. 2. Morphological Operations 2.1 The operation of dilation The process of the structuring element B on the image A and moving it across the image in a way like convolution is defined as dilation operation. The two main inputs for the dilation operator [7] are the image which is to be dilated and a set of coordinate points known as a structuring element which define also as a kernel. The exact effect of the dilation on the input image is determined by this structuring element [8]. The following steps are the mathematical definition of dilation for binary images: 1. Suppose that is the set of Euclidean coordinates corresponding to the input binary image, and that is the set of coordinates for the structuring element. 2. Let denote the translation of so that its origin is at . 3. Then the dilation of by is simply the set of all points such that the intersection of with is non-empty. It dilation is defined as set operation. is dilated by , written as , is defined as (1): } (1) Among them, is for the empty set, is for the structure element, and is for the reflection of collection . An example is shown in Figure (2.1), Note that with a dilation operation, all the 'black' pixels in the original image will be retained, any boundaries will be expanded, and small holes will be filled. The some Characteristics of Binary dilation operator are: • It is translation invariant. • It is increasing, that is, if then .
  • 3. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 11 • It is commutative. • It is associative, i.e. . • It is distributive over set union Figure (2.2) Effect of dilation using a 3×3 square structuring element on binary image 2.2 The operation of erosion The erosion process is as same as dilation, but the pixels are converted to 'white', not 'black'. The two main inputs for the erosion operator [9] are the image which is to be eroded and a set of coordinate points known as a structuring element which define also as a kernel. The exact effect of the erosion on the input image is determined by this structuring element. The following steps are the mathematical definition of erosion for binary images: 1. Suppose that is the set of Euclidean coordinates corresponding to the input binary image, and that is the set of coordinates for the structuring element. 2. Let denote the translation of so that its origin is at .
  • 4. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 12 3. Then the erosion of by is simply the set of all points such that is a subset of . is eroded by , recorded as , and defined as (2) Among them, is for the empty set, is for the structure element, and is for the supplement of collection . In Figure (2.3), the only remaining pixels are those that coincide to the origin of the structuring element where the entire structuring element was contained in the existing object. Because the structuring element is 3 pixels wide, the 2-pixel-wide right leg of the image. Figure (2.4) Effect of erosion using a 3×3 square structuring element on binary image 2.3 The operation of opening and closing The combination of the two main operations, dilation and erosion, can produce more complex sequences. Opening and closing are the most useful of these for morphological filtering [10]. An opening operation is defined as erosion followed by a dilation using the same structuring element
  • 5. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 13 for both operations. The basic two inputs for opening operator are an image to be opened, and a structuring element. Graylevel opening consists simply of graylevel erosion followed by graylevel dilation. See Figure (2.5) for the illustration of the opening process. Using the structure element to do the open operation on the set , expressed as , definite as Figure (2.5) Representation of the opening process Figure (2.6) Effect of opening using a 3×3 square structuring element on binary image Closing is opening performed in reverse. Simply it is defined as dilation then erosion using the same structuring element for both operations. The main inputs of the closing operator are an image to be closed and a structuring element. The process of a graylevel dilation followed by graylevel erosion is defined as Graylevel closing. Figure (2.7) shows the effects of filling in holes and closing gaps which define as closing operation.
  • 6. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 14 Like binary image, at opening operation, Use b to erode f plainly first, then on the results obtained, use b to do dilate operation. Also, using b to do closing operation on , expressed as , definite as Figure (2.7) Representation of the closing process Figure (2.8) Effect of closing using a 3×3 square structuring element on binary image 3. Some Basic Morphological Algorithms 3.1 Boundary extraction The boundary of a set A, denoted by , can be obtained by first eroding by and then performing the set differences between and its erosion. That is, (5)
  • 7. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 15 Where B is a suitable structuring element. ‘–‘ is the difference operation on sets (illustrated in Figure (3.1)). Figure (3.1) Representation of the boundary extraction algorithm Figure (3.2) Representation of the main operations on sets 3.2 Region Filling The algorithm for region filling based on set dilations, complementation, and intersections. The main idea is filling the entire region with ‘black’ starting from a point inside the boundary. If we adopt the convention, first step all non-boundary (background) points are labeled ‘white’ and then we assign a value of ‘black’ to p to. Filling the region with ‘black’ by the following procedure: (6)
  • 8. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 16 where , is the symmetric structuring element is the intersection operator (see Figure (3.3)) is the complement of set (see Figure (3.3)) The algorithm terminates at iteration step if . The filled set and its boundary is contained by the set union of and . Figure (3.3) Representation of the region filling algorithm 4. SIMULATED RESULTS At matlab program we applied the 4 morphological operations and 2 basic algorithms using six radio buttons, so users can determine any of the morphological operations needed, we added 3 types of SE (diamond, square and octagon ) and a slider to modify dynamically the SE size,. Dynamically change SE type through the pop-up menu, the experimental results for each operation and algorithms show in the following figure.
  • 9. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 17 Figure (4.1) Effect of dilation on grayscale image with SE type = square Figure (4.2) Effect of erosion on grayscale image with SE type = diamond
  • 10. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 18 Figure (4.3) Effect of opening on grayscale image with SE type = octagon Figure (4.4) Effect of closing on grayscale image with SE type = diamond
  • 11. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 19 Figure (4.5) Apply boundary extraction algorithm on grayscale image with SE type = diamond Figure (4.6) Apply boundary extraction algorithm on grayscale image with SE type = diamond Figure (4.7) Apply region filling algorithm on grayscale image
  • 12. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 20 5. IMAGE RESTORATION USING MORPHOLOGICAL OPERATIONS, A CASE STUDY The general idea behind using Morphological operations in image restoration is to apply dilation & erosion with the same factor. Example: In matlab program: The disadvantages of this method is if the objects near with the distance (2*SE_size) then stuck together so in future work we will consider separating objects in the image.
  • 13. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol. 4, No.3, June 2014 21 6. CONCLUSION Image processing techniques which deal with the shape (or morphology) of features in an image is described by Morphological image processing (or morphology). In this paper 4 morphological operations (dilation, erosion, opening and closing) and 2 basic algorithms (boundary extraction and region filling) are implemented in matlab program with user interface in which changing the parameters of SE such as its size or type are simple. 7. REFERENCES [1] R.C.Gonzales, R.E.Woods, “Digital Image Processing”, 2-nd Edition, Prentice Hall, 2002. [2] J. Gil and R. Kimmel, “Efficient dilation, erosion, opening and closing algorithms in Mathematical Morphology and its Applications to Image and Signal Processing” V, J. Goutsias, L. Vincent, and D. Bloomberg, Eds. Palo-Alto, USA, June 2000, pp. 301.310, Kluwer Academic Publishers. [3] Z.Fang, M.Yulei, Z.Junpeng, “Medical Image Processing Based on Mathematical Morphology”, The 2nd International Conference on Computer Application and System Modeling (2012). [4] U.Scot.E, ”Computer Vision and Image Processing”, Prentice Hall, NJ, 1998, ISBN 0-13-264599-8 [5] J. Gil and R. Kimmel, “Efficient dilation, erosion, opening, and closing algorithms”, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 12, pp. 1606.1617, December 2002. [6] G.V.Tcheslavski, “Morphological Image Processing: Grayscale morphology”, ELEN 4304/5365 DIP, Spring 2010. [7] H.Heijmans, “Morphological image operators”, Advances in Electronics and Electron Physics. Academic Press, 1994. [8] R. Haralick, S. Sternberg, and X. Zhuang, “Image analysis using mathematical morphology”, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 9, no. 4, pp. 532.550, July 1987. [9] Serra.J, “Mathematical Morphology and Its Applications to Image Processing”, Kluwer Academic Publishers, Boston (1994) [10] L.Vincent, “Morphological area openings and closings for greyscale images”, in Proc. Shape in Picture '92, NATO Workshop, Driebergen, The Netherlands, September 1992, Springer-Verlag.