i have tried four methods i.e. sobel,prewitt,roberts,log but not getting single correct o/p on scanned images.
this is my code- image=imread('sample_img.jpg');
image_comp = imcomplement(image_BW);
image_filter = medfilt2(image_comp);
BW = edge(image_fill,'log',0.2);
at place of "log",i tried other methods too.
thanks for the help..