A comparative cost function approach to edge detection | IEEE Journals & Magazine | IEEE Xplore