![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168353/image.jpeg)
About edge detection
1 回表示 (過去 30 日間)
古いコメントを表示
How to find RGB image edge detection using directional operator method?
0 件のコメント
採用された回答
Chandra Kurniawan
2012 年 1 月 25 日
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)
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!