Ask Your Question

Revision history [back]

shock filtering and signum function


I am trying to apply a shock filter on an image and wanted the equivalent of the sign function in Matlab to operate on my Laplacian.

I am unable to figure out an easy way to apply such a function on a matrix. It seems that a signum function should be pretty straight forward to have been in the library but I couldn't find it. Any help would be great