Image restoration and simultaneous edge detection by optimal control methods (BTU, Mathematisches Inst., 2008)