[Olena-patches] 1688: Adjust the morphological dilation w.r.t. a neighborhood.