[Olena-patches] cleanup-2008 2541: Add accu computation along lines and use it in erosion.