Mathematical modeling and computer simulation of the early vision processing stages: a theoretical frame work