Some structures and algorithms for Digital image processing