0
3.4kviews
Performing opening and closing operation on the following image. Use structuring element.

enter image description here

1 Answer
0
116views

We begin with opening operation. Opening: Opening is basically erosion followed by dilation.

D( E(A))= ( A⊖ B )⊕B

Here A is the image and B is the structuring element.

We begin with erosion.

Erosion = minimum { A(x-i, y-j) x B(i, j)}

enter image description here

We now dilate this image eroded image,

Dilation = maximum { A(x-i, y-j) x B(i, j)}

enter image description here

Closing: Closing is basically dilation followed by erosion.

E( D(A) ) = ( A ⊕ B ) ⊝ B

Here A is the image and B is the structuring element.

We begin with erosion.

Dilation = maximum { A(x-i, y-j) x B(i, j)}

enter image description here

We now dilate this image eroded image,

Erosion = minimum { A(x-i, y-j) x B(i, j)}

enter image description here

Please log in to add an answer.