Filter löschen
Filter löschen

How do i cut the unnecessary portion from image other than edge of canal?

1 Ansicht (letzte 30 Tage)
n=imread('Canal_Images\a7.jpeg'); imshow(n); title('original');
img=rgb2gray(n); imshow(img);
b=edge(img,'canny');
imshow(b); title('canny');
After this, I need to cut the remaining portion other than the edge of the canal. So I need to cut the image to focus only on edge.How can I do it now?

Antworten (1)

KSSV
KSSV am 23 Nov. 2017
Read imcrop .

Community Treasure Hunt

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

Start Hunting!

Translated by