Sobel color image edge refinement