Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
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

Réponses (1)

Sarvesh Kale
Sarvesh Kale le 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)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by