MATLAB: Fusing edges of the images..

image edge ovelayImage Processing Toolbox

I do edge extraction of an image using edge operator then i linked all the edges. Now i want to overlay this edges again on the original image to show the edges of the image..How i can i do this?

Best Answer

I = imread('circuit.tif');
BW1 = edge(I,'prewitt');
BW3 = uint8(BW1*255);
imshow(BW1)
figure,imshow(I)
figure,imshow(I+BW3) % this shows the original image with the edges on top
Related Question