Enhancing signal discontinuities with shearlets: An application to corner detection