📜  膨胀和侵蚀的区别

📅  最后修改于: 2021-09-13 02:06:57             🧑  作者: Mango

膨胀和侵蚀是基本的形态学处理操作,在应用于灰度或二值图像时会产生对比结果。

  • 扩张:
    膨胀是区域从其边界向外扩展的相反过程。
    Dilation is A XOR B.
  • 侵蚀:
    侵蚀涉及去除区域边缘的像素。
    Erosion is just the dual of Dilation.

膨胀和侵蚀都是由称为结构元素 (SE) 的 s 集的相互作用产生的。

膨胀和侵蚀的区别:

Dilation 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.