![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168353/image.jpeg)
About edge detection
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to find RGB image edge detection using directional operator method?
0 commentaires
Réponse acceptée
Chandra Kurniawan
le 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);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168353/image.jpeg)
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!