I would like to do the following:
- apply the sobel gradient to a binary image
- apply the laplacian gradient to the the same binary image
- intersect those two images in order to remove noise generated by the laplacian gradient output image ....
I have tried the following code in matlab:
a=imread('F:\Photos\projpics\plap.png');
b=imread('F:\Photos\projpics\psob.png');
c=bitand(a,b);
subplot(2,2,3), image(uint8(c)), title('Intersection');
subplot(2,2,1), image(uint8(a)), title('sobel');
subplot(2,2,2), image(uint8(b)), title('laplacian');
but it is showing the result as very similar to the image of the sobel gradient result... Is this normal? Am I doing something wrong? Thanks for any help in advance.