ApplySobel func done