Clear Filters
Clear Filters

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

1 view (last 30 days)
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?

Answers (1)

KSSV
KSSV on 23 Nov 2017
Read imcrop .

Community Treasure Hunt

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

Start Hunting!