How to get clear Edge detection following image? I have attached image which i want edge detect ? also i worked CANNY operator ,this operator not perfect , so Can any One Help me?
1 view (last 30 days)
Show older comments
How to get clear Edge detection following image? I have attached image which i want edge detect ? also i worked CANNY operator ,this operator not perfect
1 Comment
Answers (1)
Sarvesh Kale
on 31 Jan 2023
The canny edge detector works on 2D images and not 3D images, you will have to convert the JPEG image to grayscale image using rgb2gray function and then run the edge function on it. To view the final result you can use imshow function
I = imread('board.tif'); % replace board.tif with name of your image
I = rgb2gray(I);
I = edge(I,'canny');
imshow(I)
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!