How to prune leafs on edge image ?

1 view (last 30 days)
Emre Erdogan
Emre Erdogan on 13 Oct 2020
Commented: Emre Erdogan on 13 Oct 2020
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
Emre Erdogan
Emre Erdogan on 13 Oct 2020
I dont want to touch the main area I have to make a distance measurement from top.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!