Professional Documents
Culture Documents
{
AΘB = z | ( B ) z ∩ A C ≠ φ }
A structuring element is a rectangular array of pixels
containing the values either 1 or 0 (akin to a small binary
image). Structuring elements have a designated centre pixel.
An example of Structuring element
Fig 1: The local neighborhood defined by a structuring element. This is given by those
shaded pixels in the image which lie beneath the pixels of value 1 in the structuring
element
In Matlab, to construct the structuring element array by
using ‘strel’ function. The example below illustrates how
Matlab displays when a strel object is created:
>> se= strel (’disk, 3’); % A disk of radius 3
>>imdilate_image = imdilate(Orginal_binary_image,structuring_element_array);
Fig 2: (a) Original Image (linkon.tif) (B) After Dilation Operation (C)
Boundary Extraction with the help of Dilation.
Erosion Operation: a three-pixel-long vertical line
with the origin at the center