Sliding mean edge estimation. [in digital image processing