Dilation and Erosion are basic morphological processing operations that produce contrasting results when applied to either gray-scale or binary images.
Dilation is the reverse process with regions growing out from their boundaries.
Dilation is A XOR B.
Erosion involves the removal of pixels ate the edges of the region.
Erosion is just the dual of Dilation.
Both dilation and erosion are produced by the interaction of s set called a structuring element(SE).
Difference between Dilation and Erosion:
|It increases the size of the objects.||It decreases the size of the objects.|
|It fills the holes and broken areas.||It removes the small anomalies.|
|It connects the areas that are separated by space smaller than structuring element.||It reduces the brightness of the bright objects.|
|It increases the brightness of the objects.||It removes the objects smaller than the structuring element.|
|Distributive, duality, translation and decomposition properties are followed.||It also follows the different properties like duality etc.|
|It is XOR of A and B.||It is dual of dilation.|
|It is used prior in Closing operation.||It is used later in Closing operation.|
|It is used later in Opening operation.||It is used prior in Opening opeartion.|
- Matlab | Dilation of an Image
- Matlab | Erosion of an Image
- Difference between PNG and GIF
- Difference between JSP and ASP
- Difference between LAN and MAN
- Difference between CPU and GPU
- Difference between LAN and WAN
- Difference between LAN, MAN and WAN
- Difference between CD and DVD
- What's difference between MMU and MPU?
- Difference between H.323 and SIP
- Difference between TDM and FDM
- Difference between USB 2.0 and USB 3.0
- Difference between Tor and VPN
- Difference Between BFS and DFS
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.