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

1 次查看(过去 30 天)
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?

回答(1 个)

KSSV
KSSV 2017-11-23
Read imcrop .

Community Treasure Hunt

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

Start Hunting!

Translated by