Adding edge enhancement

From this paper:
http://www.v2020la.org/pub/PUBLICATIONS_BY_TOPICS/Low%20Vision/Image%20Enhancement....pdf

Line 91 split to avoid this bug:
https://code.google.com/p/angleproject/issues/detail?id=431