フィルターのクリア

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 回表示 (過去 30 日間)
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 件)

Sarvesh Kale
Sarvesh Kale 2023 年 1 月 31 日
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)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by