How to prune leafs on edge image ?

Hello,
How do i can the outliers on the image edge like you find an example below ? You can find the image below. So far I tried watershed. I divides the image in corrent areas but then i can only use area filter which i dont want to because this outliers can be really long sometimes and if I increase area then it also cuts big zones.
thanks in advance

Answers (1)

Selva Karna
Selva Karna on 13 Oct 2020
Use Dilate & Erode Operators.

1 Comment

I dont want to touch the main area I have to make a distance measurement from top.

Sign in to comment.

Categories

Products

Asked:

on 13 Oct 2020

Commented:

on 13 Oct 2020

Community Treasure Hunt

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

Start Hunting!