I'm reading that 'Prewitt' filter is high-pass filter, which means that it can sharpening the image (via edge highlight).But I'm not sure to implement the sharpening process (not just edge detection) to the original image in this case.So I mimic Laplacian process :x-direction 1st order derivate is define as :f(x+1),y) + f(x-1,y) -2 f(x,y)so , the filter approximation : 0  0 0 1 -2 1 0  0 0 y-direction 1st order derivate is define as :f(x,y+1) + f(x,y-1) -2 f(x,y)so , the filter approximation : 0  1 0 0 -2 0 0  1 0 Now adding both of these filters we get : xy =    0  1 0         1 -4 1         0  1 0So I get the new image Laplacian filtered image;A = im2double (I);I4 = imfilter(A,xy); % new image Laplacian filtered imageSubstracting the original Subtracting the Laplacian filtered image from the original image can help sharpen edges and remove blur.X = A - I4; % new sharper imageSo now I apply this same principal but using Prewitt's filter instead.w = fspecial('prewitt') I4= imfilter(A,w)+imfilter(A,w'); % new image Prewitt filtered imageSubtracting the Prewitt filtered image from the original image can help sharpen edges and remove blur.X = A - I4; % new sharper imageIs it a correct approach? I need your help. Thanks
Image sharpening : Adding prewitt's filter resulted images. Is it correct?
image processing;filtering problem