find edges in image of {tan(x), sec(x)}