I wrote something and I don't understand it. What does this do? How does this partially edge detect the picture?