There is quite a bit of info here on using the SVG Sharpen effect and edge detection. But nothing specific to preserving color.
I\'ve been experimenting with various