About edge detection
1 view (last 30 days)
Show older comments
How to find RGB image edge detection using directional operator method?
0 Comments
Accepted Answer
Chandra Kurniawan
on 25 Jan 2012
Hi, Priyanka
Generally, you can perform edge detection with edge command from Matlab.
Which operator? Sobel, prewitt, canny, or what?
I = imread('tape.png');
Igray = rgb2gray(I);
Iedge = im2uint8(edge(Igray,'canny',0.2));
Iedge = repmat(Iedge,[1 1 3]);
Ifinal = I + Iedge;
imshow(Ifinal);
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!