shock filtering and signum function

asked 2013-07-17 14:46:45 -0600

Arpan gravatar image

Hi,

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

Thanks!

edit retag flag offensive close merge delete