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);
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!