moving preprocess to lua
unsharp mask