MATLAB: About edge detection edge detectionimage processingMATLAB How to find RGB image edge detection using directional operator method? Best Answer Hi, PriyankaGenerally, 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); Related SolutionsMATLAB: How to fill a binary image from bottom to top? i’m trying using imfill but the output is wrong. The second picture is want i want. here is my input image https://NURULNAJMAH.opendrive.com/files?NTdfMTEwMTNfUExKRkc MATLAB: Edge detection using gradient operator Then you need the edge() function in the Image Processing Toolbox. Otherwise write your own and use filter2, which is available in base MATLAB. Related QuestionImshow and Imshowpair differencesHow to detect black edges only using sobel or matched filter
Best Answer